diff options
author | Simon Rettberg | 2017-04-21 12:31:25 +0200 |
---|---|---|
committer | Simon Rettberg | 2017-04-21 12:31:25 +0200 |
commit | b7ad64152d434c6a6188c7c75a2d538432c44371 (patch) | |
tree | 6407f1a3e803c4c204518593f5f3d7375256c930 /modules-available/locationinfo/templates/server-prop-bool.html | |
parent | [locationinfo] Properly support certificate and hostname verification (diff) | |
download | slx-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-bool.html')
-rw-r--r-- | modules-available/locationinfo/templates/server-prop-bool.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/modules-available/locationinfo/templates/server-prop-bool.html b/modules-available/locationinfo/templates/server-prop-bool.html new file mode 100644 index 00000000..f430d02c --- /dev/null +++ b/modules-available/locationinfo/templates/server-prop-bool.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="settings-bs-switch" id="prop-{{property}}" type="checkbox" name="prop-{{property}}" value="1" + {{#currentvalue}}checked{{/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 |