fix and stuff
This commit is contained in:
@ -110,6 +110,7 @@
|
||||
<input name="id" placeholder="Tracking ID" required />
|
||||
<input name="progress" type="number" placeholder="Progress %" required />
|
||||
<input name="status" placeholder="Status" required />
|
||||
<input name="eta" type="date" placeholder="ETA (optional)" />
|
||||
<button type="submit">Update</button>
|
||||
</form>
|
||||
|
||||
@ -119,11 +120,12 @@
|
||||
<div class="package-item">
|
||||
<strong><%= p.id %></strong><br>
|
||||
<% if (p.updates && p.updates.length > 0) { %>
|
||||
<%= p.updates[p.updates.length - 1].status %> —
|
||||
<%= p.updates[p.updates.length - 1].progress %>%
|
||||
<%= p.updates[p.updates.length - 1].status %> —
|
||||
<%= p.updates[p.updates.length - 1].progress %>%<br>
|
||||
<% } else { %>
|
||||
<em>No updates yet</em>
|
||||
<em>No updates yet</em><br>
|
||||
<% } %>
|
||||
ETA: <%= p.eta || 'Not set' %>
|
||||
</div>
|
||||
<% }) %>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user