Redesign - analize - crosstab - V DELU
This commit is contained in:
parent
4072f2606f
commit
ec366dd89f
@ -2906,9 +2906,7 @@ class SurveyAdmin
|
||||
|
||||
SurveyAnalysis::Init($this->anketa);
|
||||
SurveyAnalysis::DisplayFilters();
|
||||
if ($_GET['m'] == M_ANALYSIS_CROSSTAB) {
|
||||
echo '<br class="clr"/>';
|
||||
}
|
||||
|
||||
echo '<div id="div_analiza_data" class="' . $podstran . '">';
|
||||
SurveyAnalysis::Display();
|
||||
echo '</div>'; // div_analiza_data
|
||||
|
@ -371,29 +371,33 @@ class SurveyCrosstabs {
|
||||
*
|
||||
*/
|
||||
function Display() {
|
||||
global $lang;
|
||||
|
||||
# preberemo prednastavljene variable iz seje, če obstajajo
|
||||
$this->presetVariables();
|
||||
|
||||
if ($this->dataFileStatus == FILE_STATUS_NO_DATA
|
||||
|| $this->dataFileStatus == FILE_STATUS_NO_FILE
|
||||
|| $this->dataFileStatus == FILE_STATUS_SRV_DELETED){
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
global $lang;
|
||||
|
||||
# polovimo nastavtve missing profila
|
||||
//$this->missingProfileData = SurveyMissingProfiles::getProfile($this->currentMissingProfile);
|
||||
echo '<div class="crosstab_top_holder">';
|
||||
|
||||
// Izbira spremenljivk
|
||||
echo '<div id="crosstab_drobdowns">';
|
||||
$resultIsCheckbox = $this->DisplayDropdows();
|
||||
echo '</div>';
|
||||
echo '<div id="div_crossCheck" class="floatLeft spaceLeft">' ;
|
||||
|
||||
// Nastavitve
|
||||
echo '<div id="crosstab_settings">' ;
|
||||
$this->displayLinePercent();
|
||||
$this->displayResidual();
|
||||
$this->displayShowChart();
|
||||
if ( $resultIsCheckbox['is_check']) {
|
||||
echo '<div id="crossNavedbeVsENote">';
|
||||
echo '<div id="crossNavedbeVsENote" class="setting_line">';
|
||||
echo '<input type="radio" name="crossNavVsEno" id="crossNavVsEno0" vlaue="0" '.($this->crossNavVsEno == 0 ? ' checked="checked" ' : '' ).' onchange="change_crosstab(); return false;" autocomplete="off">'.
|
||||
'<label for="crossNavVsEno0">'.$lang['srv_analiza_crosstab_navedbe'].'</label>';
|
||||
echo '<input type="radio" name="crossNavVsEno" id="crossNavVsEno1" vlaue="1" '.($this->crossNavVsEno == 1? ' checked="checked" ' : '' ).' onchange="change_crosstab(); return false;" autocomplete="off">'.
|
||||
@ -402,35 +406,35 @@ class SurveyCrosstabs {
|
||||
}
|
||||
echo '</div>';
|
||||
|
||||
echo '</div>';
|
||||
|
||||
$this->displayExport();
|
||||
$this->displayCrosstabCheckboxes();
|
||||
echo '<div id="crosstab_table">';
|
||||
|
||||
// Tabele
|
||||
echo '<div id="crosstab_tables">';
|
||||
$this->displayCrosstabsTables();
|
||||
echo '</div>';
|
||||
}
|
||||
|
||||
function DisplayDropdows() {
|
||||
global $lang;
|
||||
|
||||
$variables = $this->getVariableList();
|
||||
$multiple = true;
|
||||
|
||||
echo '<div id="crossLeftHolder" >';
|
||||
|
||||
echo '<div id="crossLeftHolder">';
|
||||
|
||||
# iz header datoteke preberemo spremenljivke
|
||||
#js: $("#crosstab_variable_1, #crosstab_variable_2").live('click', function() {})
|
||||
if (count($this->variabla1) > 0) {
|
||||
$br=null;
|
||||
echo $lang['srv_crosstab_label1'].'<br/>';
|
||||
if ((int)$this->variabla1['0']['seq'] > 0) {
|
||||
echo '<span class="pointer" id="crosstab_add_new" onclick="add_new_variable(\'1\');"><span class="faicon add small icon-as_link" title=""></span></span>';
|
||||
}
|
||||
|
||||
echo '<div class="title">'.$lang['srv_crosstab_label1'].'</div>';
|
||||
|
||||
foreach($this->variabla1 AS $_key => $variabla1) {
|
||||
echo $_br;
|
||||
echo '<span id="v1_'.$_key.'">';
|
||||
|
||||
echo '<select name="crosstab_variable_1" id="crosstab_variable_1" onchange="change_crosstab(); return false;" autocomplete="off">';
|
||||
echo '<div id="v1_'.$_key.'" class="variabla_line">';
|
||||
|
||||
echo '<select name="crosstab_variable_1" id="crosstab_variable_1" class="dropdown large" onchange="change_crosstab(); return false;" autocomplete="off">';
|
||||
|
||||
# ce prva variabla ni izbrana, dodamo tekst za izbiro prve variable
|
||||
if ( $variabla1['seq'] == null || $variabla1['seq'] == 0 ) {
|
||||
@ -448,41 +452,49 @@ class SurveyCrosstabs {
|
||||
}
|
||||
|
||||
echo '</select>';
|
||||
|
||||
// Gumb odstrani
|
||||
echo '<div class="crosstab_remove_holder">';
|
||||
if (count($this->variabla1) > 1) {
|
||||
echo '<span class="pointer" id="crosstab_remove" onclick="crs_remove_variable(this);"><span class="faicon delete_circle icon-orange_link" title=""></span></span>';
|
||||
} else {
|
||||
#echo '<span class="space_crosstab_new"> </span>';
|
||||
echo '<span class="faicon delete_circle" id="crosstab_remove" onclick="crs_remove_variable(this);"></span>';
|
||||
}
|
||||
echo '</div>';
|
||||
|
||||
echo '</div>';
|
||||
}
|
||||
|
||||
$_br = '<br/><span class="space_crosstab_new"> </span>';
|
||||
echo '</span>';
|
||||
if ((int)$this->variabla1['0']['seq'] > 0) {
|
||||
echo '<button class="blue small" id="crosstab_add_new" onclick="add_new_variable(\'1\');">'.$lang['srv_multicrosstabs_add'].'</button>';
|
||||
}
|
||||
$_br = null;
|
||||
}
|
||||
|
||||
echo '</div>';
|
||||
|
||||
|
||||
echo '<div id="crossImgHolder">';
|
||||
echo '<br/>';
|
||||
|
||||
if ($this->isSelectedBothVariables()) {
|
||||
echo '<span class="faicon replace icon-as_link" title="'.$lang['srv_replace'].'" onclick="change_crosstab(\'rotate\');return false;" />';
|
||||
} else {
|
||||
echo '<span class="faicon replace icon-grey_normal" title="'.$lang['srv_replace'].'" />';
|
||||
echo '<span class="faicon replace" title="'.$lang['srv_replace'].'" onclick="change_crosstab(\'rotate\');return false;" />';
|
||||
}
|
||||
else {
|
||||
echo '<span class="faicon replace gray" title="'.$lang['srv_replace'].'" />';
|
||||
}
|
||||
|
||||
echo '</div>';
|
||||
|
||||
|
||||
echo '<div id="crossRightHolder">';
|
||||
echo $lang['srv_crosstab_label2'].'<br/>';
|
||||
|
||||
echo '<div class="title">'.$lang['srv_crosstab_label2'].'</div>';
|
||||
|
||||
# za vsako novo spremenljivko 2 nardimo svoj select
|
||||
if (count($this->variabla2) > 0) {
|
||||
if ((int)$this->variabla1['0']['seq'] > 0) {
|
||||
echo '<span class="pointer" id="crosstab_add_new" onclick="add_new_variable(\'2\');"><span class="faicon add small icon-as_link" title="'.'"></span></span>';
|
||||
}
|
||||
|
||||
foreach($this->variabla2 AS $_key => $variabla2) {
|
||||
echo $_br;
|
||||
echo '<span id="v2_'.$_key.'">';
|
||||
|
||||
echo '<select name="crosstab_variable_2" id="crosstab_variable_2" onchange="change_crosstab(); return false;" autocomplete="off"'
|
||||
echo '<div id="v2_'.$_key.'" class="variabla_line">';
|
||||
|
||||
echo '<select name="crosstab_variable_2" id="crosstab_variable_2" class="dropdown large" onchange="change_crosstab(); return false;" autocomplete="off"'
|
||||
. ((int)$this->variabla1['0']['seq'] > 0 ? '' : ' disabled="disabled" ')
|
||||
.'>';
|
||||
|
||||
@ -506,19 +518,27 @@ class SurveyCrosstabs {
|
||||
. $variable['variableNaslov'] .'</option>';
|
||||
|
||||
}
|
||||
echo '</select>';
|
||||
if (count($this->variabla2) > 1) {
|
||||
echo '<span class="pointer" id="crosstab_remove" onclick="crs_remove_variable(this);"><span class="faicon delete_circle icon-orange_link" title=""></span></span>';
|
||||
} else {
|
||||
echo '<span class="space_crosstab_new"> </span>';
|
||||
}
|
||||
|
||||
$_br = '<br/><span class="space_crosstab_new"> </span>';
|
||||
echo '</span>';
|
||||
}
|
||||
echo '</select>';
|
||||
|
||||
// Gumb odstrani
|
||||
echo '<div class="crosstab_remove_holder">';
|
||||
if (count($this->variabla2) > 1) {
|
||||
echo '<span class="faicon delete_circle" id="crosstab_remove" onclick="crs_remove_variable(this);"></span>';
|
||||
}
|
||||
echo '</div>';
|
||||
|
||||
echo '</div>';
|
||||
}
|
||||
|
||||
if ((int)$this->variabla1['0']['seq'] > 0) {
|
||||
echo '<button class="blue small" id="crosstab_add_new" onclick="add_new_variable(\'2\');">'.$lang['srv_multicrosstabs_add'].'</button>';
|
||||
}
|
||||
}
|
||||
|
||||
echo '</div>';
|
||||
|
||||
|
||||
# če je katera od variabel checkbox, ponudimo možnodt izbire ali po enotah ali po navedbah
|
||||
$is_check = false;
|
||||
if (count($this->variabla2) > 0) {
|
||||
@ -550,9 +570,11 @@ class SurveyCrosstabs {
|
||||
|
||||
|
||||
if ($which == '1') {
|
||||
echo '<br/>';
|
||||
echo '<span class="space_crosstab_new"> </span>';
|
||||
echo '<select name="crosstab_variable_1" id="crosstab_variable_1" onchange="change_crosstab(); return false;" autocomplete="off">';
|
||||
|
||||
echo '<div class="variabla_line">';
|
||||
|
||||
echo '<select name="crosstab_variable_1" id="crosstab_variable_1" class="dropdown large" onchange="change_crosstab(); return false;" autocomplete="off">';
|
||||
|
||||
# ce prva variabla ni izbrana, dodamo tekst za izbiro prve variable
|
||||
if ( $variabla1['seq'] == null || $variabla1['seq'] == 0 ) {
|
||||
echo '<option value="0" selected="selected" >'. $lang['srv_analiza_crosstab_izberi_more'] . '</option>';
|
||||
@ -568,18 +590,25 @@ class SurveyCrosstabs {
|
||||
|
||||
}
|
||||
echo '</select>';
|
||||
echo '<span class="pointer" id="crosstab_remove" onclick="crs_remove_variable(this);"><span class="faicon delete_circle icon-orange_link" title=""></span></span>';
|
||||
|
||||
} else {
|
||||
echo '<br/>';
|
||||
echo '<span class="space_crosstab_new"> </span>';
|
||||
echo '<select name="crosstab_variable_'.$which.'" id="crosstab_variable_'.$which.'" onchange="change_crosstab(); return false;" autocomplete="off"'
|
||||
.'>';
|
||||
// Gumb odstrani
|
||||
echo '<div class="crosstab_remove_holder">';
|
||||
echo ' <span class="faicon delete_circle" id="crosstab_remove" onclick="crs_remove_variable(this);"></span>';
|
||||
echo '</div>';
|
||||
|
||||
echo '</div>';
|
||||
}
|
||||
else {
|
||||
|
||||
echo '<div class="variabla_line">';
|
||||
|
||||
echo '<select name="crosstab_variable_'.$which.'" id="crosstab_variable_'.$which.'" class="dropdown large" onchange="change_crosstab(); return false;" autocomplete="off">';
|
||||
|
||||
# ce prva variabla ni izbrana, dodamo tekst za izbiro prve variable
|
||||
if ((int)$this->variabla1['0']['seq'] > 0) {
|
||||
echo '<option value="0" selected="selected" >'. $lang['srv_analiza_crosstab_najprej_prvo'] . '</option>';
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
# če druga variabla ni izbrana dodamo tekst za izbiro druge variable
|
||||
echo '<option value="0" selected="selected">'. $lang['srv_analiza_crosstab_izberi_more'] . '</option>';
|
||||
}
|
||||
@ -593,8 +622,15 @@ class SurveyCrosstabs {
|
||||
. $variable['variableNaslov'] .$variable['sequence']. '</option>';
|
||||
|
||||
}
|
||||
|
||||
echo '</select>';
|
||||
echo '<span class="pointer" id="crosstab_remove" onclick="crs_remove_variable(this);"><span class="faicon delete_circle icon-orange_link" title=""></span></span>';
|
||||
|
||||
// Gumb odstrani
|
||||
echo '<div class="crosstab_remove_holder">';
|
||||
echo ' <span class="faicon delete_circle" id="crosstab_remove" onclick="crs_remove_variable(this);"></span>';
|
||||
echo '</div>';
|
||||
|
||||
echo '</div>';
|
||||
}
|
||||
}
|
||||
/**
|
||||
@ -603,83 +639,58 @@ class SurveyCrosstabs {
|
||||
function displayCrosstabCheckboxes () {
|
||||
global $lang;
|
||||
|
||||
echo '<div id="div_color_residual_legend" '.($this->isSelectedBothVariables() && $this->doColor ? '' : ' class="hidden"').'>' ;
|
||||
|
||||
echo '<span id="span_color_residual_legend" class="floatLeft">';
|
||||
echo '<span id="span_color_residual_legend1" class="floatLeft">';
|
||||
echo '<span class="floatLeft">';
|
||||
echo '<label>'.$lang['srv_analiza_crosstab_adjs_residual_short'].'</label>';
|
||||
echo '</span>';
|
||||
echo '<span class="floatLeft">';
|
||||
echo '<table id="tbl_color_residual_legend" >';
|
||||
echo '<tr>';
|
||||
echo '<td style="width:15px !important; text-align: center !important; font-weight: bold !important;">-</td>';
|
||||
echo '<td class="rsdl_bck6" title="'.$lang['srv_crosstab_residual_1'].'"> </td>';
|
||||
echo '<td class="rsdl_bck5" title="'.$lang['srv_crosstab_residual_2'].'"> </td>';
|
||||
echo '<td class="rsdl_bck4" title="'.$lang['srv_crosstab_residual_3'].'"> </td>';
|
||||
echo '<td class="rsdl_bck1" title="'.$lang['srv_crosstab_residual_4'].'"> </td>';
|
||||
echo '<td class="rsdl_bck2" title="'.$lang['srv_crosstab_residual_5'].'"> </td>';
|
||||
echo '<td class="rsdl_bck3" title="'.$lang['srv_crosstab_residual_6'].'"> </td>';
|
||||
echo '<td style="width:15px !important; text-align: center !important; font-weight: bold !important;">+</td>';
|
||||
//echo '<td style="width:40px !important; text-align: center !important;"><span id="span_rsdl_legend_togle" class="as_link">'.$lang['srv_more'].'</span></td>';
|
||||
echo '</tr>';
|
||||
echo '</table>';
|
||||
echo '</span>';
|
||||
echo '<span class="floatLeft" style="padding-top:2px;">';
|
||||
echo Help :: display('srv_crosstab_residual');
|
||||
echo '</span>';
|
||||
|
||||
echo '</span>';
|
||||
|
||||
echo '<span id="span_color_residual_legend2" class="floatLeft displayNone">';
|
||||
echo '<span class="floatLeft">';
|
||||
echo '<label></label>';
|
||||
echo '</span>';
|
||||
echo '<span class="floatLeft">';
|
||||
echo '<table id="tbl_color_residual" class="residual">';
|
||||
echo '<tr><td>'.$lang['srv_analiza_crosstab_adjs_residual_long'].': </td><th>+</th><th>-</th></tr>';
|
||||
echo '<tr><td class="anl_al"> '.$lang['srv_crosstab_residual_3_0'].'</td><td class="rsdl_bck1 anl_dash_ba" title="'.$lang['srv_crosstab_residual_4'].'"> </td><td class="rsdl_bck4 anl_dash_bt anl_dash_br anl_dash_bb" title="'.$lang['srv_crosstab_residual_3'].'"> </td></tr>';
|
||||
echo '<tr><td class="anl_al"> '.$lang['srv_crosstab_residual_2_0'].'</td><td class="rsdl_bck2 anl_dash_bl anl_dash_bb" title="'.$lang['srv_crosstab_residual_5'].'"> </td><td class="rsdl_bck5 anl_dash_br anl_dash_bb" title="'.$lang['srv_crosstab_residual_2'].'"> </td></tr>';
|
||||
echo '<tr><td class="anl_al"> '.$lang['srv_crosstab_residual_1_0'].'</td><td class="rsdl_bck3 anl_dash_bl anl_dash_bb" title="'.$lang['srv_crosstab_residual_6'].'"> </td><td class="rsdl_bck6 anl_dash_br anl_dash_bb" title="'.$lang['srv_crosstab_residual_1'].'"> </td></tr>';
|
||||
echo '</table>';
|
||||
//echo '<span class="residual_link"><a href="http://www.1ka.si/db/19/308/Pogosta%20vprasanja/Kaj_pomenijo_residuali/?&p1=226&p2=735&p3=789&p4=0&p5=0&id=789&from1ka=1" target="_blank">'.$lang['srv_residual_link_faq'].'</a></span>';
|
||||
echo '</span>';
|
||||
echo '<span id="span_rsdl_legend_togle" class="floatLeft spaceLeft as_link">'.$lang['srv_less'].'</span>';
|
||||
echo '<span class="floatLeft spaceLeft" style="padding-top:0px;">';
|
||||
echo Help :: display('srv_crosstab_residual');
|
||||
echo '</span>';
|
||||
|
||||
echo '</span>';
|
||||
echo '<div id="crosstab_legend" '.($this->isSelectedBothVariables() && $this->doColor ? '' : ' class="hidden"').'>' ;
|
||||
|
||||
|
||||
echo '<br />';
|
||||
echo '<span id="span_color_residual_legend3" class="floatLeft '.($this->crossChkEC + $this->crossChkRE + $this->crossChkSR + $this->crossChkAR == 4 ? '' : ' displayNone"').'" style="margin-top:10px; padding-left:18px;">';
|
||||
echo '<span class="floatLeft">';
|
||||
echo '<label>'.$lang['srv_analiza_crosstab_residuals'].'</label>';
|
||||
echo '</span>';
|
||||
echo '<span class="floatLeft">';
|
||||
echo '<table id="tbl_color_residual_legend" >';
|
||||
echo '<tr>';
|
||||
echo '<td style="width:10px !important; text-align: center !important; font-weight: bold !important;"></td>';
|
||||
echo '<td class="crossCheck_EC" title="'.$lang['srv_analiza_crosstab_expected_count'].'"> </td>';
|
||||
echo '<td class="crossCheck_RE" title="'.$lang['srv_analiza_crosstab_residual'].'"> </td>';
|
||||
echo '<td class="crossCheck_SR" title="'.$lang['srv_analiza_crosstab_stnd_residual'].'"> </td>';
|
||||
echo '<td class="crossCheck_AR" title="'.$lang['srv_analiza_crosstab_adjs_residual'].'"> </td>';
|
||||
echo '<td style="width:10px !important; text-align: center !important; font-weight: bold !important;"></td>';
|
||||
echo '</tr>';
|
||||
echo '</table>';
|
||||
echo '</span>';
|
||||
echo '<span class="floatLeft" style="padding-top:2px;">';
|
||||
echo Help :: display('srv_crosstab_residual2');
|
||||
echo '</span>';
|
||||
echo '<div id="span_color_residual_legend1" class="crosstab_legend_line">';
|
||||
|
||||
echo '</span>';
|
||||
echo '<span class="title">'.$lang['srv_analiza_crosstab_adjs_residual_short'].' '.Help :: display('srv_crosstab_residual').':</span>';
|
||||
|
||||
echo '<div class="trak">';
|
||||
echo ' <div class="minus">-</div>';
|
||||
echo ' <div class="rsdl_bck6" title="'.$lang['srv_crosstab_residual_1'].'"></div>';
|
||||
echo ' <div class="rsdl_bck5" title="'.$lang['srv_crosstab_residual_2'].'"></div>';
|
||||
echo ' <div class="rsdl_bck4" title="'.$lang['srv_crosstab_residual_3'].'"></div>';
|
||||
echo ' <div class="rsdl_bck1" title="'.$lang['srv_crosstab_residual_4'].'"></div>';
|
||||
echo ' <div class="rsdl_bck2" title="'.$lang['srv_crosstab_residual_5'].'"></div>';
|
||||
echo ' <div class="rsdl_bck3" title="'.$lang['srv_crosstab_residual_6'].'"></div>';
|
||||
echo ' <div class="plus">+</div>';
|
||||
echo '</div>';
|
||||
|
||||
echo '</div>';
|
||||
|
||||
|
||||
/*echo '<div id="span_color_residual_legend2" class="crosstab_legend_line displayNone">';
|
||||
|
||||
echo '<span class="title">'.Help :: display('srv_crosstab_residual').'</span>';
|
||||
|
||||
echo '<table id="tbl_color_residual" class="residual">';
|
||||
echo ' <tr><td>'.$lang['srv_analiza_crosstab_adjs_residual_long'].': </td><th>+</th><th>-</th></tr>';
|
||||
echo ' <tr><td class="anl_al"> '.$lang['srv_crosstab_residual_3_0'].'</td><td class="rsdl_bck1 anl_dash_ba" title="'.$lang['srv_crosstab_residual_4'].'"> </td><td class="rsdl_bck4 anl_dash_bt anl_dash_br anl_dash_bb" title="'.$lang['srv_crosstab_residual_3'].'"> </td></tr>';
|
||||
echo ' <tr><td class="anl_al"> '.$lang['srv_crosstab_residual_2_0'].'</td><td class="rsdl_bck2 anl_dash_bl anl_dash_bb" title="'.$lang['srv_crosstab_residual_5'].'"> </td><td class="rsdl_bck5 anl_dash_br anl_dash_bb" title="'.$lang['srv_crosstab_residual_2'].'"> </td></tr>';
|
||||
echo ' <tr><td class="anl_al"> '.$lang['srv_crosstab_residual_1_0'].'</td><td class="rsdl_bck3 anl_dash_bl anl_dash_bb" title="'.$lang['srv_crosstab_residual_6'].'"> </td><td class="rsdl_bck6 anl_dash_br anl_dash_bb" title="'.$lang['srv_crosstab_residual_1'].'"> </td></tr>';
|
||||
echo '</table>';
|
||||
|
||||
echo '</div>';*/
|
||||
|
||||
|
||||
echo '<div id="span_color_residual_legend3" class="crosstab_legend_line '.($this->crossChkEC + $this->crossChkRE + $this->crossChkSR + $this->crossChkAR == 4 ? '' : ' displayNone').'">';
|
||||
|
||||
echo '<span class="title">'.$lang['srv_analiza_crosstab_residuals'].' '.Help::display('srv_crosstab_residual2').':</span>';
|
||||
|
||||
echo '<div class="trak">';
|
||||
echo ' <div class="minus"></div>';
|
||||
echo ' <div class="crossCheck_EC" title="'.$lang['srv_analiza_crosstab_expected_count'].'"></div>';
|
||||
echo ' <div class="crossCheck_RE" title="'.$lang['srv_analiza_crosstab_residual'].'"></div>';
|
||||
echo ' <div class="crossCheck_SR" title="'.$lang['srv_analiza_crosstab_stnd_residual'].'"></div>';
|
||||
echo ' <div class="crossCheck_AR" title="'.$lang['srv_analiza_crosstab_adjs_residual'].'"></div>';
|
||||
echo ' <div class="plus"></div>';
|
||||
echo '</div>';
|
||||
|
||||
echo '</div>';
|
||||
|
||||
|
||||
echo '</span>';
|
||||
|
||||
echo '</div>';
|
||||
echo '<br class="clr"/>';
|
||||
}
|
||||
|
||||
public function displayCrosstabsTables() {
|
||||
@ -713,9 +724,9 @@ class SurveyCrosstabs {
|
||||
$this->_CURRENT_LOOP = $loop;
|
||||
echo '<h2>'.$lang['srv_zanka_note'].$loop['text'].'</h2>';
|
||||
$this->displayCrosstabsTable();
|
||||
echo '<br/>';
|
||||
}
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
$this->displayCrosstabsTable();
|
||||
}
|
||||
}
|
||||
@ -848,111 +859,93 @@ class SurveyCrosstabs {
|
||||
$sub_q2 .= '</a>';
|
||||
$sub_q2 .= '</span>' . NEW_LINE;
|
||||
}
|
||||
# izrišemo tabelo
|
||||
# najprej izrišemo naslovne vrstice
|
||||
#echo '<table class="anl_tbl_crosstab fullWidth fullHeight">';
|
||||
echo $_br.'<br/>';
|
||||
# $_br = '<br/>';
|
||||
# echo '<div class="floatLeft">'.$sub_q1. '</div><div class="floatLeft spaceLeft spaceRight"> ==> </div><div class="floatLeft">'. $sub_q2.'</div><br class="clr" />';
|
||||
|
||||
#Zadnja kolona: Če imamo vodoravno checkboxe in gledamo enote, potem kolono s summo malo razmaknemo
|
||||
if ( $crosstabs['isCheckbox']['spr1'] == true && $this->crossNavVsEno == true) {
|
||||
$addVerticalSpace = 1;
|
||||
} else {
|
||||
$addVerticalSpace = 0;
|
||||
}
|
||||
|
||||
# izrišemo tabelo
|
||||
echo '<div class="table_holder">';
|
||||
|
||||
# hi2
|
||||
if ($this->displayHi2 == true) {
|
||||
echo '<div class="hi2">';
|
||||
echo 'Χ<sup>2</sup> = ';
|
||||
echo $this->formatNumber($crosstabs['hi2'], 3, '');
|
||||
echo '</div>';
|
||||
}
|
||||
|
||||
echo '<table class="anl_tbl_crosstab" style="padding:0px; margin:0px; margin-top:10px;"'
|
||||
. ' sq1="'.$v_first['seq'].'" sp1="'.$v_first['spr'].'" gd1="'.$v_first['grd'].'" sq2="'.$v_second['seq'].'" sp2="'.$v_second['spr'].'" gd2="'.$v_second['grd'].'" >';
|
||||
# najprej izrišemo naslovne vrstice
|
||||
#Zadnja kolona: Če imamo vodoravno checkboxe in gledamo enote, potem kolono s summo malo razmaknemo
|
||||
if ( $crosstabs['isCheckbox']['spr1'] == true && $this->crossNavVsEno == true) {
|
||||
$addVerticalSpace = 1;
|
||||
}
|
||||
else {
|
||||
$addVerticalSpace = 0;
|
||||
}
|
||||
|
||||
if ($this->fromBreak == false) {
|
||||
echo '<colgroup>';
|
||||
#echo '<col style="width:auto; min-width:150px;" />';
|
||||
echo '<col style="width:auto; min-width:100px;" />';
|
||||
if (count($crosstabs['options1']) > 0 ) {
|
||||
$_width_percent = round(100 / count($crosstabs['options1'],2));
|
||||
foreach ($crosstabs['options1'] as $ckey1 =>$crossVariabla) {
|
||||
echo '<col style="width:'.$_width_percent.'%;" />';
|
||||
}
|
||||
}
|
||||
if ($addVerticalSpace == 1) {
|
||||
echo '<col style="width:10px;" />';
|
||||
}
|
||||
echo '<col style="width:auto;" />';
|
||||
echo '</colgroup>';
|
||||
}
|
||||
echo '<tr>';
|
||||
echo '<td class="anl_bt anl_bl anl_ac rsdl_bck_title ctbCll" rowspan="2" >';
|
||||
#if ($cntY == 1) {
|
||||
# ime variable
|
||||
#echo '<td rowspan="' . $rows . '">';
|
||||
echo '<table class="table_crosstab" sq1="'.$v_first['seq'].'" sp1="'.$v_first['spr'].'" gd1="'.$v_first['grd'].'" sq2="'.$v_second['seq'].'" sp2="'.$v_second['spr'].'" gd2="'.$v_second['grd'].'">';
|
||||
|
||||
echo '<tr class="row1">';
|
||||
|
||||
echo '<td class="cell_var" rowspan="2">';
|
||||
echo $sub_q2;
|
||||
#echo '</td>';
|
||||
#}
|
||||
echo '</td>';
|
||||
echo '<td class="anl_bt anl_bl anl_ac rsdl_bck_title ctbCll" colspan="' . $cols . '" >';
|
||||
|
||||
echo '<td class="cell_question" colspan="'.($cols+1).'">';
|
||||
echo $sub_q1;
|
||||
echo '</td>';
|
||||
|
||||
echo '<td class="anl_bl"> </td>';
|
||||
if ($this->fromBreak == true && $this->showAverage == true) {
|
||||
# če smo v break-u dodamo še povprečja
|
||||
echo '<td class=""> </td>';
|
||||
echo '<td class="cell_space"> </td>';
|
||||
}
|
||||
|
||||
echo '</tr>';
|
||||
echo '<tr>';
|
||||
|
||||
|
||||
echo '<tr class="row3">';
|
||||
|
||||
$col_cnt=0;
|
||||
if (count($crosstabs['options1']) > 0 ) {
|
||||
foreach ($crosstabs['options1'] as $ckey1 =>$crossVariabla) {
|
||||
$col_cnt++;
|
||||
|
||||
#ime variable
|
||||
//$css_backX = 'rsdl_bck_variable'.($col_cnt & 1);
|
||||
$css_backX = ' rsdl_bck_variable1';
|
||||
echo '<td class="anl_bt anl_bl anl_ac'.$css_backX.' ctbCll" >';
|
||||
echo '<td class="cell_grid">';
|
||||
|
||||
echo $crossVariabla['naslov'];
|
||||
|
||||
# če ni tekstovni odgovor dodamo key
|
||||
if ($crossVariabla['type'] != 't' && $show_variables_values == true) {
|
||||
if ($crossVariabla['vr_id'] == null ) {
|
||||
echo '<br/> ( '.$ckey1.' )';
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
echo '<br/> ( '.$crossVariabla['vr_id'].' )';
|
||||
}
|
||||
}
|
||||
|
||||
echo '</td>';
|
||||
}
|
||||
}
|
||||
$col_cnt++;
|
||||
//$css_backX = 'rsdl_bck_variable'.($col_cnt & 1);
|
||||
if ($addVerticalSpace == 1) {
|
||||
echo '<td class="anl_bl"> </td>';
|
||||
}
|
||||
$css_backX = ' rsdl_bck_variable1';
|
||||
|
||||
echo '<td class="anl_bl anl_bt anl_br anl_ac red anl_ita anl_bck_text_0'.$css_backX.' ctbCll">' . $lang['srv_analiza_crosstab_skupaj'] . '</td>';
|
||||
echo '<td class="cell_value">' . $lang['srv_analiza_crosstab_skupaj'] . '</td>';
|
||||
if ($this->fromBreak == true && $this->showAverage == true) {
|
||||
# če smo v break-u dodamo še povprečja
|
||||
echo '<td class="anl_bl anl_bt anl_br anl_ac anl_ita anl_bck_text_0'.$css_backX.' ctbCll">' . $lang['srv_analiza_crosstab_average'] . '</td>';
|
||||
echo '<td class="cell_value">' . $lang['srv_analiza_crosstab_average'] . '</td>';
|
||||
|
||||
}
|
||||
|
||||
echo '</tr>';
|
||||
|
||||
|
||||
$cntY = 0;
|
||||
if (count($crosstabs['options2']) > 0) {
|
||||
foreach ($crosstabs['options2'] as $ckey2 =>$crossVariabla2) {
|
||||
$cntY++;
|
||||
echo '<tr>';
|
||||
|
||||
echo '<tr class="row_var">';
|
||||
|
||||
//$css_backY = 'rsdl_bck_variable'.($cntY & 1);
|
||||
$css_backY = ' rsdl_bck_variable1';
|
||||
|
||||
echo '<td class="anl_bt anl_bl anl_ac'.$css_backY.' ctbCll">';
|
||||
echo '<td class="cell_var">';
|
||||
|
||||
echo $crossVariabla2['naslov'];
|
||||
# če ni tekstovni odgovor dodamo key
|
||||
@ -967,20 +960,21 @@ class SurveyCrosstabs {
|
||||
echo '</td>';
|
||||
|
||||
foreach ($crosstabs['options1'] as $ckey1 => $crossVariabla1) {
|
||||
echo '<td class="ct_in_cell'.($this->enableInspect && ((int)$crosstabs_value[$ckey1][$ckey2] > 0) ? ' ct_inspect' : '').'" k1="'.$ckey1.'" k2="'.$ckey2.'" n1="'.$crossVariabla1['naslov'].'" n2="'.$crossVariabla2['naslov'].'" v1="'.$crossVariabla1['vr_id'].'" v2="'.$crossVariabla2['vr_id'].'">';
|
||||
|
||||
# celica z vebino
|
||||
{
|
||||
echo '<td class="cell_noPadding '.($this->enableInspect && ((int)$crosstabs_value[$ckey1][$ckey2] > 0) ? ' ct_inspect' : '').'" k1="'.$ckey1.'" k2="'.$ckey2.'" n1="'.$crossVariabla1['naslov'].'" n2="'.$crossVariabla2['naslov'].'" v1="'.$crossVariabla1['vr_id'].'" v2="'.$crossVariabla2['vr_id'].'">';
|
||||
|
||||
# prikazujemo eno ali več od: frekvenc, odstotkov, residualov
|
||||
echo '<table class="ct_in_tbl">';
|
||||
|
||||
if ($this->crossChk0) {
|
||||
# izpišemo frekvence crostabov
|
||||
echo '<tr>';
|
||||
echo '<td class="anl_ac '.($crosstabs['color'][$ckey1][$ckey2]).' ctbCll">';
|
||||
echo ((int)$crosstabs_value[$ckey1][$ckey2] > 0) ? $crosstabs_value[$ckey1][$ckey2] : 0;
|
||||
# .$crossTab[$crossVariabla1[cell_id]][$ckey2]
|
||||
#
|
||||
|
||||
echo '<td class="cell_value '.($crosstabs['color'][$ckey1][$ckey2]).'">';
|
||||
echo ((int)$crosstabs_value[$ckey1][$ckey2] > 0) ? $crosstabs_value[$ckey1][$ckey2] : 0;
|
||||
echo '</td>';
|
||||
|
||||
echo '</tr>';
|
||||
}
|
||||
|
||||
@ -995,9 +989,9 @@ class SurveyCrosstabs {
|
||||
$css_bt = ( $this->crossChk0 ) ? 'anl_dash_bt' : '';
|
||||
# izpisemo procente
|
||||
echo '<tr>';
|
||||
echo '<td class="'.$css_bt.'">';
|
||||
echo '<td class="cell_noPadding '.$css_bt.'">';
|
||||
|
||||
echo '<table class="anl_tbl_crosstab fullWidth fullHeight" style="padding:0px; margin:0px;">';
|
||||
echo '<table class="anl_tbl_crosstab fullWidth fullHeight">';
|
||||
echo '<tr>';
|
||||
$col=0;
|
||||
|
||||
@ -1007,7 +1001,7 @@ class SurveyCrosstabs {
|
||||
|
||||
$css_color = ($this->doColor == 'true') ? 'ctbChck_sp1' : 'ctbChck_sp0';
|
||||
$css_br = $numColumnPercent > $col ? ' anl_dash_br' : '';
|
||||
echo '<td class="'.$css_color.$css_br.$css_width.' ctbCll">';
|
||||
echo '<td class="cell_value '.$css_color.$css_br.$css_width.' ctbCll">';
|
||||
echo $this->formatNumber($this->getCrossTabPercentage($crosstabs['sumaVrstica'][$ckey2], $crosstabs_value[$ckey1][$ckey2]), SurveyDataSettingProfiles :: getSetting('NUM_DIGIT_PERCENT'), '%');
|
||||
echo '</td>';
|
||||
}
|
||||
@ -1016,7 +1010,7 @@ class SurveyCrosstabs {
|
||||
$col++;
|
||||
$css_br = $numColumnPercent > $col ? ' anl_dash_br' : '';
|
||||
$css_color = ($this->doColor == 'true') ? 'ctbChck_sp2' : 'ctbChck_sp0';
|
||||
echo '<td class="'.$css_color.$css_br.$css_width.' ctbCll">';
|
||||
echo '<td class=" cell_value'.$css_color.$css_br.$css_width.' ctbCll">';
|
||||
|
||||
echo $this->formatNumber($this->getCrossTabPercentage($crosstabs['sumaStolpec'][$ckey1], $crosstabs_value[$ckey1][$ckey2]), SurveyDataSettingProfiles :: getSetting('NUM_DIGIT_PERCENT'), '%');
|
||||
echo '</td>';
|
||||
@ -1026,7 +1020,7 @@ class SurveyCrosstabs {
|
||||
$col++;
|
||||
$css_br = $numColumnPercent > $col ? ' anl_dash_br' : '';
|
||||
$css_color = ($this->doColor == 'true') ? 'ctbChck_sp3' : 'ctbChck_sp0';
|
||||
echo '<td'.$css_br.$css_width.' class="'.$css_color.$css_br.' ctbCll">';
|
||||
echo '<td'.$css_br.$css_width.' class="cell_value '.$css_color.$css_br.' ctbCll">';
|
||||
|
||||
echo $this->formatNumber($this->getCrossTabPercentage($crosstabs['sumaSkupna'], $crosstabs_value[$ckey1][$ckey2]), SurveyDataSettingProfiles :: getSetting('NUM_DIGIT_PERCENT'), '%');
|
||||
echo '</td>';
|
||||
@ -1051,7 +1045,7 @@ class SurveyCrosstabs {
|
||||
$css_bt = ( $this->crossChk0 || ($this->crossChk1 && $this->crossChk2 && $this->crossChk3)) ? 'anl_dash_bt' : '';
|
||||
echo '<tr>';
|
||||
|
||||
echo '<td class="'.$css_bt.'" style="padding:0px 0px;">';
|
||||
echo '<td class="cell_noPadding '.$css_bt.'">';
|
||||
echo '<table class="anl_tbl_crosstab fullWidth fullHeight" style="padding:0px; margin:0px;">';
|
||||
echo '<tr>';
|
||||
$col=0;
|
||||
@ -1060,7 +1054,7 @@ class SurveyCrosstabs {
|
||||
$col++;
|
||||
$css_br = $numColumnResidual > $col ? ' anl_dash_br' : '';
|
||||
$css_color = ($this->doColor == 'true') ? 'crossCheck_EC' : 'ctbChck_sp0';
|
||||
echo '<td class="'.$css_color.$css_br.$css_width.' ctbCll">';
|
||||
echo '<td class="cell_value '.$css_color.$css_br.$css_width.' ctbCll">';
|
||||
echo $this->formatNumber($crosstabs['exC'][$ckey1][$ckey2], SurveyDataSettingProfiles :: getSetting('NUM_DIGIT_RESIDUAL'), '');
|
||||
echo '</td>';
|
||||
}
|
||||
@ -1068,7 +1062,7 @@ class SurveyCrosstabs {
|
||||
$col++;
|
||||
$css_br = $numColumnResidual > $col ? ' anl_dash_br' : '';
|
||||
$css_color = ($this->doColor == 'true') ? 'crossCheck_RE' : 'ctbChck_sp0';
|
||||
echo '<td class="'.$css_color.$css_br.$css_width.' ctbCll">';
|
||||
echo '<td class="cell_value '.$css_color.$css_br.$css_width.' ctbCll">';
|
||||
echo $this->formatNumber($crosstabs['res'][$ckey1][$ckey2], SurveyDataSettingProfiles :: getSetting('NUM_DIGIT_RESIDUAL'), '');
|
||||
echo '</td>';
|
||||
}
|
||||
@ -1076,7 +1070,7 @@ class SurveyCrosstabs {
|
||||
$col++;
|
||||
$css_br = $numColumnResidual > $col ? ' anl_dash_br' : '';
|
||||
$css_color = ($this->doColor == 'true') ? 'crossCheck_SR' : 'ctbChck_sp0';
|
||||
echo '<td class="'.$css_color.$css_br.$css_width.' ctbCll">';
|
||||
echo '<td class="cell_value '.$css_color.$css_br.$css_width.' ctbCll">';
|
||||
echo $this->formatNumber($crosstabs['stR'][$ckey1][$ckey2], SurveyDataSettingProfiles :: getSetting('NUM_DIGIT_RESIDUAL'), '');
|
||||
echo '</td>';
|
||||
}
|
||||
@ -1084,7 +1078,7 @@ class SurveyCrosstabs {
|
||||
$col++;
|
||||
$css_br = $numColumnResidual > $col ? ' anl_dash_br' : '';
|
||||
$css_color = ($this->doColor == 'true') ? 'crossCheck_AR' : 'ctbChck_sp0';
|
||||
echo '<td class="'.$css_color.$css_br.$css_width.' ctbCll">';
|
||||
echo '<td class="cell_value '.$css_color.$css_br.$css_width.' ctbCll">';
|
||||
echo $this->formatNumber($crosstabs['adR'][$ckey1][$ckey2], SurveyDataSettingProfiles :: getSetting('NUM_DIGIT_RESIDUAL'), '');
|
||||
echo '</td>';
|
||||
}
|
||||
@ -1094,21 +1088,17 @@ class SurveyCrosstabs {
|
||||
echo '</tr>';
|
||||
}
|
||||
echo '</table>';
|
||||
}
|
||||
|
||||
# konec celice z vsebino
|
||||
echo '</td>';
|
||||
}
|
||||
# če mamo checkboxe in sumo malo razmaknemo
|
||||
if ($addVerticalSpace == 1) {
|
||||
echo '<td class="anl_bl"> </td>';
|
||||
}
|
||||
|
||||
// vedno rišemo zadnji stolpec.
|
||||
echo '<td class="anl_ac anl_bl anl_bt anl_br rsdl_bck0 anl_bb" >';
|
||||
echo '<td class="cell_noPadding">';
|
||||
echo '<table class="anl_tbl_crosstab fullWidth fullHeight" style="padding:0px; margin:0px;">';
|
||||
if ($this->crossChk0) {
|
||||
echo '<tr>';
|
||||
echo '<td class="anl_ac ctbCll crostabSuma" colspan="' . ( $this->crossChk1 + $this->crossChk2 + $this->crossChk3 ).'">';
|
||||
echo '<td class="cell_value ctbCll crostabSuma" colspan="' . ( $this->crossChk1 + $this->crossChk2 + $this->crossChk3 ).'">';
|
||||
# suma po vrsticah
|
||||
echo (int)$crosstabs['sumaVrstica'][$ckey2];
|
||||
echo '</td>';
|
||||
@ -1127,21 +1117,21 @@ class SurveyCrosstabs {
|
||||
echo '<tr>';
|
||||
if ($this->crossChk1) {
|
||||
$css_color = ($this->doColor == 'true') ? ' ctbChck_sp1' : 'ctbChck_sp0';
|
||||
echo '<td class="anl_ac ctbCll'.$css_color.$css_bt.$css_width.'">';
|
||||
echo '<td class="cell_value ctbCll'.$css_color.$css_bt.$css_width.'">';
|
||||
echo $this->formatNumber(100, SurveyDataSettingProfiles :: getSetting('NUM_DIGIT_PERCENT'), '%');
|
||||
echo '</td>';
|
||||
}
|
||||
if ($this->crossChk2) {
|
||||
$css_color = ($this->doColor == 'true') ? ' ctbChck_sp2' : 'ctbChck_sp0';
|
||||
$css_border = ($this->crossChk1 ? ' anl_dash_bl ' : '');
|
||||
echo '<td class="anl_ac ctbCll'.$css_color.$css_bt.$css_border.$css_width.'">';
|
||||
echo '<td class="cell_value ctbCll'.$css_color.$css_bt.$css_border.$css_width.'">';
|
||||
echo $this->formatNumber( ($crosstabs['sumaSkupna'] > 0 ? (100 * $crosstabs['sumaVrstica'][$ckey2] / $crosstabs['sumaSkupna']) : 0), SurveyDataSettingProfiles :: getSetting('NUM_DIGIT_PERCENT'), '%');
|
||||
echo '</td>';
|
||||
}
|
||||
if ($this->crossChk3) {
|
||||
$css_color = ($this->doColor == 'true') ? ' ctbChck_sp3' : 'ctbChck_sp0';
|
||||
$css_border = ($this->crossChk1 || $this->crossChk2 ? ' anl_dash_bl ' : '');
|
||||
echo '<td class="anl_ac'.$css_color.$css_bt.$css_border.$css_width.' ctbCll">';
|
||||
echo '<td class="cell_value '.$css_color.$css_bt.$css_border.$css_width.' ctbCll">';
|
||||
echo $this->formatNumber( ($crosstabs['sumaSkupna'] > 0 ? (100 * $crosstabs['sumaVrstica'][$ckey2] / $crosstabs['sumaSkupna']) : 0), SurveyDataSettingProfiles :: getSetting('NUM_DIGIT_PERCENT'), '%');
|
||||
echo '</td>';
|
||||
}
|
||||
@ -1153,13 +1143,15 @@ class SurveyCrosstabs {
|
||||
echo '</td>';
|
||||
if ($this->fromBreak == true && $this->showAverage == true) {
|
||||
# če smo v break dodamo še povprečja
|
||||
echo '<td class="anl_ac anl_bl anl_bt anl_br anl_bb rsdl_bck_variable1" >';
|
||||
echo '<td class="cell_value">';
|
||||
echo $this->formatNumber( $crosstabs['avgVrstica'][$ckey2], SurveyDataSettingProfiles :: getSetting('NUM_DIGIT_AVERAGE'), '');
|
||||
echo '</td>';
|
||||
}
|
||||
echo '</tr>';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#Zadnja vrstica. Če imamo navpično checkboxe in gledamo enote, potem vrstico z summo malo razmaknemo
|
||||
$cssBT = 'anl_bt';
|
||||
if ( $crosstabs['isCheckbox']['spr2'] == true && $this->crossNavVsEno == true) {
|
||||
@ -1167,12 +1159,10 @@ class SurveyCrosstabs {
|
||||
echo '<td class="'.$cssBT.'"> </th>';
|
||||
echo '<td class="'.$cssBT.'"> </th>';
|
||||
echo '<td class="'.$cssBT.'" colspan="'.count($crosstabs['options1']).'"> </th>';
|
||||
if ($addVerticalSpace == 1) {
|
||||
echo '<td class=""> </td>';
|
||||
}
|
||||
|
||||
echo '<td class="'.$cssBT.'"> </th>';
|
||||
echo '</tr>';
|
||||
|
||||
$cssBT = '';
|
||||
}
|
||||
|
||||
@ -1183,13 +1173,13 @@ class SurveyCrosstabs {
|
||||
// skupni sestevki po stolpcih
|
||||
if (count($crosstabs['options1']) > 0)
|
||||
foreach ($crosstabs['options1'] as $ckey1 => $crossVariabla1) {
|
||||
echo '<td class="anl_ac anl_bb anl_bt anl_bl rsdl_bck0" >';
|
||||
echo '<td class="cell_noPadding">';
|
||||
{
|
||||
# prikazujemo eno od treh možnosti
|
||||
echo '<table class="anl_tbl_crosstab fullWidth fullHeight" style="padding:0px; margin:0px;">';
|
||||
if ($this->crossChk0) {
|
||||
echo '<tr>';
|
||||
echo '<td class="anl_ac ctbCll crostabSuma" colspan="'.($this->crossChk1 + $this->crossChk2 + $this->crossChk3).'">';
|
||||
echo '<td class="cell_value ctbCll crostabSuma" colspan="'.($this->crossChk1 + $this->crossChk2 + $this->crossChk3).'">';
|
||||
# suma po stolpcih
|
||||
echo (int)$crosstabs['sumaStolpec'][$ckey1];
|
||||
echo '</td>';
|
||||
@ -1201,20 +1191,20 @@ class SurveyCrosstabs {
|
||||
echo '<tr>';
|
||||
if ($this->crossChk1) {
|
||||
$css_color = ($this->doColor == 'true') ? ' ctbChck_sp1' : 'ctbChck_sp0';
|
||||
echo '<td class="anl_ac ctbCll'.$css_color.$css_bt.'">';
|
||||
echo '<td class="cell_value ctbCll'.$css_color.$css_bt.'">';
|
||||
echo $this->formatNumber( ($crosstabs['sumaSkupna'] > 0 ? (100 * $crosstabs['sumaStolpec'][$ckey1] / $crosstabs['sumaSkupna']) : 0), SurveyDataSettingProfiles :: getSetting('NUM_DIGIT_PERCENT'), '%');
|
||||
echo '</td>';
|
||||
}
|
||||
if ($this->crossChk2) {
|
||||
$css_color = ($this->doColor == 'true') ? ' ctbChck_sp2' : 'ctbChck_sp0';
|
||||
echo '<td class="anl_ac ctbCll'.$css_color.$css_bt.($this->crossChk1 ? ' anl_dash_bl' : '').'">';
|
||||
echo '<td class="cell_value ctbCll'.$css_color.$css_bt.($this->crossChk1 ? ' anl_dash_bl' : '').'">';
|
||||
echo $this->formatNumber(100, SurveyDataSettingProfiles :: getSetting('NUM_DIGIT_PERCENT'), '%');
|
||||
echo '</td>';
|
||||
}
|
||||
if ($this->crossChk3)
|
||||
{
|
||||
$css_color = ($this->doColor == 'true') ? ' ctbChck_sp3' : 'ctbChck_sp0';
|
||||
echo '<td class="anl_ac'.$css_color.$css_bt.($this->crossChk2 ? ' anl_dash_bl' : '').' ctbCll">';
|
||||
echo '<td class="cell_value '.$css_color.$css_bt.($this->crossChk2 ? ' anl_dash_bl' : '').' ctbCll">';
|
||||
echo $this->formatNumber( ($crosstabs['sumaSkupna'] > 0 ? (100 * $crosstabs['sumaStolpec'][$ckey1] / $crosstabs['sumaSkupna']) : 0), SurveyDataSettingProfiles :: getSetting('NUM_DIGIT_PERCENT'), '%');
|
||||
echo '</td>';
|
||||
}
|
||||
@ -1224,18 +1214,14 @@ class SurveyCrosstabs {
|
||||
}
|
||||
echo '</td>';
|
||||
}
|
||||
# če mamo checkboxe in sumo malo razmaknemo
|
||||
if ($addVerticalSpace == 1) {
|
||||
echo '<td class="anl_bl"> </td>';
|
||||
}
|
||||
|
||||
# zadnja celica z skupno sumo
|
||||
echo '<td class="anl_ac anl_bt anl_bl anl_br anl_bb rsdl_bck0">';
|
||||
echo '<td class="cell_noPadding">';
|
||||
{
|
||||
echo '<table class="anl_tbl_crosstab fullWidth fullHeight" style="padding:0px; margin:0px;">';
|
||||
if ($this->crossChk0) {
|
||||
echo '<tr>';
|
||||
echo '<td class="anl_ac ctbCll crostabSuma" colspan="'.($this->crossChk1 + $this->crossChk2 + $this->crossChk3).'">';
|
||||
echo '<td class="cell_value ctbCll crostabSuma" colspan="'.($this->crossChk1 + $this->crossChk2 + $this->crossChk3).'">';
|
||||
# skupna suma
|
||||
echo (int)$crosstabs['sumaSkupna'];
|
||||
echo '</td>';
|
||||
@ -1248,20 +1234,20 @@ class SurveyCrosstabs {
|
||||
if ($this->crossChk1) {
|
||||
$css_color = ($this->doColor == 'true') ? ' ctbChck_sp1' : 'ctbChck_sp0';
|
||||
$css_border = ($this->crossChk2 || $this->crossChk3) ? ' anl_dash_br' : '';
|
||||
echo '<td class="anl_ac ctbCll'.$css_color.$css_bt.$css_border.'">';
|
||||
echo '<td class="cell_value ctbCll'.$css_color.$css_bt.$css_border.'">';
|
||||
echo $this->formatNumber(100, SurveyDataSettingProfiles :: getSetting('NUM_DIGIT_PERCENT'), '%');
|
||||
echo '</td>';
|
||||
}
|
||||
if ($this->crossChk2) {
|
||||
$css_color = ($this->doColor == 'true') ? ' ctbChck_sp2' : 'ctbChck_sp0';
|
||||
$css_border = ($this->crossChk3) ? ' anl_dash_br' : '';
|
||||
echo '<td class="anl_ac ctbCll'.$css_color.$css_bt.$css_border.'">';
|
||||
echo '<td class="cell_value ctbCll'.$css_color.$css_bt.$css_border.'">';
|
||||
echo $this->formatNumber(100, SurveyDataSettingProfiles :: getSetting('NUM_DIGIT_PERCENT'), '%');
|
||||
echo '</td>';
|
||||
}
|
||||
if ($this->crossChk3) {
|
||||
$css_color = ($this->doColor == 'true') ? ' ctbChck_sp3' : 'ctbChck_sp0';
|
||||
echo '<td class="anl_ac ctbCll'.$css_color.$css_bt.'">';
|
||||
echo '<td class="cell_value ctbCll'.$css_color.$css_bt.'">';
|
||||
echo $this->formatNumber(100, SurveyDataSettingProfiles :: getSetting('NUM_DIGIT_PERCENT'), '%');
|
||||
echo '</td>';
|
||||
}
|
||||
@ -1286,15 +1272,11 @@ class SurveyCrosstabs {
|
||||
// skupni sestevki po stolpcih
|
||||
if (count($crosstabs['options1']) > 0) {
|
||||
foreach ($crosstabs['options1'] as $ckey1 => $crossVariabla1) {
|
||||
echo '<td class="anl_ac anl_bb anl_bt anl_br rsdl_bck_variable1" >';
|
||||
echo '<td class="cell_value anl_bb anl_bt anl_br rsdl_bck_variable1" >';
|
||||
echo $this->formatNumber( $crosstabs['avgStolpec'][$ckey1], SurveyDataSettingProfiles :: getSetting('NUM_DIGIT_AVERAGE'), '');
|
||||
echo '</td>';
|
||||
}
|
||||
}
|
||||
# če mamo checkboxe in sumo malo razmaknemo
|
||||
if ($addVerticalSpace == 1) {
|
||||
echo '<td> </td>';
|
||||
}
|
||||
|
||||
# zadnja celica z skupno sumo
|
||||
echo '<td> </td>';
|
||||
@ -1306,12 +1288,17 @@ class SurveyCrosstabs {
|
||||
}
|
||||
echo '</table>';
|
||||
|
||||
|
||||
// Zvezdica za vkljucitev v porocilo
|
||||
$spr2 = $v_first['seq'].'-'.$v_first['spr'].'-'.$v_first['grd'];
|
||||
$spr1 = $v_second['seq'].'-'.$v_second['spr'].'-'.$v_second['grd'];
|
||||
|
||||
SurveyAnalysisHelper::getInstance()->addCustomReportElement($type=5, $sub_type=0, $spr1, $spr2);
|
||||
#SurveyAnalysis::addCustomReportElement($type=5, $sub_type=0, $spr1, $spr2);
|
||||
|
||||
|
||||
// Izrisemo legendo
|
||||
$this->displayCrosstabCheckboxes();
|
||||
|
||||
|
||||
// Izrisemo graf za tabelo
|
||||
if($this->showChart && !$this->fromBreak){
|
||||
@ -1319,53 +1306,18 @@ class SurveyCrosstabs {
|
||||
$tableChart->display();
|
||||
}
|
||||
|
||||
echo '</div>';
|
||||
|
||||
$counter++;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
# crostab variables not set
|
||||
echo $lang['srv_crosstab_note0'];
|
||||
#print_r("Crosstab variables not set!");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @desc prikaze izvoz za PDF/RTF
|
||||
*/
|
||||
function displayExport () {
|
||||
# z javascriptom prikažemo ikonce za arhiviranje, emaijlanje arhivov, pdf, rtf, excel...
|
||||
if ($this->isSelectedBothVariables()) {
|
||||
$data1 = '';
|
||||
$data2 = '';
|
||||
|
||||
foreach($this->variabla1 as $var1){
|
||||
$data1 .= implode(',', array_values($var1)).',';
|
||||
}
|
||||
$data1 = substr($data1, 0, -1);
|
||||
|
||||
foreach($this->variabla2 as $var2){
|
||||
$data2 .= implode(',', array_values($var2)).',';
|
||||
}
|
||||
$data2 = substr($data2, 0, -1);
|
||||
|
||||
$href_print = makeEncodedIzvozUrlString('izvoz.php?b=export&m=crosstabs_izpis&anketa=' . $this->sid . '&data1='.$data1.'&data2='.$data2);
|
||||
$href_pdf = makeEncodedIzvozUrlString('izvoz.php?b=export&m=crosstabs_izpis&anketa=' . $this->sid . '&data1='.$data1.'&data2='.$data2);
|
||||
$href_rtf = makeEncodedIzvozUrlString('izvoz.php?b=export&m=crosstabs_izpis_rtf&anketa=' . $this->sid . '&data1='.$data1.'&data2='.$data2);
|
||||
$href_xls = makeEncodedIzvozUrlString('izvoz.php?b=export&m=crosstabs_izpis_xls&anketa=' . $this->sid . '&data1='.$data1.'&data2='.$data2);
|
||||
echo '<script>';
|
||||
# nastavimopravilne linke
|
||||
echo '$("#secondNavigation_links a#crosstabDoPdf").attr("href", "'.$href_pdf.'");';
|
||||
echo '$("#secondNavigation_links a#crosstabDoRtf").attr("href", "'.$href_rtf.'");';
|
||||
echo '$("#secondNavigation_links a#crosstabDoXls").attr("href", "'.$href_xls.'");';
|
||||
# prikažemo linke
|
||||
echo '$("#hover_export_icon").removeClass("hidden");';
|
||||
echo '$("#secondNavigation_links a").removeClass("hidden");';
|
||||
echo '</script>';
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/** kadar kličemo iz Break, ali pri radio grupi dodamo še povprečje po stolpcih
|
||||
*
|
||||
* @param unknown_type $showBottomAverage
|
||||
@ -1887,7 +1839,6 @@ class SurveyCrosstabs {
|
||||
}
|
||||
|
||||
|
||||
|
||||
/** Sestavi array nepravilnih odgovorov
|
||||
*
|
||||
*/
|
||||
@ -2565,8 +2516,10 @@ class SurveyCrosstabs {
|
||||
|
||||
$this->displaySessionInspectCheckbox();
|
||||
}
|
||||
|
||||
function displaySessionInspectCheckbox() {
|
||||
global $lang;
|
||||
|
||||
echo '<input type="checkbox" id="session_inspect" '.($this->enableInspect == true ? ' checked="checekd"' : '').' onClick="changeSessionInspect();">'.$lang['srv_inspect_setting'];
|
||||
echo Help :: display('srv_crosstab_inspect');
|
||||
}
|
||||
@ -2575,10 +2528,15 @@ class SurveyCrosstabs {
|
||||
function displayLinePercent() {
|
||||
global $lang;
|
||||
|
||||
echo '<input id="crossCheck1" name="crossCheck1" onchange="change_crosstab_percent();" type="checkbox" ' . ($this->crossChk1 == true ? ' checked="checked" ' : '') . ' autocomplete="off"/>';
|
||||
echo '<label for="crossCheck1" id="spn_residual_sp1" class="ctbChck_sp1">' . $lang['srv_analiza_crosstab_odstotek_vrstice_short'].'</label>';
|
||||
echo '<input id="crossDoColor" name="crossDoColor" onchange="change_crosstab_color();" type="checkbox" ' . ($this->doColor == true ? ' checked="checked" ' : '') . ' autocomplete="off"/>';
|
||||
echo '<label for="crossDoColor" id="spn_residual_sp1" class="ctbChck_sp1">' . $lang['srv_analiza_crosstab_color'].'</label>';
|
||||
echo '<div class="setting_line">';
|
||||
echo ' <input id="crossCheck1" name="crossCheck1" onchange="change_crosstab_percent();" type="checkbox" ' . ($this->crossChk1 == true ? ' checked="checked" ' : '') . ' autocomplete="off"/>';
|
||||
echo ' <label for="crossCheck1" id="spn_residual_sp1">' . $lang['srv_analiza_crosstab_odstotek_vrstice_short'].'</label>';
|
||||
echo '</div>';
|
||||
|
||||
echo '<div class="setting_line">';
|
||||
echo ' <input id="crossDoColor" name="crossDoColor" onchange="change_crosstab_color();" type="checkbox" ' . ($this->doColor == true ? ' checked="checked" ' : '') . ' autocomplete="off"/>';
|
||||
echo ' <label for="crossDoColor" id="spn_residual_sp1">' . $lang['srv_analiza_crosstab_color'].'</label>';
|
||||
echo '</div>';
|
||||
}
|
||||
|
||||
function displayResidual(){
|
||||
@ -2586,15 +2544,19 @@ class SurveyCrosstabs {
|
||||
|
||||
$selected = ($this->crossChkEC + $this->crossChkRE + $this->crossChkSR + $this->crossChkAR == 4) ? true : false;
|
||||
|
||||
echo '<input id="crossResiduals" name="crossResiduals" onchange="saveResidualProfileSetting(\''.SurveyDataSettingProfiles::getCurentProfileId().'\', this.checked); return false;" type="checkbox" ' . ($selected ? ' checked="checked" ' : '') . ' autocomplete="off"/>';
|
||||
echo '<label for="crossResiduals" id="crossResiduals" class="show_residual">' . $lang['srv_analiza_crosstab_residuals'].'</label>';
|
||||
echo '<div class="setting_line">';
|
||||
echo ' <input id="crossResiduals" name="crossResiduals" onchange="saveResidualProfileSetting(\''.SurveyDataSettingProfiles::getCurentProfileId().'\', this.checked); return false;" type="checkbox" ' . ($selected ? ' checked="checked" ' : '') . ' autocomplete="off"/>';
|
||||
echo ' <label for="crossResiduals" id="crossResiduals">' . $lang['srv_analiza_crosstab_residuals'].'</label>';
|
||||
echo '</div>';
|
||||
}
|
||||
|
||||
function displayShowChart() {
|
||||
global $lang;
|
||||
|
||||
echo '<input id="showChart" name="showChart" onchange="showTableChart(\'crosstab\');" type="checkbox" ' . ($this->showChart == true ? ' checked="checked" ' : '') . ' />';
|
||||
echo '<label for="showChart" id="showChart" class="showChart">'.$lang['srv_show_charts'].'</label>';
|
||||
echo '<div class="setting_line">';
|
||||
echo ' <input id="showChart" name="showChart" onchange="showTableChart(\'crosstab\');" type="checkbox" ' . ($this->showChart == true ? ' checked="checked" ' : '') . ' />';
|
||||
echo ' <label for="showChart" id="showChart">'.$lang['srv_show_charts'].'</label>';
|
||||
echo '</div>';
|
||||
}
|
||||
|
||||
function presetVariables() {
|
||||
|
@ -108,7 +108,7 @@ function change_crosstab (action) {
|
||||
var crossNavVsEno = $('#crossNavVsEno1').is(':checked') ? '1' : '0';
|
||||
|
||||
$("#crosstab_drobdowns").fadeTo(100, 0.2);
|
||||
$("#crosstab_table").fadeTo(100, 0.2);
|
||||
$("#crosstab_tables").fadeTo(100, 0.2);
|
||||
$("#crosstab_drobdowns").load("ajax.php?t=crosstab&a=changeDropdown", {anketa:srv_meta_anketa_id, sequence1:sequence1, sequence2:sequence2,
|
||||
spr1:spr1, spr2:spr2 , crossNavVsEno:crossNavVsEno, grid1:grid1, grid2:grid2}, function() {
|
||||
if (isNaN(spr1) && isNaN(spr2)) {
|
||||
@ -117,7 +117,7 @@ function change_crosstab (action) {
|
||||
});
|
||||
} else {
|
||||
$("#crosstab_drobdowns").fadeTo(100, 1);
|
||||
$("#crosstab_table").fadeTo(100, 1);
|
||||
$("#crosstab_tables").fadeTo(100, 1);
|
||||
|
||||
}
|
||||
});
|
||||
@ -125,7 +125,7 @@ function change_crosstab (action) {
|
||||
|
||||
function change_crosstab_cb () {
|
||||
$("#crosstab_drobdowns").fadeTo(100, 0.2);
|
||||
$("#crosstab_table").fadeTo(100, 0.2);
|
||||
$("#crosstab_tables").fadeTo(100, 0.2);
|
||||
|
||||
|
||||
// prebereomo dropdown variabli
|
||||
@ -149,12 +149,12 @@ function change_crosstab_cb () {
|
||||
|
||||
var crossNavVsEno = $('#crossNavVsEno1').is(':checked') ? '1' : '0';
|
||||
|
||||
$("#crosstab_table").load("ajax.php?t=crosstab&a=change_cb", {anketa:srv_meta_anketa_id, sequence1:sequence1, sequence2:sequence2,
|
||||
$("#crosstab_tables").load("ajax.php?t=crosstab&a=change_cb", {anketa:srv_meta_anketa_id, sequence1:sequence1, sequence2:sequence2,
|
||||
//crossChk0:crossChk0, crossChk1:crossChk1, crossChk2:crossChk2, crossChk3:crossChk3,
|
||||
//crossChkEC:crossChkEC, crossChkRE:crossChkRE,crossChkSR:crossChkSR,crossChkAR:crossChkAR, doColor:doColor,
|
||||
spr1:spr1, spr2:spr2, crossNavVsEno:crossNavVsEno, grid1:grid1, grid2:grid2 }, function () {
|
||||
$("#crosstab_drobdowns").fadeTo(100, 1);
|
||||
$("#crosstab_table").fadeTo(100, 1);
|
||||
$("#crosstab_tables").fadeTo(100, 1);
|
||||
});
|
||||
}
|
||||
|
||||
@ -203,7 +203,7 @@ function doInspectFromCrosstab(el,event) {
|
||||
|
||||
function doArchiveCrosstab() {
|
||||
//preverimo ali obstaja vsebina crosstaba
|
||||
if ($("#crosstab_table").length > 0 && $("#crosstab_table").html() != '') {
|
||||
if ($("#crosstab_tables").length > 0 && $("#crosstab_tables").html() != '') {
|
||||
$("#fullscreen").load('ajax.php?a=doArchiveAnaliza', {anketa: srv_meta_anketa_id, podstran: srv_meta_podstran}, function() {
|
||||
|
||||
$('#fade').fadeTo('slow', 1);
|
||||
@ -215,8 +215,8 @@ function doArchiveCrosstab() {
|
||||
}
|
||||
function createArchiveCrosstabBeforeEmail() {
|
||||
//preverimo ali obstaja vsebina crosstaba
|
||||
if ($("#crosstab_table").length > 0 && $("#crosstab_table").html() != '') {
|
||||
var content = $("#crosstab_table").html();
|
||||
if ($("#crosstab_tables").length > 0 && $("#crosstab_tables").html() != '') {
|
||||
var content = $("#crosstab_tables").html();
|
||||
//global replace
|
||||
var regex = new RegExp('ct_inspect', "g");
|
||||
content = content.replace(regex, '');
|
||||
@ -245,8 +245,8 @@ function createArchiveCrosstabBeforeEmail() {
|
||||
}
|
||||
function submitArchiveCrosstabs() {
|
||||
//preverimo ali obstaja vsebina crosstaba
|
||||
if ($("#crosstab_table").length > 0 && $("#crosstab_table").html() != '') {
|
||||
var content = $("#crosstab_table").html();
|
||||
if ($("#crosstab_tables").length > 0 && $("#crosstab_tables").html() != '') {
|
||||
var content = $("#crosstab_tables").html();
|
||||
//global replace
|
||||
var regex = new RegExp('ct_inspect', "g");
|
||||
content = content.replace(regex, '');
|
||||
|
@ -777,7 +777,7 @@ function show_single_percent(id,status) {
|
||||
function printAnaliza(ime)
|
||||
{
|
||||
if(ime == 'Crosstab')
|
||||
var divToPrint=document.getElementById('crosstab_table');
|
||||
var divToPrint=document.getElementById('crosstab_tables');
|
||||
else if(ime == 'MultiCrosstab')
|
||||
var divToPrint=document.getElementById('mc_holder');
|
||||
else if(ime == 'Means')
|
||||
|
@ -15248,6 +15248,7 @@ textarea#addusers, textarea#addusers_note {
|
||||
#div_analiza_data table tr td.cell_space {
|
||||
padding: 0;
|
||||
line-height: 8px;
|
||||
background-color: #FFFFFF !important;
|
||||
border: 0 !important;
|
||||
}
|
||||
#div_analiza_data table tr th.cell_noPadding,
|
||||
@ -15740,6 +15741,917 @@ iframe#ifmcontentstoprint {
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
|
||||
#div_analiza_data.crosstabs {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
#div_analiza_data.crosstabs .crosstab_top_holder {
|
||||
display: flex;
|
||||
align-self: center;
|
||||
flex-wrap: wrap;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
#div_analiza_data.crosstabs .crosstab_top_holder #crosstab_drobdowns {
|
||||
display: flex;
|
||||
margin-right: 64px;
|
||||
}
|
||||
#div_analiza_data.crosstabs .crosstab_top_holder #crosstab_drobdowns #crossLeftHolder,
|
||||
#div_analiza_data.crosstabs .crosstab_top_holder #crosstab_drobdowns #crossRightHolder {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
#div_analiza_data.crosstabs .crosstab_top_holder #crosstab_drobdowns #crossLeftHolder .title,
|
||||
#div_analiza_data.crosstabs .crosstab_top_holder #crosstab_drobdowns #crossRightHolder .title {
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
#div_analiza_data.crosstabs .crosstab_top_holder #crosstab_drobdowns #crossLeftHolder .variabla_line,
|
||||
#div_analiza_data.crosstabs .crosstab_top_holder #crosstab_drobdowns #crossRightHolder .variabla_line {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
#div_analiza_data.crosstabs .crosstab_top_holder #crosstab_drobdowns #crossLeftHolder .variabla_line .faicon,
|
||||
#div_analiza_data.crosstabs .crosstab_top_holder #crosstab_drobdowns #crossRightHolder .variabla_line .faicon {
|
||||
cursor: pointer;
|
||||
margin-left: 8px;
|
||||
}
|
||||
#div_analiza_data.crosstabs .crosstab_top_holder #crosstab_drobdowns #crossLeftHolder .variabla_line .faicon::before,
|
||||
#div_analiza_data.crosstabs .crosstab_top_holder #crosstab_drobdowns #crossRightHolder .variabla_line .faicon::before {
|
||||
color: #1E88E5;
|
||||
}
|
||||
#div_analiza_data.crosstabs .crosstab_top_holder #crosstab_drobdowns #crossLeftHolder button,
|
||||
#div_analiza_data.crosstabs .crosstab_top_holder #crosstab_drobdowns #crossRightHolder button {
|
||||
width: 190px;
|
||||
margin-top: 16px;
|
||||
}
|
||||
#div_analiza_data.crosstabs .crosstab_top_holder #crosstab_drobdowns #crossImgHolder {
|
||||
margin: 38px 32px 0 32px;
|
||||
}
|
||||
#div_analiza_data.crosstabs .crosstab_top_holder #crosstab_drobdowns #crossImgHolder .faicon {
|
||||
cursor: pointer;
|
||||
}
|
||||
#div_analiza_data.crosstabs .crosstab_top_holder #crosstab_drobdowns #crossImgHolder .faicon::before {
|
||||
color: #1E88E5;
|
||||
}
|
||||
#div_analiza_data.crosstabs .crosstab_top_holder #crosstab_drobdowns #crossImgHolder .faicon.gray::before {
|
||||
color: #E5E5E5;
|
||||
}
|
||||
#div_analiza_data.crosstabs .crosstab_top_holder #crosstab_settings {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
#div_analiza_data.crosstabs .crosstab_top_holder #crosstab_settings .setting_line {
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
#div_analiza_data.crosstabs #crosstab_tables .table_holder {
|
||||
margin-top: 16px;
|
||||
padding-bottom: 16px;
|
||||
border-bottom: 1px #E5E5E5 solid;
|
||||
}
|
||||
#div_analiza_data.crosstabs #crosstab_tables .table_holder:last-child {
|
||||
border-bottom: 0;
|
||||
}
|
||||
#div_analiza_data.crosstabs #crosstab_tables .table_holder .hi2 {
|
||||
margin-bottom: 8px;
|
||||
font-weight: 600;
|
||||
}
|
||||
#div_analiza_data.crosstabs #crosstab_tables .table_holder table.table_crosstab td.cell_var {
|
||||
width: 260px;
|
||||
text-align: left;
|
||||
}
|
||||
#div_analiza_data.crosstabs #crosstab_tables .table_holder table.table_crosstab td.cell_question a {
|
||||
text-decoration: none;
|
||||
color: #333333;
|
||||
}
|
||||
#div_analiza_data.crosstabs #crosstab_tables .table_holder table.table_crosstab td.cell_value {
|
||||
text-align: center;
|
||||
padding: 4px 8px;
|
||||
}
|
||||
#div_analiza_data.crosstabs #crosstab_tables .table_holder .custom_report_include {
|
||||
margin-top: 16px;
|
||||
}
|
||||
#div_analiza_data.crosstabs #crosstab_tables .table_holder .custom_report_include a {
|
||||
text-decoration: none;
|
||||
}
|
||||
#div_analiza_data.crosstabs #crosstab_tables .table_holder #crosstab_legend {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-top: 16px;
|
||||
}
|
||||
#div_analiza_data.crosstabs #crosstab_tables .table_holder #crosstab_legend .crosstab_legend_line {
|
||||
display: flex;
|
||||
}
|
||||
#div_analiza_data.crosstabs #crosstab_tables .table_holder #crosstab_legend .crosstab_legend_line:nth-child(2) {
|
||||
margin-top: 16px;
|
||||
}
|
||||
#div_analiza_data.crosstabs #crosstab_tables .table_holder #crosstab_legend .crosstab_legend_line .title {
|
||||
margin-right: 16px;
|
||||
}
|
||||
#div_analiza_data.crosstabs #crosstab_tables .table_holder #crosstab_legend .crosstab_legend_line .trak {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
#div_analiza_data.crosstabs #crosstab_tables .table_holder #crosstab_legend .crosstab_legend_line .trak div {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
font-weight: 600;
|
||||
font-size: 20px;
|
||||
text-align: center;
|
||||
line-height: 18px;
|
||||
}
|
||||
#div_analiza_data.crosstabs #crosstab_tables .table_holder .crosstab_chart_holder {
|
||||
margin: 16px auto 0 auto;
|
||||
}
|
||||
#div_analiza_data.crosstabs .ctbChck_sp0 {
|
||||
background-color: #fcfcfc !important;
|
||||
}
|
||||
#div_analiza_data.crosstabs .ctbChck_sp1 {
|
||||
background-color: #FEFFE3 !important;
|
||||
}
|
||||
#div_analiza_data.crosstabs .ctbChck_sp2 {
|
||||
background-color: #FCFFC2 !important;
|
||||
}
|
||||
#div_analiza_data.crosstabs .ctbChck_sp3 {
|
||||
background-color: #FBFFA8 !important;
|
||||
}
|
||||
#div_analiza_data.crosstabs .crossCheck_EC {
|
||||
background-color: #FFFAE8 !important;
|
||||
}
|
||||
#div_analiza_data.crosstabs .crossCheck_RE {
|
||||
background-color: #FFF6D1 !important;
|
||||
}
|
||||
#div_analiza_data.crosstabs .crossCheck_SR {
|
||||
background-color: #FFECA2 !important;
|
||||
}
|
||||
#div_analiza_data.crosstabs .crossCheck_AR {
|
||||
background-color: #FFDA46 !important;
|
||||
}
|
||||
#div_analiza_data.crosstabs .rsdl_bck0 {
|
||||
background-color: white !important;
|
||||
}
|
||||
#div_analiza_data.crosstabs .rsdl_bck1 {
|
||||
background-color: #fae2e2 !important;
|
||||
}
|
||||
#div_analiza_data.crosstabs .rsdl_bck2 {
|
||||
background-color: #ff9d9d !important;
|
||||
}
|
||||
#div_analiza_data.crosstabs .rsdl_bck3 {
|
||||
background-color: #f84242 !important;
|
||||
}
|
||||
#div_analiza_data.crosstabs .rsdl_bck4 {
|
||||
background-color: #E8F1FF !important;
|
||||
}
|
||||
#div_analiza_data.crosstabs .rsdl_bck5 {
|
||||
background-color: #B9D5FF !important;
|
||||
}
|
||||
#div_analiza_data.crosstabs .rsdl_bck6 {
|
||||
background-color: #74ACFF !important;
|
||||
}
|
||||
|
||||
#mc_holder {
|
||||
overflow: hidden;
|
||||
margin-top: 20px;
|
||||
min-height: 500px;
|
||||
}
|
||||
#mc_holder .mc_table_bottom_settings {
|
||||
clear: none;
|
||||
float: right;
|
||||
border-collapse: collapse;
|
||||
margin: 0 2% 15px 0;
|
||||
width: 72%;
|
||||
}
|
||||
#mc_holder .custom_report_include {
|
||||
clear: none;
|
||||
float: left;
|
||||
border-collapse: collapse;
|
||||
margin: 0 2% 15px 0;
|
||||
}
|
||||
|
||||
/*drag list of questions*/
|
||||
#spr_list {
|
||||
float: left;
|
||||
overflow: auto;
|
||||
position: fixed;
|
||||
width: 20%;
|
||||
max-height: 450px;
|
||||
margin: 15px 0 15px 1%;
|
||||
background-color: white;
|
||||
border: 1px solid silver;
|
||||
border-radius: 7px;
|
||||
-moz-border-radius: 7px 7px 7px 7px;
|
||||
-webkit-border-radius: 7px;
|
||||
}
|
||||
#spr_list ul {
|
||||
padding: 0;
|
||||
padding: 5px 0;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.mc_draggable {
|
||||
width: 180px;
|
||||
margin: 10px 15px;
|
||||
padding: 8px;
|
||||
list-style: none;
|
||||
border: 1px #E5E5E5 dashed;
|
||||
}
|
||||
.mc_draggable:hover {
|
||||
background-color: #E5E5E5;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/*title of table*/
|
||||
.mc_table_title {
|
||||
float: right;
|
||||
table-layout: fixed;
|
||||
width: 70%;
|
||||
min-height: 15px;
|
||||
margin: 15px 2% 15px 0;
|
||||
padding: 5px 1%;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
.mc_table_title:hover {
|
||||
cursor: text;
|
||||
background-color: #E5E5E5;
|
||||
}
|
||||
.mc_table_title .multicrosstab_title_inline:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.mc_table_title.writing {
|
||||
background-color: #E5E5E5;
|
||||
outline: 1px dashed #E5E5E5;
|
||||
}
|
||||
|
||||
/*multicrosstab table*/
|
||||
.mc_table {
|
||||
float: right;
|
||||
table-layout: fixed;
|
||||
width: 72%;
|
||||
margin: 15px 2% 15px 0;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
.mc_table tr {
|
||||
height: 40px;
|
||||
}
|
||||
.mc_table tr td {
|
||||
border: 1px #E5E5E5 solid;
|
||||
text-align: center;
|
||||
}
|
||||
.mc_table tr td table.mc_inner_cell {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
.mc_table tr td table.mc_inner_cell tr {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
.mc_table tr td table.mc_inner_cell tr td {
|
||||
border: 0;
|
||||
border-top: 1px dashed #E5E5E5;
|
||||
width: 100%;
|
||||
}
|
||||
.mc_table tr td table.mc_inner_cell tr:first-child td {
|
||||
border: 0;
|
||||
}
|
||||
.mc_table tr td .delete_var {
|
||||
display: none;
|
||||
position: absolute;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
margin: -25px 0 0 0;
|
||||
background-image: url("../../../admin/survey/img_0/cross.png");
|
||||
}
|
||||
.mc_table tr td.borderless {
|
||||
border: 0;
|
||||
}
|
||||
.mc_table tr td.spr {
|
||||
cursor: pointer;
|
||||
font-weight: bold;
|
||||
background-color: #E5E5E5;
|
||||
}
|
||||
.mc_table tr td.var {
|
||||
background-color: #E5E5E5;
|
||||
}
|
||||
.mc_table tr td.sums {
|
||||
color: #FFC700;
|
||||
}
|
||||
.mc_table tr td.data {
|
||||
background-color: #F9F9F7;
|
||||
}
|
||||
.mc_table tr td.crossCheck_EC {
|
||||
background-color: #FFFAE8;
|
||||
}
|
||||
.mc_table tr td.crossCheck_RE {
|
||||
background-color: #FFFAE8;
|
||||
}
|
||||
.mc_table tr td.crossCheck_SR {
|
||||
background-color: #FFECA2;
|
||||
}
|
||||
.mc_table tr td.crossCheck_AR {
|
||||
background-color: #FFDA46;
|
||||
}
|
||||
.mc_table tr td.rsdl_bck0 {
|
||||
background-color: white;
|
||||
}
|
||||
.mc_table tr td.rsdl_bck1 {
|
||||
background-color: #FFE8E8;
|
||||
}
|
||||
.mc_table tr td.rsdl_bck2 {
|
||||
background-color: #FFD1D1;
|
||||
}
|
||||
.mc_table tr td.rsdl_bck3 {
|
||||
background-color: #FF8B8B;
|
||||
}
|
||||
.mc_table tr td.rsdl_bck4 {
|
||||
background-color: #E8F1FF;
|
||||
}
|
||||
.mc_table tr td.rsdl_bck5 {
|
||||
background-color: #B9D5FF;
|
||||
}
|
||||
.mc_table tr td.rsdl_bck6 {
|
||||
background-color: #74ACFF;
|
||||
}
|
||||
.mc_table tr td.white {
|
||||
background-color: white;
|
||||
}
|
||||
.mc_table tr td.red {
|
||||
background-color: #FFD1D1;
|
||||
}
|
||||
.mc_table tr td.blue {
|
||||
background-color: #E8F1FF;
|
||||
}
|
||||
.mc_table tr td.drophover {
|
||||
background-color: #FFC700 !important;
|
||||
}
|
||||
.mc_table tr td.empty {
|
||||
border: 1px dashed #E5E5E5;
|
||||
font-weight: normal;
|
||||
}
|
||||
.mc_table tr td.empty.droppable {
|
||||
color: #FFC700;
|
||||
border: 1px dashed #FFC700;
|
||||
background-color: #FFC700;
|
||||
}
|
||||
|
||||
/*settings links in top left corner*/
|
||||
.mc_settings_links {
|
||||
float: none;
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
width: auto;
|
||||
left: 200px;
|
||||
padding: 3px 5px;
|
||||
margin: 0 40px 0 0;
|
||||
background-color: #E5E5E5;
|
||||
border: 1px solid silver;
|
||||
border-radius: 3px;
|
||||
-moz-border-radius: 4px 4px 4px 4px;
|
||||
-webkit-border-radius: 4px;
|
||||
}
|
||||
.mc_settings_links ul {
|
||||
margin: 0 !important;
|
||||
padding: 0;
|
||||
}
|
||||
.mc_settings_links ul li {
|
||||
display: inline-block;
|
||||
list-style: none outside none;
|
||||
margin: 0 !important;
|
||||
padding: 2px 1px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.mc_settings_links ul li > span {
|
||||
vertical-align: middle;
|
||||
cursor: pointer;
|
||||
}
|
||||
.mc_settings_links ul li.space {
|
||||
background: url("../../../admin/survey/img_0/navigation/nav-control-bg.png") no-repeat scroll center top transparent;
|
||||
line-height: 17px;
|
||||
padding: 0 5px;
|
||||
width: 7px;
|
||||
}
|
||||
|
||||
/*table settings popup*/
|
||||
.mc_table_settings {
|
||||
/*max-height: 90vh;
|
||||
overflow-y: scroll;*/
|
||||
max-width: 90vw;
|
||||
padding: 16px;
|
||||
font-size: 16px;
|
||||
line-height: 20px;
|
||||
background-color: white;
|
||||
display: none;
|
||||
position: fixed;
|
||||
top: 200px;
|
||||
left: calc(50% - 200px);
|
||||
z-index: 999;
|
||||
width: 400px;
|
||||
}
|
||||
.mc_table_settings .popup_close {
|
||||
position: absolute !important;
|
||||
top: 10px;
|
||||
right: 10px;
|
||||
z-index: 9999;
|
||||
font-size: 12px !important;
|
||||
color: #777777;
|
||||
}
|
||||
.mc_table_settings .popup_close:hover {
|
||||
color: #333333;
|
||||
}
|
||||
.mc_table_settings .popup_close a {
|
||||
color: #777777;
|
||||
text-decoration: none;
|
||||
}
|
||||
.mc_table_settings .popup_close a:hover {
|
||||
color: #333333;
|
||||
}
|
||||
.mc_table_settings h2,
|
||||
.mc_table_settings .divPopUp_top {
|
||||
width: 100%;
|
||||
margin-top: 3px;
|
||||
margin-bottom: 16px;
|
||||
padding-bottom: 8px;
|
||||
font-weight: 600;
|
||||
font-size: 16px;
|
||||
text-transform: uppercase;
|
||||
border-bottom: 1px #E5E5E5 solid;
|
||||
}
|
||||
.mc_table_settings p {
|
||||
line-height: 20px;
|
||||
}
|
||||
.mc_table_settings .button_holder {
|
||||
justify-content: end !important;
|
||||
margin: 16px 0 0 0;
|
||||
}
|
||||
.mc_table_settings .button_holder button:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
.mc_table_settings.warning_popup h2::before {
|
||||
padding-right: 8px;
|
||||
font-family: "Font Awesome 5 Free";
|
||||
content: "";
|
||||
font-size: 14px;
|
||||
color: #FFC700;
|
||||
}
|
||||
.mc_table_settings #mcSettingsButtons {
|
||||
position: absolute;
|
||||
bottom: 15px;
|
||||
right: 10px;
|
||||
}
|
||||
.mc_table_settings #delez {
|
||||
width: 300px;
|
||||
margin: 5px 10px 0px 60px;
|
||||
}
|
||||
.mc_table_settings form {
|
||||
padding: 10px;
|
||||
}
|
||||
.mc_table_settings fieldset {
|
||||
margin: 0px 0px 10px 0px;
|
||||
border: 0;
|
||||
border-top: 1px solid #1E88E5;
|
||||
}
|
||||
.mc_table_settings legend {
|
||||
color: #1E88E5;
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
margin: 0;
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
/*tables list popup*/
|
||||
#div_mc_tables {
|
||||
display: none;
|
||||
width: 350px;
|
||||
height: 280px;
|
||||
}
|
||||
#div_mc_tables #mc_tables_left {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
#mc_tables {
|
||||
cursor: pointer;
|
||||
width: 99%;
|
||||
height: 160px;
|
||||
display: inline-block;
|
||||
border: 1px solid gray;
|
||||
}
|
||||
#mc_tables .option {
|
||||
padding: 1px;
|
||||
}
|
||||
#mc_tables .active {
|
||||
background-color: #1E88E5;
|
||||
color: white;
|
||||
border-bottom: 1px solid #E5E5E5;
|
||||
}
|
||||
|
||||
/*new table popup*/
|
||||
#newMCTable {
|
||||
/*max-height: 90vh;
|
||||
overflow-y: scroll;*/
|
||||
max-width: 90vw;
|
||||
padding: 16px;
|
||||
font-size: 16px;
|
||||
line-height: 20px;
|
||||
background-color: white;
|
||||
display: none;
|
||||
position: fixed;
|
||||
left: calc(50% - 275px);
|
||||
top: 40vh;
|
||||
z-index: 999;
|
||||
margin: 10px;
|
||||
width: 550px;
|
||||
}
|
||||
#newMCTable .popup_close {
|
||||
position: absolute !important;
|
||||
top: 10px;
|
||||
right: 10px;
|
||||
z-index: 9999;
|
||||
font-size: 12px !important;
|
||||
color: #777777;
|
||||
}
|
||||
#newMCTable .popup_close:hover {
|
||||
color: #333333;
|
||||
}
|
||||
#newMCTable .popup_close a {
|
||||
color: #777777;
|
||||
text-decoration: none;
|
||||
}
|
||||
#newMCTable .popup_close a:hover {
|
||||
color: #333333;
|
||||
}
|
||||
#newMCTable h2,
|
||||
#newMCTable .divPopUp_top {
|
||||
width: 100%;
|
||||
margin-top: 3px;
|
||||
margin-bottom: 16px;
|
||||
padding-bottom: 8px;
|
||||
font-weight: 600;
|
||||
font-size: 16px;
|
||||
text-transform: uppercase;
|
||||
border-bottom: 1px #E5E5E5 solid;
|
||||
}
|
||||
#newMCTable p {
|
||||
line-height: 20px;
|
||||
}
|
||||
#newMCTable .button_holder {
|
||||
justify-content: end !important;
|
||||
margin: 16px 0 0 0;
|
||||
}
|
||||
#newMCTable .button_holder button:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
#newMCTable.warning_popup h2::before {
|
||||
padding-right: 8px;
|
||||
font-family: "Font Awesome 5 Free";
|
||||
content: "";
|
||||
font-size: 14px;
|
||||
color: #FFC700;
|
||||
}
|
||||
|
||||
/*rename table popup*/
|
||||
#renameMCTable {
|
||||
/*max-height: 90vh;
|
||||
overflow-y: scroll;*/
|
||||
max-width: 90vw;
|
||||
padding: 16px;
|
||||
font-size: 16px;
|
||||
line-height: 20px;
|
||||
background-color: white;
|
||||
display: none;
|
||||
position: fixed;
|
||||
left: calc(50% - 275px);
|
||||
top: 40vh;
|
||||
z-index: 999;
|
||||
margin: 10px;
|
||||
width: 550px;
|
||||
}
|
||||
#renameMCTable .popup_close {
|
||||
position: absolute !important;
|
||||
top: 10px;
|
||||
right: 10px;
|
||||
z-index: 9999;
|
||||
font-size: 12px !important;
|
||||
color: #777777;
|
||||
}
|
||||
#renameMCTable .popup_close:hover {
|
||||
color: #333333;
|
||||
}
|
||||
#renameMCTable .popup_close a {
|
||||
color: #777777;
|
||||
text-decoration: none;
|
||||
}
|
||||
#renameMCTable .popup_close a:hover {
|
||||
color: #333333;
|
||||
}
|
||||
#renameMCTable h2,
|
||||
#renameMCTable .divPopUp_top {
|
||||
width: 100%;
|
||||
margin-top: 3px;
|
||||
margin-bottom: 16px;
|
||||
padding-bottom: 8px;
|
||||
font-weight: 600;
|
||||
font-size: 16px;
|
||||
text-transform: uppercase;
|
||||
border-bottom: 1px #E5E5E5 solid;
|
||||
}
|
||||
#renameMCTable p {
|
||||
line-height: 20px;
|
||||
}
|
||||
#renameMCTable .button_holder {
|
||||
justify-content: end !important;
|
||||
margin: 16px 0 0 0;
|
||||
}
|
||||
#renameMCTable .button_holder button:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
#renameMCTable.warning_popup h2::before {
|
||||
padding-right: 8px;
|
||||
font-family: "Font Awesome 5 Free";
|
||||
content: "";
|
||||
font-size: 14px;
|
||||
color: #FFC700;
|
||||
}
|
||||
|
||||
/*delete table popup*/
|
||||
#deleteMCTable {
|
||||
/*max-height: 90vh;
|
||||
overflow-y: scroll;*/
|
||||
max-width: 90vw;
|
||||
padding: 16px;
|
||||
font-size: 16px;
|
||||
line-height: 20px;
|
||||
background-color: white;
|
||||
display: none;
|
||||
position: fixed;
|
||||
left: calc(50% - 275px);
|
||||
top: 40vh;
|
||||
z-index: 999;
|
||||
margin: 10px;
|
||||
width: 550px;
|
||||
}
|
||||
#deleteMCTable .popup_close {
|
||||
position: absolute !important;
|
||||
top: 10px;
|
||||
right: 10px;
|
||||
z-index: 9999;
|
||||
font-size: 12px !important;
|
||||
color: #777777;
|
||||
}
|
||||
#deleteMCTable .popup_close:hover {
|
||||
color: #333333;
|
||||
}
|
||||
#deleteMCTable .popup_close a {
|
||||
color: #777777;
|
||||
text-decoration: none;
|
||||
}
|
||||
#deleteMCTable .popup_close a:hover {
|
||||
color: #333333;
|
||||
}
|
||||
#deleteMCTable h2,
|
||||
#deleteMCTable .divPopUp_top {
|
||||
width: 100%;
|
||||
margin-top: 3px;
|
||||
margin-bottom: 16px;
|
||||
padding-bottom: 8px;
|
||||
font-weight: 600;
|
||||
font-size: 16px;
|
||||
text-transform: uppercase;
|
||||
border-bottom: 1px #E5E5E5 solid;
|
||||
}
|
||||
#deleteMCTable p {
|
||||
line-height: 20px;
|
||||
}
|
||||
#deleteMCTable .button_holder {
|
||||
justify-content: end !important;
|
||||
margin: 16px 0 0 0;
|
||||
}
|
||||
#deleteMCTable .button_holder button:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
#deleteMCTable.warning_popup h2::before {
|
||||
padding-right: 8px;
|
||||
font-family: "Font Awesome 5 Free";
|
||||
content: "";
|
||||
font-size: 14px;
|
||||
color: #FFC700;
|
||||
}
|
||||
|
||||
.report_element_data table.mc_table {
|
||||
float: left;
|
||||
width: 100%;
|
||||
}
|
||||
.report_element_data .mc_table tr td.spr {
|
||||
cursor: auto;
|
||||
}
|
||||
.report_element_data .mc_table tr td.drophover {
|
||||
background-color: #FFC700 !important;
|
||||
}
|
||||
.report_element_data .mc_table tr td.empty {
|
||||
display: none;
|
||||
}
|
||||
.report_element_data .mc_table tr.last {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.mc_table_legend {
|
||||
clear: none;
|
||||
float: right;
|
||||
border-collapse: collapse;
|
||||
padding: 5px 10px;
|
||||
line-height: 18px;
|
||||
border: 1px solid #E5E5E5;
|
||||
background-color: #F9F9F7;
|
||||
}
|
||||
|
||||
.ttest_chart_holder {
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
table.ttestTable {
|
||||
border-top: 1px solid #E5E5E5;
|
||||
border-left: 1px solid #E5E5E5;
|
||||
border-spacing: 0px;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
border-collapse: collapse;
|
||||
table-layout: auto;
|
||||
font-size: 120%;
|
||||
}
|
||||
table.ttestTable td {
|
||||
min-width: 80px;
|
||||
padding: 3px;
|
||||
margin: 0px;
|
||||
text-align: center;
|
||||
border-bottom: 1px solid #E5E5E5;
|
||||
border-right: 1px solid #E5E5E5;
|
||||
}
|
||||
table.ttestTable th {
|
||||
min-width: 80px;
|
||||
padding: 3px;
|
||||
margin: 0px;
|
||||
text-align: center;
|
||||
border-bottom: 1px solid #E5E5E5;
|
||||
border-right: 1px solid #E5E5E5;
|
||||
background-color: #F8F8F8;
|
||||
}
|
||||
table.ttestTable th.lightGreen {
|
||||
background-color: #F8F8F8;
|
||||
}
|
||||
table.ttestTable td.lightGreen {
|
||||
background-color: #F8F8F8;
|
||||
}
|
||||
|
||||
#ttestNumerusSpan select {
|
||||
width: 220px;
|
||||
}
|
||||
|
||||
#ttestSpremenljivkaSpan select {
|
||||
width: 220px;
|
||||
}
|
||||
|
||||
#ttestVariablesSpan {
|
||||
background-color: #F8F8F8;
|
||||
border: 1px solid #F8F8F8;
|
||||
margin-bottom: 10px;
|
||||
padding: 5px;
|
||||
max-width: 400px;
|
||||
border-radius: 4px;
|
||||
-moz-border-radius: 4px 4px 4px 4px;
|
||||
-webkit-border-radius: 4px;
|
||||
}
|
||||
|
||||
#ttestVariablesSpan.active {
|
||||
background-color: #FFC700;
|
||||
border: 1px solid #FFC700;
|
||||
}
|
||||
|
||||
.space_means_new {
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
display: inline-block;
|
||||
width: 20px;
|
||||
}
|
||||
|
||||
#means_add_new {
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
display: inline-block;
|
||||
width: 20px;
|
||||
}
|
||||
|
||||
#means_remove {
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
display: inline-block;
|
||||
width: 20px;
|
||||
}
|
||||
|
||||
#div_means_data {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
#meansLeftDropdowns {
|
||||
float: left;
|
||||
padding-right: 10px;
|
||||
}
|
||||
#meansLeftDropdowns select {
|
||||
width: 240px;
|
||||
font-size: 12px;
|
||||
}
|
||||
#meansLeftDropdowns select option {
|
||||
overflow: hidden;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
#meansRightDropdowns {
|
||||
float: left;
|
||||
padding-right: 10px;
|
||||
}
|
||||
#meansRightDropdowns select {
|
||||
width: 240px;
|
||||
font-size: 12px;
|
||||
}
|
||||
#meansRightDropdowns select option {
|
||||
overflow: hidden;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.space_means_new {
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
display: inline-block;
|
||||
width: 20px;
|
||||
}
|
||||
|
||||
#means_add_new {
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
display: inline-block;
|
||||
width: 20px;
|
||||
}
|
||||
|
||||
#means_remove {
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
display: inline-block;
|
||||
width: 20px;
|
||||
}
|
||||
|
||||
#meansImgHolder {
|
||||
float: left;
|
||||
padding: 0px 3px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.break_chart_holder {
|
||||
margin: 30px 0 30px 0;
|
||||
}
|
||||
|
||||
.avg {
|
||||
text-decoration: overline;
|
||||
}
|
||||
|
||||
#breakSpremenljivkaSpan select {
|
||||
width: 220px;
|
||||
}
|
||||
|
||||
div.breakTableDiv {
|
||||
margin-top: 10px;
|
||||
}
|
||||
div.breakTableDiv table {
|
||||
border-top: 1px solid #E5E5E5;
|
||||
border-left: 1px solid #E5E5E5;
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
text-align: center;
|
||||
}
|
||||
div.breakTableDiv table th {
|
||||
border-right: 1px solid #E5E5E5;
|
||||
border-bottom: 1px solid #E5E5E5;
|
||||
padding: 5px;
|
||||
min-width: 70px;
|
||||
font-weight: normal;
|
||||
background-color: #F8F8F8;
|
||||
}
|
||||
div.breakTableDiv table td {
|
||||
border-right: 1px solid #E5E5E5;
|
||||
border-bottom: 1px solid #E5E5E5;
|
||||
padding: 5px;
|
||||
min-width: 70px;
|
||||
font-weight: normal;
|
||||
}
|
||||
div.breakTableDiv table th.sub {
|
||||
background-color: #F8F8F8;
|
||||
}
|
||||
div.breakTableDiv table th.strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
div.breakTableDiv table td.strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/*editing chart labels in popup*/
|
||||
table#grids td {
|
||||
padding: 0 5px;
|
||||
|
@ -136,6 +136,7 @@
|
||||
&.cell_space{
|
||||
padding: 0;
|
||||
line-height: 8px;
|
||||
background-color: $white !important;
|
||||
border: 0 !important;
|
||||
}
|
||||
|
||||
|
@ -0,0 +1,46 @@
|
||||
|
||||
.break_chart_holder {
|
||||
margin: 30px 0 30px 0;
|
||||
}
|
||||
.avg {
|
||||
text-decoration: overline;
|
||||
}
|
||||
#breakSpremenljivkaSpan {
|
||||
select {
|
||||
width: 220px;
|
||||
}
|
||||
}
|
||||
div.breakTableDiv {
|
||||
margin-top: 10px;
|
||||
table {
|
||||
border-top: 1px solid $gray;
|
||||
border-left: 1px solid $gray;
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
text-align: center;
|
||||
th {
|
||||
border-right: 1px solid $gray;
|
||||
border-bottom: 1px solid $gray;
|
||||
padding: 5px;
|
||||
min-width: 70px;
|
||||
font-weight: normal;
|
||||
background-color: $light-gray;
|
||||
}
|
||||
td {
|
||||
border-right: 1px solid $gray;
|
||||
border-bottom: 1px solid $gray;
|
||||
padding: 5px;
|
||||
min-width: 70px;
|
||||
font-weight: normal;
|
||||
}
|
||||
th.sub {
|
||||
background-color: $light-gray;
|
||||
}
|
||||
th.strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
td.strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,211 @@
|
||||
|
||||
#div_analiza_data.crosstabs{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
.crosstab_top_holder{
|
||||
display: flex;
|
||||
align-self: center;
|
||||
flex-wrap: wrap;
|
||||
|
||||
margin-bottom: 16px;
|
||||
|
||||
#crosstab_drobdowns{
|
||||
display: flex;
|
||||
margin-right: 64px;
|
||||
|
||||
#crossLeftHolder,
|
||||
#crossRightHolder{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
.title{
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.variabla_line{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
.faicon{
|
||||
cursor: pointer;
|
||||
margin-left: 8px;
|
||||
|
||||
&::before{
|
||||
color: $blue;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
button{
|
||||
width: 190px;
|
||||
margin-top: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
#crossImgHolder {
|
||||
margin: 38px 32px 0 32px;
|
||||
|
||||
.faicon{
|
||||
cursor: pointer;
|
||||
|
||||
&::before{
|
||||
color: $blue;
|
||||
}
|
||||
|
||||
&.gray::before{
|
||||
color: $gray;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#crosstab_settings{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
.setting_line{
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#crosstab_tables{
|
||||
|
||||
.table_holder{
|
||||
margin-top: 16px;
|
||||
padding-bottom: 16px;
|
||||
|
||||
border-bottom: 1px $gray solid;
|
||||
|
||||
&:last-child{
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.hi2{
|
||||
margin-bottom: 8px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
table.table_crosstab{
|
||||
|
||||
td.cell_var{
|
||||
width: 260px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
td.cell_question{
|
||||
a{
|
||||
text-decoration: none;
|
||||
color: $black;
|
||||
}
|
||||
}
|
||||
|
||||
td.cell_value{
|
||||
text-align: center;
|
||||
padding: 4px 8px;
|
||||
}
|
||||
}
|
||||
|
||||
.custom_report_include{
|
||||
margin-top: 16px;
|
||||
|
||||
a{
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
#crosstab_legend{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
margin-top: 16px;
|
||||
|
||||
.crosstab_legend_line{
|
||||
display: flex;
|
||||
|
||||
&:nth-child(2){
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
.title{
|
||||
margin-right: 16px;
|
||||
}
|
||||
|
||||
.trak{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
div{
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
|
||||
font-weight: 600;
|
||||
font-size: 20px;
|
||||
text-align: center;
|
||||
line-height: 18px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.crosstab_chart_holder{
|
||||
margin: 16px auto 0 auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Barve
|
||||
.ctbChck_sp0 {
|
||||
background-color: #fcfcfc !important;
|
||||
}
|
||||
.ctbChck_sp1 {
|
||||
background-color: #FEFFE3 !important;
|
||||
}
|
||||
.ctbChck_sp2 {
|
||||
background-color: #FCFFC2 !important;
|
||||
}
|
||||
.ctbChck_sp3 {
|
||||
background-color: #FBFFA8 !important;
|
||||
}
|
||||
.crossCheck_EC {
|
||||
background-color: #FFFAE8 !important;
|
||||
}
|
||||
.crossCheck_RE {
|
||||
background-color: #FFF6D1 !important;
|
||||
}
|
||||
.crossCheck_SR {
|
||||
background-color: #FFECA2 !important;
|
||||
}
|
||||
.crossCheck_AR {
|
||||
background-color: #FFDA46 !important;
|
||||
}
|
||||
.rsdl_bck0 {
|
||||
background-color: white !important;
|
||||
}
|
||||
.rsdl_bck1 {
|
||||
background-color: rgb(250, 226, 226) !important;
|
||||
}
|
||||
.rsdl_bck2 {
|
||||
background-color: rgb(255, 157, 157) !important;
|
||||
}
|
||||
.rsdl_bck3 {
|
||||
background-color: rgb(248, 66, 66) !important;
|
||||
}
|
||||
.rsdl_bck4 {
|
||||
background-color: #E8F1FF !important;
|
||||
}
|
||||
.rsdl_bck5 {
|
||||
background-color: #B9D5FF !important;
|
||||
}
|
||||
.rsdl_bck6 {
|
||||
background-color: #74ACFF !important;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
@ -0,0 +1,70 @@
|
||||
|
||||
.space_means_new {
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
display: inline-block;
|
||||
width: 20px;
|
||||
}
|
||||
#means_add_new {
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
display: inline-block;
|
||||
width: 20px;
|
||||
}
|
||||
#means_remove {
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
display: inline-block;
|
||||
width: 20px;
|
||||
}
|
||||
|
||||
#div_means_data {
|
||||
margin-top: 10px;
|
||||
}
|
||||
#meansLeftDropdowns {
|
||||
float: left;
|
||||
padding-right: 10px;
|
||||
select {
|
||||
width: 240px;
|
||||
font-size: 12px;
|
||||
option {
|
||||
overflow: hidden;
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
}
|
||||
#meansRightDropdowns {
|
||||
float: left;
|
||||
padding-right: 10px;
|
||||
select {
|
||||
width: 240px;
|
||||
font-size: 12px;
|
||||
option {
|
||||
overflow: hidden;
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.space_means_new {
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
display: inline-block;
|
||||
width: 20px;
|
||||
}
|
||||
#means_add_new {
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
display: inline-block;
|
||||
width: 20px;
|
||||
}
|
||||
#means_remove {
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
display: inline-block;
|
||||
width: 20px;
|
||||
}
|
||||
#meansImgHolder {
|
||||
float: left;
|
||||
padding: 0px 3px;
|
||||
display: inline-block;
|
||||
}
|
@ -0,0 +1,339 @@
|
||||
|
||||
#mc_holder {
|
||||
overflow: hidden;
|
||||
margin-top: 20px;
|
||||
min-height: 500px;
|
||||
.mc_table_bottom_settings {
|
||||
clear: none;
|
||||
float: right;
|
||||
border-collapse: collapse;
|
||||
margin: 0 2% 15px 0;
|
||||
width: 72%;
|
||||
}
|
||||
.custom_report_include {
|
||||
clear: none;
|
||||
float: left;
|
||||
border-collapse: collapse;
|
||||
margin: 0 2% 15px 0;
|
||||
}
|
||||
}
|
||||
/*drag list of questions*/
|
||||
#spr_list {
|
||||
float: left;
|
||||
overflow: auto;
|
||||
position: fixed;
|
||||
width: 20%;
|
||||
max-height: 450px;
|
||||
margin: 15px 0 15px 1%;
|
||||
background-color: white;
|
||||
border: 1px solid silver;
|
||||
border-radius: 7px;
|
||||
-moz-border-radius: 7px 7px 7px 7px;
|
||||
-webkit-border-radius: 7px;
|
||||
ul {
|
||||
padding: 0;
|
||||
padding: 5px 0;
|
||||
z-index: 1;
|
||||
}
|
||||
}
|
||||
.mc_draggable {
|
||||
width: 180px;
|
||||
margin: 10px 15px;
|
||||
padding: 8px;
|
||||
list-style: none;
|
||||
border: 1px $gray dashed;
|
||||
&:hover {
|
||||
background-color: $gray;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
/*title of table*/
|
||||
.mc_table_title {
|
||||
float: right;
|
||||
table-layout: fixed;
|
||||
width: 70%;
|
||||
min-height: 15px;
|
||||
margin: 15px 2% 15px 0;
|
||||
padding: 5px 1%;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
border-collapse: collapse;
|
||||
&:hover {
|
||||
cursor: text;
|
||||
background-color: $gray;
|
||||
}
|
||||
.multicrosstab_title_inline:focus {
|
||||
outline: none;
|
||||
}
|
||||
}
|
||||
.mc_table_title.writing {
|
||||
background-color: $gray;
|
||||
outline: 1px dashed $gray;
|
||||
}
|
||||
/*multicrosstab table*/
|
||||
.mc_table {
|
||||
float: right;
|
||||
table-layout: fixed;
|
||||
width: 72%;
|
||||
margin: 15px 2% 15px 0;
|
||||
border-collapse: collapse;
|
||||
tr {
|
||||
height: 40px;
|
||||
td {
|
||||
border: 1px $gray solid;
|
||||
text-align: center;
|
||||
table.mc_inner_cell {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-collapse: collapse;
|
||||
tr {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
td {
|
||||
border: 0;
|
||||
border-top: 1px dashed $gray;
|
||||
width: 100%;
|
||||
}
|
||||
&:first-child {
|
||||
td {
|
||||
border: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.delete_var {
|
||||
display: none;
|
||||
position: absolute;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
margin: -25px 0 0 0;
|
||||
background-image: url("../../../admin/survey/img_0/cross.png");
|
||||
}
|
||||
}
|
||||
td.borderless {
|
||||
border: 0;
|
||||
}
|
||||
td.spr {
|
||||
cursor: pointer;
|
||||
font-weight: bold;
|
||||
background-color: $gray;
|
||||
}
|
||||
td.var {
|
||||
background-color: $gray;
|
||||
}
|
||||
td.sums {
|
||||
color: $yellow;
|
||||
}
|
||||
td.data {
|
||||
background-color: #F9F9F7;
|
||||
}
|
||||
td.crossCheck_EC {
|
||||
background-color: #FFFAE8;
|
||||
}
|
||||
td.crossCheck_RE {
|
||||
background-color: #FFFAE8;
|
||||
}
|
||||
td.crossCheck_SR {
|
||||
background-color: #FFECA2;
|
||||
}
|
||||
td.crossCheck_AR {
|
||||
background-color: #FFDA46;
|
||||
}
|
||||
td.rsdl_bck0 {
|
||||
background-color: white;
|
||||
}
|
||||
td.rsdl_bck1 {
|
||||
background-color: #FFE8E8;
|
||||
}
|
||||
td.rsdl_bck2 {
|
||||
background-color: #FFD1D1;
|
||||
}
|
||||
td.rsdl_bck3 {
|
||||
background-color: #FF8B8B;
|
||||
}
|
||||
td.rsdl_bck4 {
|
||||
background-color: #E8F1FF;
|
||||
}
|
||||
td.rsdl_bck5 {
|
||||
background-color: #B9D5FF;
|
||||
}
|
||||
td.rsdl_bck6 {
|
||||
background-color: #74ACFF;
|
||||
}
|
||||
td.white {
|
||||
background-color: white;
|
||||
}
|
||||
td.red {
|
||||
background-color: #FFD1D1;
|
||||
}
|
||||
td.blue {
|
||||
background-color: #E8F1FF;
|
||||
}
|
||||
td.drophover {
|
||||
background-color: $yellow !important;
|
||||
}
|
||||
td.empty {
|
||||
border: 1px dashed $gray;
|
||||
font-weight: normal;
|
||||
}
|
||||
td.empty.droppable {
|
||||
color: $yellow;
|
||||
border: 1px dashed $yellow;
|
||||
background-color: $yellow;
|
||||
}
|
||||
}
|
||||
}
|
||||
/*settings links in top left corner*/
|
||||
.mc_settings_links {
|
||||
float: none;
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
width: auto;
|
||||
left: 200px;
|
||||
padding: 3px 5px;
|
||||
margin: 0 40px 0 0;
|
||||
background-color: $gray;
|
||||
border: 1px solid silver;
|
||||
border-radius: 3px;
|
||||
-moz-border-radius: 4px 4px 4px 4px;
|
||||
-webkit-border-radius: 4px;
|
||||
ul {
|
||||
margin: 0 !important;
|
||||
padding: 0;
|
||||
li {
|
||||
display: inline-block;
|
||||
list-style: none outside none;
|
||||
margin: 0 !important;
|
||||
padding: 2px 1px;
|
||||
vertical-align: middle;
|
||||
>span {
|
||||
vertical-align: middle;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
li.space {
|
||||
background: url("../../../admin/survey/img_0/navigation/nav-control-bg.png") no-repeat scroll center top transparent;
|
||||
line-height: 17px;
|
||||
padding: 0 5px;
|
||||
width: 7px;
|
||||
}
|
||||
}
|
||||
}
|
||||
/*table settings popup*/
|
||||
.mc_table_settings {
|
||||
@include popup_general();
|
||||
|
||||
display: none;
|
||||
position: fixed;
|
||||
top: 200px;
|
||||
left: calc(50% - 200px);
|
||||
z-index: 999;
|
||||
width: 400px;
|
||||
|
||||
#mcSettingsButtons {
|
||||
position: absolute;
|
||||
bottom: 15px;
|
||||
right: 10px;
|
||||
}
|
||||
#delez {
|
||||
width: 300px;
|
||||
margin: 5px 10px 0px 60px;
|
||||
}
|
||||
form {
|
||||
padding: 10px;
|
||||
}
|
||||
fieldset {
|
||||
margin: 0px 0px 10px 0px;
|
||||
border: 0;
|
||||
border-top: 1px solid $blue;
|
||||
}
|
||||
legend {
|
||||
color: $blue;
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
margin: 0;
|
||||
padding: 0 10px;
|
||||
}
|
||||
}
|
||||
/*tables list popup*/
|
||||
#div_mc_tables {
|
||||
display: none;
|
||||
|
||||
width: 350px;
|
||||
height: 280px;
|
||||
|
||||
#mc_tables_left {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
}
|
||||
#mc_tables {
|
||||
cursor: pointer;
|
||||
width: 99%;
|
||||
height: 160px;
|
||||
display: inline-block;
|
||||
border: 1px solid gray;
|
||||
.option {
|
||||
padding: 1px;
|
||||
}
|
||||
.active {
|
||||
background-color: $blue;
|
||||
color: white;
|
||||
border-bottom: 1px solid $gray;
|
||||
}
|
||||
}
|
||||
@mixin small_popup_multicross(){
|
||||
@include popup_general();
|
||||
|
||||
display: none;
|
||||
position: fixed;
|
||||
left: calc(50% - 275px);
|
||||
top: 40vh;
|
||||
z-index: 999;
|
||||
|
||||
margin: 10px;
|
||||
width: 550px;
|
||||
|
||||
}
|
||||
/*new table popup*/
|
||||
#newMCTable {
|
||||
@include small_popup_multicross();
|
||||
}
|
||||
/*rename table popup*/
|
||||
#renameMCTable {
|
||||
@include small_popup_multicross();
|
||||
}
|
||||
/*delete table popup*/
|
||||
#deleteMCTable {
|
||||
@include small_popup_multicross();
|
||||
}
|
||||
.report_element_data {
|
||||
table.mc_table {
|
||||
float: left;
|
||||
width: 100%;
|
||||
}
|
||||
.mc_table {
|
||||
tr {
|
||||
td.spr {
|
||||
cursor: auto;
|
||||
}
|
||||
td.drophover {
|
||||
background-color: $yellow !important;
|
||||
}
|
||||
td.empty {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
tr.last {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
.mc_table_legend {
|
||||
clear: none;
|
||||
float: right;
|
||||
border-collapse: collapse;
|
||||
padding: 5px 10px;
|
||||
line-height: 18px;
|
||||
border: 1px solid $gray;
|
||||
background-color: #F9F9F7;
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
|
||||
.ttest_chart_holder {
|
||||
margin-left: 0px;
|
||||
}
|
||||
table.ttestTable {
|
||||
border-top: 1px solid $gray;
|
||||
border-left: 1px solid $gray;
|
||||
border-spacing: 0px;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
border-collapse: collapse;
|
||||
table-layout: auto;
|
||||
font-size: 120%;
|
||||
td {
|
||||
min-width: 80px;
|
||||
padding: 3px;
|
||||
margin: 0px;
|
||||
text-align: center;
|
||||
border-bottom: 1px solid $gray;
|
||||
border-right: 1px solid $gray;
|
||||
}
|
||||
th {
|
||||
min-width: 80px;
|
||||
padding: 3px;
|
||||
margin: 0px;
|
||||
text-align: center;
|
||||
border-bottom: 1px solid $gray;
|
||||
border-right: 1px solid $gray;
|
||||
background-color: $light-gray;
|
||||
}
|
||||
th.lightGreen {
|
||||
background-color: $light-gray;
|
||||
}
|
||||
td.lightGreen {
|
||||
background-color: $light-gray;
|
||||
}
|
||||
}
|
||||
#ttestNumerusSpan {
|
||||
select {
|
||||
width: 220px;
|
||||
}
|
||||
}
|
||||
#ttestSpremenljivkaSpan {
|
||||
select {
|
||||
width: 220px;
|
||||
}
|
||||
}
|
||||
#ttestVariablesSpan {
|
||||
background-color: $light-gray;
|
||||
border: 1px solid $light-gray;
|
||||
margin-bottom: 10px;
|
||||
padding: 5px;
|
||||
max-width: 400px;
|
||||
border-radius: 4px;
|
||||
-moz-border-radius: 4px 4px 4px 4px;
|
||||
-webkit-border-radius: 4px;
|
||||
}
|
||||
#ttestVariablesSpan.active {
|
||||
background-color: $yellow;
|
||||
border: 1px solid $yellow;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user