changes
This commit is contained in:
@@ -12,17 +12,22 @@
|
||||
<img class="qrcode-image" id="QRCodeImage" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/wcAAgMBAAeWBjwAAAAASUVORK5CYII=" />
|
||||
</div>
|
||||
</div>
|
||||
<form id="editor">
|
||||
<div id="server-response">Server Ready</div>
|
||||
<table border="1">
|
||||
<tr>
|
||||
<th>Ticket#</th>
|
||||
<th>Owner</th>
|
||||
<th>Offered To</th>
|
||||
<th>Status</th>
|
||||
<th>Action</th>
|
||||
</tr>
|
||||
<% for (const t in tickets) { %>
|
||||
<div class="content">
|
||||
<form id="editor">
|
||||
<div id="server-response">Server Ready</div>
|
||||
<br>
|
||||
Camp Name: <%=campname%><br>
|
||||
Camp Leader: <%=leader%>
|
||||
|
||||
<table border="1">
|
||||
<tr>
|
||||
<th>Ticket#</th>
|
||||
<th>Owner</th>
|
||||
<th>Offered To</th>
|
||||
<th>Status</th>
|
||||
<th>Action</th>
|
||||
</tr>
|
||||
<% for (const t in tickets) { %>
|
||||
<tr>
|
||||
<td><%=t%></td>
|
||||
<td><input type="edit" value="<%=tickets[t].owner%>" id="<%=t%>-owner"> </td>
|
||||
@@ -36,12 +41,19 @@
|
||||
</td>
|
||||
<td><button id="<%=t%>-action" type="button"> QRCode </button></td>
|
||||
</tr>
|
||||
<% } %>
|
||||
<tr>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<script>
|
||||
<% } %>
|
||||
<tr>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<form action='/moretickets' method='post'>
|
||||
<input type="hidden" name="campname" value="<%=campname%>">
|
||||
Issue Tickets (Qty): <input type="edit" name="qty"><br>
|
||||
<button type="submit">Issue</button>
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
<script>
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user