updated missing page titles

This commit is contained in:
Mark Moser 2016-11-22 16:59:54 -06:00
parent d913e816b5
commit 4d8cf26c54
21 changed files with 31 additions and 1 deletions

View File

@ -1,5 +1,6 @@
<% <%
content_for :main_class, "intro_tpl" content_for :main_class, "intro_tpl"
content_for :title, "Skills Assessment Admin"
%> %>
<h1>Admin Login</h1> <h1>Admin Login</h1>

View File

@ -1,5 +1,6 @@
<% <%
content_for :main_class, "intro_tpl" content_for :main_class, "intro_tpl"
content_for :title, "Skills Assessment Admin"
%> %>
<h1>Password Reset</h1> <h1>Password Reset</h1>

View File

@ -1,5 +1,6 @@
<% <%
content_for :main_class, "intro_tpl" content_for :main_class, "intro_tpl"
content_for :title, "Skills Assessment Admin"
%> %>
<h1>Password Reset</h1> <h1>Password Reset</h1>

View File

@ -1,3 +1,7 @@
<%
content_for :title, "Edit Candidate - Skills Assessment Admin"
%>
<main class="intro_tpl"> <main class="intro_tpl">
<h1>Edit: <%= @candidate.name %></h1> <h1>Edit: <%= @candidate.name %></h1>
<p><strong>Test ID: </strong><%= @candidate.test_hash %></p> <p><strong>Test ID: </strong><%= @candidate.test_hash %></p>

View File

@ -1,5 +1,6 @@
<% <%
content_for :section_title, "Candidates" content_for :section_title, "Candidates"
content_for :title, "Candidates - Skills Assessment Admin"
%> %>
<main class="summary_tpl"> <main class="summary_tpl">
<%= link_to(admin_new_candidate_path, { class: 'secondary-btn' }) do %> <%= link_to(admin_new_candidate_path, { class: 'secondary-btn' }) do %>

View File

@ -1,3 +1,7 @@
<%
content_for :title, "New Candidate - Skills Assessment Admin"
%>
<main class="intro_tpl"> <main class="intro_tpl">
<h1>New Candidate</h1> <h1>New Candidate</h1>

View File

@ -1,5 +1,6 @@
<% <%
content_for :section_title, "Edit: #{@user.name}" content_for :section_title, "Edit: #{@user.name}"
content_for :title, "Profile - Skills Assessment Admin"
%> %>
<%= render partial: 'shared/form_model_errors', locals: {obj: @user} %> <%= render partial: 'shared/form_model_errors', locals: {obj: @user} %>

View File

@ -1,5 +1,6 @@
<% <%
content_for :section_title, "Profile" content_for :section_title, "Profile"
content_for :title, "Profile - Skills Assessment Admin"
%> %>
<p>Name: <%= current_user.name %></p> <p>Name: <%= current_user.name %></p>

View File

@ -1,5 +1,6 @@
<% <%
content_for :section_title, "Questions" content_for :section_title, "Questions"
content_for :title, "Edit Question - Skills Assessment Admin"
%> %>
<h1><%= @question.quiz.name %></h1> <h1><%= @question.quiz.name %></h1>

View File

@ -1,5 +1,6 @@
<% <%
content_for :section_title, "Questions" content_for :section_title, "Questions"
content_for :title, "Questions - Skills Assessment Admin"
%> %>
<% quizzes = @questions.group_by{ |q| q.quiz.name } %> <% quizzes = @questions.group_by{ |q| q.quiz.name } %>

View File

@ -1,5 +1,6 @@
<% <%
content_for :section_title, "New Question" content_for :section_title, "New Question"
content_for :title, "New Question - Skills Assessment Admin"
%> %>
<%= render partial: 'form', locals: {question: @question, action: admin_create_question_path } %> <%= render partial: 'form', locals: {question: @question, action: admin_create_question_path } %>

View File

@ -1,5 +1,6 @@
<% <%
content_for :section_title, "Question for #{@question.quiz.name}" content_for :section_title, "Question for #{@question.quiz.name}"
content_for :title, "Question - Skills Assessment Admin"
%> %>
<table cellspacing="0" cellpadding="0"> <table cellspacing="0" cellpadding="0">

View File

@ -1,5 +1,6 @@
<% <%
content_for :section_title, "Quizzes" content_for :section_title, "Quizzes"
content_for :title, "Quizzes - Skills Assessment Admin"
%> %>
<%= render partial: 'admin/quiz/table_list', locals: { quizzes: @quizzes } %> <%= render partial: 'admin/quiz/table_list', locals: { quizzes: @quizzes } %>

View File

@ -1,5 +1,6 @@
<% <%
content_for :section_title, "New Quiz" content_for :section_title, "New Quiz"
content_for :title, "New Quiz - Skills Assessment Admin"
%> %>
<%= render partial: 'form', locals: { quiz: @quiz, action: admin_create_quiz_path } %> <%= render partial: 'form', locals: { quiz: @quiz, action: admin_create_quiz_path } %>

View File

@ -1,5 +1,6 @@
<% <%
content_for :section_title, "#{@quiz.name}" content_for :section_title, "#{@quiz.name}"
content_for :title, "Quiz - Skills Assessment Admin"
%> %>
<p><%= @quiz.name %></p> <p><%= @quiz.name %></p>

View File

@ -1,5 +1,6 @@
<% <%
content_for :section_title, "Completed Tests" content_for :section_title, "Completed Tests"
content_for :title, "Quiz Results - Skills Assessment Admin"
%> %>
<main class="summary_tpl"> <main class="summary_tpl">
<table cellspacing="0" cellpadding="0"> <table cellspacing="0" cellpadding="0">

View File

@ -1,3 +1,7 @@
<%
content_for :title, "Quiz Review - Skills Assessment Admin"
%>
<main class="summary_tpl"> <main class="summary_tpl">
<h2 class="prft-heading">Quiz Review</h2> <h2 class="prft-heading">Quiz Review</h2>

View File

@ -1,3 +1,5 @@
<% content_for :title, "Skills Assessment" %>
<main class="intro_tpl"> <main class="intro_tpl">
<h1 class="prft-heading">Oops!</h1> <h1 class="prft-heading">Oops!</h1>
<p> <p>

View File

@ -1,3 +1,4 @@
<% content_for :title, "Saved! - Skills Assessment" %>
<main class="styleguide_tpl"> <main class="styleguide_tpl">
<p> <p>
Your test results have been saved. You can visit again later with your Test ID to complete Your test results have been saved. You can visit again later with your Test ID to complete

View File

@ -1,3 +1,4 @@
<% content_for :title, "Thank You - Skills Assessment" %>
<main class="styleguide_tpl"> <main class="styleguide_tpl">
<h1>Thank you!</h1> <h1>Thank you!</h1>
<p> <p>

View File

@ -1,5 +1,5 @@
<% <%
content_for :title, "Skills Assessment" content_for :title, "Summary - Skills Assessment"
content_for :footer_title, "Skills Assessment" content_for :footer_title, "Skills Assessment"
content_for :progress, @status.progress.to_s content_for :progress, @status.progress.to_s
content_for_javascript_once 'summary-edit' do content_for_javascript_once 'summary-edit' do