[Redizajn 1KA] - Testiranje --> Komentarji - v1 (splošni komentarji)
This commit is contained in:
parent
2f129fdfbb
commit
4a9223eeab
@ -2324,8 +2324,8 @@ class BranchingAjax {
|
||||
|
||||
$rowanketa = SurveyInfo::getInstance()->getSurveyRow();
|
||||
|
||||
echo '<textarea name="vsebina" id="vsebina_'.$spremenljivka.'_'.$view.'" style="width:100%; height:50px; margin-bottom:10px; border:1px red solid;"></textarea><br />';
|
||||
echo '<input type="submit" value="'.$lang['send'].'" onclick="add_comment(\''.$spremenljivka.'\', \''.$type.'\', \''.$view.'\', $(\'#vsebina_'.$spremenljivka.'_'.$view.'\').val()); return false;" />';
|
||||
echo '<textarea name="vsebina" placeholder="'.$lang['srv_comments_add_comment'].'" id="vsebina_'.$spremenljivka.'_'.$view.'"></textarea>';
|
||||
echo '<button class="medium blue" onclick="add_comment(\''.$spremenljivka.'\', \''.$type.'\', \''.$view.'\', $(\'#vsebina_'.$spremenljivka.'_'.$view.'\').val()); return false;">'.$lang['srv_comments_new'].'</button>';
|
||||
|
||||
if (($type == 0 || $view==3) && ($admin_type == 0 || $global_user_id==$rowanketa['insert_uid'])) {
|
||||
|
||||
|
@ -7050,7 +7050,7 @@ class SurveyAdminSettings {
|
||||
$rowa = SurveyInfo::getInstance()->getSurveyRow();
|
||||
|
||||
echo '<div id="comment_question_note">';
|
||||
|
||||
|
||||
echo $lang['srv_komentarji_imate'].' ';
|
||||
if(($comment_count['survey_resp']['unresolved']+$comment_count['survey_admin']['unresolved']) > 0) echo '<span class="red">';
|
||||
echo $this->string_format((int)($comment_count['survey_resp']['unresolved']+$comment_count['survey_admin']['unresolved']), 'srv_cnt_komentarji');
|
||||
@ -7059,11 +7059,10 @@ class SurveyAdminSettings {
|
||||
echo ' '.$lang['srv_komentarji_odskupno'].' ';
|
||||
echo $this->string_format((int)($comment_count['survey_resp']['all']+$comment_count['survey_admin']['all']), 'srv_cnt_komentarji_survey_od');
|
||||
echo '</div>';
|
||||
|
||||
|
||||
|
||||
/* - ZAČASNO ZAKOMENTIRAN TOOLTIP (prekriva vsebino za redizajn) @TG
|
||||
echo ' <span class="tooltip clr spaceLeft">';
|
||||
echo '<a href="'.SurveyInfo::getSurveyLink().'&preview=on&testdata=on'.$preview_options.'" target="_blank" style="font-size:15px"><span class="faicon edit_square"></span> '.$lang['srv_survey_testdata'].'</a>';
|
||||
echo ' ('.SurveyInfo::getSurveyLink().'&preview=on&testdata=on'.$preview_options.') ';
|
||||
echo '<span class="expanded-tooltip bottom light" style="left: -20px;">';
|
||||
echo '<b>' . $lang['srv_survey_testdata2'] . ':</b> '.$lang['srv_testdata_text'].'';
|
||||
@ -7071,6 +7070,10 @@ class SurveyAdminSettings {
|
||||
echo '<span class="arrow"></span>';
|
||||
echo '</span>'; // expanded-tooltip bottom
|
||||
echo '</span>'; // tooltip */
|
||||
|
||||
echo '<div class="testni_vnos">';
|
||||
echo '<a href="'.SurveyInfo::getSurveyLink().'&preview=on&testdata=on'.$preview_options.'" target="_blank"><span class="faicon monitor link-right"></span> '.$lang['srv_survey_testdata'].'</a>';
|
||||
echo '</div>';
|
||||
|
||||
|
||||
# VV: privzeto naj bodo samo nerešeni komentarji
|
||||
@ -7078,14 +7081,13 @@ class SurveyAdminSettings {
|
||||
$_GET['only_unresolved'] = 1;
|
||||
}
|
||||
|
||||
|
||||
echo '<span style="float:left; width:auto; margin-top:20px; display:inline-block;">';
|
||||
|
||||
# samo nerešeni komentarji
|
||||
if ($commentmarks == 0) {
|
||||
echo '<label for="only_unresolved"><input type="checkbox" id="only_unresolved" onchange="window.location = \'index.php?anketa='.$this->anketa.'&a=komentarji_anketa&only_unresolved=\'+$(\'#only_unresolved:checked\').val()" value="1" '.($_GET['only_unresolved']==1?'checked':'').' />';
|
||||
echo $lang['srv_comments_unresolved'];
|
||||
echo '</label>';
|
||||
echo '<div class="setting_holder">';
|
||||
echo '<input type="checkbox" id="only_unresolved" onchange="window.location = \'index.php?anketa='.$this->anketa.'&a=komentarji_anketa&only_unresolved=\'+$(\'#only_unresolved:checked\').val()" value="1" '.($_GET['only_unresolved']==1?'checked':'').' />';
|
||||
echo '<label for="only_unresolved">'.$lang['srv_comments_unresolved'].'</label>';
|
||||
echo '</div>';
|
||||
|
||||
} else {
|
||||
echo $lang['move_show'].': <select id="only_unresolved" name="" onchange="window.location = \'index.php?anketa='.$this->anketa.'&a=komentarji_anketa&only_unresolved=\'+$(\'#only_unresolved\').val(); " >
|
||||
<option value="0"'.($_GET['only_unresolved']==0?' selected="selected"':'').'>'.$lang['all2'].'</option>
|
||||
@ -7096,7 +7098,7 @@ class SurveyAdminSettings {
|
||||
<option value="5"'.($_GET['only_unresolved']==5?' selected="selected"':'').'>'.$lang['srv_not_relevant'].'</option>
|
||||
</select>';
|
||||
}
|
||||
echo ' '.Help::display('srv_comments_only_unresolved').'</span>';
|
||||
//echo ' '.Help::display('srv_comments_only_unresolved');
|
||||
|
||||
$only_unresolved = " ";
|
||||
switch($_GET['only_unresolved']){
|
||||
@ -7118,32 +7120,47 @@ class SurveyAdminSettings {
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
echo '<div class="komentarji_anketa_holder">';
|
||||
|
||||
// Splosni komentarji urednikov - levo
|
||||
echo '<div class="komentarji_anketa komentarji_ured">';
|
||||
echo '<span class="komentarji_title">'.$lang['srv_comments_anketa_ured'].' ('.$comment_count['survey_admin']['unresolved'].'/'.$comment_count['survey_admin']['all'].')</span>';
|
||||
echo '<fieldset><legend>'.$lang['srv_comments_anketa_ured'].' ('.$comment_count['survey_admin']['unresolved'].'/'.$comment_count['survey_admin']['all'].')</legend>';
|
||||
|
||||
echo '<div style="padding: 20px 20px">';
|
||||
|
||||
$sql = sisplet_query("SELECT * FROM post WHERE tid='$rowa[thread]' ".$only_unresolved." ");
|
||||
$rows = (mysqli_num_rows($sql) == 0) ? 0 : mysqli_num_rows($sql) - 1;
|
||||
if ($rows > 0){
|
||||
echo '<img src="img_0/'.($sortpostorder==1?'up':'down').'.gif" style="float:right" title="'.($sortpostorder==1?$lang['forum_desc']:$lang['forum_asc']).'" />';
|
||||
echo '<br />';
|
||||
|
||||
$i=0;
|
||||
while ($row = mysqli_fetch_array($sql)) {
|
||||
|
||||
if (($i != 0 && $sortpostorder==0) || ($i < $rows && $sortpostorder==1)) {
|
||||
if ($row['ocena'] == 0) echo '<span style="color:black">';
|
||||
/*if ($row['ocena'] == 0) echo '<span style="color:black">';
|
||||
elseif ($row['ocena'] == 1) echo '<span style="color:darkgreen">';
|
||||
elseif ($row['ocena'] == 2) echo '<span style="color:#999999">';
|
||||
elseif ($row['ocena'] == 3) echo '<span style="color:#999999">';
|
||||
else echo '<span>';
|
||||
else echo '<span>';*/
|
||||
|
||||
echo '<b>'.$f->user($row['uid']).'</b> ('.$f->datetime1($row['time']).'):';
|
||||
echo '<div class="comment_box">';
|
||||
|
||||
echo '<div class="by">';
|
||||
echo $lang['srv_comments_user'].'<span class="user">'.$f->user($row['uid']).'</span>'.$lang['srv_comments_user2'];
|
||||
echo '</div>';
|
||||
|
||||
$datetime = strtotime($row['time']);
|
||||
$datetime = date("d.m.Y G:i", $datetime);
|
||||
|
||||
echo '<div class="date">';
|
||||
echo $datetime;
|
||||
echo '</div>';
|
||||
|
||||
echo '<div class="content">';
|
||||
echo $row['vsebina'];
|
||||
echo '</div>';
|
||||
|
||||
|
||||
echo '<div style="float:right">';
|
||||
echo '<div>';
|
||||
if ($commentmarks == 1) {
|
||||
echo ' <select name="ocena'.$row['id'].'" onchange="$.post(\'ajax.php?a=comment_ocena\', {type: \'question_comment\', ocena: this.value, id: \''.$row['id'].'\', anketa: \''.$rowa['id'].'\'}, function () {window.location.reload();});">
|
||||
<option value="0"'.($row['ocena']==0?' selected="selected"':'').'>'.$lang['srv_undecided'].'</option>
|
||||
@ -7152,18 +7169,24 @@ class SurveyAdminSettings {
|
||||
<option value="3"'.($row['ocena']==3?' selected="selected"':'').'>'.$lang['srv_not_relevant'].'</option>
|
||||
</select>';
|
||||
} else {
|
||||
// Checkbox za "Koncano"
|
||||
/*// Checkbox za "Koncano"
|
||||
echo '<input type="checkbox" name="ocena_'.$row['id'].'" id="ocena_'.$row['id'].'" onchange="$.post(\'ajax.php?a=comment_ocena\', {type: \'question_comment\', ocena: (this.checked?\'2\':\'0\'), id: \''.$row['id'].'\', anketa: \''.$rowa['id'].'\'}, function () {window.location.reload();});" value="2" '.($row['ocena'] >= 2?' checked':'').' />';
|
||||
echo '<label for="ocena_'.$row['id'].'">'.$lang['srv_done'].'</label>';
|
||||
echo '<label for="ocena_'.$row['id'].'">'.$lang['srv_done'].'</label>'; */
|
||||
|
||||
if ($row['ocena']==0) {
|
||||
echo '<p class="archive_comment" onclick="$.post(\'ajax.php?a=comment_ocena\', {type: \'question_comment\', ocena: (\'2\'), id: \''.$row['id'].'\', anketa: \''.$rowa['id'].'\'}, function () {window.location.reload();});"> <span class="faicon arhiv link-right"></span>';
|
||||
echo $lang['srv_comments_archive'].'</p>';
|
||||
}
|
||||
else {
|
||||
echo '<p class="archived_comment"><span class="faicon arhiv link-right"></span>'.$lang['srv_comments_archived'].'</p>';
|
||||
}
|
||||
}
|
||||
echo '</div>';
|
||||
|
||||
echo '<br/>'.$row['vsebina'].'<hr>';
|
||||
|
||||
echo '</span>';
|
||||
echo '</div>';
|
||||
}
|
||||
$i++;
|
||||
}
|
||||
}
|
||||
}
|
||||
// Nimamo komentarja
|
||||
else{
|
||||
@ -7175,42 +7198,36 @@ class SurveyAdminSettings {
|
||||
echo $lang['srv_no_comments'];
|
||||
}
|
||||
}
|
||||
|
||||
echo '</div>';
|
||||
|
||||
|
||||
// Dodajanje novega komentarja
|
||||
echo '<div id="survey_comment_0_4" style="display:none"></div>';
|
||||
echo '<p><a href="#" onclick="$(\'#comment_field_admin\').toggle(); return false;">'.$lang['srv_comments_add_comment'].'</a></p>';
|
||||
echo '<p id="comment_field_admin" style="display:none">';
|
||||
echo '<div class="new_comment" id="survey_comment_0_4">';
|
||||
$ba = new BranchingAjax($this->anketa);
|
||||
$ba->add_comment_field(0, '1', '4', false);
|
||||
echo '</p>';
|
||||
|
||||
echo '</div>';
|
||||
|
||||
echo '</fieldset>';
|
||||
echo '</div>';
|
||||
|
||||
|
||||
// Splosni komentarji respondentov - desno
|
||||
echo '<div class="komentarji_anketa komentarji_resp">';
|
||||
echo '<span class="komentarji_title">'.$lang['srv_comments_anketa_resp'].' ('.$comment_count['survey_resp']['unresolved'].'/'.$comment_count['survey_resp']['all'].')</span>';
|
||||
|
||||
echo '<div style="padding: 20px 20px">';
|
||||
echo '<fieldset><legend>'.$lang['srv_comments_anketa_resp'].' ('.$comment_count['survey_resp']['unresolved'].'/'.$comment_count['survey_resp']['all'].')</legend>';
|
||||
|
||||
$sql = sisplet_query("SELECT * FROM srv_comment_resp WHERE ank_id='$this->anketa' ".$only_unresolved." ORDER BY comment_time $orderby, id $orderby");
|
||||
if (mysqli_num_rows($sql) > 0) {
|
||||
|
||||
echo '<img src="img_0/'.($sortpostorder==1?'up':'down').'.gif" style="float:right" title="'.($sortpostorder==1?$lang['forum_desc']:$lang['forum_asc']).'" />';
|
||||
echo '<br />';
|
||||
|
||||
while ($row = mysqli_fetch_array($sql)) {
|
||||
|
||||
echo '<div class="comment_box">';
|
||||
|
||||
if ($row['ocena'] == 0) echo '<span style="color:black">';
|
||||
/*if ($row['ocena'] == 0) echo '<span style="color:black">';
|
||||
elseif ($row['ocena'] == 1) echo '<span style="color:darkgreen">';
|
||||
elseif ($row['ocena'] == 2) echo '<span style="color:#999999">';
|
||||
elseif ($row['ocena'] == 3) echo '<span style="color:#999999">';
|
||||
else echo '<span>';
|
||||
|
||||
else echo '<span>';*/
|
||||
|
||||
$datetime = strtotime($row['comment_time']);
|
||||
$datetime = date("d.m G:i", $datetime);
|
||||
$datetime = date("d.m.Y G:i", $datetime);
|
||||
|
||||
if($row['usr_id'] == 0){
|
||||
$user = $lang['guest'];
|
||||
@ -7221,10 +7238,21 @@ class SurveyAdminSettings {
|
||||
|
||||
$user = $rowU['name'];
|
||||
}
|
||||
|
||||
echo '<div class="by">';
|
||||
echo $lang['srv_comments_user'].'<span class="user">'.$user.'</span>'.$lang['srv_comments_user2'];
|
||||
echo '</div>';
|
||||
|
||||
echo '<div class="date">';
|
||||
echo $datetime;
|
||||
echo '</div>';
|
||||
|
||||
echo '<div class="content">';
|
||||
echo $row['comment'];
|
||||
echo '</div>';
|
||||
|
||||
echo '<b>'.$user.'</b> ('.$datetime.'):';
|
||||
|
||||
echo '<div style="float:right">';
|
||||
echo '<div>';
|
||||
if ($commentmarks == 1) {
|
||||
echo ' <select name="ocena'.$row['id'].'" onchange="$.post(\'ajax.php?a=comment_ocena\', {type: \'respondent_survey_comment\', ocena: this.value, id: \''.$row['id'].'\', anketa: \''.$rowa['id'].'\'}, function () {window.location.reload();});">
|
||||
<option value="0"'.($row['ocena']==0?' selected="selected"':'').'>'.$lang['srv_undecided'].'</option>
|
||||
@ -7233,15 +7261,22 @@ class SurveyAdminSettings {
|
||||
<option value="3"'.($row['ocena']==3?' selected="selected"':'').'>'.$lang['srv_not_relevant'].'</option>
|
||||
</select>';
|
||||
} else {
|
||||
// Checkbox za "Koncano"
|
||||
/*// Checkbox za "Koncano"
|
||||
echo '<input type="checkbox" name="ocena_'.$row['id'].'" id="ocena_'.$row['id'].'" onchange="$.post(\'ajax.php?a=comment_ocena\', {type: \'respondent_survey_comment\', ocena: (this.checked?\'2\':\'0\'), id: \''.$row['id'].'\', anketa: \''.$rowa['id'].'\'}, function () {window.location.reload();});" value="2" '.($row['ocena'] >= 2?' checked':'').' />';
|
||||
echo '<label for="ocena_'.$row['id'].'">'.$lang['srv_done'].'</label>';
|
||||
echo '<label for="ocena_'.$row['id'].'">'.$lang['srv_done'].'</label>'; */
|
||||
|
||||
if ($row['ocena']==0) {
|
||||
echo '<p class="archive_comment" onclick="$.post(\'ajax.php?a=comment_ocena\', {type: \'respondent_survey_comment\', ocena: (\'2\'), id: \''.$row['id'].'\', anketa: \''.$rowa['id'].'\'}, function () {window.location.reload();});"> <span class="faicon arhiv link-right"></span>';
|
||||
echo $lang['srv_comments_archive'].'</p>';
|
||||
}
|
||||
else {
|
||||
echo '<p class="archived_comment"><span class="faicon arhiv link-right"></span>'.$lang['srv_comments_archived'].'</p>';
|
||||
}
|
||||
}
|
||||
echo '</div>';
|
||||
|
||||
echo '<br/>'.$row['comment'].'<hr>';
|
||||
|
||||
echo '</span>';
|
||||
echo '</div>';
|
||||
|
||||
}
|
||||
}
|
||||
// Nimamo komentarja
|
||||
@ -7254,21 +7289,19 @@ class SurveyAdminSettings {
|
||||
echo $lang['srv_no_comments'];
|
||||
}
|
||||
}
|
||||
|
||||
echo '</div>';
|
||||
|
||||
// Dodajanje novega komentarja
|
||||
echo '<div id="survey_comment_0_5" style="display:none"></div>';
|
||||
echo '<p><a href="#" onclick="$(\'#comment_field_resp\').toggle(); return false;">'.$lang['srv_comments_add_comment'].'</a></p>';
|
||||
echo '<p id="comment_field_resp" style="display:none">';
|
||||
echo '<div class="new_comment" id="survey_comment_0_5">';
|
||||
$ba = new BranchingAjax($this->anketa);
|
||||
$ba->add_comment_field(0, '4', '5', false);
|
||||
echo '</p>';
|
||||
|
||||
$ba->add_comment_field(0, '1', '5', false);
|
||||
echo '</div>';
|
||||
|
||||
|
||||
|
||||
echo '</div>';
|
||||
|
||||
echo '</fieldset>';
|
||||
echo '</div>';
|
||||
|
||||
echo '</div>'; // div.komentarji_anketa_holder
|
||||
|
||||
}
|
||||
|
||||
function testiranje_komentarji_komentarji_na_anketo ($return = true) {
|
||||
@ -7544,8 +7577,6 @@ class SurveyAdminSettings {
|
||||
|
||||
|
||||
/* - ZAČASNO ZAKOMENTIRAN TOOLTIP (prekriva vsebino za redizajn) @TGecho ' <span class="tooltip clr spaceLeft">';
|
||||
echo '<a href="'.SurveyInfo::getSurveyLink().'&preview=on&testdata=on'.$preview_options.'" target="_blank" style="font-size:15px"><span class="faicon edit_square"></span> '.$lang['srv_survey_testdata'].'</a>';
|
||||
echo ' ('.SurveyInfo::getSurveyLink().'&preview=on&testdata=on'.$preview_options.') ';
|
||||
echo '<span class="expanded-tooltip bottom light" style="left: -20px;">';
|
||||
echo '<b>' . $lang['srv_survey_testdata2'] . ':</b> '.$lang['srv_testdata_text'].'';
|
||||
echo '<p>'.$lang['srv_preview_testdata_longtext'].'</p>';
|
||||
@ -7553,6 +7584,10 @@ class SurveyAdminSettings {
|
||||
echo '</span>'; // expanded-tooltip bottom
|
||||
echo '</span>'; // tooltip */
|
||||
|
||||
echo '<div class="testni_vnos">';
|
||||
echo '<a href="'.SurveyInfo::getSurveyLink().'&preview=on&testdata=on'.$preview_options.'" target="_blank"><span class="faicon link-right fa-circle"></span>'.$lang['srv_survey_testdata'].'</a>';
|
||||
echo '</div>';
|
||||
|
||||
|
||||
# VV: privzeto naj bodo samo nerešeni komentarji
|
||||
if (!isset($_GET['only_unresolved'])) {
|
||||
|
@ -4513,6 +4513,11 @@ $lang = array (
|
||||
"srv_comments_anketa_ured" => "Splošni komentarji urednikov",
|
||||
"srv_comments_anketa_resp" => "Splošni komentarji respondentov",
|
||||
"srv_comments_link" => "Pregled komentarjev",
|
||||
"srv_comments_user" => "Uporabnik ",
|
||||
"srv_comments_user2" => " je komentiral:",
|
||||
"srv_comments_archive" => "Arhiviraj komentar",
|
||||
"srv_comments_archived" => "Komentar je arhiviran",
|
||||
"srv_comments_new" => "Komentiraj",
|
||||
"srv_zanka_profile_all" => "Brez",
|
||||
"srv_zanka_profile_session" => "Začasno",
|
||||
"srv_zanka_note" => "Skupina za: ",
|
||||
|
@ -4488,6 +4488,11 @@ $lang = array (
|
||||
"srv_comments_napredno" => "You can edit advanced settings below",
|
||||
"srv_comments_anketa_ured" => "Administrative comments to the survey",
|
||||
"srv_comments_anketa_resp" => "Respondent comments to the survey",
|
||||
"srv_comments_user" => "User ",
|
||||
"srv_comments_user2" => " commented:",
|
||||
"srv_comments_archive" => "Archive comment",
|
||||
"srv_comments_archived" => "Comment has already been archived",
|
||||
"srv_comments_new" => "Comment",
|
||||
"srv_zanka_profile_all" => "Without",
|
||||
"srv_zanka_profile_session" => "Temporary",
|
||||
"srv_zanka_note" => "Loop for: ",
|
||||
|
@ -6627,7 +6627,6 @@ span.faicon.xml.black::before {
|
||||
}
|
||||
|
||||
span.faicon.arhiv::before {
|
||||
font-size: 16px;
|
||||
content: "\f187";
|
||||
}
|
||||
|
||||
@ -10498,6 +10497,110 @@ div#srv_diagnostic div.button_holder button {
|
||||
margin: 0 0 0 8px;
|
||||
}
|
||||
|
||||
div.page_komentarji div#comment_question_note,
|
||||
div.page_komentarji_anketa div#comment_question_note {
|
||||
margin-bottom: 16px;
|
||||
font-size: 20px;
|
||||
}
|
||||
div.page_komentarji div#comment_question_note span,
|
||||
div.page_komentarji_anketa div#comment_question_note span {
|
||||
font-size: inherit;
|
||||
}
|
||||
div.page_komentarji div.testni_vnos,
|
||||
div.page_komentarji_anketa div.testni_vnos {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
div.page_komentarji div.testni_vnos a,
|
||||
div.page_komentarji_anketa div.testni_vnos a {
|
||||
text-decoration: none;
|
||||
}
|
||||
div.page_komentarji div.testni_vnos .monitor,
|
||||
div.page_komentarji_anketa div.testni_vnos .monitor {
|
||||
position: relative;
|
||||
}
|
||||
div.page_komentarji div.testni_vnos .monitor:after,
|
||||
div.page_komentarji_anketa div.testni_vnos .monitor:after {
|
||||
content: "T";
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
left: 37%;
|
||||
font-family: Source Sans Pro, sans-serif;
|
||||
font-size: 8px;
|
||||
}
|
||||
div.page_komentarji div.setting_holder,
|
||||
div.page_komentarji_anketa div.setting_holder {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
div.page_komentarji div.komentarji_anketa_holder,
|
||||
div.page_komentarji_anketa div.komentarji_anketa_holder {
|
||||
margin-top: 32px;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
gap: 32px;
|
||||
width: 100%;
|
||||
}
|
||||
div.page_komentarji div.komentarji_anketa_holder div.komentarji_anketa,
|
||||
div.page_komentarji_anketa div.komentarji_anketa_holder div.komentarji_anketa {
|
||||
width: 50%;
|
||||
}
|
||||
div.page_komentarji div.komentarji_anketa_holder div.komentarji_anketa fieldset,
|
||||
div.page_komentarji_anketa div.komentarji_anketa_holder div.komentarji_anketa fieldset {
|
||||
padding: 32px 24px;
|
||||
}
|
||||
div.page_komentarji div.komentarji_anketa_holder div.komentarji_anketa fieldset div.comment_box,
|
||||
div.page_komentarji_anketa div.komentarji_anketa_holder div.komentarji_anketa fieldset div.comment_box {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
border-bottom: 1px solid #E5E5E5;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
div.page_komentarji div.komentarji_anketa_holder div.komentarji_anketa fieldset div.comment_box .by,
|
||||
div.page_komentarji_anketa div.komentarji_anketa_holder div.komentarji_anketa fieldset div.comment_box .by {
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
div.page_komentarji div.komentarji_anketa_holder div.komentarji_anketa fieldset div.comment_box .by .user,
|
||||
div.page_komentarji_anketa div.komentarji_anketa_holder div.komentarji_anketa fieldset div.comment_box .by .user {
|
||||
font-weight: 600;
|
||||
}
|
||||
div.page_komentarji div.komentarji_anketa_holder div.komentarji_anketa fieldset div.comment_box .date,
|
||||
div.page_komentarji_anketa div.komentarji_anketa_holder div.komentarji_anketa fieldset div.comment_box .date {
|
||||
font-size: 14px;
|
||||
color: #808080;
|
||||
}
|
||||
div.page_komentarji div.komentarji_anketa_holder div.komentarji_anketa fieldset div.comment_box .content,
|
||||
div.page_komentarji_anketa div.komentarji_anketa_holder div.komentarji_anketa fieldset div.comment_box .content {
|
||||
margin: 16px 0;
|
||||
}
|
||||
div.page_komentarji div.komentarji_anketa_holder div.komentarji_anketa fieldset div.comment_box .archive_comment,
|
||||
div.page_komentarji_anketa div.komentarji_anketa_holder div.komentarji_anketa fieldset div.comment_box .archive_comment {
|
||||
margin-bottom: 16px;
|
||||
cursor: pointer;
|
||||
color: #1E88E5;
|
||||
transition: 0.2s;
|
||||
}
|
||||
div.page_komentarji div.komentarji_anketa_holder div.komentarji_anketa fieldset div.comment_box .archived_comment,
|
||||
div.page_komentarji_anketa div.komentarji_anketa_holder div.komentarji_anketa fieldset div.comment_box .archived_comment {
|
||||
margin-bottom: 16px;
|
||||
color: #808080;
|
||||
}
|
||||
div.page_komentarji div.komentarji_anketa_holder div.komentarji_anketa fieldset div.new_comment,
|
||||
div.page_komentarji_anketa div.komentarji_anketa_holder div.komentarji_anketa fieldset div.new_comment {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
div.page_komentarji div.komentarji_anketa_holder div.komentarji_anketa fieldset div.new_comment textarea,
|
||||
div.page_komentarji_anketa div.komentarji_anketa_holder div.komentarji_anketa fieldset div.new_comment textarea {
|
||||
width: 100%;
|
||||
height: 100px;
|
||||
}
|
||||
div.page_komentarji div.komentarji_anketa_holder div.komentarji_anketa fieldset div.new_comment button,
|
||||
div.page_komentarji_anketa div.komentarji_anketa_holder div.komentarji_anketa fieldset div.new_comment button {
|
||||
width: fit-content;
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
#placeholder.komentarji {
|
||||
margin: 0px;
|
||||
}
|
||||
|
@ -122,7 +122,6 @@ span.faicon.xml.black::before{
|
||||
|
||||
// Arhiv
|
||||
span.faicon.arhiv::before{
|
||||
font-size: 16px;
|
||||
content: "\f187";
|
||||
}
|
||||
span.faicon.arhiv_mail::before{
|
||||
|
@ -1,10 +1,119 @@
|
||||
div.page_komentarji {
|
||||
div.page_komentarji,
|
||||
div.page_komentarji_anketa {
|
||||
|
||||
div#comment_question_note {
|
||||
margin-bottom: 16px;
|
||||
font-size: 20px;
|
||||
|
||||
span {
|
||||
font-size: inherit;
|
||||
}
|
||||
}
|
||||
|
||||
div.testni_vnos {
|
||||
margin-bottom: 16px;
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.monitor {
|
||||
position: relative;
|
||||
|
||||
&:after{
|
||||
content: "T";
|
||||
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
left: 37%;
|
||||
|
||||
font-family: $font_family;
|
||||
font-size: 8px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
div.setting_holder {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
div.komentarji_anketa_holder {
|
||||
margin-top: 32px;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
gap: 32px;
|
||||
width: 100%;
|
||||
|
||||
div.komentarji_anketa {
|
||||
width: 50%;
|
||||
|
||||
fieldset {
|
||||
padding: 32px 24px;
|
||||
|
||||
div.comment_box {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
border-bottom: 1px solid $gray;
|
||||
|
||||
margin-bottom: 16px;
|
||||
|
||||
.by {
|
||||
margin-bottom: 4px;
|
||||
.user {
|
||||
font-weight: $semi-bold;
|
||||
}
|
||||
}
|
||||
|
||||
.date {
|
||||
font-size: 14px;
|
||||
color: $very-dark-gray2;
|
||||
}
|
||||
|
||||
.content {
|
||||
margin: 16px 0;
|
||||
}
|
||||
|
||||
.archive_comment {
|
||||
margin-bottom: 16px;
|
||||
|
||||
cursor: pointer;
|
||||
color: $blue;
|
||||
|
||||
transition: 0.2s;
|
||||
&:hover {
|
||||
$color: darken ($blue, 3%);
|
||||
}
|
||||
}
|
||||
|
||||
.archived_comment {
|
||||
margin-bottom: 16px;
|
||||
color: $very-dark-gray2
|
||||
}
|
||||
}
|
||||
|
||||
div.new_comment {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
textarea {
|
||||
width: 100%;
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
button {
|
||||
width: fit-content;
|
||||
margin-top: 8px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////////////////
|
||||
|
||||
#placeholder.komentarji{
|
||||
margin: 0px;
|
||||
|
Loading…
x
Reference in New Issue
Block a user