Files
FOFTickets/views/camps.ejs
2024-12-21 00:29:45 -05:00

44 lines
1.1 KiB
Plaintext

<!DOCTYPE html>
<html>
<head>
<title>Camps</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<%- include('partials/nav') %>
<h1>Camp Editor (Administrator <%= username %>)</h1>
<form id="editor">
<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><%=c%></td>
<td><%=camps[c].leader%> </td>
<td><%=camps[c].issued%> </td>
<td><%=camps[c].claimed%> </td>
<td><%=camps[c].used%> </td>
</tr>
<% } %>
<tr>
</tr>
</table>
<br><b>Create New Group:</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>
<input type="submit" value="Submit">
</form>
<script src="/js/nav.js"></script>
<script>
</script>
</body>
</html>