diff options
| author | Aamir Khan <syst3m.w0rm@gmail.com> | 2012-07-24 17:00:25 -0400 |
|---|---|---|
| committer | Aamir Khan <syst3m.w0rm@gmail.com> | 2012-07-24 17:00:25 -0400 |
| commit | 9f18a590819a01017c15169d82763680a72848fb (patch) | |
| tree | 9c781cd677eeae9b1e50e986647e1929e99bdac7 /hyperkitty/templates/base.html | |
| parent | ae77d9901e2a466622818f95d784fb85b5296727 (diff) | |
| download | hyperkitty-9f18a590819a01017c15169d82763680a72848fb.tar.gz hyperkitty-9f18a590819a01017c15169d82763680a72848fb.tar.xz hyperkitty-9f18a590819a01017c15169d82763680a72848fb.zip | |
Packaging hyperkitty
Diffstat (limited to 'hyperkitty/templates/base.html')
| -rw-r--r-- | hyperkitty/templates/base.html | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/hyperkitty/templates/base.html b/hyperkitty/templates/base.html new file mode 100644 index 0000000..0ae6d4c --- /dev/null +++ b/hyperkitty/templates/base.html @@ -0,0 +1,65 @@ +<!DOCTYPE HTML> +<html> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> + <meta name="ROBOTS" content="INDEX, FOLLOW" /> + <title>{% block title %}{{ app_name|title }}{% endblock %}</title> + <meta name="author" content="" /> + <meta name="dc.language" content="en" /> + <link rel="stylesheet" type="text/css" media="all" href="{{ STATIC_URL }}css/normalize.css" /> + <link rel="stylesheet" type="text/css" media="all" href="{{ STATIC_URL }}css/bootstrap.css" /> + <link rel="stylesheet" type="text/css" media="all" href="{{ STATIC_URL }}css/style.css" /> + {% block additional_stylesheets %} {% endblock %} + </head> + {% load i18n %} + + <body> + <div class="navbar navbar-fixed-top"> + <div class="navbar-inner"> + <div class="container"> + <div class="nav-collapse collapse"> + + {% if user.is_authenticated %} + <li class="user_nav"> + <a class="mm_logout" style="float:right;" href="{% url user_logout %}">Logout</a> + </li> + <li class="user_nav" style="float:right;"> + <a style="float:right;" href="{% url user_profile %}">{{ user.username }}</a> + </li> + {% else %} + <li class="user_nav" style="float:right;"> + <a class="mm_user" style="float:right;" href="{% url user_login %}">Login</a> + </li> + <li class="user_nav" style="float:right;"> + <a style="float:right;" href="{% url user_registration %}"> Sign Up </a> + </li> + {% endif %} + + + <ul class="nav"> + + {% if list_address %} + <li id="list_name"> + <a href="/list/{{list_address}}">{{list_address}}</a> + </li> + {% endif %} + + + </ul> + </div> + </div> + </div> + </div> + + + + + <div class="container"> + {% block content %} {% endblock %} + </div> + {% block footer %} {% endblock %} + </body> + + <script src="{{ STATIC_URL }}js/libs/jquery-1.7.1.min.js"></script> + {% block additionaljs %} {% endblock %} +</html> |
