[Redizajn 1KA] - Podatki --> Pregledovanje --> Spremenljivke - v1

This commit is contained in:
tejagerjovic 2022-03-02 01:02:17 +01:00
parent 7d815484d8
commit 3cfdcb72bc
7 changed files with 23 additions and 19 deletions

View File

@ -44,18 +44,14 @@ class VariableView {
public static function displayVariables() { public static function displayVariables() {
global $lang; global $lang;
echo '<table class="variableView">'; echo '<table class="variableView">';
echo '<thead><tr>'; echo '<tr>';
echo '<th>'.$lang['srv_variableView_h_'].'</th>'; echo '<th>'.$lang['srv_variableView_h_name'].'</th>';
echo '<th>'.$lang['srv_variableView_h_type'].'</th>'; echo '<th>'.$lang['srv_variableView_h_type'].'</th>';
echo '<th>'.$lang['srv_variableView_h_width'].'</th>';
echo '<th>'.$lang['srv_variableView_h_decimals'].'</th>';
echo '<th>'.$lang['srv_variableView_h_label'].'</th>';
echo '<th>'.$lang['srv_variableView_h_measure'].'</th>'; echo '<th>'.$lang['srv_variableView_h_measure'].'</th>';
echo '</tr></thead>'; echo '<th>'.$lang['srv_variableView_h_label'].'</th>';
echo '</tr>';
echo '<tbody>';
foreach (self::$_HEADERS AS $skey => $spremenljivka) { foreach (self::$_HEADERS AS $skey => $spremenljivka) {
@ -71,15 +67,12 @@ class VariableView {
echo '<tr>'; echo '<tr>';
echo '<td>'.$spremenljivka['variable'].'</td>'; echo '<td>'.$spremenljivka['variable'].'</td>';
echo '<td>'.$legenda['izrazanje'].'</td>'; echo '<td>'.$legenda['izrazanje'].'</td>';
echo '<td>'.(int)$spss_length['0'].'</td>';
echo '<td>'.(int)$spss_length['1'].'</td>';
echo '<td>'.$spremenljivka['naslov'].'</td>';
echo '<td>'.$legenda['skala'].'</td>'; echo '<td>'.$legenda['skala'].'</td>';
echo '<td>'.$spremenljivka['naslov'].'</td>';
echo '</tr>'; echo '</tr>';
} }
} }
echo '</tbody>';
echo '</table>'; echo '</table>';
} }
} }

View File

@ -318,7 +318,7 @@ class CrossRoad {
if ($_GET['m'] == 'anal_arch') { if ($_GET['m'] == 'anal_arch') {
$layout_menu = 'menu_left'; $layout_menu = 'menu_left';
} }
$status = 2; $status = 2;
break; break;
@ -372,6 +372,9 @@ class CrossRoad {
$layout_width = 'wide'; $layout_width = 'wide';
$layout_menu = 'menu_left'; $layout_menu = 'menu_left';
} }
elseif ($_GET['m'] == 'variables') {
$layout_width = 'narrow';
}
$status = 4; $status = 4;

View File

@ -6176,12 +6176,12 @@ $lang = array (
'srv_te_profile_name' => 'Izbrana prilagoditev teme', 'srv_te_profile_name' => 'Izbrana prilagoditev teme',
'srv_te_theme_edit' => 'Prilagodi', 'srv_te_theme_edit' => 'Prilagodi',
'srv_te_no_profiles' => 'Nimate še lastnih tem. Za prilagoditev teme, kliknite na "Prilagodi" poleg imena trenutne teme. Uporabite lahko tudi naprednješe CSS urejanje teme.', 'srv_te_no_profiles' => 'Nimate še lastnih tem. Za prilagoditev teme, kliknite na "Prilagodi" poleg imena trenutne teme. Uporabite lahko tudi naprednješe CSS urejanje teme.',
'srv_variableView_h_name' => 'Ime', 'srv_variableView_h_name' => 'Spremenljivka',
'srv_variableView_h_type' => 'Tip', 'srv_variableView_h_type' => 'Tip',
'srv_variableView_h_width' => 'Št. celih mest', 'srv_variableView_h_width' => 'Št. celih mest',
'srv_variableView_h_decimals' => 'Št. decimalk', 'srv_variableView_h_decimals' => 'Št. decimalk',
'srv_variableView_h_label' => 'Labela', 'srv_variableView_h_label' => 'Labela',
'srv_variableView_h_measure' => 'Merjenje', 'srv_variableView_h_measure' => 'Merska lestvica',
'srv_save_set_theme' => 'Izberi to temo za temo ankete', 'srv_save_set_theme' => 'Izberi to temo za temo ankete',
'srv_lnk_back_to_data' => 'Nazaj', 'srv_lnk_back_to_data' => 'Nazaj',
'srv_lnk_vpogled' => 'Vpogled', 'srv_lnk_vpogled' => 'Vpogled',

View File

@ -6074,12 +6074,12 @@ $lang = array (
'srv_te_profile_name' => 'Selected theme modification', 'srv_te_profile_name' => 'Selected theme modification',
'srv_te_theme_edit' => 'Customize', 'srv_te_theme_edit' => 'Customize',
'srv_te_no_profiles' => 'You have no user themes. To customize a theme, click on the "Customize" option, found next to the current theme name. You can also use more advanced CSS editing options.', 'srv_te_no_profiles' => 'You have no user themes. To customize a theme, click on the "Customize" option, found next to the current theme name. You can also use more advanced CSS editing options.',
'srv_variableView_h_name' => 'Name', 'srv_variableView_h_name' => 'Variable',
'srv_variableView_h_type' => 'Type', 'srv_variableView_h_type' => 'Type',
'srv_variableView_h_width' => 'Width', 'srv_variableView_h_width' => 'Width',
'srv_variableView_h_decimals' => 'Decimals', 'srv_variableView_h_decimals' => 'Decimals',
'srv_variableView_h_label' => 'Label', 'srv_variableView_h_label' => 'Label',
'srv_variableView_h_measure' => 'Measure', 'srv_variableView_h_measure' => 'Scale',
'srv_save_set_theme' => 'Select this theme for current theme', 'srv_save_set_theme' => 'Select this theme for current theme',
'srv_lnk_back_to_data' => 'Back to data', 'srv_lnk_back_to_data' => 'Back to data',
'srv_lnk_vpogled' => 'Insight into cases', 'srv_lnk_vpogled' => 'Insight into cases',

View File

@ -9991,6 +9991,10 @@ span.faicon.st-besede-popup {
pointer-events: none; pointer-events: none;
} }
table.variableView {
width: 100%;
}
.dashboard_top_settings { .dashboard_top_settings {
display: flex; display: flex;
align-items: center; align-items: center;

View File

@ -6,5 +6,6 @@
@import "archives"; @import "archives";
@import "import_export"; @import "import_export";
@import "missing_values"; @import "missing_values";
@import "standardne_besede" @import "standardne_besede";
@import "podatki";

View File

@ -0,0 +1,3 @@
table.variableView {
width: 100%;
}