changes
This commit is contained in:
@@ -1,26 +1,28 @@
|
||||
<!-- views/partials/nav.ejs -->
|
||||
<div class="nav">
|
||||
Falls on Fire<br>
|
||||
<div class="nav-header">
|
||||
Falls on Fire
|
||||
</div>
|
||||
<div class="nav-items">
|
||||
<a href="/buy">Buy Tickets</a><br>
|
||||
<%if (typeof username!='undefined' && username) {%>
|
||||
<a href="/mytickets">View My Tickets</a><br>
|
||||
<%}%>
|
||||
<%if (typeof superuser!='undefined' && superuser) {%>
|
||||
<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>
|
||||
<%}%>
|
||||
<%if (typeof username!='undefined' && username) {%>
|
||||
<a href="/mytickets">View My Tickets</a><br>
|
||||
<%}%>
|
||||
<%if (typeof superuser!='undefined' && superuser) {%>
|
||||
<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 commonData.message !== 'undefined') { %>
|
||||
<p><%= commonData.message %></p>
|
||||
<% } %>
|
||||
<% if (typeof commonData.message !== 'undefined') { %>
|
||||
<p><%= commonData.message %></p>
|
||||
<% } %>
|
||||
</div>
|
||||
<% if (commonData.error) { %>
|
||||
<div id="errorModal">
|
||||
|
||||
Reference in New Issue
Block a user