summaryrefslogtreecommitdiffstats
path: root/templates/polls/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/polls/base.html')
-rwxr-xr-xtemplates/polls/base.html47
1 files changed, 47 insertions, 0 deletions
diff --git a/templates/polls/base.html b/templates/polls/base.html
new file mode 100755
index 0000000..8017736
--- /dev/null
+++ b/templates/polls/base.html
@@ -0,0 +1,47 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <link rel="stylesheet" href="/media/css/dashboard.css" />
+ <title>{% block title %}Infopoint{% endblock %}</title>
+</head>
+{% load i18n %}
+<body class="dashboard">
+<div id="container">
+ {% if not is_popup %}
+ <!-- Header -->
+ <div id="header">
+ <div id="branding">
+ <h1 id="site-name">{% block branding %}Infopoint{% endblock %}</h1> </div>
+ {% if user.is_authenticated and user.is_staff %}
+ <div id="user-tools">{% trans 'Welcome,' %} <strong>{% if user.first_name %}{{ user.first_name|escape }}{% else %}{{ user.username }}{% endif %}</strong>. {% block userlinks %}<a href="{{ root_path }}doc/">{% trans 'Documentation' %}</a> / <a href="{{ root_path }}password_change/">{% trans 'Change password' %}</a> / {% block info %}{% endblock %} <a href="{{ root_path }}logout/">{% trans 'Log out' %}</a>{% endblock %}</div>
+ {% endif %}
+ {% block nav-global %}{% endblock %}
+ </div>
+ <!-- END Header -->
+
+ {% endif %}
+ <div id="content" class="colMS">
+ <div id="content-main">
+ <div id="content-related">
+ {% block sidebar %}
+ <ul>
+ <li><a href="/">Home</a></li>
+ <li><a href="/admin/">Admin</a></li>
+ <li><a href="/polls/">Polls</a></li>
+ <li><a href="/blog/">Blog</a></li>
+ </ul>
+ {% endblock %}
+ </div>
+ {% block content %}
+ <h1>Infopoint</h1>
+ This is the default content.<br>
+ Your content should appear here instead
+ {% endblock %}
+ </div>
+ </div>
+
+
+</body>
+</html>
+