Add RDFa data to our library pages.
[htsworkflow.git] / htsworkflow / frontend / templates / base.html
1 {% load i18n %}<?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"
3     "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml"
5       version="XHTML+RDFa 1.0"
6       xmlns:xml="http://www.w3.org/1999/xhtml"
7       xmlns:dc="http://purl.org/dc/elements/1.1/"
8       xmlns:xmls="http://www.w3.org/2001/XMLSchema#"
9       xmlns:libns="http://jumpgate.caltech.edu/wiki/LibraryOntology#"
10       xml:lang="en"
11 >
12 <!--base.html-->
13 <head>
14     <title>{% block title %}{{ app_name }} - {{ page_name }}{% endblock %}</title>
15
16 {% block additional_css %}
17     {% load adminmedia %}
18     {% if LANGUAGE_BIDI %}<link rel="stylesheet" type="text/css" href="{% block stylesheet_rtl %}{% admin_media_prefix %}css/rtl.css{% endblock %}" />{% endif %}
19     {% block extrastyle %}{% endblock %}
20     {% block extrahead %}{% endblock %}
21     {% block blockbots %}<meta name="robots" content="NONE,NOARCHIVE" />{% endblock %}
22     <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/data-browse-index.css" />
23 {% endblock %}
24
25 </head>
26 <body>
27 <!-- Container -->
28    {% if not is_popup %}
29     
30     <div id="header">
31         <div id="branding">
32         {% block branding %}{% endblock %}
33         </div>
34         {% if user.is_authenticated and user.is_staff %}
35         <div id="user-tools">{% trans 'Welcome,' %} <strong>{% firstof user.first_name user.username %}</strong>. {% block userlinks %}{% url django-admindocs-docroot as docsroot %}{% if docsroot %}<a href="{{ docsroot }}">{% trans 'Documentation' %}</a> / {% endif %}<a href="/admin/password_change/">{% trans 'Change password' %}</a> / <a href="/admin/logout/">{% trans 'Log out' %}</a>{% endblock %} 
36         </div>
37         {% endif %}
38         {% block nav-global %}{% endblock %}
39     </div>
40     {% endif %}
41        {% if messages %}
42         <ul class="messagelist">{% for message in messages %}<li>{{ message }}</li>{% endfor %}</ul>
43         {% endif %}
44
45     <!-- Content -->
46     <div id="content" class="{% block coltype %}colM{% endblock %}">
47         {% block pretitle %}{% endblock %}
48         {% block content_title %}{% if title %}<h1>{{ title }}</h1>{% endif %}{% endblock %}
49         {% block content %}
50         {% block object-tools %}{% endblock %}
51         {{ content }}
52         {% endblock %}
53         {% block sidebar %}{% endblock %}
54         <br class="clear" />
55     </div>
56     <!-- END Content -->
57
58     {% block footer %}<div id="footer"></div>{% endblock %}
59 <!-- END Container -->
60 </body>
61 </html>