diff options
author | Simon Rettberg | 2016-05-03 19:03:09 +0200 |
---|---|---|
committer | Simon Rettberg | 2016-05-03 19:03:09 +0200 |
commit | 50404f3b23b7fd6aeae4c9d2f6df0ea25e984e66 (patch) | |
tree | 05e99fdffa696434960d7c77966c0bc36d6339e8 /modules-available/sysconfig/templates/cfg-start.html | |
parent | Second half of merge.... (diff) | |
download | slx-admin-50404f3b23b7fd6aeae4c9d2f6df0ea25e984e66.tar.gz slx-admin-50404f3b23b7fd6aeae4c9d2f6df0ea25e984e66.tar.xz slx-admin-50404f3b23b7fd6aeae4c9d2f6df0ea25e984e66.zip |
WIP
Diffstat (limited to 'modules-available/sysconfig/templates/cfg-start.html')
-rw-r--r-- | modules-available/sysconfig/templates/cfg-start.html | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/modules-available/sysconfig/templates/cfg-start.html b/modules-available/sysconfig/templates/cfg-start.html new file mode 100644 index 00000000..50f366ea --- /dev/null +++ b/modules-available/sysconfig/templates/cfg-start.html @@ -0,0 +1,39 @@ +<form role="form" method="post" action="?do=SysConfig&action=addconfig&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}} + <input type="radio" name="module[{{groupid}}]" value="{{moduleid}}" id="module{{moduleid}}" {{#active}}checked{{/active}}> + {{/unique}} + {{^unique}} + <input type="checkbox" name="module[{{moduleid}}]" value="{{moduleid}}" id="module{{moduleid}}" {{#active}}checked{{/active}}> + {{/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="pull-right"> + <button type="submit" class="btn btn-primary">{{lang_next}} »</button> + </div> +</form> |