Updated style
This commit is contained in:
parent
fd377ba8c0
commit
e253939fb0
4 changed files with 105 additions and 67 deletions
|
@ -160,7 +160,7 @@ function setUpStrings(){
|
|||
let report = quiz.reports[choices[x][y]];
|
||||
|
||||
let reportEl = document.createElement('div');
|
||||
reportEl.className = 'section-report';
|
||||
reportEl.className = 'section-report section-report-' + report.type;
|
||||
|
||||
let title = document.createElement('p');
|
||||
title.className = 'report-title';
|
||||
|
@ -194,6 +194,7 @@ function setUpStrings(){
|
|||
if (report.advisory != null && report.advisory != undefined){
|
||||
let p = document.createElement('p');
|
||||
p.innerText = report.advisory;
|
||||
p.className = 'advisory';
|
||||
reportEl.appendChild(p);
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue