Skip to content

Commit 0d28ac7

Browse files
Alex-Jordandrgrice1
authored andcommitted
30th egg
1 parent 3d89cdf commit 0d28ac7

4 files changed

Lines changed: 26 additions & 1 deletion

File tree

htdocs/images/apizer.jpg

41.1 KB
Loading

htdocs/images/gage.jpg

8.53 KB
Loading

htdocs/js/Problem/problem.scss

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,20 @@
343343
&:not(:last-child) {
344344
border-bottom: 1px solid black;
345345
}
346+
&.arnie {
347+
aspect-ratio: 177 / 254;
348+
background-repeat: no-repeat;
349+
background-size: cover;
350+
background-image: url('/pg_files/images/apizer.jpg');
351+
color: white;
352+
}
353+
&.mike {
354+
aspect-ratio: 237 / 237;
355+
background-repeat: no-repeat;
356+
background-size: cover;
357+
background-image: url('/pg_files/images/gage.jpg');
358+
color: white;
359+
}
346360
&:last-child {
347361
border-bottom-left-radius: var(--bs-card-inner-border-radius);
348362
border-bottom-right-radius: var(--bs-card-inner-border-radius);

macros/PG.pl

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1274,8 +1274,19 @@ sub ENDDOCUMENT {
12741274
(
12751275
$rh_envir->{showMessages} && $ansHash->{ans_message} =~ /\S/
12761276
? $feedbackLine->(
1277-
'', $ansHash->{ans_message} =~ s/\n/<br>/gr,
1277+
'',
1278+
$ansHash->{ans_message} =~ s/\n/<br>/gr,
12781279
'feedback-message'
1280+
. (
1281+
($ansHash->{original_student_ans} eq 'Arnie Pizer')
1282+
? ' arnie'
1283+
: ''
1284+
)
1285+
. (
1286+
($ansHash->{original_student_ans} eq 'Mike Gage')
1287+
? ' mike'
1288+
: ''
1289+
)
12791290
)
12801291
: ''
12811292
)

0 commit comments

Comments
 (0)