From aa78d90803a68e41ea663adb623c859cae3ad91e Mon Sep 17 00:00:00 2001 From: RaNaN Date: Wed, 9 Mar 2011 23:29:24 +0100 Subject: new config page, mootools 1.3, removed old templates --- module/web/templates/jinja/default/settings.html | 235 ----------------------- 1 file changed, 235 deletions(-) delete mode 100644 module/web/templates/jinja/default/settings.html (limited to 'module/web/templates/jinja/default/settings.html') diff --git a/module/web/templates/jinja/default/settings.html b/module/web/templates/jinja/default/settings.html deleted file mode 100644 index 68c480ec2..000000000 --- a/module/web/templates/jinja/default/settings.html +++ /dev/null @@ -1,235 +0,0 @@ -{% extends 'default/base.html' %} - -{% block title %}{{ _("Config") }} - {{ super() }} {% endblock %} -{% block subtitle %}{{ _("Config") }}{% endblock %} - -{% block head %} - - -{% endblock %} - -{% block menu %} -
  • - {{ _("Home") }} -
  • -
  • - {{ _("Queue") }} -
  • -
  • - {{ _("Collector") }} -
  • -
  • - {{ _("Downloads") }} -
  • -
  • - {{ _("Logs") }} -
  • -
  • - {{ _("Config") }} -
  • -{% endblock %} - -{% block content %} - - - -
    - -
    -
    - {% for configname, config in conf.iteritems() %} - {% if configname != "Accounts" %} - {% for skey, section in config.iteritems() %} -
    - - {% for okey, option in section.iteritems() %} - {% if okey != "desc" %} - - - - - {% endif %} - {% endfor %} -
    - {% if option.type == "bool" %} - - {% elif ";" in option.type %} - - {% elif option.type == "folder" %} - - - {% elif option.type == "file" %} - - - {% elif option.type == "password" %} - - {% else %} - - {% endif %} -
    -
    - {% endfor %} - {% else %} - - {% for plugin, accounts in config.iteritems() %} -
    - - {% for account in accounts %} - - - - - - - - - - - {% endfor %} - - - - - - - - - - - - - - - -
    - - - {{ _("Status:") }} - {% if account.valid %} - - {{ _("valid") }} - {% else %} - - {{ _("not valid") }} - {% endif %} - - - {{ _("Valid until:") }} - - {{ account.validuntil }} - - - {{ _("Traffic left:") }} - - {{ account.trafficleft }} - - - {{ _("Time:") }} - - - {{ _("Delete? ") }} - -
     
    - -
    - -
    -
    - {% endfor %} - {% endif %} - {% endfor %} - {% if conf %} - -
    - -
    - {% for message in errors %} - {{ message }}
    - {% endfor %} - - {% endif %} - -{% endblock %} -- cgit v1.2.3