Sha256: 34872701bb2e2e9f48923a3f18cf9005a5fe0c886c4152413e24d4bf95ce6432

Contents?: true

Size: 1.89 KB

Versions: 2

Compression:

Stored size: 1.89 KB

Contents

!!!
%html
  %head
    %title PayrollHero
    = stylesheet_link_tag  "application", media: "all"
    = javascript_include_tag "https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"
    = javascript_include_tag "https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.4.3/underscore-min.js"
    = javascript_include_tag "https://cdnjs.cloudflare.com/ajax/libs/ICanHaz.js/0.10/ICanHaz.min.js"
    = javascript_include_tag "application"
    = yield :header_content
    = csrf_meta_tags
    = favicon_link_tag 'lay_me_out/favicon.ico'
  %body{ :class => "main #{controller_name}" }
    #flash
    %header
      .wrapper
        .title-bar
          = link_to image_tag('lay_me_out/ph-logo.png'), main_app.root_path, :id => "logo"
          .tagline
            %p
              Optimizing Work Productivity with
              %strong Happiness
          = render_user_profile
        %nav.main
          = render_navigation
    %section{:id => "contents-container" }
      .wrapper
        #side-menu
          = yield :side_menu
        #content{ :class => content_class }
          #crumbs
            = render_breadcrumbs(:builder => LayMeOut::BreadcrumbBuilder)
          .main
            = yield
    %footer
      .wrapper
        %ul{ :id => "footer-logo" }
          %li= "© Copyright 2008-#{Date.current.year} PayrollHero.com PTE. LTD. All Rights Reserved."
          %li= "Your IP: #{request.ip}"
        %ul{ :id => "legalese" }
          %li{ :class => "privacy-policy" }
            = link_to "Privacy Policy", "https://payrollhero.payrollhero.com/privacy_policy.html"
          %li{ :class => "terms-of-service" }
            = link_to "Terms of Service", "https://payrollhero.payrollhero.com/terms_of_service.html"
    = render :partial => "lay_me_out/common/flash", :locals => { :flash => flash }
    = render :partial => "lay_me_out/common/segment_io" if SegmentIO.show_analytics?
    = yield :footer_content

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lay_me_out-1.2.9 app/views/layouts/lay_me_out/application.html.haml
lay_me_out-1.2.8 app/views/layouts/lay_me_out/application.html.haml