[Redizajn 1KA] - Moje ankete --> Nova anketa - v2
Dodan skrit header in footer
This commit is contained in:
parent
198c2438ee
commit
4360a668df
@ -283,6 +283,7 @@ class SurveyAdmin
|
||||
// Layout strani
|
||||
$this->layout_width = $navigationArray['layout_width'];
|
||||
$this->layout_menu = $navigationArray['layout_menu'];
|
||||
$this->hide_header = $navigationArray['hide_header'];
|
||||
|
||||
|
||||
echo '<div id="main_holder">';
|
||||
@ -320,7 +321,7 @@ class SurveyAdmin
|
||||
|
||||
|
||||
/********************* MAIN *********************/
|
||||
echo '<div id="main">';
|
||||
echo '<div id="main" class="'.$this->hide_header.'">';
|
||||
|
||||
// SEZNAM ANKET - Ce ni nastavljene ankete, potem prikazujemo seznam na prvi strani *****/
|
||||
if (!($this->anketa > 0)) {
|
||||
@ -1983,8 +1984,7 @@ class SurveyAdmin
|
||||
global $mysql_database_name;
|
||||
|
||||
|
||||
echo '<footer id="srv_footer">';
|
||||
|
||||
echo '<footer id="srv_footer"'.(($this->hide_header == "hide_header") ? 'class="displayNone"' : '').'>';
|
||||
|
||||
// Leva stran footerja
|
||||
echo '<div class="footer_left">';
|
||||
|
@ -27,7 +27,7 @@ class CrossRoad {
|
||||
// Layout strani glede na to kje se nahajamo (imamo levi meni in sirina holderja)
|
||||
$layout_menu = '';
|
||||
$layout_width = '';
|
||||
|
||||
$hide_header = '';
|
||||
|
||||
# ajaxa se poslje skupaj z ajaxom, da ob updatu vemo kaksen 'a' je bil na originalni strani
|
||||
# (drugace se ob updatu z ajaxom informacija o 'a'ju zgubi)
|
||||
@ -549,7 +549,11 @@ class CrossRoad {
|
||||
# MOJE ANKETE
|
||||
case 'pregledovanje':
|
||||
default:
|
||||
$layout_width = 'fullwidth';
|
||||
$layout_width = 'fullwidth';
|
||||
if ($_GET['a'] == 'ustvari_anketo') {
|
||||
$layout_menu = 'menu_left';
|
||||
$hide_header = 'hide_header';
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
@ -566,6 +570,7 @@ class CrossRoad {
|
||||
|
||||
'layout_width' => $layout_width,
|
||||
'layout_menu' => $layout_menu,
|
||||
'hide_header' => $hide_header,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -13866,6 +13866,13 @@ and open the template in the editor.
|
||||
Created on : 25-Jul-2018, 11:34:25
|
||||
Author : podkrizniku
|
||||
*/
|
||||
div#main.hide_header {
|
||||
position: absolute;
|
||||
height: 100vh;
|
||||
width: 100vw;
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
|
||||
#new_anketa_div {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
@ -13879,6 +13886,9 @@ and open the template in the editor.
|
||||
border-right: 1px solid #E5E5E5;
|
||||
box-sizing: border-box;
|
||||
flex-shrink: 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
#new_anketa_div #left_menu .item {
|
||||
display: flex;
|
||||
|
@ -11,6 +11,10 @@
|
||||
box-sizing: border-box;
|
||||
flex-shrink: 0;
|
||||
|
||||
position: absolute;
|
||||
top:0;
|
||||
left:0;
|
||||
|
||||
.item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
@ -8,6 +8,13 @@ and open the template in the editor.
|
||||
Author : podkrizniku
|
||||
*/
|
||||
|
||||
div#main.hide_header {
|
||||
position: absolute;
|
||||
height: 100vh;
|
||||
width: 100vw;
|
||||
background-color: $white;
|
||||
}
|
||||
|
||||
#new_anketa_div {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
Loading…
x
Reference in New Issue
Block a user