link to hydrostation

This commit is contained in:
Peter Boráros 2013-06-04 18:39:59 +02:00
parent f39db619ec
commit cf7a2c0207
3 changed files with 15 additions and 3 deletions

View file

@ -19,8 +19,14 @@
%li <a href='kontakty.html'>Kontakty</a>
.content
%p
- @stations.each do |station|
%a(href="##{station}")
=File.read("data/name_#{station}.html")
%br
- @stations.each do |station|
%hr(id="#{station}")
%table.twocolumn
%tr
%td(style="padding: 16px;")
@ -39,6 +45,6 @@
%th teplota [°C]
=File.read("data/table_#{station}.html")
%hr
%hr
.footer Data poskytuje Český hydrometeorologický ústav. Bez záruky.