changes
This commit is contained in:
@@ -5,28 +5,34 @@
|
||||
<link rel="stylesheet" href="styles.css">
|
||||
</head>
|
||||
<body>
|
||||
<h1>Welcome, <%= username %>!</h1>
|
||||
<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)) { %>
|
||||
<%- 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)) { %>
|
||||
<tr>
|
||||
<td><%=c%></td>
|
||||
<td><%=v.issued%></td>
|
||||
<td><%=v.claimed%></td>
|
||||
<td><%=v.used%></td>
|
||||
</tr>
|
||||
<% } %>
|
||||
</table>
|
||||
<% } %>
|
||||
</table>
|
||||
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>
|
||||
<input type="submit" value="Submit">
|
||||
</form>
|
||||
<script>
|
||||
<input type="submit" value="Submit">
|
||||
</form>
|
||||
</main>
|
||||
</body>
|
||||
<script>
|
||||
</script>
|
||||
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user