2024-12-19 15:57:33 -05:00
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html>
|
|
|
|
|
<head>
|
|
|
|
|
<title>Issue New Tickets</title>
|
|
|
|
|
<link rel="stylesheet" href="styles.css">
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
2024-12-26 00:33:23 -05:00
|
|
|
<%- include('partials/nav') %>
|
|
|
|
|
<main class="content">
|
|
|
|
|
<form id="editor" action="/issue" method="post">
|
|
|
|
|
<table border="1">
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Group</th>
|
|
|
|
|
<th>Quantity</th>
|
|
|
|
|
<th>Claimed</th>
|
|
|
|
|
<th>Used</th>
|
|
|
|
|
</tr>
|
|
|
|
|
<% for (const [c,v] of Object.entries(camps)) { %>
|
2024-12-19 15:57:33 -05:00
|
|
|
<tr>
|
|
|
|
|
<td><%=c%></td>
|
|
|
|
|
<td><%=v.issued%></td>
|
|
|
|
|
<td><%=v.claimed%></td>
|
|
|
|
|
<td><%=v.used%></td>
|
|
|
|
|
</tr>
|
2024-12-26 00:33:23 -05:00
|
|
|
<% } %>
|
|
|
|
|
</table>
|
2024-12-19 15:57:33 -05:00
|
|
|
Issue new tickets:<br>
|
|
|
|
|
Group Name: <input type="edit" name="campname"><br>
|
|
|
|
|
Lead Email: <input type="edit" name="email"><br>
|
|
|
|
|
Qty: <input type="edit" name="qty"><br>
|
2024-12-26 00:33:23 -05:00
|
|
|
<input type="submit" value="Submit">
|
|
|
|
|
</form>
|
|
|
|
|
</main>
|
|
|
|
|
</body>
|
|
|
|
|
<script>
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
</html>
|