changes
This commit is contained in:
@@ -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>
|
||||
<% } %>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user