From 4612984d4bd929f814a56118620faa02cbf74577 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Thu, 14 Jul 2011 19:42:27 +0200 Subject: fixed config on webif + show description --- module/web/templates/default/settings_item.html | 87 +++++++++++++------------ 1 file changed, 45 insertions(+), 42 deletions(-) (limited to 'module/web/templates/default/settings_item.html') diff --git a/module/web/templates/default/settings_item.html b/module/web/templates/default/settings_item.html index 92223557d..813383343 100644 --- a/module/web/templates/default/settings_item.html +++ b/module/web/templates/default/settings_item.html @@ -1,45 +1,48 @@ - {% set skey = section.name %} - {% for option in section.items %} - {% set okey = option.name %} - - - - + {% if section.outline %} + + {% endif %} + {% for okey, option in section.iteritems() %} + {% if okey not in ("desc","outline") %} + + + + + {% endif %} {% endfor %}
- {% if option.type == "bool" %} - - {% elif option.type|type == "" %} - - {% elif option.type == "folder" %} - - - {% elif option.type == "file" %} - - - {% elif option.type == "password" %} - - {% else %} - - {% endif %} -
{{ section.outline }}
+ {% if option.type == "bool" %} + + {% elif ";" in option.type %} + + {% elif option.type == "folder" %} + + + {% elif option.type == "file" %} + + + {% elif option.type == "password" %} + + {% else %} + + {% endif %} +
\ No newline at end of file -- cgit v1.2.3