Sha256: ccb878fa442692ffd710cab21f69e5defbc2a59669509271b6c7bfd599b5e3f2

Contents?: true

Size: 1.42 KB

Versions: 22

Compression:

Stored size: 1.42 KB

Contents

/ TODO
/ Replace ApplicationName
!!!
%html
  %head
    %title ApplicationName 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

22 entries across 22 versions & 1 rubygems

Version Path
maestrano-connector-rails-1.3.1 lib/generators/connector/templates/layouts.haml
maestrano-connector-rails-1.3.0 lib/generators/connector/templates/layouts.haml
maestrano-connector-rails-1.2.3 lib/generators/connector/templates/layouts.haml
maestrano-connector-rails-1.2.2 lib/generators/connector/templates/layouts.haml
maestrano-connector-rails-1.2.1 lib/generators/connector/templates/layouts.haml
maestrano-connector-rails-1.2.0 lib/generators/connector/templates/layouts.haml
maestrano-connector-rails-1.1.2 lib/generators/connector/templates/layouts.haml
maestrano-connector-rails-1.1.1 lib/generators/connector/templates/layouts.haml
maestrano-connector-rails-1.1.0 lib/generators/connector/templates/layouts.haml
maestrano-connector-rails-1.0.4 lib/generators/connector/templates/layouts.haml
maestrano-connector-rails-1.0.3 lib/generators/connector/templates/layouts.haml
maestrano-connector-rails-1.0.2 lib/generators/connector/templates/layouts.haml
maestrano-connector-rails-1.0.1 lib/generators/connector/templates/layouts.haml
maestrano-connector-rails-1.0.0 lib/generators/connector/templates/layouts.haml
maestrano-connector-rails-0.4.4 lib/generators/connector/templates/layouts.haml
maestrano-connector-rails-0.4.3 lib/generators/connector/templates/layouts.haml
maestrano-connector-rails-0.4.2 lib/generators/connector/templates/layouts.haml
maestrano-connector-rails-0.4.1 lib/generators/connector/templates/layouts.haml
maestrano-connector-rails-0.4.0 lib/generators/connector/templates/layouts.haml
maestrano-connector-rails-0.3.13 lib/generators/connector/templates/layouts.haml