summaryrefslogtreecommitdiff
path: root/views/layout.haml
blob: 6d0a1a19241d5e3b2b9b51d98c5da2048c48797c (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
39
!!!
%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, Denis Gebele" }
    %link{:rel=>'stylesheet', :href=>'/style.css', :type => "text/css"}       
    %title in silico toxicology

  %body
    .header
      .logo
        %img{ :src => "/logo.jpg", :alt => "in silico toxicology" }
        .desc
          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 /projects/ =~ request.path )}
            %a{ :href => "/projects" } Projects
          %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 /contact/ =~ request.path )}
            %a{ :href => "/contact" } Contact

    .content
      = yield

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