Dashboard slides fix
This commit is contained in:
parent
8b04d5981d
commit
9635b4b721
|
@ -287,7 +287,7 @@ class Manager implements PublicLogin
|
|||
|
||||
$this->dashboardId = (int) \get_parameter('dashboardId', 0);
|
||||
if ($this->slides === 1) {
|
||||
$this->slidesIds = (array) \get_parameter('slidesIds');
|
||||
$this->slidesIds = (array) \get_parameter('slidesIds', [get_user_dashboards($config['id_user'])[0]['id']]);
|
||||
$this->cellModeSlides = (int) \get_parameter(
|
||||
'cellModeSlides',
|
||||
0
|
||||
|
|
|
@ -430,7 +430,12 @@ li#search_input_widget {
|
|||
width: auto;
|
||||
}
|
||||
|
||||
div#dashboard-controls {
|
||||
div#dashboard-controls-slides {
|
||||
width: 720px !important;
|
||||
}
|
||||
|
||||
div#dashboard-controls,
|
||||
div#dashboard-controls-slides {
|
||||
position: fixed;
|
||||
z-index: 1;
|
||||
top: 10px;
|
||||
|
@ -447,27 +452,32 @@ div#dashboard-controls {
|
|||
padding: 0px 10px;
|
||||
}
|
||||
|
||||
div#dashboard-controls div {
|
||||
div#dashboard-controls div,
|
||||
div#dashboard-controls-slides div {
|
||||
margin-left: 10px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
div#dashboard-controls div#dashboard-slides-form-countdown {
|
||||
div#dashboard-controls div#dashboard-slides-form-countdown,
|
||||
div#dashboard-controls-slides div#dashboard-slides-form-countdown {
|
||||
flex: 7;
|
||||
}
|
||||
|
||||
div#dashboard-controls div#dashboard-slides-name {
|
||||
div#dashboard-controls div#dashboard-slides-name,
|
||||
div#dashboard-controls-slides div#dashboard-slides-name {
|
||||
flex: 3;
|
||||
}
|
||||
|
||||
div#dashboard-controls div.dashboard-mode {
|
||||
div#dashboard-controls div.dashboard-mode,
|
||||
div#dashboard-controls-slides div.dashboard-mode {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
div#dashboard-controls div.dashboard-mode a {
|
||||
div#dashboard-controls div.dashboard-mode a,
|
||||
div#dashboard-controls-slides div.dashboard-mode a {
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
global $config;
|
||||
|
||||
$output = '<div id="dashboard-controls">';
|
||||
$output = '<div id="dashboard-controls-slides">';
|
||||
|
||||
// Normal view button.
|
||||
$output .= '<div>';
|
||||
|
|
Loading…
Reference in New Issue