diff options
author | Simon Rettberg | 2017-05-09 14:30:30 +0200 |
---|---|---|
committer | Simon Rettberg | 2017-05-09 14:30:30 +0200 |
commit | 16dc9cfeea4bc060982f0b364ddaac98095ef654 (patch) | |
tree | e5c5eaa88f17840ee86371780a9550193ceb8a4a /modules-available/webinterface/templates | |
parent | [locationinfo] Fix more undefined offset access (diff) | |
download | slx-admin-16dc9cfeea4bc060982f0b364ddaac98095ef654.tar.gz slx-admin-16dc9cfeea4bc060982f0b364ddaac98095ef654.tar.xz slx-admin-16dc9cfeea4bc060982f0b364ddaac98095ef654.zip |
[webinterface] Allow customizing page title prefix and logo bgcolor
Diffstat (limited to 'modules-available/webinterface/templates')
-rw-r--r-- | modules-available/webinterface/templates/customization.html | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/modules-available/webinterface/templates/customization.html b/modules-available/webinterface/templates/customization.html new file mode 100644 index 00000000..447404a6 --- /dev/null +++ b/modules-available/webinterface/templates/customization.html @@ -0,0 +1,30 @@ +<form action="?do=WebInterface" method="post"> + <input type="hidden" name="token" value="{{token}}"> + <input type="hidden" name="action" value="customization"> + <div class="panel panel-default"> + <div class="panel-heading">{{lang_customization}}</div> + <div class="panel-body"> + <p>{{lang_customizationDesc}}</p> + <div> + <label> + {{lang_pageTitlePrefix}} + <input type="text" class="form-control" name="prefix" value="{{prefix}}"> + </label> + + </div> + <div> + <label> + {{lang_logoBackground}} + <select class="form-control" name="bgcolor"> + {{#colors}} + <option style="color:{{color}}" {{selected}}>{{color}}</option> + {{/colors}} + </select> + </label> + </div> + <div class="pull-right"> + <button type="submit" class="btn btn-primary">{{lang_save}}</button> + </div> + </div> + </div> +</form> |