Small tuning for Ductivity forecast form on homepage
[ais.git] / www_templates / index.html
1 {% extends "base.html" %}
2
3 {% block style_extra %}
4 <script type="text/javascript">
5 function ductivityFormHandler(selinput){
6         var URL = selinput.options[selinput.selectedIndex].value;
7         if (URL)
8                 window.open('http://www.dxinfocentre.com/' + URL, '_blank', 'noreferer');
9 }
10 </script>
11 {% endblock %}
12
13 {% block title %}
14 Welcome
15 {% endblock %}
16
17 {% block tab_active_news %} id=tabactive{% endblock %}
18
19 {% block content %}
20
21 <h3>Last changes</h3>
22 {% for n in news %}
23 <b>{{ n.created|date:"Y-m-d" }}</b> ☮ <b>{{ n.title }}</b><br>
24 {{ n.txt|linebreaksbr }}
25 <br><br>
26 {% endfor %}
27
28 <div class='hr'><hr /></div>
29
30 <h3>External links</h3>
31 <ul>
32 <li>Tropospheric Ducting Forecasts
33         <form>select size='1' onchange='javascript:ductivityFormHandler(this)'>
34                 <option value=''>Select region...</option>
35                 <option value='tropo_enp.html'>Eastern North Pacific</option>
36                 <option value='tropo_esp.html'>Eastern South Pacific</option>
37                 <option value='tropo_wam.html'>Western North America</option>
38                 <option value='tropo.html'>Eastern North America</option>
39                 <option value='tropo_car.html'>Gulf-Caribbean</option>
40                 <option value='tropo_nsa.html'>Northern South America</option>
41                 <option value='tropo_sam.html'>Central South America</option>
42                 <option value='tropo_nat.html'>North Atlantic</option>
43                 <option value='tropo_sat.html'>South Atlantic</option>
44                 <option value='tropo_nwe.html'>Northwestern Europe</option>
45                 <option value='tropo_eur.html'>Europe</option>
46                 <option value='tropo_eeu.html'>Eastern Europe</option>
47                 <option value='tropo_afi.html'>South Africa</option>
48                 <option value='tropo_mid.html'>Middle East</option>
49                 <option value='tropo_nca.html'>North Central Asia</option>
50                 <option value='tropo_ino.html'>Indian Ocean</option>
51                 <option value='tropo_sea.html'>Southeast Asia</option>
52                 <option value='tropo_eas.html'>Far East</option>
53                 <option value='tropo_nea.html'>Eastern Siberia</option>
54                 <option value='tropo_aus.html'>Australia &amp; New Zealand</option>
55                 <option value='tropo_oce.html'>Oceania</option>
56                 <option value='tropo_wnp.html'>Western North Pacific</option>
57         </select></form>
58 <li><a href='http://en.wikipedia.org/wiki/Automatic_Identification_System' target=_blank noreferrer>AIS on Wikipedia</a>
59 <li><a href='http://www.marinetraffic.com/' target=_blank noreferrer>Marine Traffic</a>
60 <li><a href='http://www.seasearcher.com/' target=_blank noreferrer>Sea Searcher</a>
61 <li><a href='http://www.vesseltracker.com/' target=_blank noreferrer>Vessel Tracker</a>
62 <li><a href='http://www.aislive.com/' target=_blank noreferrer>AIS Live</a>
63 <li><a href='http://www.digital-seas.com/' target=_blank noreferrer>Digital Seas</a>
64 <li><a href='http://www.aishub.net/' target=_blank noreferrer>Ais Hub</a>
65 <li><a href='http://www.coaa.co.uk/shipplotter.htm' target=_blank noreferrer>Ship Plotter</a>
66 </ul>
67 {% endblock %}