From cc2ab2fa795ac68a2842a3743d9e4edeb47b56bf Mon Sep 17 00:00:00 2001 From: Armin Date: Sun, 19 Apr 2015 20:18:32 +0200 Subject: 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 --- pyload/webui/themes/Dark/tml/settings_item.html | 2 +- pyload/webui/themes/Default/tml/settings_item.html | 2 +- pyload/webui/themes/Flat/tml/settings_item.html | 2 +- pyload/webui/themes/Next/tml/settings_item.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'pyload/webui/themes') 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 %} {{ section.outline }} {% endif %} - {% for okey, option in section.iteritems() %} + {% for okey, option in sorted_conf(section) %} {% if okey not in ("desc","outline") %}