diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 4ceeeb5..2768813 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -1,21 +1,52 @@ -!!! -%html +!!! 5 +/[if IE 8] +/[if IE 9] +/[if lt IE 10] +%html{lang: 'en', class: 'no-js'} %head - %title yakut - = stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true - = javascript_include_tag "application", "data-turbolinks-track" => true - = csrf_meta_tags - %body - .container-narrow - .masthead - %ul.nav.nav-pills.pull-right - %li.active - %a{:href => "/"} Home - %li - %a{:href => "/rails/routes"} Routes - %h3.muted= link_to "yakut", root_path - %hr/ - = yield - %hr/ - .footer - %p © Company 2013 \ No newline at end of file + %title= yield :title + %meta(http-equiv="content-type" content="text/html" charset="utf-8") + %meta(http-equiv="x-ua-compatible" content="ie=edge,chrome=1") + %meta(name="description" content="") + %meta(name="author" content="") + %meta{content: 'initial-scale=1.0,user-scalable=no,maximum-scale=1,width=device-width', name: 'viewport'} + %meta(name="viewport" content="initial-scale=1.0,user-scalable=no,maximum-scale=1" media="(device-height: 568px)") + %meta(name='apple-mobile-web-app-capable' content='yes') + %meta(name='apple-mobile-web-app-status-bar-style' content='translucent-black') + + %link(rel="shortcut icon" href="/assets/images/favicon.ico") + %link(rel="apple-touch-icon-precomposed" href="/assets/images/apple-touch-icon-precomposed.png") + %link(rel="apple-touch-icon-precomposed" sizes="57x57" href="/assets/images/apple-touch-icon-57x57-precomposed.png") + %link(rel="apple-touch-icon-precomposed" sizes="72x72" href="/assets/images/apple-touch-icon-72x72-precomposed.png") + %link(rel="apple-touch-icon-precomposed" sizes="114x114" href="/assets/images/apple-touch-icon-114x114-precomposed.png") + + / Stylesheets (Don't change include order) + = stylesheet_link_tag 'application', + '//netdna.bootstrapcdn.com/font-awesome/3.2.0/css/font-awesome.min.css' + = yield :head + + %body.main{class: @page || 'page'} + + / Navbar + = render partial: 'layouts/partials/navbar' + + #wrapper + + / Sidebar + %section#sidebar + = render partial: 'layouts/partials/dock' + + / Tools + %section#tools + = render partial: 'layouts/partials/breadcrumb' + = render partial: 'layouts/partials/toolbar' + + / Content + #content + = yield + + / Footer + = render partial: 'layouts/partials/footer' + + / Google Analytics + = render partial: 'layouts/partials/trackers' \ No newline at end of file