Files

44 lines
1.3 KiB
Plaintext
Raw Permalink Normal View History

2024-12-21 00:29:45 -05:00
<!DOCTYPE html>
<html>
<head>
<title>Camps</title>
<link rel="stylesheet" href="styles.css">
</head>
2024-12-26 21:46:13 -05:00
<body class="grid">
2024-12-21 00:29:45 -05:00
<%- include('partials/nav') %>
2024-12-28 00:07:12 -05:00
<div class="content">
<form id="editor" method="post">
<table border="1">
<tr>
<th>Camp </th>
<th>Leader </th>
<th>#Issued </th>
2024-12-28 00:07:12 -05:00
<th>#Claimed</th>
<th>#Used </th>
<th>#Paid </th>
<th>$Paid </th>
2024-12-28 00:07:12 -05:00
</tr>
<% for (const c in camps) { %>
2024-12-21 00:29:45 -05:00
<tr>
2024-12-26 00:33:23 -05:00
<td><a href="/editcamp?campname=<%= c %>"><%=c%></td>
<td><%=camps[c].leader%> </td>
<td><%=camps[c].issued%> </td>
2024-12-21 00:29:45 -05:00
<td><%=camps[c].claimed%> </td>
<td><%=camps[c].used%> </td>
<td><%=camps[c].npaid%> </td>
<td><%=(camps[c].paid/100).toFixed(2)%> </td>
2024-12-21 00:29:45 -05:00
</tr>
2024-12-28 00:07:12 -05:00
<% } %>
<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>
2024-12-21 00:29:45 -05:00
</body>
</html>