Redesign - forma in glasovanje

This commit is contained in:
pero1203 2022-05-24 13:51:58 +02:00
parent 11d795479d
commit 3efda50b97
8 changed files with 1913 additions and 2044 deletions

View File

@ -132,44 +132,39 @@ class Branching {
$gl = new Glasovanje($this->anketa);
//div z nastavitvami za glasovanje
echo ' <div id="glas_settings">';
//$this->display_glasovanje_settings();
// div z nastavitvami za glasovanje
echo ' <div class="glas_settings_holder">';
echo ' <div id="glas_settings">';
$gl->display_glasovanje_settings();
echo ' </div> <!-- /glas_settings -->';
echo ' </div>';
echo ' </div>';
echo '<div id="placeholder">';
echo '<div id="branching" class="branching_new expanded branching_glasovanje">';
//$this->branching_struktura();
echo ' <div id="branching" class="branching_new expanded branching_glasovanje">';
$gl = new Glasovanje($this->anketa);
$gl->vprasanja();
echo ' </div>'; // #branching
echo '</div>'; // #branching
//$this->vprasanje_float_editing();
echo '<div id="vprasanje_float_editing" class="float_glasovanje"></div>';
echo ' <div id="vprasanje_float_editing" class="float_glasovanje"></div>';
echo '</div>'; // #placeholder
$this->toolbox();
}
// Navadna anketa ali forma
else{
Common::Init($this->anketa);
echo '<div id="placeholder">';
echo '<div id="branching" class="branching_new'.($this->expanded?' expanded':' collapsed').($this->survey_type==1?' branching_forma':'').'">';
Common::Init($this->anketa);
echo ' <div id="branching" class="branching_new'.($this->expanded?' expanded':' collapsed').($this->survey_type==1?' branching_forma':'').'">';
echo Common::checkStruktura();
$this->branching_struktura();
echo ' </div>';
echo '</div>'; // #branching
$this->vprasanje_float_editing();
echo ' <div id="vprasanje_float_editing"></div>';
echo '</div>'; // #placeholder
@ -177,11 +172,11 @@ class Branching {
}
// forma in glasovanje - hitre nastavitve na desni - ce imamo odprto knjiznico ne prikazemo zaradi prekrivanja
if ( ($this->survey_type == 1 || $this->survey_type == 0) && ($row['toolbox'] < 3) ) {
if ( $this->survey_type == 1 || $this->survey_type == 0 ) {
echo '<div id="quick_settings_holder" '.($this->survey_type==0 ? ' class="glas_quick_settings"':'').'>';
echo '<div id="quick_settings" '.($this->survey_type==0 ? ' class="glas_quick_settings"':'').'>';
echo ' <div id="quick_settings" '.($this->survey_type==0 ? ' class="glas_quick_settings"':'').'>';
$this->toolbox_settings();
echo '</div>';
echo ' </div>';
echo '</div>';
}
@ -193,18 +188,6 @@ class Branching {
}
?><script> var vprasanje_tracking = <?=$row['vprasanje_tracking']?>; </script><?php
/*echo '<script>';
echo 'alert(document.getElementsByTagName("*").length);';
echo '</script>';*/
}
function vprasanje_float_editing () {
echo '<div id="vprasanje_float_editing"></div>';
}
@ -314,8 +297,7 @@ class Branching {
echo '<div class="toolbox_holder open">';
if($this->survey_type != 0)
$this->toolbox_basic2();
$this->toolbox_basic2();
echo '<script> $(function(){ init_toolbox(); }) </script>';
@ -324,6 +306,7 @@ class Branching {
echo '</div>';
// Mobile add question
MobileSurveyAdmin::displayAddQuestion($this->anketa);
}
@ -1576,7 +1559,7 @@ class Branching {
$emailDiv = SurveySetting::getInstance()->getSurveyMiscSetting('srvtoolbox_form_email');
//OBVESCANJE
// OBVESCANJE
$sqlAlert = sisplet_query("SELECT * FROM srv_alert WHERE ank_id = '$this->anketa'");
if (!$sqlAlert)
echo mysqli_error($GLOBALS['connect_db']);
@ -1584,52 +1567,49 @@ class Branching {
$rowAlert['finish_other'] == 1 || ($rowAlert['finish_other_emails'] && $rowAlert['finish_other'] != 0) ? $checked = true : $checked = false;
echo '<p style="margin: 6px 0;">';
$alertDiv == 1 ? $obvescanje = 0 : $obvescanje = 1;
echo '<a href="#" onClick="change_form_quicksettings(\'form_settings_obvescanje\');">';
$alertDiv == 1 ? $obvescanje = 0 : $obvescanje = 1;
$img = ($status1 == 'none') ? ' class="faicon icon-blue plus"' : ' class="faicon icon-blue minus"';
echo '<span '.$img.' id="obvescanje_switch" style="cursor:pointer;"></span> ';
echo '<b>' . $lang['srv_alert_link_form'] . '</b></a>';
echo '</p>';
echo '<div class="header" onClick="change_form_quicksettings(\'form_settings_obvescanje\');">';
echo '<span>'.$lang['srv_alert_link_form'].'</span><span id="obvescanje_switch" class="faicon '.($status1 == 'none' ? 'arrow2_d' : 'arrow2_u').'"></span>';
echo '</div>';
//echo '<span class="nastavitveSpan4" style="width: 100%;"><label>' . $lang['srv_alert_prejemnik'] . '</label></span><br />';
$sas = new SurveyAdminSettings();
echo '<div id="form_settings_obvescanje" class="form_bottom_settings" style="display: '.$status1.';">';
// avtor ankete oz osebe z dostopom
echo '<p class="whole"><input type="checkbox" name="alert_finish_author" id="alert_finish_author" value="1" onChange="quick_settings(\'' . $row2['spr_id'] . '\', this, \'finish_author\'); return false;"' . ($rowAlert['finish_author'] == 1 ? ' checked' : '') . '>';
echo '<span id="label_alert_finish_author">';
echo '<div class="setting_row">';
echo '<input type="checkbox" name="alert_finish_author" id="alert_finish_author" value="1" onChange="quick_settings(\'' . $row2['spr_id'] . '\', this, \'finish_author\'); return false;"' . ($rowAlert['finish_author'] == 1 ? ' checked' : '') . '>';
echo ' <span id="label_alert_finish_author">';
$sas->display_alert_label('finish_author',($rowAlert['finish_author'] == 1), true);
echo '</span></p>';
echo ' </span>';
echo '</div>';
// posebej navedeni maili
echo '<div class="setting_row">';
echo '<p class="whole"><input type="checkbox" name="alert_finish_other" id="alert_finish_other" value="1"' . ($checked ? ' checked' : '') . ' onchange="toggleStatusAlertOtherCheckbox(\'finish_other\'); quick_settings(\'' . $row2['spr_id'] . '\', this, \'finish_other\'); return false;"><label for="alert_finish_other">' . $lang['email_prejemniki'] . ($checked ? $lang['email_one_per_line'] : '' ) . '</label></p>';
echo '<p id="alert_holder_finish_other_emails" '.($rowAlert['finish_other'] == 0 ? 'class="hidden"' : '' ).'>';
echo '<label for="alert_finish_other_emails">' . $lang['email'] . ':</label>';
echo '<textarea name="alert_finish_other_emails" id="alert_finish_other_emails" style="height:100px; width:60%; margin-left: 10px;" onBlur="quick_settings(\'' . $row2['spr_id'] . '\', this.value, \'finish_other_emails\');">' . $rowAlert['finish_other_emails'] . '</textarea>';
echo '</p>';
echo '</div>';
//respondent iz cms
/*echo '<p><input type="checkbox" name="alert_finish_respondent_cms" id="alert_finish_respondent_cms" value="1" onChange="quick_settings(\'' . $row2['spr_id'] . '\', this, \'finish_respondent_cms\'); return false;" ' . ($rowAlert['finish_respondent_cms'] == 1 ? ' checked' : '') . '>';
echo '<span id="label_alert_finish_respondent_cms">';
$sas->display_alert_label('finish_respondent_cms',($rowAlert['finish_respondent_cms'] == 1), true);
echo '</span></p>';*/
//respondent
// respondent
echo '<div class="setting_row">';
echo '<p class="whole"><input type="checkbox" class="enka-admin-custom" name="alert_finish_respondent" id="alert_finish_respondent" value="1" onChange="quick_settings(\'' . $row2['spr_id'] . '\', this, \'finish_respondent\'); return false;" ' . ($rowAlert['finish_respondent'] == 1 ? ' checked' : '') . '>';
echo '<span class="enka-checkbox-radio "></span>';
echo '<span id="label_alert_finish_respondent">';
$sas->display_alert_label('finish_respondent',($rowAlert['finish_respondent'] == 1), true);
echo '</span></p>';
echo '</div>';
echo '<a style=" margin: 5px 0 5px 10px;" href="index.php?anketa=' . $this->anketa . '&a=alert" ><span class="strong">'.$lang['srv_detail_settings'].'</span></a>';
echo '<div class="setting_row">';
echo ' <a href="index.php?anketa=' . $this->anketa . '&a=alert" >'.$lang['srv_detail_settings'].'<span class="faicon arrow2_r"></span></a>';
echo '</div>';
echo '<div id="clr" class="clr" ></div>';
echo '</div>';
}
/**
@ -7706,7 +7686,7 @@ class Branching {
echo '<a class="ovalbutton ovalbutton_gray" href="#" onclick="vrednost_condition_editing_close(\''.$vrednost.'\', \''.$if.'\'); return false;"><span>'.$lang['srv_zapri'].'</span></a>';
echo '</span>';
echo '<span class="buttonwrapper spaceRight floatRight">';
echo '<a class="ovalbutton ovalbutton_gray" href="#" onclick="vrednost_if_remove(\''.$if.'\', \''.$vrednost.'\'); return false;" title="'.$lang['srv_if_rem'].'"><span>'.$lang['srv_if_rem'].'</span></a>'."\n\r";
echo 'aaa<a class="ovalbutton ovalbutton_gray" href="#" onclick="vrednost_if_remove(\''.$if.'\', \''.$vrednost.'\'); return false;" title="'.$lang['srv_if_rem'].'"><span>'.$lang['srv_if_rem'].'</span></a>'."\n\r";
echo '</span>';
}

View File

@ -100,222 +100,238 @@ class Glasovanje {
global $site_path;
global $admin_type;
echo '<div class="header_holder">'.NEW_LINE;
echo '<div class="header_content">'.NEW_LINE;
echo ' <div class="header_left">' . $lang['srv_glasovanja_settings'] . Help :: display('srv_type_glasovanje') . '</div>' . NEW_LINE;
echo '<div class="clr"></div>';
echo '</div>';
echo '<div class="header">';
echo $lang['srv_glasovanja_settings'].Help :: display('srv_type_glasovanje');
echo '</div>';
$sql2 = sisplet_query("SELECT * FROM srv_glasovanje WHERE ank_id='$this->anketa'");
$row2 = mysqli_fetch_array($sql2);
$row = Cache::srv_spremenljivka($row2['spr_id']);
$rowA = SurveyInfo::getInstance()->getSurveyRow();
//Vkljucenost ankete (embeddana ali samostojna)
// Vkljucenost ankete (embeddana ali samostojna)
echo '<fieldset>';
echo '<legend>' . $lang['glasovanja_embed'] . '</legend>';
echo '<label for="glasovanja_embed_0" class="pointer"><input type="radio" name="glasovanja_embed" value="0" id="glasovanja_embed_0" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this.value, \'embed\')" ' . ($row2['embed'] == 0 ? ' checked' : '') . '/>' . $lang['glasovanja_embed_off'] . '</label><br /> ';
echo '<label for="glasovanja_embed_1" class="pointer"><input type="radio" name="glasovanja_embed" value="1" id="glasovanja_embed_1" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this.value, \'embed\')" ' . ($row2['embed'] == 1 ? ' checked' : '') . '/>' . $lang['glasovanja_embed_on'];
if($row2['embed'] != 0)
echo ' (<a href="index.php?anketa=' . $this->anketa . '&a=vabila&m=url&js=open">' . $lang['srv_embed_link'] . '</a>)';
echo '</label> ';
echo ' <div class="setting_title">' . $lang['glasovanja_embed'] . ':</div>';
echo ' <div class="setting_row">';
echo ' <input type="radio" name="glasovanja_embed" value="0" id="glasovanja_embed_0" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this.value, \'embed\')" ' . ($row2['embed'] == 0 ? ' checked' : '') . '/><label for="glasovanja_embed_0">'.$lang['glasovanja_embed_off'] .'</label>';
echo ' </div>';
echo ' <div class="setting_row">';
echo ' <input type="radio" name="glasovanja_embed" value="1" id="glasovanja_embed_1" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this.value, \'embed\')" ' . ($row2['embed'] == 1 ? ' checked' : '') . '/><label for="glasovanja_embed_1">'.$lang['glasovanja_embed_on'].'</label> ';
echo ' </div>';
echo '</fieldset>';
//Izbira spola ob resevanju
// Izbira spola ob resevanju
echo '<fieldset>';
echo '<legend>' . $lang['glasovanja_spol'] . '</legend>';
//echo '<span class="nastavitveSpan4"><label>' . $lang['srv_alert_respondent'] . ':</label></span>';
echo '<label for="glasovanja_spol_1" class="pointer"><input type="radio" name="glasovanja_spol" value="1" id="glasovanja_spol_1" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this.value, \'spol\')" ' . ($row2['spol'] == 1 ? ' checked' : '') . '/>' . $lang['yes'] . '</label> ';
echo '<label for="glasovanja_spol_0" class="pointer"><input type="radio" name="glasovanja_spol" value="0" id="glasovanja_spol_0" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this.value, \'spol\')" ' . ($row2['spol'] == 0 ? ' checked' : '') . '/>' . $lang['no1'] . '</label> ';
echo '</fieldset>';
echo ' <div class="setting_title">' . $lang['glasovanja_spol'] . ':</div>';
echo ' <div class="setting_row">';
echo ' <input type="radio" name="glasovanja_spol" value="1" id="glasovanja_spol_1" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this.value, \'spol\')" ' . ($row2['spol'] == 1 ? ' checked' : '') . '/><label for="glasovanja_spol_1">' . $lang['yes'] . '</label> ';
echo ' <input type="radio" name="glasovanja_spol" value="0" id="glasovanja_spol_0" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this.value, \'spol\')" ' . ($row2['spol'] == 0 ? ' checked' : '') . '/><label for="glasovanja_spol_0">' . $lang['no1'] . '</label> ';
echo ' </div>';
echo '</fieldset>';
//Prikaz dodatnih strani
// Prikaz dodatnih strani
echo '<fieldset>';
echo '<legend>' . $lang['glasovanja_strani'] . '</legend>';
echo '<span class="nastavitveSpan4"><label>' . $lang['glasovanja_strani_intro'] . ':</label></span>';
echo '<label for="glasovanja_intro_1" class="pointer"><input type="radio" name="glasovanja_intro" value="1" id="glasovanja_intro_1" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this.value, \'show_intro\')" ' . ($rowA['show_intro'] == 1 ? ' checked' : '') . '/>' . $lang['yes'] . '</label> ';
echo '<label for="glasovanja_intro_0" class="pointer"><input type="radio" name="glasovanja_intro" value="0" id="glasovanja_intro_0" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this.value, \'show_intro\')" ' . ($rowA['show_intro'] == 0 ? ' checked' : '') . '/>' . $lang['no1'] . '</label><br /> ';
echo '<div class="setting_title">' . $lang['glasovanja_strani_intro'] . ':</div>';
echo ' <div class="setting_row">';
echo ' <input type="radio" name="glasovanja_intro" value="1" id="glasovanja_intro_1" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this.value, \'show_intro\')" ' . ($rowA['show_intro'] == 1 ? ' checked' : '') . '/><label for="glasovanja_intro_1">' . $lang['yes'] . '</label>';
echo ' <input type="radio" name="glasovanja_intro" value="0" id="glasovanja_intro_0" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this.value, \'show_intro\')" ' . ($rowA['show_intro'] == 0 ? ' checked' : '') . '/><label for="glasovanja_intro_0">' . $lang['no1'] . '</label>';
echo ' </div>';
echo ' <div class="setting_title">' . $lang['glasovanja_strani_outro'] . ':</div>';
echo ' <div class="setting_row">';
echo ' <input type="radio" name="glasovanja_concl" value="1" id="glasovanja_concl_1" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this.value, \'show_concl\')" ' . ($rowA['show_concl'] == 1 ? ' checked' : '') . '/><label for="glasovanja_concl_1">' . $lang['yes'] . '</label> ';
echo ' <input type="radio" name="glasovanja_concl" value="0" id="glasovanja_concl_0" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this.value, \'show_concl\')" ' . ($rowA['show_concl'] == 0 ? ' checked' : '') . '/><label for="glasovanja_concl_0">' . $lang['no1'] . '</label> ';
echo ' </div>';
echo '<span class="nastavitveSpan4"><label>' . $lang['glasovanja_strani_outro'] . ':</label></span>';
echo '<label for="glasovanja_concl_1" class="pointer"><input type="radio" name="glasovanja_concl" value="1" id="glasovanja_concl_1" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this.value, \'show_concl\')" ' . ($rowA['show_concl'] == 1 ? ' checked' : '') . '/>' . $lang['yes'] . '</label> ';
echo '<label for="glasovanja_concl_0" class="pointer"><input type="radio" name="glasovanja_concl" value="0" id="glasovanja_concl_0" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this.value, \'show_concl\')" ' . ($rowA['show_concl'] == 0 ? ' checked' : '') . '/>' . $lang['no1'] . '</label> ';
echo '</fieldset>';
// Prikaz naslova...
echo '<fieldset>';
echo '<legend>' . $lang['glasovanja_naslov'] . '</legend>';
// prikaz naslova ankete
SurveySetting::getInstance()->Init($this->anketa);
$survey_hide_title = SurveySetting::getInstance()->getSurveyMiscSetting('survey_hide_title');
echo '<span class="nastavitveSpan4" style="width: 140px;"><label>' . $lang['glasovanja_results_survey_title'] . ':</label></span>';
echo '<label><input type="radio" name="survey_hide_title" value="0" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this.value, \'survey_hide_title\')" '.($survey_hide_title == 0 ? ' checked="checked"' : '').'>' . $lang['yes'] . '</label> ';
echo '<label><input type="radio" name="survey_hide_title" value="1" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this.value, \'survey_hide_title\')" '.($survey_hide_title == 1 ? ' checked="checked"' : '').'>' . $lang['no1'] . '</label><br />';
//anketa v arhivu - prikaz arhiva
echo '<span class="nastavitveSpan4" style="width: 140px;"><label>' . $lang['glasovanja_results_archive'] . ':</label>'. Help :: display('srv_glasovanje_archive').'</span>';
echo '<label for="stat_archive_1" class="pointer"><input type="radio" name="stat_archive" value="1" id="stat_archive_1" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this.value, \'stat_archive\')" ' . ($row2['stat_archive'] == 1 ? ' checked' : '') . '/>' . $lang['yes'] . '</label> ';
echo '<label for="stat_archive_0" class="pointer"><input type="radio" name="stat_archive" value="0" id="stat_archive_0" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this.value, \'stat_archive\')" ' . ($row2['stat_archive'] == 0 ? ' checked' : '') . '/>' . $lang['no1'] . '</label><br /> ';
$survey_hide_title = SurveySetting::getInstance()->getSurveyMiscSetting('survey_hide_title');
echo ' <div class="setting_title">' . $lang['glasovanja_results_survey_title'] . ':</div>';
echo ' <div class="setting_row">';
echo ' <input type="radio" name="survey_hide_title" id="survey_hide_title_0" value="0" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this.value, \'survey_hide_title\')" '.($survey_hide_title == 0 ? ' checked="checked"' : '').'><label for="survey_hide_title_0">' . $lang['yes'] . '</label>';
echo ' <input type="radio" name="survey_hide_title" id="survey_hide_title_1" value="1" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this.value, \'survey_hide_title\')" '.($survey_hide_title == 1 ? ' checked="checked"' : '').'><label for="survey_hide_title_1">' . $lang['no1'] . '</label>';
echo ' </div>';
//anketa v arhivu - prikaz arhiva
echo ' <div class="setting_title">' . $lang['glasovanja_results_archive'].' '.Help :: display('srv_glasovanje_archive').':</div>';
echo ' <div class="setting_row">';
echo ' <input type="radio" name="stat_archive" value="1" id="stat_archive_1" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this.value, \'stat_archive\')" ' . ($row2['stat_archive'] == 1 ? ' checked' : '') . '/><label for="stat_archive_1">' . $lang['yes'] . '</label>';
echo ' <input type="radio" name="stat_archive" value="0" id="stat_archive_0" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this.value, \'stat_archive\')" ' . ($row2['stat_archive'] == 0 ? ' checked' : '') . '/><label for="stat_archive_0">' . $lang['no1'] . '</label>';
echo ' </div>';
echo '</fieldset>';
//Prikaz statistike - nastavitve
// Prikaz statistike - nastavitve
echo '<fieldset>';
echo '<legend>' . $lang['glasovanja_results'] . '</legend>';
//prikaz statistike
echo '<span class="nastavitveSpan4" style="width: 100%;"><label>' . $lang['srv_stat_on'] . ':</label></span><br />';
echo '<label for="show_stat_1" class="pointer"><input type="radio" name="show_stat" value="1" id="show_stat_1" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this.value, \'stat\')" ' . ($row['stat'] == 1 ? ' checked' : '') . '/>' . $lang['yes'] . '</label> ';
echo '<label for="show_stat_0" class="pointer"><input type="radio" name="show_stat" value="0" id="show_stat_0" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this.value, \'stat\')" ' . ($row['stat'] == 0 ? ' checked' : '') . '/>' . $lang['no1'] . '</label> ';
echo '<label for="show_stat_2" class="pointer"><input type="radio" name="show_stat" value="2" id="show_stat_2" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this.value, \'stat\')" ' . ($row['stat'] == 2 ? ' checked' : '') . '/>' . $lang['glasovanja_results_admin'] . '</label><br /> ';
echo '<div class="setting_title">' . $lang['glasovanja_results'] . ':</div>';
echo ' <div class="setting_row">';
echo ' <input type="radio" name="show_stat" value="1" id="show_stat_1" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this.value, \'stat\')" ' . ($row['stat'] == 1 ? ' checked' : '') . '/><label for="show_stat_1">' . $lang['yes'] . '</label>';
echo ' <input type="radio" name="show_stat" value="0" id="show_stat_0" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this.value, \'stat\')" ' . ($row['stat'] == 0 ? ' checked' : '') . '/><label for="show_stat_0">' . $lang['no1'] . '</label>';
echo ' <input type="radio" name="show_stat" value="2" id="show_stat_2" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this.value, \'stat\')" ' . ($row['stat'] == 2 ? ' checked' : '') . '/><label for="show_stat_2">' . $lang['glasovanja_results_admin'] . '</label>';
echo ' </div>';
if($row['stat'] > 0){
// prikaz stevila glasov, v procentih in z grafom
echo '<div>';
echo '<span class="nastavitveSpan5" style="width: 100%;"><label>' . $lang['glasovanja_results_type'] . ':</label></span><br />';
echo '<label for="glasovanja_results" class="pointer"><input type="checkbox" name="glasovanja_results" value="1" id="glasovanja_results" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this, \'show_results\')" ' . ($row2['show_results'] == 1 ? ' checked' : '') . '/>' . $lang['glasovanja_results_count'] . '</label> ';
echo '<label for="glasovanja_percent" class="pointer"><input type="checkbox" name="glasovanja_percent" value="1" id="glasovanja_percent" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this, \'show_percent\')" ' . ($row2['show_percent'] == 1 ? ' checked' : '') . '/>' . $lang['glasovanja_results_percent'] . '</label> ';
echo '<label for="glasovanja_graph" class="pointer"><input type="checkbox" name="glasovanja_graph" value="1" id="glasovanja_graph" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this, \'show_graph\')" ' . ($row2['show_graph'] == 1 ? ' checked' : '') . '/>' . $lang['glasovanja_results_graph'] . '</label><br /> ';
echo '</div>';
echo ' <div class="setting_title">' . $lang['glasovanja_results_type'] . ':</div>';
echo ' <div class="setting_row">';
echo ' <input type="checkbox" name="glasovanja_results" value="1" id="glasovanja_results" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this, \'show_results\')" ' . ($row2['show_results'] == 1 ? ' checked' : '') . '/><label for="glasovanja_results">' . $lang['glasovanja_results_count'] . '</label> ';
echo ' <input type="checkbox" name="glasovanja_percent" value="1" id="glasovanja_percent" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this, \'show_percent\')" ' . ($row2['show_percent'] == 1 ? ' checked' : '') . '/><label for="glasovanja_percent">' . $lang['glasovanja_results_percent'] . '</label> ';
echo ' <input type="checkbox" name="glasovanja_graph" value="1" id="glasovanja_graph" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this, \'show_graph\')" ' . ($row2['show_graph'] == 1 ? ' checked' : '') . '/><label for="glasovanja_graph">' . $lang['glasovanja_results_graph'] . '</label><br /> ';
echo ' </div>';
// prikaz stevila glasov
echo '<div>';
echo '<span class="nastavitveSpan4"><label>' . $lang['glasovanja_results_allcount'] . ':</label></span>';
echo '<label for="glasovanja_count_0" class="pointer"><input type="radio" name="glasovanja_count" value="0" id="glasovanja_count_0" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this.value, \'stat_count\')" ' . ($row2['stat_count'] == 0 ? ' checked' : '') . '/>' . $lang['no1'] . '</label> ';
echo '<label for="glasovanja_count_1" class="pointer"><input type="radio" name="glasovanja_count" value="1" id="glasovanja_count_1" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this.value, \'stat_count\')" ' . ($row2['stat_count'] == 1 ? ' checked' : '') . '/>' . $lang['yes'] . '</label><br /> ';
echo '</div>';
echo ' <div class="setting_title">' . $lang['glasovanja_results_allcount'] . ':</div>';
echo ' <div class="setting_row">';
echo ' <input type="radio" name="glasovanja_count" value="0" id="glasovanja_count_0" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this.value, \'stat_count\')" ' . ($row2['stat_count'] == 0 ? ' checked' : '') . '/><label for="glasovanja_count_0">' . $lang['no1'] . '</label>';
echo ' <input type="radio" name="glasovanja_count" value="1" id="glasovanja_count_1" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this.value, \'stat_count\')" ' . ($row2['stat_count'] == 1 ? ' checked' : '') . '/><label for="glasovanja_count_1">' . $lang['yes'] . '</label>';
echo ' </div>';
// prikaz casa glasovanja
echo '<div>';
echo '<span class="nastavitveSpan4"><label>' . $lang['glasovanja_results_time'] . ':</label></span>';
echo '<label for="glasovanja_time_0" class="pointer"><input type="radio" name="glasovanja_time" value="0" id="glasovanja_time_0" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this.value, \'stat_time\')" ' . ($row2['stat_time'] == 0 ? ' checked' : '') . '/>' . $lang['no1'] . '</label> ';
echo '<label for="glasovanja_time_1" class="pointer"><input type="radio" name="glasovanja_time" value="1" id="glasovanja_time_1" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this.value, \'stat_time\')" ' . ($row2['stat_time'] == 1 ? ' checked' : '') . '/>' . $lang['yes'] . '</label><br /> ';
echo '</div>';
echo '<div class="setting_title">' . $lang['glasovanja_results_time'] . ':</div>';
echo ' <div class="setting_row">';
echo ' <input type="radio" name="glasovanja_time" value="0" id="glasovanja_time_0" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this.value, \'stat_time\')" ' . ($row2['stat_time'] == 0 ? ' checked' : '') . '/><label for="glasovanja_time_0">' . $lang['no1'] . '</label>';
echo ' <input type="radio" name="glasovanja_time" value="1" id="glasovanja_time_1" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this.value, \'stat_time\')" ' . ($row2['stat_time'] == 1 ? ' checked' : '') . '/><label for="glasovanja_time_1">' . $lang['yes'] . '</label>';
echo ' </div>';
// prikaz naslova vprasanja
echo '<div>';
echo '<span class="nastavitveSpan4"><label>' . $lang['glasovanja_results_title'] . ':</label></span>';
echo '<label for="glasovanja_title_1" class="pointer"><input type="radio" name="glasovanja_title" value="1" id="glasovanja_title_1" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this.value, \'show_title\')" ' . ($row2['show_title'] == 1 ? ' checked' : '') . '/>' . $lang['no1'] . '</label> ';
echo '<label for="glasovanja_title_0" class="pointer"><input type="radio" name="glasovanja_title" value="0" id="glasovanja_title_0" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this.value, \'show_title\')" ' . ($row2['show_title'] == 0 ? ' checked' : '') . '/>' . $lang['yes'] . '</label> ';
echo '</div>';
echo '<div class="setting_title">' . $lang['glasovanja_results_title'] . ':</div>';
echo ' <div class="setting_row">';
echo ' <input type="radio" name="glasovanja_title" value="1" id="glasovanja_title_1" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this.value, \'show_title\')" ' . ($row2['show_title'] == 1 ? ' checked' : '') . '/><label for="glasovanja_title_1">' . $lang['no1'] . '</label>';
echo ' <input type="radio" name="glasovanja_title" value="0" id="glasovanja_title_0" onClick="edit_glasovanje(\'' . $row2['spr_id'] . '\', this.value, \'show_title\')" ' . ($row2['show_title'] == 0 ? ' checked' : '') . '/><label for="glasovanja_title_0">' . $lang['yes'] . '</label>';
echo ' </div>';
}
echo '</fieldset>';
// SPODNJE EXTRA NASTAVITVE
echo '<div id="glas_extra_settings" '.($displayExtra==0 ? ' style="display: none;"' : '').' >';
// TRAJANJE
echo ' <fieldset>'. NEW_LINE;
echo ' <legend>' . $lang['duration'] . '</legend>'. NEW_LINE;
echo '<span class="nastavitveSpan4" style="width: 100%;"><label>' . $lang['srv_starts'] . ':</label></span>';
echo '<p><input id="starts" type="text" name="starts" value="' . date('d.m.Y', strtotime($rowA['starts'])) . '" disabled autocomplete="off"></p>';
echo '<span class="nastavitveSpan4" style="width: 100%;"><label>' . $lang['srv_expire'] . ':</label></span>';
echo '<p><input id="expire" type="text" name="expire" value="' . date('d.m.Y', strtotime($rowA['expire'])) . '" disabled autocomplete="off"></p>';
echo '<script type="text/javascript">
$(document).ready(function() {
$( "#starts" ).datepicker({
showOtherMonths: true,
selectOtherMonths: true,
changeMonth: true,
changeYear: true,
dateFormat: "dd.mm.yy",
showAnim: "slideDown",
showOn: "button",
buttonText: "",
onSelect: function(selected, evnt) {
edit_glasovanje(\'' . $rowA['spr_id'] . '\', this.value, \'starts\')
}
});
$( "#expire" ).datepicker({
showOtherMonths: true,
selectOtherMonths: true,
changeMonth: true,
changeYear: true,
dateFormat: "dd.mm.yy",
showAnim: "slideDown",
showOn: "button",
buttonText: "",
onSelect: function(selected, evnt) {
edit_glasovanje(\'' . $rowA['spr_id'] . '\', this.value, \'expire\')
}
});
});
</script>';
echo ' </fieldset>';
// Izbira skina za glasovanje
echo '<fieldset>';
echo '<legend>' . $lang['srv_themes'] . '</legend>';
// Izbira skina za anketo
echo '<span class="nastavitveSpan4"><label>' . $lang['glasovanja_theme'] . ':</label></span>';
echo '<select name="skin_anketa" id="skin_anketa" onChange="edit_glasovanje(\'' . $row2['spr_id'] . '\', this.value, \'skin_anketa\')">' . NEW_LINE;
$st = new SurveyTheme();
$skins = $st->getGroups();
foreach ($skins['0']['skins'] as $key => $skin) {
$simple_name = preg_replace("/\.css$/", '', $skin);
// Default skin po novem izkljucimo
if ($simple_name != 'Default') {
echo ' <option value="'.$simple_name.'"' . ($rowA['skin'] == $simple_name ? ' selected="selected"' : '') . '>'.($simple_name == '1kaBlue' ? $simple_name.' (' . $lang['default'] . ')' : $simple_name).'</option>' . NEW_LINE;
}
}
echo '</select><br>' . NEW_LINE;
// Izbira skina za statistiko
echo '<span class="nastavitveSpan4"><label>' . $lang['glasovanja_stat_theme'] . ':</label></span>';
$dir = opendir($site_path . 'main/survey/skins/glasovanje/');
echo '<select name="skin" id="skin" onChange="edit_glasovanje(\'' . $row2['spr_id'] . '\', this.value, \'skin\')">' . NEW_LINE;
while ($file = readdir($dir)) {
if ($file != '.' && $file != '..' && $file != '.svn' && strtolower(substr($file, -4, 4)) == '.css')
echo ' <option value="' . substr($file, 0, -4) . '"' . ($row2['skin'] == substr($file, 0, -4) ? ' selected="selected"' : '') . '>' . substr($file, 0, -4) . '</option>' . NEW_LINE;
elseif ($file != '.' && $file != '..' && $file != '.svn' && strtolower(substr($file, -4, 4)) != '.css') {
if (is_file($site_path . 'main/survey/skins/' . $file . '/' . $file . '.css')) {
echo ' <option value="' . $file . '"' . ($row2['skin'] == $file ? ' selected="selected"' : '') . '>' . $file . '</option>' . NEW_LINE;
}
}
}
echo '</select>' . NEW_LINE;
echo '</fieldset>';
echo '</div>';
// gumb VEC
// gumb VEC
echo '<div class="expand_holder">';
if($displayExtra==1){
echo '<span class="more" style="display:none;"><a href="#" onClick="glas_extra_settings();">'.$lang['srv_more'].'</a></span>';
echo '<span class="less"><a href="#" onClick="glas_extra_settings();">'.$lang['srv_less'].'</a></span>';
echo '<span class="more" style="display:none;"><a href="#" onClick="glas_extra_settings();">'.$lang['srv_publication_survey_settings_more'].'<span class="faicon arrow2_d"></span></a></span>';
echo '<span class="less"><a href="#" onClick="glas_extra_settings();">'.$lang['srv_publication_survey_settings_less'].'<span class="faicon arrow2_u"></span></a></span>';
}
else{
echo '<span class="more"><a href="#" onClick="glas_extra_settings();">'.$lang['srv_more'].'</a></span>';
echo '<span class="less" style="display:none;"><a href="#" onClick="glas_extra_settings();">'.$lang['srv_less'].'</a></span>';
echo '<span class="more"><a href="#" onClick="glas_extra_settings();">'.$lang['srv_publication_survey_settings_more'].'<span class="faicon arrow2_d"></span></a></span>';
echo '<span class="less" style="display:none;"><a href="#" onClick="glas_extra_settings();">'.$lang['srv_publication_survey_settings_less'].'<span class="faicon arrow2_u"></span></a></span>';
}
echo '</div>';
echo '<div id="glas_extra_settings" '.($displayExtra==0 ? ' style="display: none;"' : '').' >';
// TRAJANJE
echo '<fieldset>';
echo ' <div class="setting_row half-half">';
echo ' <div class="setting_title">' . $lang['srv_starts2'] . ':</div>';
echo ' <input id="starts" class="small" type="text" name="starts" value="' . date('d.m.Y', strtotime($rowA['starts'])) . '" disabled autocomplete="off">';
echo ' </div>';
echo ' <div class="setting_row half-half">';
echo ' <div class="setting_title">' . $lang['srv_expire2'] . ':</div>';
echo ' <input id="expire" class="small" type="text" name="expire" value="' . date('d.m.Y', strtotime($rowA['expire'])) . '" disabled autocomplete="off">';
echo ' </div>';
echo '<script type="text/javascript">
$(document).ready(function() {
$( "#starts" ).datepicker({
showOtherMonths: true,
selectOtherMonths: true,
changeMonth: true,
changeYear: true,
dateFormat: "dd.mm.yy",
showAnim: "slideDown",
showOn: "button",
buttonText: "",
onSelect: function(selected, evnt) {
edit_glasovanje(\'' . $rowA['spr_id'] . '\', this.value, \'starts\')
}
});
$( "#expire" ).datepicker({
showOtherMonths: true,
selectOtherMonths: true,
changeMonth: true,
changeYear: true,
dateFormat: "dd.mm.yy",
showAnim: "slideDown",
showOn: "button",
buttonText: "",
onSelect: function(selected, evnt) {
edit_glasovanje(\'' . $rowA['spr_id'] . '\', this.value, \'expire\')
}
});
});
</script>';
echo ' </fieldset>';
// Izbira skina za glasovanje
echo '<fieldset>';
// Izbira skina za anketo
echo ' <div class="setting_row half-half">';
echo ' <div class="setting_title">' . $lang['glasovanja_theme2'] . '</div>';
echo ' <select name="skin_anketa" id="skin_anketa" class="dropdown small" onChange="edit_glasovanje(\'' . $row2['spr_id'] . '\', this.value, \'skin_anketa\')">';
$st = new SurveyTheme();
$skins = $st->getGroups();
foreach ($skins['0']['skins'] as $key => $skin) {
$simple_name = preg_replace("/\.css$/", '', $skin);
// Default skin po novem izkljucimo
if ($simple_name != 'Default') {
echo ' <option value="'.$simple_name.'"' . ($rowA['skin'] == $simple_name ? ' selected="selected"' : '') . '>'.($simple_name == '1kaBlue' ? $simple_name.' (' . $lang['default'] . ')' : $simple_name).'</option>';
}
}
echo ' </select>';
echo ' </div>';
// Izbira skina za statistiko
echo ' <div class="setting_row half-half">';
echo ' <div class="setting_title">' . $lang['glasovanja_stat_theme2'] . ':</div>';
echo ' <select name="skin" id="skin" class="dropdown small" onChange="edit_glasovanje(\'' . $row2['spr_id'] . '\', this.value, \'skin\')">';
$dir = opendir($site_path . 'main/survey/skins/glasovanje/');
while ($file = readdir($dir)) {
if ($file != '.' && $file != '..' && $file != '.svn' && strtolower(substr($file, -4, 4)) == '.css')
echo ' <option value="' . substr($file, 0, -4) . '"' . ($row2['skin'] == substr($file, 0, -4) ? ' selected="selected"' : '') . '>' . substr($file, 0, -4) . '</option>';
elseif ($file != '.' && $file != '..' && $file != '.svn' && strtolower(substr($file, -4, 4)) != '.css') {
if (is_file($site_path . 'main/survey/skins/' . $file . '/' . $file . '.css')) {
echo ' <option value="' . $file . '"' . ($row2['skin'] == $file ? ' selected="selected"' : '') . '>' . $file . '</option>';
}
}
}
echo ' </select>';
echo ' </div>';
echo '</fieldset>';
echo '</div>';
}
/**

View File

@ -3241,19 +3241,9 @@ function edit_glasovanje(spremenljivka, results, what){
function glas_extra_settings(){
$('.more').toggle();
$('.less').toggle();
$('#glas_extra_settings').toggle();
$('#glas_extra_settings').slideToggle();
}
//reload za editiranje uvoda/zakljucka pri formi
/*function load_formIO(spremenljivka, what){
$("#question_holder").load('ajax.php?a=form_extra', {anketa: srv_meta_anketa_id, spremenljivka: spremenljivka, what: what});
}
//reload za editiranje uvoda/zakljucka pri glasovanju
function load_glasIO(spremenljivka, what){
$("#question_holder").load('ajax.php?a=form_extra', {anketa: srv_meta_anketa_id, spremenljivka: spremenljivka, what: what});
}*/
//hitre nastavitve za formo - what je spremenljivka, ki jo spreminjamo
function edit_form_settings(spremenljivka, results, what){

View File

@ -2532,7 +2532,9 @@ $lang = array (
"srv_survey_non_active_expired" => "Anketa več ni aktivna. Končala se je dne: ",
"srv_survey_non_active_expired1" => "Anketa več ni aktivna. Končala se je dne: ",
"srv_starts" => "Datum začetka ankete",
"srv_starts2" => "Začetek ankete",
"srv_expire" => "Datum zaključka ankete",
"srv_expire2" => "Zaključek ankete",
"srv_vote_limit" => "Omejitev &#154;tevila odgovorov",
"srv_vote_quotas" => "Kvote (omejitev &#154;tevila odgovorov)",
"srv_vote_quotas_2" => "Kvote",
@ -3055,7 +3057,9 @@ $lang = array (
"glasovanja_embed_on" => "Vklju&#269;ena v drugo spletno mesto",
"glasovanja_embed_off" => "Samostojna anketa",
"glasovanja_theme" => "Izberi temo za anketo",
"glasovanja_theme2" => "Tema za anketo",
"glasovanja_stat_theme" => "Izberi temo za statistiko",
"glasovanja_stat_theme2" => "Tema za statistiko",
"oblikovanje_if" => "Nastavitve pogoja",
"oblikovanje_blok" => "Nastavitve bloka",
"sintaksa_if" => "Predogled pogojev",

View File

@ -2506,7 +2506,9 @@ $lang = array (
"srv_survey_non_active_notStarted" => "Survey is not active. Survey starts on: ",
"srv_survey_non_active_expired" => "Survey is not active. Survey expired on: ",
"srv_starts" => "Date of survey start",
"srv_starts2" => "Survey start",
"srv_expire" => "Date of survey expiration",
"srv_expire2" => "Survey expiration",
"srv_vote_limit" => "Limit number of responses",
"srv_vote_quotas" => "Quotas (limit number of responses)",
"srv_vote_quotas_2" => "Quotas",
@ -3027,7 +3029,9 @@ $lang = array (
"glasovanja_embed_on" => "Embedded survey",
"glasovanja_embed_off" => "Stand alone survey",
"glasovanja_theme" => "Select voting theme",
"glasovanja_theme2" => "Voting theme",
"glasovanja_stat_theme" => "Select statistics theme",
"glasovanja_stat_theme2" => "Statistics theme",
"oblikovanje_if" => "Condition settings",
"oblikovanje_blok" => "Block settings",
"sintaksa_if" => "Syntax of conditions",

File diff suppressed because it is too large Load Diff

View File

@ -1,69 +1,22 @@
/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
Forma - urejanje
*/
/*
Created on : 03-Aug-2018, 13:34:26
Author : podkrizniku
*/
#branching.expanded.branching_forma {
ul.first {
li.empty_vrivanje {
margin-top: -45px !important;
}
margin-top: 59px !important;
}
}
#branching.collapsed.branching_forma {
ul.first {
margin-top: 66px !important;
}
}
#anketa_edit.forma {
#quick_settings_holder{
position: absolute;
right: 5%;
top: 235px;
height: auto;
width: 310px;
border: 0;
background-color: transparent;
#quick_settings{
padding: 5px 15px;
width: 315px;
box-sizing: border-box;
float: right;
position: relative;
display: flex;
background-color: $blue;
border: 1px solid $blue;
fieldset {
border: 1px $gray solid;
}
/* Srednji del */
#placeholder{
.form_bottom_settings {
margin: 0 8px 10px 8px;
padding: 0 0 5px 10px;
background-color: inherit;
}
#branching {
margin-top: 80px;
}
#form_settings_obvescanje {
padding: 1px 0 10px 10px;
textarea#alert_finish_other_emails {
&:focus {
padding: 2px;
border: 0;
background-color: $yellow;
}
}
}
#vprasanje_float_editing{
margin-top: 80px !important;
}
}
}

