Sha256: d587eebac831b21f1e4023d4e0249c8c6adaf00c0d05dbafbbbb43c723a2f01c

Contents?: true

Size: 1.61 KB

Versions: 30

Compression:

Stored size: 1.61 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
    %script{src: 'https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js', integrity: 'sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa', crossorigin: 'anonymous'}
    = 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

30 entries across 30 versions & 1 rubygems

Version Path
maestrano-connector-rails-2.0.2.pre.RC8 lib/generators/connector/templates/layouts.haml
maestrano-connector-rails-2.0.2.pre.RC9 lib/generators/connector/templates/layouts.haml
maestrano-connector-rails-2.0.2.pre.RC7 lib/generators/connector/templates/layouts.haml
maestrano-connector-rails-2.0.2.pre.RC6 lib/generators/connector/templates/layouts.haml
maestrano-connector-rails-2.0.2.pre.RC5 lib/generators/connector/templates/layouts.haml
maestrano-connector-rails-2.0.2.pre.RC4 lib/generators/connector/templates/layouts.haml
maestrano-connector-rails-2.0.2.pre.RC3 lib/generators/connector/templates/layouts.haml
maestrano-connector-rails-2.0.2.pre.RC2 lib/generators/connector/templates/layouts.haml
maestrano-connector-rails-2.0.2.pre.RC1 lib/generators/connector/templates/layouts.haml
maestrano-connector-rails-2.0.1 lib/generators/connector/templates/layouts.haml
maestrano-connector-rails-2.0.0 lib/generators/connector/templates/layouts.haml
maestrano-connector-rails-2.0.0.pre.RC13 lib/generators/connector/templates/layouts.haml
maestrano-connector-rails-2.0.0.pre.RC12 lib/generators/connector/templates/layouts.haml
maestrano-connector-rails-2.0.0.pre.RC11 lib/generators/connector/templates/layouts.haml
maestrano-connector-rails-2.0.0.pre.RC10 lib/generators/connector/templates/layouts.haml
maestrano-connector-rails-2.0.0.pre.RC9 lib/generators/connector/templates/layouts.haml
maestrano-connector-rails-2.0.0.pre.RC8 lib/generators/connector/templates/layouts.haml
maestrano-connector-rails-1.5.0 lib/generators/connector/templates/layouts.haml
maestrano-connector-rails-2.0.0.pre.RC7 lib/generators/connector/templates/layouts.haml
maestrano-connector-rails-2.0.0.pre.RC6 lib/generators/connector/templates/layouts.haml