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

60 lines
1.7 KiB
Plaintext
Raw Permalink 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">
2016-08-11 16:30:57 -05:00
<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]-->
<!--[if lt IE 9]>
<%= javascript_include_tag 'ie9' %>
<![endif]-->
2016-07-27 22:16:12 -05:00
</head>
2016-07-26 11:59:23 -05:00
<body>
2016-07-27 22:16:12 -05:00
<div class="layout">
2016-08-08 12:03:11 -05:00
<header <%= "class=no-progressbar" unless content_for?(:progress) %>>
<div class="page-title slash-left">
<% if content_for?(:category) %>
2016-07-27 22:16:12 -05:00
<div>Section: <%= yield(:category) %></div>
<% else %>
<div>Skills Assessment Test</div>
<% end %>
</div>
</header>
2016-07-27 22:16:12 -05:00
<%= yield %>
2016-07-27 22:16:12 -05:00
<% if content_for?(:progress) %>
<div class="progress ignore-margin">
<div class="progress-bar" role="progressbar" aria-valuenow="<%= yield :progress %>"
aria-valuemin="0" aria-valuemax="100" style="width: <%= yield :progress %>%">
<span><%= yield :progress %>%</span>
2016-07-27 22:16:12 -05:00
</div>
</div>
2016-07-27 22:16:12 -05:00
<% end %>
2016-07-28 08:22:05 -05:00
2016-07-27 22:16:12 -05:00
</div>
<footer>
<div class="footer_title"><h2><%= yield(:footer_title) %></h2></div>
<div class="pd_logo"><%= image_tag("perficientdigital.png", alt:"Perficient Digital") %></div>
<div class="footer_yellow-bar slantleft slantright">&nbsp;</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>