html reset
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" class="no-js">
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
@@ -10,43 +11,29 @@
|
||||
<!--[if ! lte IE 8]><!-->
|
||||
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
|
||||
<!--<![endif]-->
|
||||
|
||||
<!--[if lt IE 9]>
|
||||
<%= javascript_include_tag 'ie9' %>
|
||||
<![endif]-->
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="layout">
|
||||
<header>
|
||||
<% if content_for?(:section_title) %>
|
||||
<div><%= yield(:section_title) %></div>
|
||||
<% else %>
|
||||
<div>Skills Assessment Admin</div>
|
||||
<% end %>
|
||||
</header>
|
||||
|
||||
<header class="no-progressbar admin">
|
||||
<%= render partial: "admin/nav" if current_user %>
|
||||
<div class="page-title slash-left">
|
||||
<% if content_for?(:section_title) %>
|
||||
<div><%= yield(:section_title) %></div>
|
||||
<% else %>
|
||||
<div>Skills Assessment Admin</div>
|
||||
<% end %>
|
||||
</div>
|
||||
</header>
|
||||
<%= render partial: "admin/nav" if current_user %>
|
||||
|
||||
<main class="<%= content_for?(:main_class) ? yield(:main_class) : "admin_tpl" %>">
|
||||
<%= render partial: "shared/generic_flash" %>
|
||||
<%= yield %>
|
||||
</main>
|
||||
<%= render partial: "shared/generic_flash" %>
|
||||
|
||||
</div>
|
||||
<%= yield %>
|
||||
|
||||
<footer>
|
||||
<div class="footer_title"> </div>
|
||||
<div class="pd_logo"><%= image_tag("perficientdigital.png", alt:"Perficient Digital") %></div>
|
||||
<div class="footer_yellow-bar slantleft slantright"> </div>
|
||||
<div><%= image_tag("perficientdigital.png", alt:"Perficient Digital") %></div>
|
||||
</footer>
|
||||
|
||||
<!--[if ! lte IE 8]><!-->
|
||||
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
|
||||
<%= javascript_include_tag 'admin', 'data-turbolinks-track': 'reload' %>
|
||||
<%= yield :custom_javascipt %>
|
||||
<!--<![endif]-->
|
||||
</body>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" class="no-js">
|
||||
<head>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
@@ -11,49 +11,39 @@
|
||||
<!--[if ! lte IE 8]><!-->
|
||||
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
|
||||
<!--<![endif]-->
|
||||
|
||||
<!--[if lt IE 9]>
|
||||
<%= javascript_include_tag 'ie9' %>
|
||||
<![endif]-->
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="layout">
|
||||
|
||||
<header <%= "class=no-progressbar" unless content_for?(:progress) %>>
|
||||
<div class="page-title slash-left">
|
||||
<% if content_for?(:category) %>
|
||||
<div>Section: <%= yield(:category) %></div>
|
||||
<% else %>
|
||||
<div>Skills Assessment Test</div>
|
||||
<% end %>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<%= yield %>
|
||||
|
||||
<% 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>
|
||||
</div>
|
||||
</div>
|
||||
<header>
|
||||
<% if content_for?(:category) %>
|
||||
<div>Section: <%= yield(:category) %></div>
|
||||
<% else %>
|
||||
<div>Skills Assessment Test</div>
|
||||
<% end %>
|
||||
</header>
|
||||
|
||||
</div>
|
||||
<main>
|
||||
<%= yield %>
|
||||
</main>
|
||||
|
||||
<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"> </div>
|
||||
<% 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' %>
|
||||
<%= yield :custom_javascipt %>
|
||||
<!--<![endif]-->
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user