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