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/Next/tml/settings_item.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyload/webui/themes/Next') 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 %} {{ section.outline }} {% endif %} - {% for okey, option in section.iteritems() %} + {% for okey, option in sorted_conf(section) %} {% if okey not in ("desc","outline") %}