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 "theme1/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= render 'theme1/social'
              #logo= link_to image_tag('icons/logo-text.png', alt: application_title), root_path
      #nav-wrap.container
        .navbar
          .navbar-inner= render 'theme1/navigation'
      #content-header
        .left
        .right
        .container
          .top-ribbon
      #main-wrap
        .container
          .main-inner
            - if flash[:alert].present?
              .flash-box.alert
                div= flash[:alert]
                a.close data-dismiss="alert" &#215;
            - if flash[:notice].present?
              .flash-box.notice
                div= flash[:notice]
                a.close data-dismiss="alert" &#215;
            - if @page && @page.title.present?
              h1.page-title= @page.title
            = yield
      #footer-wrap
        .footer-shadow
        .container
          .footer-content= render 'footer'
          .footer-bottom &copy; Qwaiter 2013
    = javascript_include_tag "theme1/application"
