From 09f437439c60f3d4078e649cfa7968d223e6dce7 Mon Sep 17 00:00:00 2001 From: Gregy Date: Fri, 6 Aug 2010 16:29:59 +0200 Subject: Little bits to settings design --- module/web/templates/default/settings.html | 109 ++++++++++++++--------------- 1 file changed, 53 insertions(+), 56 deletions(-) (limited to 'module/web/templates/default/settings.html') diff --git a/module/web/templates/default/settings.html b/module/web/templates/default/settings.html index 542be0974..c863fd501 100644 --- a/module/web/templates/default/settings.html +++ b/module/web/templates/default/settings.html @@ -71,68 +71,65 @@ {{message}}
{% endfor %} -
- - - - -
-
    - {% for configname, config in conf.iteritems %} - - {% for skey, section in config.iteritems %} -
  • {{section.desc}}
  • - {% endfor %} -
    - {% endfor %} -
-
-
+
    {% for configname, config in conf.iteritems %} - {% for skey, section in config.iteritems %} - -
    - - {% for okey, option in section.items %} - {% ifnotequal okey "desc" %} - - - + + {% endifnotequal %} + {% endfor %} +
    - {% ifequal option.type "bool" %} + {% if config|length > 0 %} +
  • {{configname}}
  • + {% endif %} + {% endfor %} + +
    +
    +
      + {% for configname, config in conf.iteritems %} + + {% for skey, section in config.iteritems %} +
    • {{section.desc}}
    • + {% endfor %} +
      + {% endfor %} +
    +
    + +{% for configname, config in conf.iteritems %} + {% for skey, section in config.iteritems %} + +
    + + {% for okey, option in section.items %} + {% ifnotequal okey "desc" %} + + + - - {% endifnotequal %} - {% endfor %} -
    + {% ifequal option.type "bool" %} + + {% else %} + {% if option.type|contains:";" %} {% else %} - {% if option.type|contains:";" %} - - {% else %} - - {% endif %} - {% endifequal %} -
    -
    - {% endfor %} + + {% endif %} + {% endifequal %} +
    +
    {% endfor %} - {% if conf %} - - -
+{% endfor %} +{% if conf %} + + + {% endif %} {% endblock %} -- cgit v1.2.3