Sha256: c3901d43db5f05c151d9820497f52c6a6446d0e11d088df70d68fe17c715bd73

Contents?: true

Size: 1.29 KB

Versions: 3

Compression:

Stored size: 1.29 KB

Contents

!!! 5
%html(ng-app='plan-b' mount-path='#{plan_b.root_path[0..-2]}')
  %head
    %meta{content: "text/html; charset=utf-8", "http-equiv" => "Content-Type"}
    %meta{content: "width=device-width, initial-scale=1.0", name: "viewport"}
    %meta{content: "NONE,NOARCHIVE", name: "robots"}
    %title Plan B
    = csrf_meta_tag
    = stylesheet_link_tag 'plan_b/application', :media => :all
    = javascript_include_tag 'vendor/custom.modernizr'

  %body
    .alert-box(ng-class="alertType" ng-show="alertShow")
      {{ alertMessage }}

    .row
      .large-2.columns
        %h1
          = image_tag 'plan_b/plan_b.png'
    .row
      .large-10.push-2.columns
        %div(ng-view)
      .large-2.pull-10.columns(ng-controller="ItinerariesCtrl")
        = PlanB::Itinerary.model_name.human.pluralize
        = link_to t('plan_b.itineraries.create_new'), new_itinerary_path, class: 'button tiny secondary'
        %ul.side-nav
          %li(ng-hide="itineraries.length")
            = t('plan_b.itineraries.none_created')
          %li(ng-repeat="itinerary in itineraries")
            %a(href='/plan_b/itineraries/{{itinerary.id}}/edit') {{itinerary.title}}
    %footer.row
      .large-12.columns
        %hr
        .row
          .large-6.columns
            %p Plan B

    = javascript_include_tag 'plan_b/application'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
plan_b-0.0.2.pre1 app/views/plan_b/angular/index.html.haml
plan_b-0.0.1.pre1 app/views/plan_b/angular/index.html.haml
plan_b-0.0.1.pre app/views/plan_b/angular/index.html.haml