Sha256: 34289d54c60a183d9d9236453a2d9b6bb962cac889020348d3a93886d89fa286

Contents?: true

Size: 1.99 KB

Versions: 17

Compression:

Stored size: 1.99 KB

Contents

!!!
%html
  %head
    %title Ish Manager
    %link{ :rel => 'icon', :href => "/favicon_#{ENV['RAILS_ENV']}.gif" }
    %meta{ :name => :viewport, :content => 'width=device-width, initial-scale=1.0' }
    %meta{ :charset => 'UTF-8' }
    %meta{ :description => 'some description' }
    %script{ :src => "//ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js" }
    %script{ :src => "//cdnjs.cloudflare.com/ajax/libs/tinymce/4.6.3/jquery.tinymce.min.js" }
    %script{ :src => "//cdnjs.cloudflare.com/ajax/libs/tinymce/4.6.3/tinymce.min.js" }
    %script{ :src => "//cdn.datatables.net/1.10.16/js/jquery.dataTables.min.js" }
    = stylesheet_link_tag "//cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css"
    = stylesheet_link_tag "//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css", :media => 'all'
    = stylesheet_link_tag "//fonts.googleapis.com/icon?family=Material+Icons"

    = stylesheet_link_tag "ish_manager/materialize", media: "all"
    = stylesheet_link_tag "ish_manager/application", media: "all"

    = javascript_include_tag "ish_manager/application"
    = javascript_include_tag "ish_manager/materialize"
    = javascript_include_tag "ish_manager/application_materialize"

    = csrf_meta_tags
  %body{ class: [ params[:controller].gsub("ish_manager/",""), "#{params[:controller].gsub("ish_manager/","")}-#{params[:action]}", params[:action]] }
    .bg-white
      = render :partial => "ish_manager/application/main_header_#{current_user.profile.role_name}"
      .container
        .row
          .col.s12
            - if notice
              - if notice.class == Array
                %ul
                  - notice.map do |n|
                    %li
                      - n.map do |k,v|
                        <b>#{k} :</b> #{v}
              %p.notice= notice
            - if alert
              %p.alert= alert

        = yield
    = render 'ish_manager/application/main_footer'
    = render 'analytics' if Rails.env.production?
    = render 'debug' if !Rails.env.production?

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
ish_manager-0.1.8.322 app/views/layouts/ish_manager/application.haml-trash
ish_manager-0.1.8.321 app/views/layouts/ish_manager/application.haml-trash
ish_manager-0.1.8.320 app/views/layouts/ish_manager/application.haml-trash
ish_manager-0.1.8.318 app/views/layouts/ish_manager/application.haml-trash
ish_manager-0.1.8.317 app/views/layouts/ish_manager/application.haml-trash
ish_manager-0.1.8.316 app/views/layouts/ish_manager/application.haml-trash
ish_manager-0.1.8.315 app/views/layouts/ish_manager/application.haml
ish_manager-0.1.8.314 app/views/layouts/ish_manager/application2.haml
ish_manager-0.1.8.313 app/views/layouts/ish_manager/application2.haml
ish_manager-0.1.8.312 app/views/layouts/ish_manager/application2.haml
ish_manager-0.1.8.311 app/views/layouts/ish_manager/application2.haml
ish_manager-0.1.8.310 app/views/layouts/ish_manager/application2.haml
ish_manager-0.1.8.309 app/views/layouts/ish_manager/application2.haml
ish_manager-0.1.8.308 app/views/layouts/ish_manager/application2.haml
ish_manager-0.1.8.307 app/views/layouts/ish_manager/application2.haml
ish_manager-0.1.8.306 app/views/layouts/ish_manager/application2.haml
ish_manager-0.1.8.305 app/views/layouts/ish_manager/application2.haml