diff options
author | Simon Rettberg | 2015-01-29 20:41:41 +0100 |
---|---|---|
committer | Simon Rettberg | 2015-01-29 20:41:41 +0100 |
commit | 06d9d5f70e8475e768b528b1f46e1005b8c2e1ee (patch) | |
tree | a2355836c9128cf4d5aa3939c48bad635ed768b8 /templates/sysconfig | |
parent | [sysconfig] Add legend (diff) | |
download | slx-admin-06d9d5f70e8475e768b528b1f46e1005b8c2e1ee.tar.gz slx-admin-06d9d5f70e8475e768b528b1f46e1005b8c2e1ee.tar.xz slx-admin-06d9d5f70e8475e768b528b1f46e1005b8c2e1ee.zip |
Config.tgz improvements, automatic rebuilds etc.
Diffstat (limited to 'templates/sysconfig')
-rw-r--r-- | templates/sysconfig/_page.html | 4 | ||||
-rw-r--r-- | templates/sysconfig/ad-checkconnection.html | 1 | ||||
-rw-r--r-- | templates/sysconfig/ad-start.html | 3 | ||||
-rw-r--r-- | templates/sysconfig/branding-check.html | 3 | ||||
-rw-r--r-- | templates/sysconfig/branding-start.html | 1 | ||||
-rw-r--r-- | templates/sysconfig/cfg-start.html | 2 |
6 files changed, 10 insertions, 4 deletions
diff --git a/templates/sysconfig/_page.html b/templates/sysconfig/_page.html index 0bc92215..93169e6a 100644 --- a/templates/sysconfig/_page.html +++ b/templates/sysconfig/_page.html @@ -55,9 +55,11 @@ {{/configs}} </form> </div> + {{#havemodules}} <div class="panel-footer"> <a class="btn btn-primary" href="?do=SysConfig&action=addconfig">{{lang_newConfiguration}}</a> </div> + {{/havemodules}} </div> </div> @@ -92,7 +94,7 @@ class="btn btn-default btn-xs" {{/needrebuild}} name="rebuild" value="{{moduleid}}" title="{{lang_rebuild}}"><span class="glyphicon glyphicon-refresh"></span></button> - <button class="btn btn-success btn-xs" name="edit" value="{{moduleid}}" title="{{lang_edit}}"><span class="glyphicon glyphicon-edit"></span></button> + <a class="btn btn-success btn-xs" href="?do=SysConfig&action=addmodule&step={{moduletype}}_Start&edit={{moduleid}}" title="{{lang_edit}}"><span class="glyphicon glyphicon-edit"></span></a> <button class="btn btn-danger btn-xs" name="del" value="{{moduleid}}" title="{{lang_delete}}"><span class="glyphicon glyphicon-trash"></span></button> </td> </tr> diff --git a/templates/sysconfig/ad-checkconnection.html b/templates/sysconfig/ad-checkconnection.html index 471208e8..17064db0 100644 --- a/templates/sysconfig/ad-checkconnection.html +++ b/templates/sysconfig/ad-checkconnection.html @@ -22,6 +22,7 @@ <div class="pull-right"> <form role="form" method="post" action="?do=SysConfig&action=addmodule&step={{step}}"> <input type="hidden" name="token" value="{{token}}"> + <input type="hidden" name="edit" value="{{edit}}"> <input name="title" value="{{title}}" type="hidden"> <input name="server" value="{{server}}" type="hidden"> <input name="searchbase" value="{{searchbase}}" type="hidden"> diff --git a/templates/sysconfig/ad-start.html b/templates/sysconfig/ad-start.html index 007bc8db..587f15af 100644 --- a/templates/sysconfig/ad-start.html +++ b/templates/sysconfig/ad-start.html @@ -12,6 +12,7 @@ <form role="form" method="post" action="?do=SysConfig&action=addmodule&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 slx-ga">{{lang_moduleTitle}}</span> <input tabindex="1" name="title" value="{{title}}" type="text" class="form-control"> @@ -32,7 +33,7 @@ </div> <div class="input-group"> <span class="input-group-addon slx-ga">{{lang_password}} *</span> - <input tabindex="4" name="bindpw" value="{{bindpw}}" type="text" class="form-control" placeholder="{{lang_password}}"> + <input tabindex="4" name="bindpw" value="{{bindpw}}" type="{{password_type}}" class="form-control" placeholder="{{lang_password}}"> <!--span class="input-group-btn"> <a class="btn btn-default"><span class="glyphicon glyphicon-question-sign"></span></a> </span--> diff --git a/templates/sysconfig/branding-check.html b/templates/sysconfig/branding-check.html index 52c70cd0..8f6ef055 100644 --- a/templates/sysconfig/branding-check.html +++ b/templates/sysconfig/branding-check.html @@ -16,9 +16,10 @@ <div> <form role="form" enctype="multipart/form-data" method="post" action="?do=SysConfig&action=addmodule&step={{step}}"> <input type="hidden" name="token" value="{{token}}"> + <input type="hidden" name="edit" value="{{edit}}"> <div class="form-group"> <label for="title-id">{{lang_title}}</label> - <input type="text" name="title" id ="title-id" class="form-control" placeholder="Name des Moduls"> + <input type="text" name="title" value="{{title}}" id ="title-id" class="form-control" placeholder="Name des Moduls"> </div> <button type="submit" class="btn btn-primary">{{lang_save}}</button> </form> diff --git a/templates/sysconfig/branding-start.html b/templates/sysconfig/branding-start.html index 7b22a3fd..1470929f 100644 --- a/templates/sysconfig/branding-start.html +++ b/templates/sysconfig/branding-start.html @@ -3,6 +3,7 @@ </p> <form role="form" enctype="multipart/form-data" method="post" action="?do=SysConfig&action=addmodule&step={{step}}"> <input type="hidden" name="token" value="{{token}}"> + <input type="hidden" name="edit" value="{{edit}}"> <div class="form-group"> <label for="input-url">{{lang_urlLoad}}</label> <input class="form-control" type="text" name="url" id="input-url"> diff --git a/templates/sysconfig/cfg-start.html b/templates/sysconfig/cfg-start.html index f01f46cd..7493bf55 100644 --- a/templates/sysconfig/cfg-start.html +++ b/templates/sysconfig/cfg-start.html @@ -27,7 +27,7 @@ </div> {{/modules}} {{^modules}} - <a class="btn btn-primary btn-xs" href="?do=SysConfig&action=addmodule&step={{wizardClass}}">{{lang_new}}..</a> + <div class="alert alert-info">{{lang_noModuleOfType}}</div> {{/modules}} </div> </div> |