1
+ !!! 5
2
+ /[if IE 8] < html class ="no-js lt-ie10 lt-ie9 " lang ="en-us ">
3
+ /[if IE 9] < html class ="no-js lt-ie10 lt-ie9 " lang ="en-us ">
4
+ /[if lt IE 10] < html class ="no-js lt-ie10 " lang ="en-us ">
5
+ %html{lang: 'en', class: 'no-js'}
6
+ %head
7
+ %title= content_for?(:title) ? "#{yield(:title)} - <%= app_name %> " : '<%= app_name %> '
8
+ %meta(http-equiv="content-type" content="text/html" charset="utf-8")
9
+ %meta(http-equiv="x-ua-compatible" content="ie=edge,chrome=1")
10
+ %meta(name="description" content="<%= app_name %> ")
11
+ %meta(name="author" content="<%= app_name %> ")
12
+ %meta{content: 'initial-scale=1.0,user-scalable=no,maximum-scale=1,width=device-width', name: 'viewport'}
13
+ %meta(name="viewport" content="initial-scale=1.0,user-scalable=no,maximum-scale=1" media="(device-height: 568px)")
14
+ %meta(name='apple-mobile-web-app-capable' content='yes')
15
+ %meta(name='apple-mobile-web-app-status-bar-style' content='translucent-black')
16
+
17
+ %link(rel="shortcut icon" href="/images/favicon.png")
18
+
19
+ = csrf_meta_tags
20
+
21
+ / Stylesheets (Don't change include order)
22
+ = stylesheet_link_tag 'hq/application',
23
+ '//netdna.bootstrapcdn.com/font-awesome/3.2.0/css/font-awesome.min.css',
24
+ '//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css',
25
+ media: 'all', 'data-turbolinks-track' => true
26
+
27
+ / Javascripts
28
+ = javascript_include_tag '//cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js',
29
+ 'hq/application', 'data-turbolinks-track' => true
30
+ = yield :head
31
+
32
+ %body.main
33
+
34
+ / Navbar
35
+ = render partial: 'layouts/hq/partials/navbar'
36
+
37
+ #wrapper
38
+
39
+ / Sidebar
40
+ %section#sidebar
41
+ = render partial: 'layouts/hq/partials/dock'
42
+
43
+ / Tools
44
+ %section#tools
45
+ = render partial: 'layouts/hq/partials/breadcrumb'
46
+ = render partial: 'layouts/hq/partials/toolbar'
47
+
48
+ / Content
49
+ #content
50
+ = render 'layouts/partials/warnings'
51
+ = render partial: 'layouts/partials/messages'
52
+ = yield
53
+
54
+ / Footer
55
+ = render partial: 'layouts/hq/partials/footer'
0 commit comments