source: telemeta/templates/telemeta_default/base.html @ 42331f0

cremcrem2devdev2diademsfeature/breadcrumbsfeature/ts-0.5feature/ts-0.5.4feature/writecacheformagenericinstru_searchlamlam2mapsv3mergenlivemultiproductionrelease/1.4.4sabiodsecurityserversocialstoragetelecastertest
Last change on this file since 42331f0 was 42331f0, checked in by yomguy <yomguy@…>, 3 years ago

fix crem logo

  • Property mode set to 100644
File size: 5.1 KB
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2{% load i18n %}
3{% load telemeta_utils %}
4{% get_current_language as LANGUAGE_CODE %}
5{% get_available_languages as LANGUAGES %}
6<html xmlns="http://www.w3.org/1999/xhtml" lang="{{ LANGUAGE_CODE }}" xml:lang="{{ LANGUAGE_CODE }}" {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}>
7
8<head>
9<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
10<title>{%block head_title %}{% organization %} - Telemeta - {% description %}{% endblock %}</title>
11
12{% block stylesheets %}
13<link rel="stylesheet" type="text/css" href="{% url telemeta-css "telemeta.css" %}" />
14<link rel="alternate" href="/rss" title="RSS 2.0" type="application/rss+xml" />
15<!--[if IE]>
16<link rel="stylesheet" type="text/css" href="{% url telemeta-css "telemeta_ie.css" %}" />
17<![endif]-->
18<!--[if lte IE 6]>
19<link rel="stylesheet"type="text/css" href="{% url telemeta-css "telemeta_ie6.css" %}" />
20<![endif]-->
21{% endblock %}
22
23{% block javascript %}
24<script src="{% url django.views.i18n.javascript_catalog %}" type="text/javascript"></script>
25<!--<script src="{% url telemeta-js "jquery-1.6.min.js" %}" type="text/javascript"></script>-->
26<script src="{% url telemeta-timeside "js/libs/jquery-1.6.min.js" %}" type="text/javascript"></script>
27<script src="{% url telemeta-js "locale.js" %}" type="text/javascript"></script>
28<script src="{% url telemeta-js "application.js" %}" type="text/javascript"></script>
29{% if user.is_authenticated %}
30<script type='text/javascript'>var CURRENT_USER_NAME="{{ user.username }}";</script>
31{% else %}
32<script type='text/javascript'>var CURRENT_USER_NAME=undefined;</script>
33{% endif %}
34{% endblock %}
35
36{% block extra_javascript %}{% endblock %}
37</head>
38
39<body>
40{% block layout %}
41<div id="layout">
42{% block header %}
43<div id="header">
44<div id="logo">
45{% block logo %}
46<a href="{% url telemeta-home %}"><img src="{% url telemeta-images "logo_crem.png" %}" alt="Sound archives of the CREM-CNRS" /></a>
47{% endblock %}
48</div>
49
50<div id="auth_info">
51{% if user.is_authenticated %}
52<img src="{% url telemeta-images "user.png" %}" alt="user" style="vertical-align:middle" />
53{% trans "Welcome" %},
54{% if user.first_name and user.last_name %}
55{{ user.first_name }} {{ user.last_name }} |
56{% else %}
57{{ user.username }} |
58{% endif %}
59<a href="{% url telemeta-profile-detail user.username %}">{% trans "Profile" %}</a> |
60<a href="{% url telemeta-flatpage "help" %}">{% trans "Help" %}</a> |
61<a href="{% url telemeta-logout %}">{% trans "Sign out" %}
62<img src="{% url telemeta-images "logout.png" %}" alt="logout" style="vertical-align:middle" /></a>
63{% else %}
64<a href="{% url telemeta-flatpage "help" %}">{% trans "Help" %}</a> |
65<a href="{% url telemeta-login %}?next={{ request.path|urlencode }}">{% trans "Sign in" %}</a>
66{% endif %}
67</div>
68
69<div id="quick_search">
70<form action="{% url telemeta-search %}" id="_quickSearchForm" method="get">
71<input type="text" id="quick_search_pattern" name="pattern" />
72<a href="#" class="component button"
73                onclick="document.getElementById('_quickSearchForm').submit(); return false;">{% trans "Search" %}</a>
74</form>
75</div>
76
77<div id="menu" class="nav">
78{% block menu %}
79
80{# spaces between li and a elements breaks layout #}
81 <a href="{% url telemeta-home %}" class="darkblue">{% trans "Home" %}</a>
82 <a href="{% url telemeta-collections %}" class="blue">{% trans "Collections" %}</a>
83 <a href="{% url telemeta-items %}" class="green">{% trans "Items" %}</a>
84 <a href="{% url telemeta-geo-continents %}" class="yellow">{% trans "Geo Navigator" %}</a>
85 <a href="{% url telemeta-search-criteria %}" class="orange">{% trans "Advanced search" %}</a>
86 {% if user.is_authenticated %}
87 <a href="{% url telemeta-users %}" class="red">{% trans "Users" %}</a>
88 {% endif %}
89 {% if user.is_staff %}
90 <a href="{% url telemeta-admin %}" class="violet">{% trans "Admin" %}</a>
91 {% endif %}
92
93{% endblock %}
94</div>
95</div>
96{% endblock header %}
97
98<div id="content">
99    <table id="content_header"><tr>
100            <td class="leftcol"><h1>{% block title %}{% endblock %}</h1></td>
101            <td class="rightcol">{% block title_buttons %}{% endblock %}</td>
102    </tr></table>
103{% block content %}{% endblock %}
104<div class="nett"></div>
105{% block delete %}{% endblock %}
106</div>
107
108{% block footer %}
109<div id="footer">
110 <hr />
111 <table width="100%">
112  <tr>
113   <td>
114    <a id="telemeta_powered" href="{% telemeta_url %}"><img src="{% url telemeta-images "logo_mini_2.png" %}" height="30" width="93"
115   alt="Telemeta Powered"/></a>
116    <p class="left">
117    {% trans "Powered by" %} <a href="{% telemeta_url %}"><strong>Telemeta {% telemeta_version %}</strong></a><br />
118    {% trans "By" %} <a href="http://www.parisson.com/">Parisson SARL</a>
119    </p>
120   </td>
121   <td>
122    <p class="center">
123    {% trans "Usage of the archives in the respect of cultural heritage of the original communities." %}
124    </p>
125   </td>
126   <td>
127    <p class="right">
128    Copyright &copy; {% current_year %} {% organization %}<br />
129    <a href="{% url telemeta-flatpage "legal_notices" %}">{% trans "Legal notices" %}</a>
130    </p>
131   </td>
132  </tr>
133 </table>
134</div>
135{% endblock %}
136</div>
137{% endblock layout %}
138</body>
139</html>
Note: See TracBrowser for help on using the repository browser.