summaryrefslogtreecommitdiffstats
path: root/modules-available/serversetup-bwlp-ipxe/templates/ipaddress.html
blob: f5a49bebbe1667afd60e39fa4b25a17e22cadfb5 (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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<h3>
	{{lang_bootAddress}}
</h3>
<div class="{{chooseHintClass}}">
	{{lang_chooseIP}}
</div>
<form method="post" action="?do=ServerSetup">
	<input type="hidden" name="action" value="ip">
	<input type="hidden" name="token" value="{{token}}">
	<table class="slx-table">
		{{#ips}}
		<tr>
			<td>{{ip}}</td>
			{{#default}}
			<td>
				<span class="btn btn-success btn-xs"><span class="glyphicon glyphicon-ok"></span> {{lang_active}}</span>
			</td>
			{{/default}}
			{{^default}}
			<td>
				<button class="btn btn-primary btn-xs" name="ip" value="{{ip}}" {{disabled}}>
					<span class="glyphicon glyphicon-flag"></span>
					{{lang_set}}
				</button>
			</td>
			{{/default}}
		</tr>
		{{/ips}}
	</table>
</form>
<hr>

<h3>
	{{lang_recompileHead}}
</h3>
<p>
	{{lang_recompileHint}}
</p>
{{#error}}
<div class="alert alert-danger">{{error}}</div>
{{/error}}
<form method="post" action="?do=ServerSetup">
	<input type="hidden" name="token" value="{{token}}">
	<div class="form-group">
		<label>
			{{lang_versionSelect}}
			<select class="form-control" name="version">
				{{#versions}}
				<option value="{{hash}}" {{hash_selected}}>{{date_s}} ({{hash_s}})</option>
				{{/versions}}
			</select>
		</label>
	</div>
	<div class="buttonbar">
		<button class="btn btn-default" name="action" value="compile" {{disabled}}>
			<span class="glyphicon glyphicon-refresh"></span>
			{{lang_forceRecompile}}
		</button>
		<button class="btn btn-default" name="action" value="fetch" {{disabled}}>
			<span class="glyphicon glyphicon-arrow-down"></span>
			{{lang_fetchUpdate}}
		</button>
		<button class="btn btn-danger" name="action" value="reset" {{disabled}} data-confirm="{{lang_reallyGitReset}}">
			<span class="glyphicon glyphicon-trash"></span>
			{{lang_resetWorkingTree}}
		</button>
	</div>
</form>
<hr>

<h3>{{lang_lastBuild}}</h3>
{{lastBuild}}