parent
5e42236354
commit
8483705ae4
4 changed files with 61 additions and 19 deletions
|
@ -29,11 +29,10 @@
|
|||
<%- } %>
|
||||
</div>
|
||||
<div id="main">
|
||||
<div id="requests"></div><br>
|
||||
<div id="tableSettings">
|
||||
<div class="tableSettings" id="tableSettingsTop">
|
||||
<span style="width:420px">
|
||||
Count:
|
||||
<select id="count" value="10" onchange="updateTable()">
|
||||
<select id="count" value="10" onchange="window.count = this.value;updateTable()">
|
||||
<option>5</option>
|
||||
<option selected="selected">10</option>
|
||||
<option>25</option>
|
||||
|
@ -41,6 +40,22 @@
|
|||
<option>100</option>
|
||||
</select>
|
||||
</span>
|
||||
<span>
|
||||
Sort by:
|
||||
<select id="sortBy" onchange="window.sortBy = this.value;updateTable()">
|
||||
<option value="title">Song Title</option>
|
||||
<option value="requester">Requester</option>
|
||||
<option value="score">Score</option>
|
||||
<option value="timestamp" selected>Request Time</option>
|
||||
</select>
|
||||
<button id="sortDir" onclick="toggleSortDir()">↓</button>
|
||||
</span>
|
||||
<span style="width:420px">
|
||||
<input type="checkbox" id="allRequests" onchange="updateTable()">View all requests</input>
|
||||
</span>
|
||||
</div>
|
||||
<div id="requests"></div><br>
|
||||
<div class="tableSettings">
|
||||
<span>
|
||||
<button id="pageBtnFirst" onclick="goToPage(1)"><<</button>
|
||||
<button id="pageBtnPrev" onclick="goToPage(currentPage-1)"><</button>
|
||||
|
@ -51,9 +66,6 @@
|
|||
<button id="pageBtnNext" onclick="goToPage(currentPage+1)">></button>
|
||||
<button id="pageBtnLast" onclick="goToPage(totalPages)">>></button>
|
||||
</span>
|
||||
<span style="width:420px">
|
||||
<input type="checkbox" id="allRequests" onchange="updateTable()">View learned and rejected requests</input>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div id="modalBackground">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue