From d64cd70ae413f5a936806a182e4377a887d4d782 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Tue, 11 Feb 2014 17:36:37 +0100 Subject: Apply patternfly to administration pages Signed-off-by: Petr Vobornik Reviewed-by: Simo Sorce --- templates/admin/index.html | 58 ++++++++++++----------------------- templates/admin/login_plugin.html | 64 +++++++++++++++------------------------ 2 files changed, 44 insertions(+), 78 deletions(-) (limited to 'templates/admin') diff --git a/templates/admin/index.html b/templates/admin/index.html index 5af8497..c22d249 100644 --- a/templates/admin/index.html +++ b/templates/admin/index.html @@ -1,41 +1,23 @@ - - - - - {{ title }} - - - - -
- -
-

Log Out

-
-
- {% if user.is_admin %} -

Login plugins:

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

Plugins order: [list here and form button to change?]

- {% endif %} +{% extends "master-admin.html" %} +{% block main %} +{% if user.is_admin %} +

Login plugins

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

Home

-
- - + {% endfor %} +

Plugins order

+

[list here and form button to change?]

+{% endif %} +{% endblock %} \ No newline at end of file diff --git a/templates/admin/login_plugin.html b/templates/admin/login_plugin.html index 43adac6..b45b3a4 100644 --- a/templates/admin/login_plugin.html +++ b/templates/admin/login_plugin.html @@ -1,42 +1,26 @@ - - - - - {{ title }} - - - - -
- -
-

Log Out

-
-
-

{{ message }}

-
-
-
-
    - {% for o in options %} -
  • {{ o }}: -

    {{ options[o][0] }}

    - -
  • - {% endfor %} -
- -
-
-
-

- Admin - - Home -

-
+{% extends "master-admin.html" %} +{% block main %} +

{{ title }}

+ {% if message %} +
+

{{ message }}

- - + {% endif %} +
+
+ {% for o in options %} +
+ + +
+ {{ options[o][0] }} + {% endfor %} + + + Back +
+
+{% endblock %} \ No newline at end of file -- cgit