doctype html
html lang="en"
  head
    meta charset="utf-8"
    meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"
    meta name="viewport" content="width=device-width, initial-scale=1.0"
    title= content_for?(:title) ? yield(:title) : application_title
    = csrf_meta_tags

    /! Le HTML5 shim, for IE6-8 support of HTML elements
    /[if lt IE 9]
      = javascript_include_tag "http://html5shim.googlecode.com/svn/trunk/html5.js"
    = stylesheet_link_tag "application", :media => "all"
    link href="/favicon.ico" rel="shortcut icon"
    link href='http://fonts.googleapis.com/css?family=Pacifico' rel='stylesheet' type='text/css'

  body
    .header-nav-banner
      #header-wrap
        #ceiling
          .left
          .right
          .lights
            .light1
            .light2
            .light3
          .container
            #header
              #header-right
                .social
                  a.wsite-social-facebook href="https://www.facebook.com/Qwaiter" target=:_blank
                    span.wsite-social-inner
                  a.wsite-social-twitter href="https://twitter.com/qwaiter" target=:_blank
                    span.wsite-social-inner
                  a.wsite-social-linkedin href="http://www.linkedin.com/company/579750" target=:_blank
                    span.wsite-social-inner
                  a.wsite-social-rss
                    span.wsite-social-inner
              #logo= link_to image_tag('icons/logo-small.png', alt: application_title), root_path
      #nav-wrap
        .container
          ul.nav
            li= link_to User.model_name.human_plural, user_root_path
            li= link_to Supplier.model_name.human_plural, supplier_root_path
            li= link_to 'Enquete', enquete_path
      #banner-wrap
        .left
        .right
        .container
          #banner
            .wsite-header
            .clearing
      #main-wrap
        .container
          .content-top
          .main-inner
            #wsite-content.wsite-not-footer= yield
      #footer-wrap
        .footer-shadow
        .container
          .footer-top
          .bottom
            p &copy; Companytools 2012
            = yield :footer
      .content
        - if flash[:alert].present?
          .alert.alert-error
            a.close data-dismiss="alert" &#215;
            div= flash[:alert]
        - if flash[:notice].present?
          .alert.alert-success
            a.close data-dismiss="alert" &#215;
            div= flash[:notice]
    = javascript_include_tag "application"
