[Redizajn 1KA] - Testiranje --> Komentarji - "all_questions"

This commit is contained in:
tejagerjovic 2022-04-29 04:32:06 +02:00
parent 8a229cec0a
commit 3c13b9de78
3 changed files with 38 additions and 9 deletions

View File

@ -7515,11 +7515,14 @@ class SurveyAdminSettings {
$show_survey_comment = 1;
}
/*// vsa vprasanja
echo '<label for="all_questions" style="margin-right:40px"><input type="checkbox" id="all_questions" onchange="window.location = \'index.php?anketa='.$this->anketa.'&a=komentarji'.(isset($_GET['only_unresolved'])?'&only_unresolved='.$_GET['only_unresolved']:'').'&all_questions=\'+$(\'#all_questions:checked\').val()" value="1" '.($_GET['all_questions']==1?'checked':'').' />';
echo $lang['srv_all_questions'];
echo '</label>';*/
// vsa vprasanja
echo '<div class="comment_checkboxes_wrap">';
echo '<div class="setting_holder">';
echo '<input type="checkbox" id="all_questions" onchange="window.location = \'index.php?anketa='.$this->anketa.'&a=komentarji'.(isset($_GET['only_unresolved'])?'&only_unresolved='.$_GET['only_unresolved']:'').'&all_questions=\'+$(\'#all_questions:checked\').val()" value="1" '.($_GET['all_questions']==1?'checked':'').' />';
echo '<label for="all_questions">'.$lang['srv_all_questions'].'</label>';
echo '</div>';
# samo nerešeni komentarji
if ($commentmarks == 0) {
echo '<div class="setting_holder">';
@ -7537,6 +7540,7 @@ class SurveyAdminSettings {
<option value="5"'.($_GET['only_unresolved']==5?' selected="selected"':'').'>'.$lang['srv_not_relevant'].'</option>
</select>';
}
echo '</div>';
// echo ' '.Help::display('srv_comments_only_unresolved').'</span>';
@ -7964,8 +7968,11 @@ class SurveyAdminSettings {
}
echo '</div>';
}
echo '</div>';
}
echo '</div>';
echo '</div>'; #div.question_comment_holder
}
}

View File

@ -21841,11 +21841,21 @@ div.page_komentarji_anketa div.testni_vnos .monitor:after {
font-family: Source Sans Pro, sans-serif;
font-size: 8px;
}
div.page_komentarji div.setting_holder,
div.page_komentarji_anketa div.setting_holder {
div.page_komentarji div.comment_checkboxes_wrap,
div.page_komentarji_anketa div.comment_checkboxes_wrap {
display: flex;
flex-direction: row;
gap: 12px;
}
div.page_komentarji div.comment_checkboxes_wrap div.setting_holder,
div.page_komentarji_anketa div.comment_checkboxes_wrap div.setting_holder {
display: flex;
flex-direction: column;
}
div.page_komentarji div.comment_checkboxes_wrap div.setting_holder label,
div.page_komentarji_anketa div.comment_checkboxes_wrap div.setting_holder label {
margin: 0;
}
div.page_komentarji div.komentarji_anketa_holder,
div.page_komentarji_anketa div.komentarji_anketa_holder {
margin-top: 32px;

View File

@ -1,6 +1,8 @@
div.page_komentarji,
div.page_komentarji_anketa {
//Splošni komentarji
div#comment_question_note {
margin-bottom: 16px;
font-size: 20px;
@ -33,9 +35,19 @@ div.page_komentarji_anketa {
}
}
div.setting_holder {
div.comment_checkboxes_wrap {
display: flex;
flex-direction: column;
flex-direction: row;
gap: 12px;
div.setting_holder {
display: flex;
flex-direction: column;
label {
margin: 0;
}
}
}
div.komentarji_anketa_holder {