Remove collection_thumbnail styling, so collection thumbnails are styled the same...
[mediagoblin.git] / mediagoblin / templates / mediagoblin / base.html
1 {#
2 # GNU MediaGoblin -- federated, autonomous media hosting
3 # Copyright (C) 2011, 2012 MediaGoblin contributors. See AUTHORS.
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 <!doctype html>
19 <html>
20 <head>
21 <meta charset="utf-8">
22 <meta name="viewport" content="width=device-width, initial-scale=1.0">
23 <title>{% block title %}{{ app_config['html_title'] }}{% endblock %}</title>
24 <link rel="stylesheet" type="text/css"
25 href="{{ request.staticdirect('/css/extlib/reset.css') }}"/>
26 <link rel="stylesheet" type="text/css"
27 href="{{ request.staticdirect('/css/base.css') }}"/>
28 <link rel="shortcut icon"
29 href="{{ request.staticdirect('/images/goblin.ico') }}" />
30 <script src="{{ request.staticdirect('/js/extlib/jquery.js') }}"></script>
31 <!--[if lt IE 9]>
32 <script src="{{ request.staticdirect('/js/extlib/html5shiv.js') }}"></script>
33 <![endif]-->
34
35 {% include "mediagoblin/extra_head.html" %}
36
37 {% block mediagoblin_head %}
38 {% endblock mediagoblin_head %}
39 </head>
40 <body>
41 {% block mediagoblin_body %}
42 {% block mediagoblin_header %}
43 <header>
44 {% block mediagoblin_logo %}
45 <a class="logo"
46 href="{{ request.urlgen('index') }}"
47 ><img src="{{ request.staticdirect('/images/logo.png') }}"
48 alt="{% trans %}MediaGoblin logo{% endtrans %}" />
49 </a>
50 {% endblock mediagoblin_logo %}
51 {% block mediagoblin_header_title %}{% endblock %}
52 <div class="header_right">
53 {% if request.user %}
54 {% trans
55 user_url=request.urlgen('mediagoblin.user_pages.user_home',
56 user= request.user.username),
57 user_name=request.user.username -%}
58 <a href="{{ user_url }}">{{ user_name }}</a>'s account
59 {%- endtrans %}
60 (<a href="{{ request.urlgen('mediagoblin.auth.logout') }}">{% trans %}log out{% endtrans %}</a>)
61 {% if request.user and request.user.status == 'active' %}
62 <a class="button_action" href="{{ request.urlgen('mediagoblin.submit.start') }}">{% trans %}Add media{% endtrans %}</a>
63 {% elif request.user and request.user.status == "needs_email_verification" %}
64 {# the following link should only appear when verification is needed #}
65 <a href="{{ request.urlgen('mediagoblin.user_pages.user_home',
66 user=request.user.username) }}"
67 class="button_action_highlight">
68 {% trans %}Verify your email!{% endtrans %}</a>
69 {% endif %}
70 {% else %}
71 <a href="{{ request.urlgen('mediagoblin.auth.login') }}?next={{
72 request.base_url|urlencode }}">
73 {% trans %}Log in{% endtrans %}</a>
74 {% endif %}
75 </div>
76 <div class="clear"></div>
77 </header>
78 {% endblock %}
79 <div class="container">
80 <div class="mediagoblin_content">
81 {% include "mediagoblin/utils/messages.html" %}
82 {% block mediagoblin_content %}
83 {% endblock mediagoblin_content %}
84 </div>
85 {% block mediagoblin_footer %}
86 <footer>
87 {% trans -%}
88 Powered by <a href="http://mediagoblin.org">MediaGoblin</a>, a <a href="http://gnu.org/">GNU</a> project.
89 {%- endtrans %}
90 {% trans source_link=app_config['source_link'] -%}
91 Released under the <a href="http://www.fsf.org/licensing/licenses/agpl-3.0.html">AGPL</a>. <a href="{{ source_link }}">Source code</a> available.
92 {%- endtrans %}
93 </footer>
94 {% endblock mediagoblin_footer %}
95 {% endblock mediagoblin_body %}
96 </div>
97 </body>
98 </html>