summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/templates/server-prop-generic.html
diff options
context:
space:
mode:
authorSimon Rettberg2017-04-21 12:31:25 +0200
committerSimon Rettberg2017-04-21 12:31:25 +0200
commitb7ad64152d434c6a6188c7c75a2d538432c44371 (patch)
tree6407f1a3e803c4c204518593f5f3d7375256c930 /modules-available/locationinfo/templates/server-prop-generic.html
parent[locationinfo] Properly support certificate and hostname verification (diff)
downloadslx-admin-b7ad64152d434c6a6188c7c75a2d538432c44371.tar.gz
slx-admin-b7ad64152d434c6a6188c7c75a2d538432c44371.tar.xz
slx-admin-b7ad64152d434c6a6188c7c75a2d538432c44371.zip
[locationinfo] Generate credentials in server-settings server side
There's no need to generate parameters server side that get passed to the template engine which generates javascript code that generates html snippets in the browser. We now generate everything server side right away.
Diffstat (limited to 'modules-available/locationinfo/templates/server-prop-generic.html')
-rw-r--r--modules-available/locationinfo/templates/server-prop-generic.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/modules-available/locationinfo/templates/server-prop-generic.html b/modules-available/locationinfo/templates/server-prop-generic.html
new file mode 100644
index 00000000..9e94c23d
--- /dev/null
+++ b/modules-available/locationinfo/templates/server-prop-generic.html
@@ -0,0 +1,16 @@
+<div class="list-group-item">
+ <div class="row">
+ <div class="col-md-3"><label for="prop-{{property}}">{{title}}</label></div>
+ <div class="col-md-7">
+ <input class="form-control" id="prop-{{property}}" type="{{inputtype}}" name="prop-{{property}}"
+ value="{{currentvalue}}">
+ </div>
+ <div class="col-md-2">
+ {{#helptext}}
+ <a class="btn btn-default" title="{{helptext}}">
+ <span class="glyphicon glyphicon-question-sign"></span>
+ </a>
+ {{/helptext}}
+ </div>
+ </div>
+</div> \ No newline at end of file