summaryrefslogtreecommitdiff
path: root/pgcommitfest/commitfest/templates/base.html
blob: 4a6ba990e1bfa2185c0a969b35ce253144888fd1 (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
37
38
39
40
41
42
43
44
45
46
47
48
{%load commitfest%}
<!DOCTYPE html>
<html>
<head>
  <title>{{title}}</title>
  <link rel="stylesheet" href="/https/git.postgresql.org/media/commitfest/css/jquery-ui.css" type="text/css">
  <link rel="stylesheet" href="/https/git.postgresql.org/media/commitfest/css/bootstrap.css" />
  <link rel="stylesheet" href="/https/git.postgresql.org/media/commitfest/css/bootstrap-theme.min.css" />
  <link rel="stylesheet" href="/https/git.postgresql.org/media/commitfest/css/commitfest.css" />
  <link rel="shortcut icon" href="/https/git.postgresql.org/media/commitfest/favicon.ico" />
{%block extrahead%}{%endblock%}
{%if rss_alternate%}  <link rel="alternate" type="application/rss+xml" title="{{rss_alternate_title}}" href="{{rss_alternate}}" />{%endif%}
</head>
<body>
<div class="container-fluid">
<ul class="breadcrumb">
 <li><a href="/">Home</a></li>
{%for c in breadcrumbs%}
 <li><a href="{{c.href}}">{{c.title}}</a></li>
{%endfor%}
 <li class="active">{{title}}</li>
 <li class="pull-right active">
{%if user.is_authenticated%}
 Logged in as {{user}} (<a href="/https/git.postgresql.org/account/profile/">edit profile</a> | <a href="/https/git.postgresql.org/account/logout/">log out</a>{%if user.is_staff%} | <a href="/https/git.postgresql.org/admin/">administration</a>{%endif%})
{%else%}
 <a href="/https/git.postgresql.org/account/login/?next={{request.path}}">Log in</a>
{%endif%}
 </li>
{%if header_activity%} <li class="pull-right active"><a href="{{header_activity_link}}">{{header_activity}}</a></li>{%endif%}
</ul>

<h1>{{title}}</h1>

{%if messages%}
 {%for m in messages%}
  <div class="alert {{m.tags|alertmap}}">{{m}}</div>
 {%endfor%}
{%endif%}

{%block contents%}
{%endblock%}
</div>
<script src="/https/git.postgresql.org/media/commitfest/js/jquery.js"></script>
<script src="/https/git.postgresql.org/media/commitfest/js/jquery-ui.js"></script>
<script src="/https/git.postgresql.org/media/commitfest/js/bootstrap.js"></script>
<script src="/https/git.postgresql.org/media/commitfest/js/commitfest.js"></script>
{%block morescript%}{%endblock%}
</html>