Redesign database and implement voting
This commit is contained in:
parent
a0b65c7d5b
commit
80e9bc1bde
16 changed files with 376 additions and 41 deletions
|
@ -3,13 +3,14 @@
|
|||
<head>
|
||||
<link rel=stylesheet href=style.css />
|
||||
<title>Learn Request Queue</title>
|
||||
<script>window.loggedIn = <%= it.loggedIn %></script>
|
||||
<script src="main.js" defer></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="topbar">
|
||||
<div id="logo">Learn Request Queue</div>
|
||||
<div id="nav-requests"><a href="/">Requests</a></div>
|
||||
<%- if (it.userName) { // Logged in -%>
|
||||
<%- if (it.loggedIn) { -%>
|
||||
<div id="nav-addrequest"><a href="#" onclick="openAddRequestModal()">Add Request</a></div>
|
||||
<div id="nav-userpic"><img src="<%= it.userProfilePicture %>" /></div>
|
||||
<div id="nav-username"><%= it.userName %></div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue