[Redizajn 1KA] Popupi: Analize - Filtri > Zoom

This commit is contained in:
tejagerjovic 2022-05-06 00:15:13 +02:00
parent c65e4deaa2
commit a7be11f375
6 changed files with 54 additions and 28 deletions

View File

@ -463,7 +463,7 @@ class SurveyAdmin
echo '<div id="zoom_div" class="divPopUp"></div>'; echo '<div id="zoom_div" class="divPopUp"></div>';
# skrit div za izbor profilov nastavitev # skrit div za izbor profilov nastavitev
echo '<div id="inspect_div" class="divPopUp"></div>'; echo '<div id="inspect_div" class="divPopUp PopUpNarrow"></div>';
# skrit div za izbor profilov zank # skrit div za izbor profilov zank
echo '<div id="div_zanka_profiles" class="divPopUp"></div>'; echo '<div id="div_zanka_profiles" class="divPopUp"></div>';

View File

@ -552,39 +552,45 @@ class SurveyInspect {
# Nastavitve za Inspect # Nastavitve za Inspect
echo '<div class="setting_line">'; echo '<p class="bottom16">';
echo $lang['srv_inspect_setting_link']; echo $lang['srv_inspect_setting_link'];
echo '</div>'; echo '</p>';
echo '<div class="setting_holder">';
echo '<p class="setting_title">'.$lang['srv_inspect_setting_enabled'].'</p>';
echo '<div class="setting_line">'; echo '<div class="horizontal">';
echo ' <label>'.$lang['srv_inspect_setting_enabled'].'</label>';
echo '<div class="setting_item">';
echo ' <input id="enableInspect0" name="enableInspect" type="radio" value="0" '.(($this->enableInspect == false) ? ' checked="checked" ' : '').' autocomplete="off">'; echo ' <input id="enableInspect0" name="enableInspect" type="radio" value="0" '.(($this->enableInspect == false) ? ' checked="checked" ' : '').' autocomplete="off">';
echo ' <label for="enableInspect0">'.$lang['no'].'</label>'; echo ' <label for="enableInspect0">'.$lang['no'].'</label>';
echo '</div>';
echo '<div class="setting_item">';
echo ' <input id="enableInspect1" name="enableInspect" type="radio" value="1" '.(($this->enableInspect == true) ? ' checked="checked" ' : '') . ' autocomplete="off">'; echo ' <input id="enableInspect1" name="enableInspect" type="radio" value="1" '.(($this->enableInspect == true) ? ' checked="checked" ' : '') . ' autocomplete="off">';
echo ' <label for="enableInspect1">'.$lang['yes'].' '.Help :: display('srv_crosstab_inspect').'</label>'; echo ' <label for="enableInspect1">'.$lang['yes'].' '.Help :: display('srv_crosstab_inspect').'</label>';
echo '</div>';
echo '</div>'; echo '</div>';
echo '</div>';
echo '<div class="setting_line">'; echo '<div class="setting_holder">';
echo '<p class="setting_title">'.$lang['srv_inspect_goto_note'].'</p>';
echo ' <label>'.$lang['srv_inspect_goto_note'].'</label>';
echo '<div class="setting_item">';
echo ' <input type="radio" name="inspectGoto" id="inspectGoto_'.SI_GOTO_ANALIZE.'" value="'.SI_GOTO_ANALIZE.'"'.($this->inspect_goto == SI_GOTO_ANALIZE ? ' checked="checked"' : '').' onchange="inspectRadioChange();return false;" autocomplete="off">'; echo ' <input type="radio" name="inspectGoto" id="inspectGoto_'.SI_GOTO_ANALIZE.'" value="'.SI_GOTO_ANALIZE.'"'.($this->inspect_goto == SI_GOTO_ANALIZE ? ' checked="checked"' : '').' onchange="inspectRadioChange();return false;" autocomplete="off">';
echo ' <label>'.$lang['srv_inspect_goto_'.SI_GOTO_ANALIZE].'</label>'; echo ' <label>'.$lang['srv_inspect_goto_'.SI_GOTO_ANALIZE].'</label>';
echo '</div>';
echo '<div class="setting_item">';
echo ' <input type="radio" name="inspectGoto" id="inspectGoto_'.SI_GOTO_VPOGLED.'" value="'.SI_GOTO_VPOGLED.'"'.($this->inspect_goto == SI_GOTO_VPOGLED ? ' checked="checked"' : '').' onchange="inspectRadioChange();return false;" autocomplete="off">'; echo ' <input type="radio" name="inspectGoto" id="inspectGoto_'.SI_GOTO_VPOGLED.'" value="'.SI_GOTO_VPOGLED.'"'.($this->inspect_goto == SI_GOTO_VPOGLED ? ' checked="checked"' : '').' onchange="inspectRadioChange();return false;" autocomplete="off">';
echo ' <label>'.$lang['srv_inspect_goto_'.SI_GOTO_VPOGLED].'</label>'; echo ' <label>'.$lang['srv_inspect_goto_'.SI_GOTO_VPOGLED].'</label>';
echo '</div>';
echo '<div class="setting_item">';
echo ' <input type="radio" name="inspectGoto" id="inspectGoto_'.SI_GOTO_PODATKI.'" value="'.SI_GOTO_PODATKI.'"'.($this->inspect_goto == SI_GOTO_PODATKI ? ' checked="checked"' : '').' onchange="inspectRadioChange();return false;" autocomplete="off">'; echo ' <input type="radio" name="inspectGoto" id="inspectGoto_'.SI_GOTO_PODATKI.'" value="'.SI_GOTO_PODATKI.'"'.($this->inspect_goto == SI_GOTO_PODATKI ? ' checked="checked"' : '').' onchange="inspectRadioChange();return false;" autocomplete="off">';
echo ' <label>'.$lang['srv_inspect_goto_'.SI_GOTO_PODATKI].'</label>'; echo ' <label>'.$lang['srv_inspect_goto_'.SI_GOTO_PODATKI].'</label>';
echo '</div>'; echo '</div>';
echo '</div>';
echo '<div id="inspectListDiv" class="settings_block" '.($this->inspect_goto != SI_GOTO_PODATKI ? ' class="displayNone"' : '').'>'; echo '<div id="inspectListDiv" class="settings_block" '.($this->inspect_goto != SI_GOTO_PODATKI ? ' class="displayNone"' : '').'>';
echo ' <div class="setting_line">'; echo ' <div class="setting_line">';

View File

@ -5467,7 +5467,7 @@ $lang = array (
"srv_replace" => 'Zamenjaj', "srv_replace" => 'Zamenjaj',
"srv_inspect_setting" => 'Zoom', "srv_inspect_setting" => 'Zoom',
"srv_inspect_setting_enabled" => '"Zoom" je omogočen:', "srv_inspect_setting_enabled" => '"Zoom" je omogočen:',
"srv_inspect_setting_link" => 'Preberite več o funkcionalnosti "Zoom" <a href="https://www.1ka.si/d/sl/pomoc/prirocniki/zoom?from1ka=1" target="_blank"><span class="bold">tukaj</span></a>', "srv_inspect_setting_link" => 'Preberite več o funkcionalnosti "Zoom" <a href="https://www.1ka.si/d/sl/pomoc/prirocniki/zoom?from1ka=1" target="_blank">tukaj.</a>',
"srv_inspect_setting_show_variables" => 'Pri pregledovanju prikaži dodatne spremenljivke:', "srv_inspect_setting_show_variables" => 'Pri pregledovanju prikaži dodatne spremenljivke:',
"srv_inspect_goto_note" => '"Zoom" kaže na:', "srv_inspect_goto_note" => '"Zoom" kaže na:',
"srv_inspect_goto_0" => 'Obstoječe analize', "srv_inspect_goto_0" => 'Obstoječe analize',

View File

@ -5427,7 +5427,7 @@ $lang = array (
"srv_replace" => 'Replace', "srv_replace" => 'Replace',
"srv_inspect_setting" => 'Zoom', "srv_inspect_setting" => 'Zoom',
"srv_inspect_setting_enabled" => '"Zoom" is enabled:', "srv_inspect_setting_enabled" => '"Zoom" is enabled:',
"srv_inspect_setting_link" => 'For more information on "Zoom" functionality click <a href="https://www.1ka.si/d/en/help/manuals/zoom" target="_blank"><span class="bold">here</span></a>', "srv_inspect_setting_link" => 'For more information on "Zoom" functionality click <a href="https://www.1ka.si/d/en/help/manuals/zoom" target="_blank">here.</a>',
"srv_inspect_setting_show_variables" => 'Always show the following variables:', "srv_inspect_setting_show_variables" => 'Always show the following variables:',
"srv_inspect_goto_note" => '"Zoom" points to the:', "srv_inspect_goto_note" => '"Zoom" points to the:',
"srv_inspect_goto_0" => 'Existing analyses', "srv_inspect_goto_0" => 'Existing analyses',

View File

@ -8356,6 +8356,11 @@ fieldset.statusProfileFieldset .setting_holder.disabled .setting_item label {
margin-right: 4px; margin-right: 4px;
} }
div#inspect_div .setting_holder .horizontal {
display: flex;
flex-direction: row;
}
/* /*
Header scss - top line, menu... Header scss - top line, menu...
*/ */

View File

@ -318,3 +318,18 @@ fieldset.statusProfileFieldset {
#rec_spremenljivka_naslov { #rec_spremenljivka_naslov {
margin-right: 4px; margin-right: 4px;
} }
//////ANALIZA//////
//Zoom
div#inspect_div {
.setting_holder {
.horizontal {
display: flex;
flex-direction: row;
}
}
}