Add the base.css and reference it so other people can start working on it :)
[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 <body>
27 {% block mediagoblin_body %}
28 {% block mediagoblin_header %}
29 <table id="mediagoblin_header">
30 <tr>
31 <td id="mediagoblin_logo">
32 {% block mediagoblin_logo %}
33 <a href="{{ request.urlgen('index') }}">MediaGoblin</a>
34 {% endblock %}
35 </td>
36 <td>{% block mediagoblin_header_title %}MediaGoblin Home{% endblock %}</td>
37 </tr>
38 <tr>
39 <td></td>
40 <td>
41 {% block mediagoblin_header_subtitle %}
42 Clever subtitle here!
43 {% endblock %}</td>
44 </tr>
45 {% if request.user %}
46 <tr>
47 <td></td>
48 <td>
49 Welcome {{ request.user['username'] }}! --
50 <a href="{{ request.urlgen('mediagoblin.auth.logout') }}">
51 Logout</a>
52 </td>
53 </tr>
54 {% else %}
55 <tr>
56 <td></td>
57 <td>
58 <a href="{{ request.urlgen('mediagoblin.auth.login') }}">
59 Login</a>
60 </td>
61 </tr>
62 {% endif %}
63 </table>
64 {% endblock %}
65 <div id="mediagoblin_content">
66 {% block mediagoblin_content %}
67 {% endblock mediagoblin_content %}
68 </div>
69 {% endblock mediagoblin_body %}
70 </body>
71 </html>