This commit is contained in:
2024-12-28 00:07:12 -05:00
parent dfeb478a72
commit 69db561a0c
9 changed files with 222 additions and 258 deletions

View File

@@ -6,16 +6,17 @@
</head>
<body class="grid">
<%- include('partials/nav') %>
<form id="editor" method="post">
<table border="1">
<tr>
<th>Camp</th>
<th>Leader</th>
<th>#Issued</th>
<th>#Claimed</th>
<th>#Used</th>
</tr>
<% for (const c in camps) { %>
<div class="content">
<form id="editor" method="post">
<table border="1">
<tr>
<th>Camp</th>
<th>Leader</th>
<th>#Issued</th>
<th>#Claimed</th>
<th>#Used</th>
</tr>
<% for (const c in camps) { %>
<tr>
<td><a href="/editcamp?campname=<%= c %>"><%=c%></td>
<td><%=camps[c].leader%> </td>
@@ -23,15 +24,16 @@
<td><%=camps[c].claimed%> </td>
<td><%=camps[c].used%> </td>
</tr>
<% } %>
<tr>
</tr>
</table>
<br><b>Create New Camp:</b><br>
Group Name: <input type="edit" name="campname"><br>
Lead Email: <input type="edit" name="leader"><br>
Initial Qty (Optional): <input type="edit" name="qty"><br>
<input type="submit" value="Submit">
</form>
<% } %>
<tr>
</tr>
</table>
<br><b>Create New Camp:</b><br>
Group Name: <input type="edit" name="campname"><br>
Lead Email: <input type="edit" name="leader"><br>
Initial Qty (Optional): <input type="edit" name="qty"><br>
<input type="submit" value="Submit">
</form>
</div>
</body>
</html>