This commit is contained in:
2024-12-26 00:33:23 -05:00
parent 2ad92eb7fd
commit 37eb7eebe8
11 changed files with 475 additions and 132 deletions

View File

@@ -6,8 +6,7 @@
</head>
<body>
<%- include('partials/nav') %>
<h1>Camp Editor (Administrator <%= username %>)</h1>
<form id="editor">
<form id="editor" method="post">
<table border="1">
<tr>
<th>Camp</th>
@@ -18,7 +17,7 @@
</tr>
<% for (const c in camps) { %>
<tr>
<td><%=c%></td>
<td><a href="/editcamp?campname=<%= c %>"><%=c%></td>
<td><%=camps[c].leader%> </td>
<td><%=camps[c].issued%> </td>
<td><%=camps[c].claimed%> </td>
@@ -28,16 +27,11 @@
<tr>
</tr>
</table>
<br><b>Create New Group:</b><br>
<br><b>Create New Camp:</b><br>
Group Name: <input type="edit" name="campname"><br>
Lead Email: <input type="edit" name="email"><br>
Initial Qty: <input type="edit" name="qty"><br>
Lead Email: <input type="edit" name="leader"><br>
Initial Qty (Optional): <input type="edit" name="qty"><br>
<input type="submit" value="Submit">
</form>
<script src="/js/nav.js"></script>
<script>
</script>
</body>
</html>