diff options
author | Simo Sorce <simo@redhat.com> | 2014-03-24 16:59:41 -0400 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2014-03-26 15:25:56 -0400 |
commit | a5be918364744f92d73aa4b6589f3b9b33235d6d (patch) | |
tree | 366f41498c6f6c82f98d4deceed4315cf3973640 /templates/admin/index.html | |
parent | 667901638f082e05b4ac61a14f4ddc07ec987742 (diff) | |
download | ipsilon-a5be918364744f92d73aa4b6589f3b9b33235d6d.tar.gz ipsilon-a5be918364744f92d73aa4b6589f3b9b33235d6d.tar.xz ipsilon-a5be918364744f92d73aa4b6589f3b9b33235d6d.zip |
Move login plugin configuration to its own module
move also the template, in preparation for handling other configuration
data in the main page.
Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'templates/admin/index.html')
-rw-r--r-- | templates/admin/index.html | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/templates/admin/index.html b/templates/admin/index.html index 1957a7f..a0d17fe 100644 --- a/templates/admin/index.html +++ b/templates/admin/index.html @@ -1,26 +1,6 @@ {% extends "master-admin.html" %} {% block main %} {% if user.is_admin %} - <h2>Login plugins</h2> - - {% for p in available %} - <div class="row"> - <div class="col-md-3 col-sm-3 col-xs-6">{{ p }}</div> - <div class="col-md-3 col-sm-3 col-xs-6"> - {% if p in enabled %} - <a class="btn btn-default" href="{{ basepath }}/admin/login/{{ p }}/disable">Disable</a> - <a class="btn btn-default" href="{{ basepath }}/admin/login/{{ p }}">Configure</a> - {% else %} - <a class="btn btn-default" href="{{ basepath }}/admin/login/{{ p }}/enable">Enable</a> - {% endif %} - </div> - </div> - {% endfor %} - - <h3>Plugins order</h3> - <div class="col-md-3 col-sm-3 col-xs-6">{{ ', '.join(enabled) }}</div> - <div class="col-md-3 col-sm-3 col-xs-6"> - <a class="btn btn-default" href="{{ basepath }}/admin/login/order">configure</a> - </div> + <h2>Select an item to configure</h2> {% endif %} {% endblock %} |