From 1e137be617dba1d0f3f85d594f5625926d3f46e9 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Mon, 24 Mar 2014 16:37:15 -0400 Subject: Implement plugin ordering configuration Allows to change the login plugins order from the admin configuration page. Signed-off-by: Simo Sorce --- templates/admin/index.html | 7 +++++-- templates/admin/login_order.html | 25 +++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 templates/admin/login_order.html (limited to 'templates') diff --git a/templates/admin/index.html b/templates/admin/index.html index c22d249..1957a7f 100644 --- a/templates/admin/index.html +++ b/templates/admin/index.html @@ -18,6 +18,9 @@ {% endfor %}

Plugins order

-

[list here and form button to change?]

+
{{ ', '.join(enabled) }}
+
+ configure +
{% endif %} -{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/templates/admin/login_order.html b/templates/admin/login_order.html new file mode 100644 index 0000000..c78fe55 --- /dev/null +++ b/templates/admin/login_order.html @@ -0,0 +1,25 @@ +{% extends "master-admin.html" %} +{% block main %} +

{{ title }}

+ {% if message %} +
+

{{ message }}

+
+ {% endif %} +
+
+ +
+ + +
+ Plugins order + + + Back +
+
+{% endblock %} + -- cgit