From 3c9f55270a83b0e88ec0dc516f9d9921e4d7b6ea Mon Sep 17 00:00:00 2001 From: mkaay Date: Wed, 25 Aug 2010 16:48:55 +0200 Subject: merged gui --- core/module/web/templates/default/settings.html | 180 ++++++++++++++++++++++++ 1 file changed, 180 insertions(+) create mode 100644 core/module/web/templates/default/settings.html (limited to 'core/module/web/templates/default/settings.html') diff --git a/core/module/web/templates/default/settings.html b/core/module/web/templates/default/settings.html new file mode 100644 index 000000000..e9a40ff3a --- /dev/null +++ b/core/module/web/templates/default/settings.html @@ -0,0 +1,180 @@ +{% extends 'default/base.html' %} +{% load i18n %} +{% load contains %} + +{% block title %}{% trans "Config" %} - {{block.super}} {% endblock %} +{% block subtitle %}{% trans "Config" %}{% endblock %} + +{% block head %} + + +{% endblock %} + +{% block menu %} +
  • + {% trans "Home" %} +
  • +
  • + {% trans "Queue" %} +
  • +
  • + {% trans "Collector" %} +
  • +
  • + {% trans "Downloads" %} +
  • +
  • + {% trans "Logs" %} +
  • +
  • + {% trans "Config" %} +
  • +{% endblock %} + +{% block content %} + + + +
    + +
    +
    +{% for configname, config in conf.iteritems %} + {% ifnotequal configname "Accounts" %} + {% 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 %} + + {% endif %} + {% endifequal %} +
    +
    + {% endfor %} + {% else %} + + {% for plugin, accounts in config.iteritems %} +
    + + {% for account in accounts %} + + + + + + + {% endfor %} + + + + + + + + + + + + + +
    + + + {% trans "Delete? " %} + + +
     
    + +
    + +
    +
    + {% endfor %} + + {% endifnotequal %} +{% endfor %} +{% if conf %} + +
    + +
    +{% for message in errors %} +{{message}}
    +{% endfor %} + +{% endif %} + +{% endblock %} -- cgit v1.2.3