summaryrefslogtreecommitdiffstats
path: root/modules-available/minilinux/templates/filelist.html
blob: 241d1264deee94414e09eb8871b21a2b1ce9105d (plain) (blame)
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="text-right">
	<form method="post" action="?do=minilinux">
		<input type="hidden" name="token" value="{{token}}">
		<input type="hidden" name="version" value="{{versionid}}">
		{{#verify_button}}
		<button type="button" class="btn btn-default btn-xs btn-verify" data-version="{{versionid}}" title="{{lang_verifyToolTip}}">
			<span class="glyphicon glyphicon-search"></span>
			{{lang_verify}}
		</button>
		{{/verify_button}}
		{{#delete_button}}
		<button type="submit" name="show" value="delete" class="btn btn-xs btn-danger"
				  data-confirm="{{lang_confirmDeleteVersion}}">
			<span class="glyphicon glyphicon-trash"></span>
			{{lang_delete}}
		</button>
		{{/delete_button}}
	</form>
</div>
<div class="clearfix slx-smallspace"></div>
<table class="slx-table" style="width:100%">
{{#files}}
	<tr>
		<td class="text-nowrap">&nbsp;</td>
		<td class="text-nowrap">{{name}}</td>
		<td class="text-nowrap text-right">{{size_s}}</td>
		<td class="text-nowrap text-right">{{mtime_s}}</td>
		<td style="width:100%">
			{{^dltask}}
			{{state}}
			{{/dltask}}
			{{#dltask}}
			<div id="{{fileid}}">
				<div class="progress" style="margin-bottom:0">
					<div class="progress-bar" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100"
						  style="width:0"></div>
				</div>
			</div>
			{{/dltask}}
		</td>
	</tr>
{{/files}}
</table>
{{#s4_errors}}
<div class="alert alert-warning">{{lang_maybeMissingStage4}}: {{.}}</div>
{{/s4_errors}}
{{#dltask}}
<div class="hidden" data-tm-id="{{dltask}}" data-tm-callback="dlTmCb"></div>
<pre class="collapse" id="error-{{dltask}}"></pre>
{{/dltask}}
{{#changelog}}
	<div class="slx-space"></div>
<div style="border:1px solid #bbb;padding:4px;border-radius: 3px">
	<h4>{{lang_changelog}}</h4>
	{{{changelog}}}
</div>
{{/changelog}}
<div class="slx-space"></div>