Skip to content

Instantly share code, notes, and snippets.

@pwnela
Created February 4, 2012 01:58

Revisions

  1. pwnela created this gist Feb 4, 2012.
    18 changes: 18 additions & 0 deletions list.html.haml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,18 @@
    #nav-header{ "data-role" => "header", "data-theme" => "c" }
    %h1= image_tag "http://www.karastanonthego.com/karastan-toolbar-logo.png"
    %div{ "data-role" => "navbar" }
    %ul
    %li= link_to "Home", "#home-page"
    %li= link_to "Carpets", "http://localhost:3000/kc/1246/3?context=jquerymobile"
    %li= link_to "Rugs", "http://localhost:3000/kr/1246/3?context=jquerymobile"
    %li= link_to "Favorites", "http://localhost:3000/catalog_favorites?context=jquerymobile&dealer_id=1246&catalog_id=3"
    %li= link_to "Where to Buy?", "http://localhost:3000/geocoded_dealers?context=jquerymobile"
    #nav-panel
    #nav-logo
    = image_tag "http://www.karastanonthego.com/karastan-logo.png"
    %ul#nav-listview{ "data-role" => "listview" }
    %li= link_to "Home", "#home-page", {:class => 'ui-btn-active', :id => 'home_tab'}
    %li= link_to "Carpets", "http://localhost:3000/kc/1246/3?context=jquerymobile", { :id => 'carpets_tab'}
    %li= link_to "Rugs", "http://localhost:3000/kr/1246/3?context=jquerymobile", {:id => 'rugs_tab'}
    %li= link_to "Favorites", "http://localhost:3000/catalog_favorites?context=jquerymobile&dealer_id=1246&catalog_id=3", {:id => 'favorites_tab'}
    %li= link_to "Where to Buy?", "http://localhost:3000/geocoded_dealers?context=jquerymobile", {:id => 'where_to_buy_tab'}