Sha256: 53e44b025805bdfedb447665492a78931b054d3ed152c79ba44862585b2c6c1d

Contents?: true

Size: 1.41 KB

Versions: 4

Compression:

Stored size: 1.41 KB

Contents

/ TODO
/ Replace ApplicationName
!!!
%html
  %head
    %title SalesForce Connector
    = stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track' => true
    = javascript_include_tag 'application', 'data-turbolinks-track' => true
    = csrf_meta_tags
  %body
    .navbar.navbar-fixed-top.navbar-inverse
      .container-fluid
        .collapse.navbar-collapse#maestrano-navbar-collapse
          %ul.nav.navbar-nav
            =image_tag "logos/default.png", class: 'logo'

          %ul.nav.navbar-nav
            %li=link_to "Status", root_path

            %li=link_to "History", synchronizations_index_path

            -if is_admin
              %li=link_to "Mapping", shared_entities_index_path

          -if current_user
            %ul.nav.navbar-nav.navbar-right
              %li.dropdown
                %a{:href=>"#", :class=>"dropdown-toggle", :'data-toggle'=>"dropdown", :role=>"button"}
                  Hi #{current_user.first_name} #{current_user.last_name}

    .padding-navbar

    .wrapper{style: 'margin-bottom: 15px; '}
      - if flash.any?
        - flash.each do |flash_key, message|
          .alert{:class => "alert-#{flash_key}"}
            %strong= flash.discard(flash_key)

      = yield

    .footer
      .container
        .row
          .col-xs-12
            .copyright
              © Copyright #{Time.now.year}. All rights reserved. Various trademarks held by their respective owners.

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
maestrano-connector-rails-0.3.10 lib/generators/connector/templates/layouts.haml
maestrano-connector-rails-0.3.9 lib/generators/connector/templates/layouts.haml
maestrano-connector-rails-0.3.8 lib/generators/connector/templates/layouts.haml
maestrano-connector-rails-0.3.7 lib/generators/connector/templates/layouts.haml