summaryrefslogtreecommitdiffstats
path: root/templates/page-tgz-list.html
blob: fdc1193335633079b827d5b311d5c3ef37b12fe0 (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
<ol class="breadcrumb">
	<li><a href="?do=main">Start</a></li>
	<li class="active">SystemKonfiguration</li>
</ol>
<div class="container">
	{{#files}}
		<div class="row well well-sm">
			{{file}}
			{{^current}}
				<a class="btn btn-primary" href="?do=sysconfig&amp;action=activate&amp;file={{file}}&amp;token={{token}}">Aktivieren</a>
			{{/current}}
			{{#current}}
				<span class="btn btn-success">Bereits aktiv</span>
			{{/current}}
		</div>
	{{/files}}
	{{^files}}
		<div class="row well well-sm">Keine Konfigurationspakete gefunden!</div>
	{{/files}}
	<a class="btn btn-md btn-primary" href="?do=sysconfig&amp;action=remotelist">Konfigurationsvolagen</a>
	<a class="btn btn-md btn-primary" href="#" data-toggle="collapse" data-target="#uploadform">Eigene Konfiguration hochladen</a>
	<a class="btn btn-md btn-primary" href="/boot/default/config.tgz">Aktive Konfiguration herunterladen</a>
	<div class="collapse" id="uploadform">
		<div class="well well-sm" style="margin: 5px 0px">
			<form method="post" action="?do=sysconfig" enctype="multipart/form-data">
				<input type="file" size="40" class="form-control" name="customtgz">
				<input type="hidden" name="action" value="upload">
				<input type="hidden" name="token" value="{{token}}">
				<button class="btn btn-primary form-control-addon" type="submit">Hochladen</button>
			</form>
		</div>
	</div>
</div>