From c52ee8392501ee916d85fd9da75aa08a8f014493 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Tue, 12 Jul 2011 23:42:11 +0200 Subject: removed server_methods, please test everything entirely --- module/web/templates/default/settings_item.html | 84 ++++++++++++------------- 1 file changed, 42 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 593050bd2..92223557d 100644 --- a/module/web/templates/default/settings_item.html +++ b/module/web/templates/default/settings_item.html @@ -1,45 +1,45 @@ - {% for okey, option in section.iteritems() %} - {% if okey != "desc" %} - - - - - {% endif %} + {% set skey = section.name %} + {% for option in section.items %} + {% set okey = option.name %} + + + + {% endfor %}
- {% if option.type == "bool" %} - - {% elif ";" in option.type %} - - {% elif option.type == "folder" %} - - - {% elif option.type == "file" %} - - - {% elif option.type == "password" %} - - {% else %} - - {% endif %} -
+ {% if option.type == "bool" %} + + {% elif option.type|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