caa6ee32f089f28e788fec8edd96dee380d4a63c
[ais.git] / html_templates / base.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <link rel=icon href='/aiga_water_transportation.svg' sizes=any type='image/svg+xml'>
3 <link rel=icon href='/aiga_water_transportation.png' sizes='16x16' type='image/png'>
4 <link rel=stylesheet href='/global.css'>
5 <link rel=alternate type='application/rss+xml' title='All the news about AIS ship monitoring' href='https://ais.nirgal.com/news/feed'>
6 <title>{% block title %}AIS{% endblock %}</title>
7 {% block style_extra %}{% endblock %}
8 <script src='/javascript/jquery/jquery.js' type='text/javascript'></script>
9 <script src='/global.js' type='text/javascript'></script>
10
11 <div id=header>
12     <span id=bannertitle>AIS ship monitoring</span>
13     <span id=bannermenu>Welcome <a href='/user/{{user.login}}/'>{{ user.name }}</a> ☮ <a href='/user/{{user.login}}/change_password'>change password</a></span>
14     <br class=clearall>
15     <div id=tabs>
16         <a href='/'{% block tab_active_news %}{% endblock %} title="Home page">news</a>
17         <a href='/vessel/'{% block tab_active_vessel %}{% endblock %} title="Look for some specific ships">vessels</a>
18         <a href='/fleet/'{% block tab_active_fleet %}{% endblock %} title="These are groups of ships shared amongst small groups of users">fleets</a>
19         <a href='/user/'{% block tab_active_user %}{% endblock %} title="Accounts to access that web site">users</a>
20         {% if user.job_set.count %}
21         <a href='/job/'{% block tab_active_job %}{% endblock %} title="Acynchronous jobs">jobs</a>
22         {% endif %}
23         <a href='/source/'{% block tab_active_source %}{% endblock %} title="Real time statistics">sources</a>
24     </div>
25 </div>
26 <div id=main>
27     {% block breadcrumbs %}
28     You are here: <a href='/'>home</a>
29     {% endblock %}
30
31
32     <div style="padding:1ex;">
33         {% for message in user.get_messages %}
34             <div class=message>
35             {{ message.category.id }}: {{ message.txt }}
36             </div>
37         {% endfor %}
38         {% block content %}{% endblock %}
39     </div>
40 </div>
41
42 <div id=footer>
43 <a href='/svn'>This</a> is <a href='http://www.gnu.org/licenses/gpl.html' target=_blank noreferrer>GPL Software</a>
44 ☮ <a href='http://www.enercoop.coop/' target=_blank noreferrer>Powered by renewable energy</a>
45 , <a href='http://www.debian.org/' target=_blank noreferrer>Debian/GNU Linux</a>
46 ☮ <a href='http://ipv6.com/articles/general/ipv6-the-next-generation-internet.htm' target=_blank noreferrer>IPv6 ready</a>
47 </div>