roughed in quiz GET views
This commit is contained in:
5
app/views/layouts/_footer.html.erb
Normal file
5
app/views/layouts/_footer.html.erb
Normal file
@ -0,0 +1,5 @@
|
||||
<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>
|
||||
</footer>
|
@ -1,14 +1,38 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>SkillAssessmentApp</title>
|
||||
<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">
|
||||
<%= csrf_meta_tags %>
|
||||
|
||||
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
|
||||
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
|
||||
</head>
|
||||
<title><%= yield(:title) %></title>
|
||||
|
||||
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
|
||||
<script src="{{assets}}/scripts/lib/modernizr.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<%= yield %>
|
||||
<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' %>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user