summaryrefslogtreecommitdiffstats
path: root/modules-available/minilinux/templates/sources.html
blob: dabc7f4dfd4aa3cb267f52700b8b5745af2beac3 (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
<h3>{{lang_sources}}</h3>

<p>{{lang_sourcesIntro}}</p>

<table class="table table-condensed">
	<thead>
	<tr>
		<th>{{lang_id}}</th>
		<th>{{lang_title}}</th>
		<th>{{lang_url}}</th>
		<th>{{lang_lastUpdate}}</th>
		<th>{{lang_key}}</th>
	</tr>
	</thead>
	<tbody>
	{{#list}}
	<tr>
		<td class="small">{{sourceid}}</td>
		<td>{{title}}</td>
		<td class="small">{{url}}</td>
		<td class="{{update_class}}">{{lastupdate_s}}</td>
		<td class="text-center">
			<button type="button" class="btn btn-default btn-xs" data-confirm="#confirm-{{source}}" data-close="{{lang_close}}">
				<span class="glyphicon glyphicon-eye-open"></span>
			</button>
			<pre id="confirm-{{source}}" class="hidden">{{pubkey}}</pre>
		</td>
	</tr>
	{{/list}}
	</tbody>
</table>
<div class="text-right">
	<form method="post" action="?do=minilinux">
		<input type="hidden" name="token" value="{{token}}">
		<button type="submit" name="show" value="updatesources" class="btn btn-default"
				  onclick="$(this).find('.glyphicon').addClass('slx-rotation')" {{^show_refresh}}disabled{{/show_refresh}}>
			<span class="glyphicon glyphicon-refresh"></span>
			{{lang_updateSourcesButton}}
		</button>
	</form>
</div>