update on sensor
This commit is contained in:
@ -42,7 +42,7 @@
|
||||
<div id="createLocationForm" class="location-creation-container custom-location-form" style="display: none;">
|
||||
<h3>Add Location</h3>
|
||||
<div class="content">
|
||||
<form action="/api/v0/location/new" id="locationForm" method="post">
|
||||
<form action="/location/new" id="locationForm" method="post">
|
||||
<div class="Location-details">
|
||||
<div class="input-box">
|
||||
<span class="details">Location Name</span>
|
||||
@ -53,6 +53,7 @@
|
||||
<input type="text" name="description" id="description" placeholder="Enter the description here" required>
|
||||
</div>
|
||||
</div>
|
||||
<input type="hidden" name="csrf_token" value="<%= csrfToken %>">
|
||||
<div class="button">
|
||||
<input type="submit" value="submit">
|
||||
</div>
|
||||
@ -79,6 +80,7 @@
|
||||
<input type="text" name="description" id="description" placeholder="Enter the description here" required>
|
||||
</div>
|
||||
</div>
|
||||
<input type="hidden" name="csrf_token" value="<%= csrfToken %>">
|
||||
<div class="button">
|
||||
<input type="submit" value="submit">
|
||||
</div>
|
||||
@ -88,6 +90,9 @@
|
||||
<footer>
|
||||
Any Issue faced, Please contact the administrator at 11111111 or ecosaverAdmin@gmail.com
|
||||
</footer>
|
||||
<script>
|
||||
const locationsData = <%- JSON.stringify(locationsData) %>;
|
||||
</script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/dompurify/2.3.3/purify.min.js"></script>
|
||||
<script src="https://code.jquery.com/jquery-3.6.4.min.js"></script>
|
||||
<script src="location.js"></script>
|
||||
|
Reference in New Issue
Block a user