diff options
author | Michael Elkins <melkins@tislabs.com> | 2011-01-23 20:31:35 +0000 |
---|---|---|
committer | Michael Elkins <melkins@tislabs.com> | 2011-01-23 20:31:35 +0000 |
commit | 5fd6768f0ba333ef22e5d55dd3560a2018e39402 (patch) | |
tree | 5848b2e4911b20f571d52f27726569215791776c /portal-gui/templates/base.html | |
parent | 30d53daaf8430d078ff78fc3c4761883fa40ce13 (diff) |
remove CONFDIR variable from toplevel configure script. now hardcoded to go into ${localstatedir}/rpki/conf
django db now defaults to ${localstatedir}/rpki/gui.db
remove MYRPKI and MYRPKI_DATA_DIR from settings.py and substitute those variables into glue.py from glue.py.in
mv rpkigui/templates up one directory so the django app code can be moved eventually
remove deprecated runserver script
put scripts into ${libexecdir} and ${sbindir} with a prefix of "rpkigui"
svn path=/configure; revision=3643
Diffstat (limited to 'portal-gui/templates/base.html')
-rw-r--r-- | portal-gui/templates/base.html | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/portal-gui/templates/base.html b/portal-gui/templates/base.html new file mode 100644 index 00000000..7645cf9f --- /dev/null +++ b/portal-gui/templates/base.html @@ -0,0 +1,25 @@ +<html> +<head> + <title>{% block title %}MyRPKI{% endblock %}</title> + {% block head %}{% endblock %} + <style type="text/css"> + {% block css %}{% endblock %} + </style> +</head> +<body> + <div id="header"> + <img src="/site_media/img/my.png"/> + <img src="/site_media/img/rpki.png"/> + </div> + <div id="content"> + {% if user.is_authenticated %} + <span style="float: right; font-size: 80%;">Logged in as {{ user }} | + {% if user.is_staff %}<a href="/admin/">admin</a> |{% endif %} + <a href="{% url django.contrib.auth.views.logout %}">Log Out</a></span> + {% else %} + <span style="float: right; font-size: 80%;"><a href="{% url django.contrib.auth.views.login %}">Log In</a></span> + {% endif %} + {% block content %}{% endblock %} + </div> +</body> +</html> |