diff options
author | Armin <Armin@Armin-PC.diedering.lan> | 2015-04-19 20:18:32 +0200 |
---|---|---|
committer | Armin <Armin@Armin-PC.diedering.lan> | 2015-04-19 20:18:32 +0200 |
commit | cc2ab2fa795ac68a2842a3743d9e4edeb47b56bf (patch) | |
tree | 965c07203c30b70c533618b85c88c0ea0f6aab46 /pyload/webui/themes | |
parent | added: colred logs for webui to (currently only for theme "Next") (diff) | |
download | pyload-cc2ab2fa795ac68a2842a3743d9e4edeb47b56bf.tar.xz |
sorted config in webui ("Activated" is always the top option)
NOTE:
The options are sorted like in pyload.conf & plugin.conf
For sorting like plugins "__config" - array plugin.conf must be
recreated by simply delete the file
Diffstat (limited to 'pyload/webui/themes')
4 files changed, 4 insertions, 4 deletions
diff --git a/pyload/webui/themes/Dark/tml/settings_item.html b/pyload/webui/themes/Dark/tml/settings_item.html index af24d6eaf..c7e60865e 100644 --- a/pyload/webui/themes/Dark/tml/settings_item.html +++ b/pyload/webui/themes/Dark/tml/settings_item.html @@ -2,7 +2,7 @@ {% if section.outline %} <tr><th colspan="2">{{ section.outline }}</th></tr> {% endif %} - {% for okey, option in section.iteritems() %} + {% for okey, option in sorted_conf(section) %} {% if okey not in ("desc","outline") %} <tr> <td><label for="{{skey}}|{{okey}}" diff --git a/pyload/webui/themes/Default/tml/settings_item.html b/pyload/webui/themes/Default/tml/settings_item.html index 6642d34b4..83a008619 100644 --- a/pyload/webui/themes/Default/tml/settings_item.html +++ b/pyload/webui/themes/Default/tml/settings_item.html @@ -2,7 +2,7 @@ {% if section.outline %} <tr><th colspan="2">{{ section.outline }}</th></tr> {% endif %} - {% for okey, option in section.iteritems() %} + {% for okey, option in sorted_conf(section) %} {% if okey not in ("desc", "outline") %} <tr> <td><label for="{{skey}}|{{okey}}" diff --git a/pyload/webui/themes/Flat/tml/settings_item.html b/pyload/webui/themes/Flat/tml/settings_item.html index 28de1a1a9..71c212304 100644 --- a/pyload/webui/themes/Flat/tml/settings_item.html +++ b/pyload/webui/themes/Flat/tml/settings_item.html @@ -2,7 +2,7 @@ {% if section.outline %} <tr><th colspan="2">{{ section.outline }}</th></tr> {% endif %} - {% for okey, option in section.iteritems() %} + {% for okey, option in sorted_conf(section) %} {% if okey not in ("desc","outline") %} <tr> <td><label for="{{skey}}|{{okey}}" diff --git a/pyload/webui/themes/Next/tml/settings_item.html b/pyload/webui/themes/Next/tml/settings_item.html index 4d07eddb4..72566950f 100644 --- a/pyload/webui/themes/Next/tml/settings_item.html +++ b/pyload/webui/themes/Next/tml/settings_item.html @@ -3,7 +3,7 @@ {% if section.outline %} <tr><th colspan="2">{{ section.outline }}</th></tr> {% endif %} - {% for okey, option in section.iteritems() %} + {% for okey, option in sorted_conf(section) %} {% if okey not in ("desc","outline") %} <tr> <td><label for="{{skey}}|{{okey}}" |