View File

@ -1,178 +1,161 @@
/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/*
Created on : 03-Aug-2018, 11:04:39
Author : podkrizniku
Glasovanje - urejanje
*/
#anketa_edit.glasovanje {
position: relative;
display: flex;
/* Leve nastavitve */
.glas_settings_holder{
.nastavitveSpan4 {
display: table-cell;
float: left;
font-weight: 500;
width: 55%;
clear: both;
}
.nastavitveSpan5 {
display: table-cell;
float: left;
font-weight: 500;
width: 25%;
clear: both;
}
select#skin_anketa {
max-width: 120px;
margin-bottom: 2px;
}
select#skin {
max-width: 120px;
margin: 4px 0 2px 0;
}
#quick_settings {
}
#anketa_edit.page_.subpage_.glasovanje {
.anketa_edit_main{
display: flex;
/* Leve nastavitve */
#glas_settings {
width: 330px;
min-width: 290px;
display: flex;
flex-direction: column;
margin: 20px 0 0 0;
padding: 0;
width: 304px;
margin: 0 64px 0 32px;
padding-bottom: 16px;
line-height: 18px;
border: 1px solid $gray;
border-radius: 2px;
background-color: white;
border: 1px solid $blue;
.more {
float: right;
margin: 5px 20px 10px 0;
font-weight: 500;
}
.less {
float: right;
margin: 5px 20px 10px 0;
font-weight: 500;
}
.header_holder {
height: 35px;
font-size: 16px;
font-weight: 500;
background-color: $blue;
width: 100%;
//border-bottom: #d2d5d5;
}
.header_content {
padding: 8px 0px 7px 0px;
.header_left {
color: $blue;
font-size: 16px;
font-weight: 500;
width: auto;
float: left;
padding-left: 10px;
}
.header {
padding: 12px 16px;
font-size: 14px;
font-weight: 600;
text-transform: uppercase;
background-color: $light-gray;
}
fieldset {
margin: 11px 10px;
padding: 3px 5px;
border: 0;
border-top: 1px solid $blue;
}
legend {
padding: 0 16px 0;
margin: 0;
padding: 0 10px 0 5px;
background-color: rgba(0, 0, 0, 0);
color: $blue;
font-weight: 500;
}
}
border: 0;
/* Srednji del */
#placeholder{
margin: 85px 0 0 20px;
max-width: 1100px;
.setting_title{
margin-top: 16px;
#branching.branching_glasovanje {
padding: 3px;
min-height: 400px;
width: calc(96% - 315px);
ul.first {
margin: 1px 0 0 0 !important;
font-weight: 600;
font-size: 14px;
}
ul {
li {
margin-left: 0px !important;
.setting_row{
display: flex;
margin: 8px 0 0 0;
font-size: 14px;
label{
font-size: 14px;
}
}
}
#vprasanje_float_editing{
margin-top: 45px !important;
}
}
&.half-half{
justify-content: space-between;
align-items: center;
margin-top: 16px;
/* Desne nastavitve */
#quick_settings_holder{
position: absolute;
right: calc(3% + 5px);
margin-left: -5px;
top: 222px;
height: auto;
width: 310px;
border: 0;
background-color: transparent;
#quick_settings{
padding: 5px 15px;
width: 315px;
box-sizing: border-box;
float: right;
background-color: $blue;
border: 1px solid $blue;
fieldset {
border: 1px $gray solid;
}
.form_bottom_settings {
margin: 0 8px 10px 8px;
padding: 0 0 5px 10px;
background-color: inherit;
}
#form_settings_obvescanje {
padding: 1px 0 10px 10px;
textarea#alert_finish_other_emails {
&:focus {
padding: 2px;
border: 0;
background-color: $yellow;
.setting_title{
width: 50%;
margin-top: 0;
}
input{
margin-top: 0;
width: 112px;
}
select{
margin-top: 0;
width: 135px;
}
}
}
}
.expand_holder{
margin: 16px 16px 0 16px;
a{
font-size: 14px;
text-decoration: none;
.faicon::before{
margin-left: 8px;
font-size: 12px;
}
}
}
}
}
/* Srednji del */
#placeholder{
#branching {
min-height: 400px;
width: calc(100% - 421px);
margin: 80px 0 0 0;
}
#vprasanje_float_editing{
margin-top: 80px !important;
}
}
}
/* Desne nastavitve */
#quick_settings_holder{
position: absolute;
right: 32px;
height: auto;
#quick_settings{
width: 325px;
box-sizing: border-box;
padding: 12px 16px;
border: 1px solid $gray;
border-radius: 2px;
span,
label{
font-size: 14px;
}
.header{
cursor: pointer;
display: flex;
justify-content: space-between;
font-weight: 600;
text-transform: uppercase;
}
#form_settings_obvescanje.form_bottom_settings {
/*margin: 0 8px 10px 8px;
padding: 0 0 5px 10px;
background-color: inherit;
padding: 1px 0 10px 10px;
textarea#alert_finish_other_emails {
&:focus {
padding: 2px;
border: 0;
background-color: $yellow;
}
}*/
.setting_row{
margin: 16px 0 0 0;
}
}
}
}