skill-assessment-app/app/views/layouts/application.html.erb

39 lines
1.1 KiB
Plaintext
Raw Normal View History

2016-07-26 11:59:23 -05:00
<!DOCTYPE html>
2016-07-27 22:16:12 -05:00
<html lang="en" class="no-js">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
2016-07-26 11:59:23 -05:00
<%= csrf_meta_tags %>
2016-07-27 22:16:12 -05:00
<title><%= yield(:title) %></title>
2016-07-26 11:59:23 -05:00
2016-07-27 22:16:12 -05:00
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<script src="{{assets}}/scripts/lib/modernizr.js"></script>
</head>
2016-07-26 11:59:23 -05:00
<body>
2016-07-27 22:16:12 -05:00
<div class="layout">
<% if content_for?(:category) %>
<header>
-- NO PROGRESS BAR ON EDITS --
<div class="page-title slash-left">
<div>Section: <%= yield(:category) %></div>
</div>
</header>
<% else %>
<header class="no-progressbar">
<div class="page-title slash-left">
<div>Perficient Digital Skills Assessment</div>
</div>
</header>
<% end %>
<%= yield %>
</div>
<%= render partial: 'layouts/footer' %>
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
2016-07-26 11:59:23 -05:00
</body>
</html>