summaryrefslogtreecommitdiffstats
path: root/modules-available/sysconfig/templates/cfg-start.html
blob: b4628cbac9c9167946f9e0d523de41ac47f55402 (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
<form role="form" method="post" action="?do=SysConfig&amp;action=addconfig&amp;step={{step}}">
	<input type="hidden" name="token" value="{{token}}">
	<input type="hidden" name="edit" value="{{edit}}">
	<div class="input-group">
		<span class="input-group-addon">{{lang_name}} *</span>
		<input type="text" name="title" value="{{title}}" class="form-control" placeholder="{{lang_configuration}}" autofocus="autofocus">
	</div>
		<hr>
	<p>{{lang_configurationChoose}}</p>
	{{#groups}}
		<div class="panel panel-default">
			<div class="slx-litehead">{{group}}</div>
			<div class="panel-body">
			{{#modules}}
				<div class="input-group">
					<span class="input-group-addon">
						{{#unique}}
						<div class="radio">
							<input type="radio" name="module[{{groupid}}]" value="{{moduleid}}" id="module{{moduleid}}" {{#active}}checked{{/active}}>
							<label></label>
						</div>
						{{/unique}}
						{{^unique}}
						<div class="checkbox">
							<input type="checkbox" name="module[{{moduleid}}]" value="{{moduleid}}" id="module{{moduleid}}" {{#active}}checked{{/active}}>
							<label></label>
						</div>
						{{/unique}}
					</span>
					<label class="form-control" for="module{{moduleid}}">{{title}}</label>
					{{#missing}}
					<span class="input-group-addon" title="Modul beschädigt! Bitte neu generieren."><span class="red glyphicon glyphicon-exclamation-sign"></span></span>
					{{/missing}}
				</div>
			{{/modules}}
			{{^modules}}
			<div class="alert alert-info">{{lang_noModuleOfType}}</div>
			{{/modules}}
			</div>
		</div>
	{{/groups}}
	<div class="btn-group">
		<a href="?do=SysConfig" class="btn btn-default">{{lang_cancel}}</a>
	</div>
	<div class="btn-group pull-right">
		<button type="submit" class="btn btn-primary">{{lang_next}} &raquo;</button>
	</div>
</form>