This commit is contained in:
2025-03-03 21:36:38 -05:00
parent 99034772c3
commit 7eb5b42d99
3 changed files with 48 additions and 12 deletions

View File

@@ -6,10 +6,22 @@
<a href="/camps">View Camps (Admin)</a><br>
<a href="/settings">Settings (Admin)</a><br>
<%}%>
<%if (typeof username!='undefined' && username) {%>
<a href="/changepassword">Change Password</a><br>
<a href="/logout">Log Out</a><br>
<%} else {%>
<a href="/create">Create Account</a><br>
<a href="/login">Log In</a><br>
<%}%>
</div>
<div class="message" id="message">
<% if (typeof message !== 'undefined') { %>
<p><%= message %></p>
<% if (typeof commonData.message !== 'undefined') { %>
<p><%= commonData.message %></p>
<% } %>
</div>
<% if (commonData.error) { %>
<div id="errorModal">
<p><%= commonData.error %></p>
<button onclick="document.getElementById('errorModal').style.display='none'">Close</button>
</div>
<% } %>

View File

@@ -23,6 +23,10 @@
<form action='/deserialize' method='post'>
<button type="submit" >Deserialize</button>
</form>
<form action="/importfb" method="post" enctype="multipart/form-data">
<input type="file" name="file">
<input type="submit" value="Upload">
</form>
</div>
</body>
<script>