Sha256: d402f0b0b29f36277eab8886a9acbe282ca84d37ea9f07ef5d3c5beba4b27586

Contents?: true

Size: 1.74 KB

Versions: 7

Compression:

Stored size: 1.74 KB

Contents

!!! 5
%html
  %head
    %title Wally
    %link{:rel => 'stylesheet', :type => 'text/css', :href => '/bootstrap.min.css'}
    %link{:rel => 'stylesheet', :type => 'text/css', :href => '/skin.css'}
    %meta{:'http-equiv' => 'X-UA-Compatible', :content => 'IE=edge,chrome=1'}
    %meta{:name => 'viewport', :content => 'width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;'}
  %body
    %div.container-fluid
      %div.logo
        %h1
          %a{:href => "/"} Wally
      %div.search-bar
        %form{:method => "GET", :action => "/search", :id => "search"}
          %input{:type => "text", :id => "q", :name => "q", :placeholder => 'text, @tags etc.', :value => @q }
          %input.btn{:type => "submit", :id => "search", :value => "Search"}
    %div.container-fluid
      %div.sidebar
        %ul
          -# %li
          -#   %a{:href => "/search?q="}
          -#     = "Scenarios (#{scenario_count})"
          -# %li
          -#   %a{:href => "/"}
          -#     = "Features (#{lists_features.features.length})"
          %li
            %a{:href => "/progress"}
              Progress
        %h2
          = "Features (#{lists_features.features.length})"
        %ul
          - lists_features.features.each do |feature|
            = haml :feature_link, {:locals => {:feature => feature}, :layout => false}
        - if tag_count.any?
          %h2
            = "Tags (#{tag_count.values.sum})"
          %ul
            - tag_count.each do |tag, count|
              %li
                %a{:href => "/search?q=#{tag}"}
                  = "#{tag} (#{count})"
      %div.content
        - if excessive_wip_tags
          %div.alert-message.error
            %p
              = "You have #{tag_count["@wip"]} @wip tags :("
        = yield

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
wally-0.0.29 lib/wally/views/layout.haml
wally-0.0.28 lib/wally/views/layout.haml
wally-0.0.27 lib/wally/views/layout.haml
wally-0.0.26 lib/wally/views/layout.haml
wally-0.0.25 lib/wally/views/layout.haml
wally-0.0.24 lib/wally/views/layout.haml
wally-0.0.22 lib/wally/views/layout.haml