Fixing changes
[mediagoblin.git] / mediagoblin / templates / mediagoblin / base.html
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 #}
18 <html>
19 <head>
20 <title>{% block title %}MediaGoblin{% endblock title %}</title>
21 <link rel="stylesheet" type="text/css"
22 href="{{ request.staticdirect('/css/base.css') }}"/>
23 </head>
24
25 <body>
26 <h1>GNU MediaGoblin at your duty!</h1>
27 <!-- OLD CODE HERE
28 {% block mediagoblin_body %}
29 {% block mediagoblin_header %}
30 <table id="mediagoblin_header">
31 <tr>
32 <td id="mediagoblin_logo">
33 {% block mediagoblin_logo %}
34 <a href="{{ request.urlgen('index') }}">MediaGoblin</a>
35 {% endblock %}
36 </td>
37 <td>{% block mediagoblin_header_title %}MediaGoblin Home{% endblock %}</td>
38 </tr>
39 <tr>
40 <td></td>
41 <td>
42 {% block mediagoblin_header_subtitle %}
43 Clever subtitle here!
44 {% endblock %}</td>
45 </tr>
46 {% if request.user %}
47 <tr>
48 <td></td>
49 <td>
50 Welcome {{ request.user['username'] }}! --
51 <a href="{{ request.urlgen('mediagoblin.auth.logout') }}">
52 Logout</a>
53 </td>
54 </tr>
55 {% else %}
56 <tr>
57 <td></td>
58 <td>
59 <a href="{{ request.urlgen('mediagoblin.auth.login') }}">
60 Login</a>
61 </td>
62 </tr>
63 {% endif %}
64 </table>
65 {% endblock %}
66 <div id="mediagoblin_content">
67 {% block mediagoblin_content %}
68 {% endblock mediagoblin_content %}
69 </div>
70 {% endblock mediagoblin_body %}-->
71 </body>
72 </html>