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

50 lines
1.3 KiB
Plaintext
Raw Normal View History

2016-07-26 11:59:23 -05:00
<!DOCTYPE html>
2017-03-20 10:57:50 -05:00
<html lang="en">
<head>
2016-07-27 22:16:12 -05:00
<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
<!--[if ! lte IE 8]><!-->
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<!--<![endif]-->
2016-07-27 22:16:12 -05:00
</head>
2017-03-20 10:57:50 -05:00
<body>
<header>
<% if content_for?(:category) %>
<div>Section: <%= yield(:category) %></div>
<% else %>
<div>Skills Assessment Test</div>
2016-07-27 22:16:12 -05:00
<% end %>
2017-03-20 10:57:50 -05:00
</header>
2016-07-28 08:22:05 -05:00
2017-03-20 10:57:50 -05:00
<main>
<%= yield %>
</main>
<% if content_for?(:progress) %>
<aside role="progressbar"
style="width: <%= yield :progress %>%"
aria-valuemin="0"
aria-valuemax="100"
aria-valuenow="<%= yield :progress %>">
<span><%= yield :progress %>%</span>
</aside>
<% end %>
<footer role="contentinfo">
<div><%= yield(:footer_title) %></div>
<div><%= image_tag("perficientdigital.png", alt:"Perficient Digital") %></div>
</footer>
<!--[if ! lte IE 8]><!-->
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
2016-09-07 17:45:22 -05:00
<%= yield :custom_javascipt %>
<!--<![endif]-->
2016-07-26 11:59:23 -05:00
</body>
</html>