summaryrefslogtreecommitdiff
path: root/views/layout.haml
blob: 95faae9285033817c1562cda1292c5d432b2f119 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
!!!
%html
  %head
    %meta{ :content => "text/html; charset=us-ascii", "http-equiv" => "content-type" }
    %meta{ :name => "robots", :content => "all" }
    %meta{ :name => "author", :content => "Christoph Helma, Andreas Maunz" }
    %link{:rel=>'stylesheet', :href=>'/style.css', :type => "text/css"}       
    %title in silico toxicology

  %body
    .header
      .logo
        %img{ :src => "/logo.jpg", :alt => "in silico toxicology" }
        %br research + consulting
      .index
        %ul
          %li{:class => ("selected" if /^\/$/ =~ request.path )}
            %a{ :href => "/" } Home
          %li{:class => ("selected" if /software/ =~ request.path )}
            %a{ :href => "/software" } Software
          %li{:class => ("selected" if /services/ =~ request.path )}
            %a{ :href => "/services" } Services
          %li{:class => ("selected" if /publications/ =~ request.path )}
            %a{ :href => "/publications" } Publications
          %li{:class => ("selected" if /awards/ =~ request.path )}
            %a{ :href => "/awards" } Awards
          %li{:class => ("selected" if /links/ =~ request.path )}
            %a{ :href => "/links" } Links
          %li{:class => ("selected" if /contact/ =~ request.path )}
            %a{ :href => "/contact" } Contact

    .content
      = yield

    .footer
      ©
      %a{ :href => "http://www.in-silico.ch/" } in silico toxicology
      2004-2009