Seznam anket: barve

This commit is contained in:
Nejc Kovač 2022-08-22 13:32:07 +02:00
parent ecee3790f4
commit 576c8f36dd
3 changed files with 26 additions and 23 deletions

View File

@ -21,42 +21,42 @@ var text_box3_p = document.getElementById("p_num_of_surveys3");
//green row
if (green_row_count == 1){
text_box1_p.innerHTML = ' <span class="num_of_surveys" id="num_of_surveys1"> '+green_row_count+' </span>anketa vsebuje GDPR občutljive podatke';
text_box1_p.innerHTML = ' <span class="num_of_surveys" id="num_of_surveys1"> '+green_row_count+' </span> anketa vsebuje GDPR občutljive podatke';
}
else if (green_row_count == 2){
text_box1_p.innerHTML = ' <span class="num_of_surveys" id="num_of_surveys1"> '+green_row_count+' </span>anketi vsebujeta GDPR občutljive podatke';
text_box1_p.innerHTML = ' <span class="num_of_surveys" id="num_of_surveys1"> '+green_row_count+' </span> anketi vsebujeta GDPR občutljive podatke';
}
else if (green_row_count == 3){
text_box1_p.innerHTML = ' <span class="num_of_surveys" id="num_of_surveys1"> '+green_row_count+' </span>ankete vsebujejo GDPR občutljive podatke';
text_box1_p.innerHTML = ' <span class="num_of_surveys" id="num_of_surveys1"> '+green_row_count+' </span> ankete vsebujejo GDPR občutljive podatke';
}
else {
text_box1_p.innerHTML = ' <span class="num_of_surveys" id="num_of_surveys1"> '+green_row_count+' </span>anket vsebuje GDPR občutljive podatke';
text_box1_p.innerHTML = ' <span class="num_of_surveys" id="num_of_surveys1"> '+green_row_count+' </span> anket vsebuje GDPR občutljive podatke';
}
//red row
if (red_row_count == 1){
text_box2_p.innerHTML = ' <span class="num_of_surveys" id="num_of_surveys1"> '+red_row_count+' </span>anketa lahko vsebuje GDPR občutljive podatke';
text_box2_p.innerHTML = ' <span class="num_of_surveys" id="num_of_surveys1"> '+red_row_count+' </span> anketa lahko vsebuje GDPR občutljive podatke';
}
else if (red_row_count == 2){
text_box2_p.innerHTML = ' <span class="num_of_surveys" id="num_of_surveys1"> '+red_row_count+' </span>anketi lahko vsebujeta GDPR občutljive podatke';
text_box2_p.innerHTML = ' <span class="num_of_surveys" id="num_of_surveys1"> '+red_row_count+' </span> anketi lahko vsebujeta GDPR občutljive podatke';
}
else if (red_row_count == 3){
text_box2_p.innerHTML = ' <span class="num_of_surveys" id="num_of_surveys1"> '+red_row_count+' </span>ankete lahko vsebujejo GDPR občutljive podatke';
text_box2_p.innerHTML = ' <span class="num_of_surveys" id="num_of_surveys1"> '+red_row_count+' </span> ankete lahko vsebujejo GDPR občutljive podatke';
}
else {
text_box2_p.innerHTML = ' <span class="num_of_surveys" id="num_of_surveys1"> '+red_row_count+' </span>anket lahko vsebuje GDPR občutljive podatke';
text_box2_p.innerHTML = ' <span class="num_of_surveys" id="num_of_surveys1"> '+red_row_count+' </span> anket lahko vsebuje GDPR občutljive podatke';
}
//grey row
if (grey_row_count == 1){
text_box3_p.innerHTML = ' <span class="num_of_surveys" id="num_of_surveys1"> '+grey_row_count+' </span>anketa ne vsebuje GDPR občutljivih podatkov';
text_box3_p.innerHTML = ' <span class="num_of_surveys" id="num_of_surveys1"> '+grey_row_count+' </span> anketa ne vsebuje GDPR občutljivih podatkov';
}
else if (grey_row_count == 2){
text_box3_p.innerHTML = ' <span class="num_of_surveys" id="num_of_surveys1"> '+grey_row_count+' </span>anketi ne vsebujeta GDPR občutljivih podatkov';
text_box3_p.innerHTML = ' <span class="num_of_surveys" id="num_of_surveys1"> '+grey_row_count+' </span> anketi ne vsebujeta GDPR občutljivih podatkov';
}
else if (grey_row_count == 3){
text_box3_p.innerHTML = ' <span class="num_of_surveys" id="num_of_surveys1"> '+grey_row_count+' </span>ankete ne vsebujejo GDPR občutljivih podatkov';
text_box3_p.innerHTML = ' <span class="num_of_surveys" id="num_of_surveys1"> '+grey_row_count+' </span> ankete ne vsebujejo GDPR občutljivih podatkov';
}
else {
text_box3_p.innerHTML = ' <span class="num_of_surveys" id="num_of_surveys1"> '+grey_row_count+' </span>anket ne vsebuje GDPR občutljivih podatkov';
text_box3_p.innerHTML = ' <span class="num_of_surveys" id="num_of_surveys1"> '+grey_row_count+' </span> anket ne vsebuje GDPR občutljivih podatkov';
}
// Seznam anket - togle checkbox prikaz anket

View File

@ -10048,7 +10048,6 @@ textarea:focus {
font-size: 32px;
color: #333;
font-weight: 400;
margin-right: 5px;
}
.box-container .checked {
border: #1E88E5 solid 1px;
@ -10062,16 +10061,20 @@ textarea:focus {
.box-container #num_box2 {
background-color: rgba(255, 0, 0, 0.05);
}
.box-container #num_box3 {
background-color: #FFFFFF;
}
table.gdpr_surveys td {
font-size: 14px;
}
table.gdpr_surveys tr.green_row td {
background-color: rgba(20, 255, 0, 0.05) !important;
table.gdpr_surveys tr.green_row {
background-color: #F3FFF2 !important;
}
table.gdpr_surveys tr.red_row td {
background-color: rgba(255, 0, 0, 0.05) !important;
table.gdpr_surveys tr.red_row {
background-color: #FFEFEF !important;
}
table.gdpr_surveys tr.grey_row {

View File

@ -57,7 +57,6 @@
color: #333;
font-weight: 400;
margin-right: 5px;
}
}
@ -78,7 +77,7 @@
background-color: rgba(255, 0, 0, 0.05);
}
#num_box3{
//
background-color: #FFFFFF;
}
}
@ -89,12 +88,13 @@ table.gdpr_surveys{
}
table.gdpr_surveys tr.green_row td {
background-color: rgba(20, 255, 0, 0.05) !important;
table.gdpr_surveys tr.green_row {
background-color: #F3FFF2 !important;
}
table.gdpr_surveys tr.red_row td{
table.gdpr_surveys tr.red_row {
// background-color: #FF0000 !important;
background-color: rgba(255, 0, 0, 0.05) !important;
background-color: #FFEFEF !important;
}
table.gdpr_surveys tr.grey_row {
background-color: #ffffff !important;