Added basic field editing
This commit is contained in:
16
input.html
16
input.html
@@ -8,6 +8,7 @@
|
||||
let now = new Date();
|
||||
let localDatetime = now.toISOString().slice(0, 16); // Format for datetime-local input
|
||||
document.getElementById("eta").value = localDatetime;
|
||||
document.getElementById("etd").value = localDatetime;
|
||||
});
|
||||
|
||||
function fetchResults() {
|
||||
@@ -156,13 +157,26 @@
|
||||
<input type="text" id="in_from" name="in_from" required>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="pob_in">POB</label>
|
||||
<label for="pob_in">POB Inbound</label>
|
||||
<input type="number" id="pob_in" name="pob_in" required>
|
||||
</div>
|
||||
<div class="form-group"></div>
|
||||
<label for="eta">ETA</label>
|
||||
<input type="datetime-local" id="eta" name="eta">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="out_to">Out to</label>
|
||||
<input type="text" id="out_to" name="out_to">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="pob_out">POB Outbound</label>
|
||||
<input type="number" id="pob_out" name="pob_out" >
|
||||
</div>
|
||||
<div class="form-group"></div>
|
||||
<label for="eta">Departing At</label>
|
||||
<input type="datetime-local" id="etd" name="etd">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="fuel">Fuel Needed</label>
|
||||
<select id="fuel" name="fuel" single>
|
||||
|
||||
Reference in New Issue
Block a user