Commit | Line | Data |
---|---|---|
76c9ea6b WKG |
1 | {# |
2 | # GNU MediaGoblin -- federated, autonomous media hosting | |
3 | # Copyright (C) 2011 Free Software Foundation, Inc | |
4 | # | |
5 | # This program is free software: you can redistribute it and/or modify | |
6 | # it under the terms of the GNU Affero General Public License as published by | |
7 | # the Free Software Foundation, either version 3 of the License, or | |
8 | # (at your option) any later version. | |
9 | # | |
10 | # This program is distributed in the hope that it will be useful, | |
11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | # GNU Affero General Public License for more details. | |
14 | # | |
15 | # You should have received a copy of the GNU Affero General Public License | |
16 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | |
17 | #} | |
a0598d5c CAW |
18 | <html> |
19 | <head> | |
8e1e744d | 20 | <title>{% block title %}MediaGoblin{% endblock title %}</title> |
8ac897c3 CAW |
21 | <link rel="stylesheet" type="text/css" |
22 | href="{{ request.staticdirect('/css/base.css') }}"/> | |
a0598d5c CAW |
23 | </head> |
24 | ||
25 | <body> | |
a0598d5c CAW |
26 | {% block mediagoblin_body %} |
27 | {% block mediagoblin_header %} | |
28 | <table id="mediagoblin_header"> | |
29 | <tr> | |
30 | <td id="mediagoblin_logo"> | |
31 | {% block mediagoblin_logo %} | |
8e1e744d | 32 | <a href="{{ request.urlgen('index') }}">MediaGoblin</a> |
a0598d5c CAW |
33 | {% endblock %} |
34 | </td> | |
8e1e744d | 35 | <td>{% block mediagoblin_header_title %}MediaGoblin Home{% endblock %}</td> |
a0598d5c CAW |
36 | </tr> |
37 | <tr> | |
38 | <td></td> | |
39 | <td> | |
40 | {% block mediagoblin_header_subtitle %} | |
a3fdcf5c | 41 | Clever subtitle here! |
a0598d5c CAW |
42 | {% endblock %}</td> |
43 | </tr> | |
a3fdcf5c CAW |
44 | {% if request.user %} |
45 | <tr> | |
46 | <td></td> | |
47 | <td> | |
59dd5c7e | 48 | Welcome {{ request.user['username'] }}! -- |
a3fdcf5c CAW |
49 | <a href="{{ request.urlgen('mediagoblin.auth.logout') }}"> |
50 | Logout</a> | |
51 | </td> | |
52 | </tr> | |
53 | {% else %} | |
54 | <tr> | |
55 | <td></td> | |
56 | <td> | |
57 | <a href="{{ request.urlgen('mediagoblin.auth.login') }}"> | |
58 | Login</a> | |
59 | </td> | |
60 | </tr> | |
61 | {% endif %} | |
a0598d5c CAW |
62 | </table> |
63 | {% endblock %} | |
64 | <div id="mediagoblin_content"> | |
65 | {% block mediagoblin_content %} | |
66 | {% endblock mediagoblin_content %} | |
67 | </div> | |
20aaec5f | 68 | {% endblock mediagoblin_body %} |
a0598d5c CAW |
69 | </body> |
70 | </html> |