summaryrefslogtreecommitdiffstats
path: root/modules-available/sysconfig/templates/assign.html
blob: 9e83f96597072bc745a61c03efbaf10b0cfe18ab (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
<form role="form" enctype="multipart/form-data" method="post" action="?do=SysConfig&amp;action=addmodule&amp;step=AddModule_Assign">
	<input type="hidden" name="token" value="{{token}}">
	<input type="hidden" name="edit" value="{{edit}}">
	<input type="hidden" name="assign" value="true">

	{{#configs}}
		<div class="input-group">
			<span class="input-group-addon">
				<div class="checkbox">
					<input type="checkbox" name="configs[]" value="{{configid}}" id="config{{configid}}">
					<label></label>
				</div>
			</span>
			<label class="form-control config-label" for="config{{configid}}">
				<span>{{title}}</span>
				{{#replaces}}<span class="text-danger">{{lang_replaces}} {{.}}</span>{{/replaces}}
			</label>
		</div>
	{{/configs}}

	<div class="text-right" style="margin-top: 12px">
		<button type="submit" class="btn btn-primary"><span class="glyphicon glyphicon-floppy-disk"></span> {{lang_save}}</button>
	</div>
</form>

<style>
	.config-label {
		display: flex !important;
		justify-content: space-between !important;
	}
</style>