[Redizajn 1KA] - Urejanje --> Oblika - v3

This commit is contained in:
tejagerjovic 2022-03-18 01:10:49 +01:00
parent 454a99bc12
commit 86c93ebd4f
5 changed files with 17 additions and 11 deletions

View File

@ -574,7 +574,7 @@ class SurveyTheme {
echo '<div class="options">';
//Aktiviraj
echo '<div class="button" onclick="te_change_profile(\''.$row['id'].'\', true); return false;">';
echo '<div class="button activate_theme">';
echo '<span class="faicon fa-hand-pointer"></span>';
echo $lang['srv_te_theme_activate'];
echo '</div>';
@ -594,7 +594,7 @@ class SurveyTheme {
//Izbriši
if ($groupId == -1) {
echo '<div class="button theme_delete" onclick="if (confirm(\''.$lang['srv_ask_delete'].'\')) te_delete_profile(\''.$row['id'].'\', false); return false;">';
echo '<span class="faicon preview"></span>';
echo '<span class="faicon trash empty"></span>';
echo $lang['srv_anketadelete_txt'];
echo '</div>';
}
@ -626,7 +626,7 @@ class SurveyTheme {
echo '<div class="options">';
//Aktiviraj
echo '<div class="button" onclick="te_change_profile(\''.$row['id'].'\', true, true); return false;">';
echo '<div class="button activate_theme">';
echo '<span class="faicon fa-hand-pointer"></span>';
echo $lang['srv_te_theme_activate'];
echo '</div>';
@ -646,7 +646,7 @@ class SurveyTheme {
//Izbriši
if ($groupId == -1) {
echo '<div class="button theme_delete" onclick="if (confirm(\''.$lang['srv_ask_delete'].'\')) te_delete_profile(\''.$row['id'].'\', true); return false;">';
echo '<span class="faicon preview"></span>';
echo '<span class="faicon trash empty"></span>';
echo $lang['srv_anketadelete_txt'];
echo '</div>';
}
@ -699,8 +699,7 @@ class SurveyTheme {
echo '<div class="theme_label_options">';
//Aktiviraj
$activate_click = 'onclick="te_change_profile_oldskin(\''.$simple_name.'\', true); return false;"';
echo '<div class="button wtext" '.$activate_click.'>';
echo '<div class="button wtext activate_theme">';
echo '<span class="faicon fa-hand-pointer"></span>';
echo $lang['srv_te_theme_activate'];
echo '</div>';
@ -710,7 +709,7 @@ class SurveyTheme {
echo '<span class="faicon fa-desktop"></span>';
echo '</div>';
//Prilagodi - manjka link za mobilne
//Prilagodi
if ($groupId == -3)
$link = 'index.php?anketa='.$this->sid.'&a=theme-editor&profile_new_mobile='.$rowa['mobile_skin'];
else

View File

@ -65,7 +65,7 @@ function themes_init() {
});
// change theme
$("#div_theme_group img.theme").live('click', function(event) {
$("#div_theme_group div.activate_theme").live('click', function(event) {
event.preventDefault();
event.stopPropagation();
var css = $(this).attr('css');

View File

@ -6229,7 +6229,7 @@ $lang = array (
'srv_te_profile_name' => 'Izbrana prilagoditev teme',
'srv_te_theme_edit' => 'Prilagodi',
'srv_te_theme_activate' => 'Aktiviraj',
'srv_te_no_profiles' => 'Nimate še lastnih tem. Za prilagoditev teme, kliknite na "Prilagodi" poleg imena trenutne teme. Uporabite lahko tudi naprednješe CSS urejanje teme.',
'srv_te_no_profiles' => 'Nimate še lastnih tem. Za prilagoditev teme kliknite na "Prilagodi" poleg imena trenutne teme. Uporabite lahko tudi naprednješe CSS urejanje teme.',
'srv_variableView_h_name' => 'Spremenljivka',
'srv_variableView_h_type' => 'Tip',
'srv_variableView_h_width' => 'Št. celih mest',

View File

@ -10384,9 +10384,12 @@ div.page_tema div.div_theme_group {
div.page_tema div.div_theme_group.custom {
display: none;
}
div.page_tema div.div_theme_group:not(.custom) {
padding: 0 32px;
}
div.page_tema div.div_theme_group div.theme_label {
width: 202px;
height: 245px;
height: 252px;
background-color: #F8F8F8;
border: 1px solid #F8F8F8;
padding: 14px 16px;

View File

@ -99,9 +99,13 @@ div.page_tema {
display: none;
}
&:not(.custom) {
padding: 0 32px;
}
div.theme_label {
width: 202px;
height: 245px;
height: 252px;
background-color: $light-gray;