From cd30057eec4c772171c5558d9fac2c1f73bc12dd Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Fri, 24 Jan 2014 14:20:42 -0500 Subject: Add infrastructure to configure server Signed-off-by: Simo Sorce --- templates/admin/index.html | 41 ++++++++++++++++++++++++++++++++++++++ templates/admin/login_plugin.html | 42 +++++++++++++++++++++++++++++++++++++++ templates/index.html | 2 +- 3 files changed, 84 insertions(+), 1 deletion(-) create mode 100644 templates/admin/index.html create mode 100644 templates/admin/login_plugin.html (limited to 'templates') diff --git a/templates/admin/index.html b/templates/admin/index.html new file mode 100644 index 0000000..5af8497 --- /dev/null +++ b/templates/admin/index.html @@ -0,0 +1,41 @@ + + + + + {{ 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 %} +
+
+

Home

+
+
+ + + diff --git a/templates/admin/login_plugin.html b/templates/admin/login_plugin.html new file mode 100644 index 0000000..43adac6 --- /dev/null +++ b/templates/admin/login_plugin.html @@ -0,0 +1,42 @@ + + + + + {{ title }} + + + + +
+ +
+

Log Out

+
+
+

{{ message }}

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

    {{ options[o][0] }}

    + +
  • + {% endfor %} +
+ +
+
+
+

+ Admin - + Home +

+
+
+ + + diff --git a/templates/index.html b/templates/index.html index c983af2..1e21948 100644 --- a/templates/index.html +++ b/templates/index.html @@ -13,7 +13,7 @@
{% if user.is_admin %} - admin + admin {% endif %}
-- cgit