-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathqueue.html
More file actions
58 lines (58 loc) · 1.38 KB
/
queue.html
File metadata and controls
58 lines (58 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<div class="padSmall x100">
<h3>Conversion Queue</h3>
<div class="inner x100">
<div class="x100 paginate">
<div class="historyPagination" style="float:right;"></div>
</div>
<table width="100%">
<tr>
<th>Video ID</th>
<th>File Name</th>
<th>Size</th>
<th>User</th>
<th>Video File</th>
</tr>
{{if queue|empty}}
<tr>
<td colspan="5" align="center">Nothing In Queue</td>
</tr>
{{/if}}
{{queue}}
<tr>
{{if .|isString}}
<td colspan="5">{{.}}</td>
{{else}}
<td align="center"><a href="/play/{{id}}/{{account.username|uuid}}/" target="_blank">{{id}}</a></td>
<td><a href="/details/{{id}}/{{account.username|uuid}}/" target="_blank">{{fileName}}</a></td>
<td align="center">{{size|filesize}}</td>
<td align="center">{{account.username}}</td>
<td align="center">{{videofile}}</td>
{{/if}}
</tr>
{{/queue}}
<tr>
<th>Video ID</th>
<th>File Name</th>
<th>Size</th>
<th>User</th>
<th>Video File</th>
</tr>
</table>
<div class="x100 paginate">
<div class="historyPagination" style="float:right;"></div>
</div>
</div>
</div>
<script>
$(function(){
$(".queuePagination").pagination({
items: {{queueTotal}},
itemsOnPage: {{limit}},
cssStyle: 'light-theme',
currentPage:{{queuePage}},
onPageClick: function(pageNumber, event){
vc.queueActionsPage(pageNumber);
}
});
});
</script>