Added basic field editing

This commit is contained in:
2025-03-12 11:43:06 +00:00
parent 8ce6b3d0fd
commit 1e63adf9d5
5 changed files with 155 additions and 9 deletions

View File

@@ -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>