Redesign - popravki - napredni statusi (boxi), ikone za komentarje
This commit is contained in:
parent
3fde81cfa9
commit
15473f33da
@ -1425,15 +1425,15 @@ class SurveyAdmin
|
|||||||
|
|
||||||
if($userAccess->checkUserAccess('komentarji')){
|
if($userAccess->checkUserAccess('komentarji')){
|
||||||
if ($sas->testiranje_komentarji_komentarji_na_vprasanje() > 0)
|
if ($sas->testiranje_komentarji_komentarji_na_vprasanje() > 0)
|
||||||
echo '<a href="' . $site_url . 'admin/survey/index.php?anketa='.$row['id'].'&a=komentarji" title="' . $lang['srv_view_comment'] . '" ><div class="fa-stack"><span class="faicon comments_num" title="' . $lang['srv_view_comment'] . '"><strong class="fa-stack-1x">' . $sas->testiranje_komentarji_komentarji_na_vprasanje() . '</strong></span></div></a>';
|
echo '<a href="' . $site_url . 'admin/survey/index.php?anketa='.$row['id'].'&a=komentarji" title="' . $lang['srv_view_comment'] . '" ><div class="fa-stack"><span class="faicon comments" title="' . $lang['srv_view_comment'] . '"></span></div></a>';
|
||||||
else
|
else
|
||||||
echo '<a href="' . $site_url . 'admin/survey/index.php?anketa='.$row['id'].'&a=komentarji" title="' . $lang['srv_view_comment'] . '" ><div class="fa-stack"><span class="faicon comments_empty" title="' . $lang['srv_view_comment'] . '"></span></div></a>';
|
echo '<a href="' . $site_url . 'admin/survey/index.php?anketa='.$row['id'].'&a=komentarji" title="' . $lang['srv_view_comment'] . '" ><div class="fa-stack"><span class="faicon comments" title="' . $lang['srv_view_comment'] . '"></span></div></a>';
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
if ($sas->testiranje_komentarji_komentarji_na_vprasanje() > 0)
|
if ($sas->testiranje_komentarji_komentarji_na_vprasanje() > 0)
|
||||||
echo '<a href="' . $site_url . 'admin/survey/index.php?anketa='. $row['id'].'&a=urejanje" title="' . $lang['srv_view_comment'] . '" ><div class="fa-stack"><span class="faicon comments_num icon-orange fa-stack-1x user_access_locked" title="' . $lang['srv_view_comment'] . '"><strong class="fa-stack-1x">' . $sas->testiranje_komentarji_komentarji_na_vprasanje() . '</strong></span></div></a>';
|
echo '<a href="' . $site_url . 'admin/survey/index.php?anketa='. $row['id'].'&a=urejanje" title="' . $lang['srv_view_comment'] . '" ><div class="fa-stack"><span class="faicon comments icon-orange fa-stack-1x user_access_locked" title="' . $lang['srv_view_comment'] . '"></span></div></a>';
|
||||||
else
|
else
|
||||||
echo '<a href="' . $site_url . 'admin/survey/index.php?anketa='.$row['id'].'&a=urejanje" title="' . $lang['srv_view_comment'] . '" ><div class="fa-stack"><span class="faicon comments_empty user_access_locked" title="' . $lang['srv_view_comment'] . '"></span></div></a>';
|
echo '<a href="' . $site_url . 'admin/survey/index.php?anketa='.$row['id'].'&a=urejanje" title="' . $lang['srv_view_comment'] . '" ><div class="fa-stack"><span class="faicon comments user_access_locked" title="' . $lang['srv_view_comment'] . '"></span></div></a>';
|
||||||
}
|
}
|
||||||
|
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
@ -1887,7 +1887,7 @@ class SurveyAdmin
|
|||||||
# Gumb za novo stran napredni statusi
|
# Gumb za novo stran napredni statusi
|
||||||
echo '<li class="' . ($_GET['a'] == A_STATUS_ADVANCED ? ' active' : '') . '">';
|
echo '<li class="' . ($_GET['a'] == A_STATUS_ADVANCED ? ' active' : '') . '">';
|
||||||
echo '<a href="index.php?anketa=' . $this->anketa . '&a=' . A_STATUS_ADVANCED . '" title="' . $lang['srv_status_advanced'] . '">';
|
echo '<a href="index.php?anketa=' . $this->anketa . '&a=' . A_STATUS_ADVANCED . '" title="' . $lang['srv_status_advanced'] . '">';
|
||||||
echo $lang['srv_status_advanced'] . ' >></a>';
|
echo $lang['srv_status_advanced'] . '<span class="faicon arrow2_r"></span></a>';
|
||||||
echo '</li>';
|
echo '</li>';
|
||||||
|
|
||||||
echo '</ul>';
|
echo '</ul>';
|
||||||
@ -4318,12 +4318,12 @@ class SurveyAdmin
|
|||||||
|
|
||||||
if($userAccess->checkUserAccess('komentarji')){
|
if($userAccess->checkUserAccess('komentarji')){
|
||||||
echo '<a href="#" onclick="return false;" class="surveycomment srv_ico" id="surveycomment_0_' . $view . '" type="0" view="' . $view . '" spremenljivka="0">';
|
echo '<a href="#" onclick="return false;" class="surveycomment srv_ico" id="surveycomment_0_' . $view . '" type="0" view="' . $view . '" spremenljivka="0">';
|
||||||
echo ' <div class="fa-stack"><span class="faicon comments" title="' . $lang['srv_survey_general_comment'] . '"></div></span>';
|
echo ' <div class="fa-stack"><span class="faicon comments_empty" title="' . $lang['srv_survey_general_comment'] . '"></div></span>';
|
||||||
echo '</a>';
|
echo '</a>';
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
echo '<a href="' . $site_url . 'admin/survey/index.php?anketa='. $row['id'].'&a=urejanje" class="surveycomment srv_ico" id="surveycomment_0_' . $view . '" type="0" view="' . $view . '" spremenljivka="0">';
|
echo '<a href="' . $site_url . 'admin/survey/index.php?anketa='. $row['id'].'&a=urejanje" class="surveycomment srv_ico" id="surveycomment_0_' . $view . '" type="0" view="' . $view . '" spremenljivka="0">';
|
||||||
echo ' <div class="fa-stack"><span class="faicon comments user_access_locked" title="' . $lang['srv_survey_general_comment'] . '"></div></span>';
|
echo ' <div class="fa-stack"><span class="faicon comments_empty user_access_locked" title="' . $lang['srv_survey_general_comment'] . '"></div></span>';
|
||||||
echo '</a>';
|
echo '</a>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -4344,7 +4344,7 @@ class SurveyAdmin
|
|||||||
if($userAccess->checkUserAccess('komentarji')){
|
if($userAccess->checkUserAccess('komentarji')){
|
||||||
echo '<a href="#" onclick="return false;" class="surveycomment srv_ico" id="surveycomment_0_' . $view . '" type="0" view="' . $view . '" spremenljivka="0">';
|
echo '<a href="#" onclick="return false;" class="surveycomment srv_ico" id="surveycomment_0_' . $view . '" type="0" view="' . $view . '" spremenljivka="0">';
|
||||||
|
|
||||||
echo '<div class="fa-stack"><span class="faicon comments_num" title="' . $lang['srv_survey_general_comment'] . '"><strong class="fa-stack-1x">' . $comment_count_text . '</strong></span></div>';
|
echo '<div class="fa-stack"><span class="faicon comments_empty" title="' . $lang['srv_survey_general_comment'] . '"></span></div>';
|
||||||
|
|
||||||
// ali prikazemo okno odprto - je dodan tak admin komentar
|
// ali prikazemo okno odprto - je dodan tak admin komentar
|
||||||
$sqlf1 = sisplet_query("SELECT id FROM post p WHERE p.tid='$row[thread]' AND p.ocena='5'");
|
$sqlf1 = sisplet_query("SELECT id FROM post p WHERE p.tid='$row[thread]' AND p.ocena='5'");
|
||||||
@ -4359,7 +4359,7 @@ class SurveyAdmin
|
|||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
echo '<a href="' . $site_url . 'admin/survey/index.php?anketa='. $row['id'].'&a=urejanje" class="surveycomment srv_ico" id="surveycomment_0_' . $view . '" type="0" view="' . $view . '" spremenljivka="0">';
|
echo '<a href="' . $site_url . 'admin/survey/index.php?anketa='. $row['id'].'&a=urejanje" class="surveycomment srv_ico" id="surveycomment_0_' . $view . '" type="0" view="' . $view . '" spremenljivka="0">';
|
||||||
echo ' <div class="fa-stack"><span class="faicon comments_num user_access_locked" title="' . $lang['srv_survey_general_comment'] . '"><strong class="fa-stack-1x">' . $comment_count_text . '</strong></span></div>';
|
echo ' <div class="fa-stack"><span class="faicon comments_empty user_access_locked" title="' . $lang['srv_survey_general_comment'] . '"></span></div>';
|
||||||
echo '</a>';
|
echo '</a>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1169,7 +1169,7 @@ class SurveyAdminSettings {
|
|||||||
$d = new Dostop();
|
$d = new Dostop();
|
||||||
|
|
||||||
echo '<div class="button" title="'.$lang['srv_view_comment'].'" onClick="window.location.href=\'index.php?anketa='.$this->anketa.'&a=komentarji\';">';
|
echo '<div class="button" title="'.$lang['srv_view_comment'].'" onClick="window.location.href=\'index.php?anketa='.$this->anketa.'&a=komentarji\';">';
|
||||||
echo '<span class="faicon comments_num blue"></span>';
|
echo '<span class="faicon comments blue"></span>';
|
||||||
echo $lang['srv_admin_s_comments_view'];
|
echo $lang['srv_admin_s_comments_view'];
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -250,20 +250,13 @@ span.faicon.mobile_off::after{
|
|||||||
}
|
}
|
||||||
span.faicon.comments::before{
|
span.faicon.comments::before{
|
||||||
content: "\f27a";
|
content: "\f27a";
|
||||||
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
span.faicon.comments_empty::before{
|
span.faicon.comments_empty::before{
|
||||||
content: "\f27a";
|
content: "\f27a";
|
||||||
|
font-weight: 400;
|
||||||
}
|
}
|
||||||
span.faicon.comments_num::before{
|
|
||||||
content: "\f27a";
|
|
||||||
}
|
|
||||||
span.faicon.comments_num {
|
|
||||||
strong {
|
|
||||||
color: white;
|
|
||||||
font-family: $font_family;
|
|
||||||
margin-top: -2px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@mixin icon_link(){
|
@mixin icon_link(){
|
||||||
content: "\f0c1";
|
content: "\f0c1";
|
||||||
}
|
}
|
||||||
|
@ -117,35 +117,16 @@ header{
|
|||||||
&:hover {
|
&:hover {
|
||||||
color: $white !important;
|
color: $white !important;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
span.comments_blue_off {
|
.faicon{
|
||||||
margin-top: 4px !important;
|
line-height: 25px;
|
||||||
}
|
|
||||||
span.comments_orange_off {
|
&:before{
|
||||||
margin-top: 4px !important;
|
font-size: 24px;
|
||||||
}
|
|
||||||
span.comments_blue_on {
|
|
||||||
margin-top: -1px !important;
|
|
||||||
}
|
|
||||||
span.comments_orange_on {
|
|
||||||
margin-top: -1px !important;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
span.sprites.comments_blue_on {
|
|
||||||
color: $white;
|
|
||||||
font-size: 11px;
|
|
||||||
font-weight: bold;
|
|
||||||
line-height: 12px;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
span.sprites.comments_orange_on {
|
|
||||||
color: $white;
|
|
||||||
font-size: 11px;
|
|
||||||
font-weight: bold;
|
|
||||||
line-height: 12px;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Vklopljeni moduli na desni
|
// Vklopljeni moduli na desni
|
||||||
@ -210,6 +191,15 @@ header{
|
|||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
color: $very-dark-gray2;
|
color: $very-dark-gray2;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
|
||||||
|
.faicon.arrow2_r{
|
||||||
|
margin-left: 8px;
|
||||||
|
|
||||||
|
&:before{
|
||||||
|
font-size: 10px;
|
||||||
|
vertical-align: 1px;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.active,
|
&.active,
|
||||||
|
@ -0,0 +1,45 @@
|
|||||||
|
.page_status_advanced {
|
||||||
|
|
||||||
|
|
||||||
|
.status_advanced{
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
|
||||||
|
position: relative;
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
a{
|
||||||
|
width: 25%;
|
||||||
|
min-width: 290px;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.status_advanced_box{
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding: 16px;
|
||||||
|
margin: 0 16px 16px 0;
|
||||||
|
|
||||||
|
font-size: 16px;
|
||||||
|
font-weight: 600;
|
||||||
|
text-transform: uppercase;
|
||||||
|
color: $black;
|
||||||
|
|
||||||
|
background-color: #fff;
|
||||||
|
border: 1px solid $gray;
|
||||||
|
|
||||||
|
transition: .2s;
|
||||||
|
|
||||||
|
&:hover{
|
||||||
|
background-color: $light-gray;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -1,2 +1,3 @@
|
|||||||
@import "summary";
|
@import "summary";
|
||||||
@import "nonresponse";
|
@import "nonresponse";
|
||||||
|
@import "status_advanced";
|
@ -295,9 +295,6 @@ div.page_komentarji_anketa {
|
|||||||
margin: 0px 3px;
|
margin: 0px 3px;
|
||||||
}
|
}
|
||||||
#quick_comments_link {
|
#quick_comments_link {
|
||||||
margin-bottom: 1px !important;
|
|
||||||
margin-left: 3px !important;
|
|
||||||
padding-bottom: 3px !important;
|
|
||||||
a {
|
a {
|
||||||
span.link {
|
span.link {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
@ -309,10 +306,8 @@ div.page_komentarji_anketa {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#quick_comments_link.newCss {
|
#quick_comments_link.newCss {
|
||||||
height: 20px !important;
|
|
||||||
line-height: 20px !important;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-top: 8px !important;
|
|
||||||
img {
|
img {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user