blob: b38d105ae90a651e470a84678c4e4b546b8a761d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8"></meta>
<title>{{ title }}</title>
<link href="ui/ipsilon.css" type="text/css" rel="stylesheet"></link>
<link href="ui/favicon.ico" type="image/ico" rel="icon"></link>
</head>
<body>
<div id="container">
<div id="logo">
<p>Ipsilon</p>
</div>
<div id="admin">
{% if user.is_admin %}
<a href="admin">admin</a>
{% endif %}
</div>
<div id="welcome">
{% if user.name %}
<p>Welcome {{ user.fullname }}</p>
{% endif %}
</div>
<div id="content">
{% if not user.name %}
<p>Please <a href="login">Log In</a>
{% elif user.sites %}
<p>Registered application shortcuts:</p>
{% for site in user.sites %}
<p><a href="{{ site.link }}">{{ site.name }}</a></p>
{% endfor %}
{% endif %}
</div>
</div>
</body>
</html>
|