[Redizajn 1KA] - Urejanje --> Nastavitve --> Standardne besede - v2

This commit is contained in:
tejagerjovic 2022-01-13 10:17:19 +01:00
parent a46866c1bd
commit e0ca08d746
5 changed files with 56 additions and 8 deletions

View File

@ -2248,14 +2248,15 @@ class SurveyAdminSettings {
$next_uvod = $lang_id == '' ? $admin_lang['srv_nextpage_uvod_desc'] : $resp_lang['srv_nextpage_uvod_desc'];
echo '<tr class="standardna-beseda">';
echo '<td>'.($lang_id==''?$admin_lang[$text]:$resp_lang[$text]).' '.($text == 'srv_nextpage_uvod' ? '<span class="gray italic">('.$next_uvod.')</span>' : '').'</td> ';
echo '<td>'.($lang_id==''?$admin_lang[$text]:$resp_lang[$text]).' '.($text == 'srv_nextpage_uvod' ? ' ('.$next_uvod.')' : '').'</td> ';
echo '<td>'.$lang[$text].'</td>';
echo '<td><div contentEditable="true" class="standardna-beseda-urejanje" name="srvlang_'.$text.$lang_id.'" id="srvlang_'.$text.$lang_id.'">'.$value.'</div></td>';
echo '<td><div contentEditable="true" class="standardna-beseda-urejanje" name="srvlang_'.$text.$lang_id.'" id="srvlang_'.$text.$lang_id.'">'.$value.'</div>';
if($editor == 1)
echo '<span class="faicon edit2 sb-edit"'.$onclick.' style="float:right; margin-top:1px; display:none;"></span>';
echo '<textarea name="srvlang_'.$text.$lang_id.'" id="polje_srvlang_'.$text.$lang_id.'" style="display:none;">'.$value.'</textarea>';
echo '</td>';
echo '</tr>';
}

View File

@ -5416,8 +5416,8 @@ span.faicon.pagination_right::before {
content: "\f105";
}
span.faicon.edit::before {
font-size: 16px;
span.faicon.edit::before,
span.faicon.edit2::before {
content: "\f304";
}
@ -10736,6 +10736,27 @@ and open the template in the editor.
height: 60px;
}
.fixed-position {
position: fixed;
z-index: 101;
top: 50%;
left: 50%;
}
.fixed-position #vrednost_edit {
display: block;
margin-top: -200px;
margin-left: -300px;
}
.fixed-position #vrednost_edit span.buttonwrapper a.ovalbutton_gray {
color: #1E88E5;
}
.fixed-position #vrednost_edit span.buttonwrapper a.ovalbutton_gray:hover span {
color: white;
}
.fixed-position #vrednost_edit span.buttonwrapper a.ovalbutton_orange span {
color: white;
}
/*
Specific pages scss
*/

View File

@ -132,8 +132,8 @@ span.faicon.pagination_right::before{
content: "\f105";
}
span.faicon.edit::before{
font-size: 16px;
span.faicon.edit::before,
span.faicon.edit2::before{
content: "\f304";
}

View File

@ -9,3 +9,5 @@
@import "custom_report";
@import "survey_edit";
@import "standardne_besede";

View File

@ -0,0 +1,24 @@
.fixed-position {
position: fixed;
z-index: 101;
top: 50%;
left: 50%;
#vrednost_edit {
display: block;
margin-top: -200px;
margin-left: -300px;
span.buttonwrapper a.ovalbutton_gray{
color: $blue;
&:hover span{
color: white;
}
}
span.buttonwrapper a.ovalbutton_orange span{
color: white;
}
}
}