Sha256: 1df4d3fadc59d9e889005983e34a4238d5cfd4cee705b9078c2184c576d8a27d

Contents?: true

Size: 1.09 KB

Versions: 5

Compression:

Stored size: 1.09 KB

Contents

!!! 5
%html
  %head
    %title Wally
    %link{:rel => 'stylesheet', :type => 'text/css', :href => '/bootstrap.min.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
        %h2
          Features
        %ul
          - @features.each do |feature|
            %li
              %a{:href => "/features/#{feature["id"]}"}
                = feature["name"]
              - if feature["tags"]
                - feature["tags"].each do |tag|
                  %span.label.notice
                    = tag["name"]
      %div.content
        = yield

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
wally-0.0.6 lib/wally/views/layout.haml
wally-0.0.5 lib/wally/views/layout.haml
wally-0.0.3 lib/wally/views/layout.haml
wally-0.0.2 lib/wally/views/layout.haml
wally-0.0.1 lib/wally/views/layout.haml