summaryrefslogtreecommitdiffstats
path: root/modules-available/rebootcontrol/templates/jumphost-subnets.html
blob: 9b418667af9663f95ffb2c74991eb42e54c0540c (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
<h2>{{lang_jumpHost}} {{host}} - {{lang_assignedSubnets}}</h2>

<form method="post" action="?do=rebootcontrol">
	<input type="hidden" name="token" value="{{token}}">
	<input type="hidden" name="show" value="jumphost">
	<input type="hidden" name="action" value="assign">
	<input type="hidden" name="hostid" value="{{hostid}}">
	<div class="list-group">
		<div class="list-group-item">
			{{#list}}
			<div class="row">
				<div class="col-md-12">
					<div class="checkbox">
						<input id="check-{{subnetid}}" type="checkbox" name="subnet[{{subnetid}}]" {{checked}}>
						<label for="check-{{subnetid}}">{{cidr}}</label>
					</div>
				</div>
			</div>
			{{/list}}
			<div class="text-right">
				<button type="submit" class="btn btn-primary">
					<span class="glyphicon glyphicon-floppy-disk"></span>
					{{lang_save}}
				</button>
			</div>
		</div>
	</div>
</form>