Add 'Add Request' Modal
This commit is contained in:
parent
e8d7d6362b
commit
12d4ffad2b
3 changed files with 55 additions and 0 deletions
|
@ -10,6 +10,7 @@
|
|||
<div id="logo">Learn Request Queue</div>
|
||||
<div id="nav-requests"><a href="/">Requests</a></div>
|
||||
<%- if (it.userName) { // Logged in -%>
|
||||
<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>
|
||||
<div id="nav-logout"><a href="/logout">Logout</a></div>
|
||||
|
@ -29,6 +30,15 @@
|
|||
</select>
|
||||
<input type="checkbox" id="allRequests" onchange="updateTable()">View requests in any state</input>
|
||||
</div>
|
||||
<div id="addRequestModalBackground">
|
||||
<div id="addRequestModal">
|
||||
<div id="addRequestModalClose"><a href="#" onclick="closeAddRequestModal()">×</a></div>
|
||||
<h1>Add Request</h1>
|
||||
URL: <input id="addRequestUrl"></input>
|
||||
<button onclick="validateAndSubmitRequest()">Request</button><br>
|
||||
Currently, only Youtube links are accepted.
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue