diff options
author | Simo Sorce <simo@redhat.com> | 2014-01-24 14:20:42 -0500 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2014-01-24 17:32:21 -0500 |
commit | cd30057eec4c772171c5558d9fac2c1f73bc12dd (patch) | |
tree | f0230d764658ab98c26d71f3ce7329cfea962829 /templates/admin/index.html | |
parent | 1e3d8e4cc15dcbb0de5898e202089670f1659af3 (diff) | |
download | ipsilon-cd30057eec4c772171c5558d9fac2c1f73bc12dd.tar.gz ipsilon-cd30057eec4c772171c5558d9fac2c1f73bc12dd.tar.xz ipsilon-cd30057eec4c772171c5558d9fac2c1f73bc12dd.zip |
Add infrastructure to configure server
Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'templates/admin/index.html')
-rw-r--r-- | templates/admin/index.html | 41 |
1 files changed, 41 insertions, 0 deletions
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 @@ +<!doctype html> +<html lang="en"> +<head> + <meta charset="UTF-8"></meta> + <title>{{ title }}</title> + <link href="{{ basepath }}/ui/ipsilon.css" type="text/css" rel="stylesheet"></link> + <link href="{{ basepath }}/ui/favicon.ico" type="image/ico" rel="icon"></link> +</head> +<body> + <div id="container"> + <div id="logo"> + <p><a href="{{ basepath }}">Ipsilon</a></p> + </div> + <div id="logout"> + <p><a href="{{ basepath }}/logout">Log Out</a></p> + </div> + <div id="options"> + {% if user.is_admin %} + <p>Login plugins:</p> + <ul> + {% for p in available %} + <li> {{ p }} - + {% if p in enabled %} + <a href="{{ basepath }}/admin/login/{{ p }}/disable">Disable</a> - + <a href="{{ basepath }}/admin/login/{{ p }}">Configure</a> + {% else %} + <a href="{{ basepath }}/admin/login/{{ p }}/enable">Enable</a> + {% endif %} + </li> + {% endfor %} + </ul> + <p>Plugins order: [list here and form button to change?]</p> + {% endif %} + </div> + <div id="home"> + <p><a href="{{ basepath }}/">Home</a></p> + </div> + </div> +</body> +</html> + |