diff options
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> + |