diff --git a/lib/WeBWorK/ContentGenerator/Problem.pm b/lib/WeBWorK/ContentGenerator/Problem.pm index 9fe1a03f02..ce5451a027 100644 --- a/lib/WeBWorK/ContentGenerator/Problem.pm +++ b/lib/WeBWorK/ContentGenerator/Problem.pm @@ -1469,7 +1469,7 @@ sub output_summary ($c) { @$output, $c->tag( 'div', - class => 'ResultsWithError d-inline-block mb-2', + class => 'alert alert-danger d-inline-block mb-2 p-1', $c->maketext('ANSWERS ONLY CHECKED -- ANSWERS NOT RECORDED') ), $c->attemptResults($pg) @@ -1479,7 +1479,7 @@ sub output_summary ($c) { @$output, $c->tag( 'div', - class => 'ResultsWithError d-inline-block mb-2', + class => 'alert alert-danger d-inline-block mb-2 p-1', $c->maketext('PREVIEW ONLY -- ANSWERS NOT RECORDED') ), ); @@ -1489,7 +1489,7 @@ sub output_summary ($c) { @$output, $c->tag( 'div', - class => 'ResultsWithError d-inline-block mb-2', + class => 'alert alert-danger d-inline-block mb-2 p-1', $c->maketext( 'ATTEMPT NOT ACCEPTED -- Please submit answers again (or request new version if neccessary).') ) diff --git a/templates/ContentGenerator/GatewayQuiz.html.ep b/templates/ContentGenerator/GatewayQuiz.html.ep index 35d51004b1..f211fcb8b4 100644 --- a/templates/ContentGenerator/GatewayQuiz.html.ep +++ b/templates/ContentGenerator/GatewayQuiz.html.ep @@ -115,17 +115,17 @@ % my $numProbPerPage = $c->{set}->problems_per_page; % % if ($c->{will}{recordAnswers}) { - % my $divClass = 'ResultsWithoutError'; + % my $divClass = 'alert-success'; % my $recdMsg = ''; % for (@{ $c->{scoreRecordedMessage} }) { % if ($_ ne 'recorded') { % $recdMsg = $_; - % $divClass = 'ResultsWithError'; + % $divClass = 'alert-danger'; % last; % } % } % -