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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
|
{% load url from future %}
{% load assets %}
<!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="shortcut icon" href="{{ STATIC_URL }}hyperkitty/img/favicon.ico" />
<link rel="stylesheet" media="all" href="{{ STATIC_URL }}hyperkitty/libs/jquery/smoothness/jquery-ui-1.10.3.custom.min.css" />
{% assets filters="cssrewrite,cssmin", output="gen/hyperkitty.css", "hyperkitty/libs/bootstrap/css/bootstrap.min.css", "hyperkitty/css/hyperkitty-base.css", "hyperkitty/css/hyperkitty-common.css", "hyperkitty/css/hyperkitty-index.css", "hyperkitty/css/hyperkitty-user.css", "hyperkitty/css/hyperkitty-overview.css", "hyperkitty/css/hyperkitty-threadslist.css", "hyperkitty/css/hyperkitty-message.css" %}
<link rel="stylesheet" media="all" href="{{ ASSET_URL }}" />
{% endassets %}
{% block additional_stylesheets %} {% endblock %}
</head>
{% load i18n %}
<body>
<div class="container-fluid">
<header class="row-fluid">
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<ul class="nav auth">
{% if user.is_authenticated %}
<li><a class="mm_logout" href="{% url 'user_logout' %}?next={% url 'root' %}">Logout</a></li>
<li><a href="{% url 'user_profile' %}">{{ user.username }}</a></li>
{% else %}
<li><a class="mm_user" href="{% url 'user_login' %}?next={{next|default:request.path|urlencode}}">Login</a></li>
{% if use_internal_auth %}
<li><a href="{% url 'user_registration' %}?next={{next|default:request.path|urlencode}}"> Sign Up </a></li>
{% endif %}
{% endif %}
</ul>
<div id="search-form" class="nav">
<form name="search" method="get" action="{% url 'search' %}" class="form-search">
{% if mlist %}<input type="hidden" name="list" value="{{ mlist.name }}" />{% endif %}
<div class="input-append">
<input name="query" type="text" class="search-query"
placeholder="Search {% if mlist %}this list{% else %}all lists{% endif %}"
{% if query %}value="{{ query }}"{% endif %}
/>
<button type="submit" class="btn"><i class="icon-search"></i></button>
</div>
</form>
</div>
<a class="brand" href="{% url 'root' %}">{{ app_name|title }}</a>
<ul class="nav">
<li {% if all_lists %} class="active"{% endif %}>
<a href="{% url 'root' %}">All lists</a>
</li>
{% if mlist %}
<li id="list_name" class="active">
<a href="{% url 'list_overview' mlist_fqdn=mlist.name %}">{{mlist.name}}</a>
</li>
{% endif %}
</ul>
</div>
</div>
</div>
</header>
{% if flash_messages %}
<div class="flashmsgs">
{% for flash_msg in flash_messages %}
<div class="flashmsg-wrapper">
<div class="alert alert-{{ flash_msg.type }}">
{% if flash_msg.type != "success" %}
<button type="button" class="close" data-dismiss="alert">×</button>
{% endif %}
{{ flash_msg.msg }}
</div>
</div>
{% endfor %}
</div>
{% endif %}
{% block content %} {% endblock %}
{% block footer %} {% endblock %}
</div>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="{{ STATIC_URL }}hyperkitty/libs/jquery/jquery-1.10.1.min.js"><\/script>')</script>
<script src="{{ STATIC_URL }}hyperkitty/libs/jquery/jquery-ui-1.10.3.custom.min.js"></script>
{% assets filters="rjsmin", output="gen/hyperkitty.js", "hyperkitty/libs/bootstrap/js/bootstrap.min.js", "hyperkitty/libs/jquery.expander.js", "hyperkitty/libs/d3.v2.min.js", "hyperkitty/libs/jquery.hotkeys.js", "hyperkitty/js/hyperkitty-common.js", "hyperkitty/js/hyperkitty-frontpage.js", "hyperkitty/js/hyperkitty-overview.js", "hyperkitty/js/hyperkitty-thread.js", "hyperkitty/js/hyperkitty-userprofile.js" %}
<script src="{{ ASSET_URL }}"></script>
{% endassets %}
{% block additionaljs %} {% endblock %}
</body>
</html>
|