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/media/default/css/default.css | 12 +--- module/web/templates/default/settings.html | 109 ++++++++++++++--------------- 2 files changed, 55 insertions(+), 66 deletions(-) (limited to 'module/web') diff --git a/module/web/media/default/css/default.css b/module/web/media/default/css/default.css index 1c0040b12..7ac088d39 100644 --- a/module/web/media/default/css/default.css +++ b/module/web/media/default/css/default.css @@ -1563,17 +1563,9 @@ div.codearea pre span.Preprc { { display: table-cell; } - -#toptabsback +#toptabs { - background-color: #eaeaea; - margin: 0px; - padding: 11px 4px 4px 4px; - display: table-cell; - border-top-right-radius: 30px; - border-top-left-radius: 3px; - -moz-border-radius-topright: 30px; - -moz-border-radius-topleft: 3px; + float:right; } #toptabs li a { 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