From fb1c34e7aeac67a75c29a132ded87edeb557cdaf Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Wed, 15 Oct 2014 00:17:53 -0400 Subject: Improve UI for enabling/disabling plugins config Use the same templates for both info and login plugins Signed-off-by: Simo Sorce Reviewed-by: Patrick Uiterwijk --- templates/admin/info.html | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 templates/admin/info.html (limited to 'templates/admin/info.html') diff --git a/templates/admin/info.html b/templates/admin/info.html deleted file mode 100644 index d51231f..0000000 --- a/templates/admin/info.html +++ /dev/null @@ -1,31 +0,0 @@ -{% extends "master-admin.html" %} -{% block main %} -{% if user.is_admin %} -

Info plugins

- {% if message %} -
-

{{ message }}

-
- {% endif %} - - {% for p in available %} -
-
{{ p }}
-
- {% if p in enabled %} - Disable - Configure - {% else %} - Enable - {% endif %} -
-
- {% endfor %} - -

Plugins order

-
{{ ', '.join(enabled) }}
-
- configure -
-{% endif %} -{% endblock %} -- cgit