diff options
author | Walter Purcaro <vuolter@gmail.com> | 2015-02-17 01:18:06 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2015-02-17 01:18:06 +0100 |
commit | ed2373b3c3568db328e8000984f8dfc98028db73 (patch) | |
tree | bd08ffb6259a5a938465e6066cc6a034ae8321b8 /module/web/templates/default/settings_item.html | |
parent | webui temp (diff) | |
parent | delete tmp folder (diff) | |
download | pyload-ed2373b3c3568db328e8000984f8dfc98028db73.tar.xz |
Merge branch 'pr/n1006_mariusbaumann' into 0.4.10
Diffstat (limited to 'module/web/templates/default/settings_item.html')
-rw-r--r-- | module/web/templates/default/settings_item.html | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/module/web/templates/default/settings_item.html b/module/web/templates/default/settings_item.html index 813383343..b760aaa02 100644 --- a/module/web/templates/default/settings_item.html +++ b/module/web/templates/default/settings_item.html @@ -1,4 +1,5 @@ -<table class="settable"> +<table class="settable table"> + {% if section.outline %} <tr><th colspan="2">{{ section.outline }}</th></tr> {% endif %} @@ -23,26 +24,27 @@ {% endfor %} </select> {% elif option.type == "folder" %} - <input name="{{skey}}|{{okey}}" type="text" + <input style="float: right; margin-bottom: 5px;" class="form-control" name="{{skey}}|{{okey}}" type="text" id="{{skey}}|{{okey}}" value="{{option.value}}"/> - <input name="browsebutton" type="button" + <input style="float: right;" class="form-control btn btn-primary" name="browsebutton" type="button" onclick="ifield = document.getElementById('{{skey}}|{{okey}}'); pathchooser = window.open('{% if option.value %}{{ "/pathchooser/" + option.value|quotepath }}{% else %}{{ pathroot }}{% endif %}', 'pathchooser', 'scrollbars=yes,toolbar=no,menubar=no,statusbar=no,width=650,height=300'); pathchooser.ifield = ifield; window.ifield = ifield;" value="{{_("Browse")}}"/> {% elif option.type == "file" %} - <input name="{{skey}}|{{okey}}" type="text" + <input style="float: right; margin-bottom: 5px;" class="form-control" name="{{skey}}|{{okey}}" type="text" id="{{skey}}|{{okey}}" value="{{option.value}}"/> - <input name="browsebutton" type="button" + <input style="float: right;" class="form-control btn btn-primary" name="browsebutton" type="button" onclick="ifield = document.getElementById('{{skey}}|{{okey}}'); filechooser = window.open('{% if option.value %}{{ "/filechooser/" + option.value|quotepath }}{% else %}{{ fileroot }}{% endif %}', 'filechooser', 'scrollbars=yes,toolbar=no,menubar=no,statusbar=no,width=650,height=300'); filechooser.ifield = ifield; window.ifield = ifield;" value="{{_("Browse")}}"/> {% elif option.type == "password" %} - <input id="{{skey}}|{{okey}}" name="{{skey}}|{{okey}}" + <input style="float: right;" class="form-control" id="{{skey}}|{{okey}}" name="{{skey}}|{{okey}}" type="password" value="{{option.value}}"/> {% else %} - <input id="{{skey}}|{{okey}}" name="{{skey}}|{{okey}}" + <input style="float: right;" class="form-control" id="{{skey}}|{{okey}}" name="{{skey}}|{{okey}}" type="text" value="{{option.value}}"/> {% endif %} </td> </tr> {% endif %} {% endfor %} + </table>
\ No newline at end of file |