summaryrefslogtreecommitdiffstats
path: root/modules-available/serversetup-bwlp-ipxe/templates/localboot.html
blob: 0c6f0f03b9dd89d9b78f6aa9300a5874a78b6dd8 (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
73
74
75
76
77
78
79
<h2>{{lang_localBootHead}}</h2>

<p>{{lang_localBootIntro}}</p>

<form method="post" action="?do=serversetup">

	<input type="hidden" name="token" value="{{token}}">
	<input type="hidden" name="action" value="savelocalboot">

	<br>
	<div class="form-group">
		<p>
			{{lang_localBootDefault}}
		<p>
		<label for="default-pcbios">
			PCBIOS
		</label>
		<select id="default-pcbios" class="form-control" name="default-pcbios">
			{{#options.PCBIOS}}
			<option {{selected}}>{{key}}</option>
			{{/options.PCBIOS}}
		</select>
		<label for="default-efi">
			EFI
		</label>
		<select id="default-efi" class="form-control" name="default-efi">
			{{#options.EFI}}
			<option {{selected}}>{{key}}</option>
			{{/options.EFI}}
		</select>
	</div>

	<br>
	<h3>
			{{lang_localBootExceptions}}
	</h3>
	<table class="table">
		<tr>
			<th>{{lang_systemmodel}}</th>
			<th class="slx-smallcol">{{lang_count}}</th>
			<th style="width:150px">PCBIOS</th>
			<th style="width:150px">EFI</th>
		</tr>
		{{#exceptions}}
			<tr>
				<td><a href="?do=statistics&show=list&filters=systemmodel+%3D+{{systemmodel}}">{{systemmodel}}</a></td>
				<td class="text-right">{{cnt}}</td>
				<td>
					<select class="form-control" name="override[{{modelesc}}][PCBIOS]">
						<option value="" {{^bootmethod}}selected{{/bootmethod}}>{{lang_none}}</option>
						{{#options.PCBIOS}}
						<option {{selected}}>{{key}}</option>
						{{/options.PCBIOS}}
					</select>
				</td>
				<td>
					<select class="form-control" name="override[{{modelesc}}][EFI]">
						<option value="" {{^bootmethod}}selected{{/bootmethod}}>{{lang_none}}</option>
						{{#options.EFI}}
						<option {{selected}}>{{key}}</option>
						{{/options.EFI}}
					</select>
				</td>
			</tr>
		{{/exceptions}}
	</table>

	<div class="text-right">
		<button class="btn btn-warning" type="reset">
			<span class="glyphicon glyphicon-refresh"></span>
			{{lang_reset}}
		</button>
		<button class="btn btn-primary" type="submit">
			<span class="glyphicon glyphicon-floppy-disk"></span>
			{{lang_save}}
		</button>
	</div>

</form>