Revision 60240
Added by Konstantinos Triantafyllou over 3 years ago
modules/uoa-monitor-portal/trunk/monitor_dashboard/src/app/app.component.html | ||
---|---|---|
16 | 16 |
'monitor.openaire.eu'" queryParamsHandling="preserve" |
17 | 17 |
></dashboard-sidebar> |
18 | 18 |
<dashboard-sidebar *ngIf="hasAdminMenu" [items]="adminMenuItems" logoLabel="Admin" |
19 |
headerDashboard="Administration Panel" [headerUrl]="'https://' + (properties.environment == 'beta' ? 'beta.' : '') +
|
|
19 |
[headerUrl]="'https://' + (properties.environment == 'beta' ? 'beta.' : '') + |
|
20 | 20 |
'monitor.openaire.eu'" headerPosition="right" |
21 | 21 |
[specialMenuItem]="specialSideBarMenuItem" |
22 | 22 |
></dashboard-sidebar> |
modules/uoa-monitor-portal/trunk/monitor_dashboard/src/app/app.component.ts | ||
---|---|---|
115 | 115 |
this.route.queryParams.subscribe(params => { |
116 | 116 |
this.isViewPublic = (params['view'] == 'public'); |
117 | 117 |
}); |
118 |
this.layoutService.setOpen(false); |
|
119 | 118 |
this.layoutService.setSmallScreen((this.innerWidth && this.innerWidth < 1219)); |
120 | 119 |
this.layoutService.setOpen(!(this.innerWidth && this.innerWidth < 1219)); |
121 | 120 |
this.subscriptions.push(this.params.subscribe(params => { |
... | ... | |
211 | 210 |
return this.layoutService.open; |
212 | 211 |
} |
213 | 212 |
|
214 |
public toggleOpen(event: MouseEvent) { |
|
215 |
event.preventDefault(); |
|
216 |
this.layoutService.setOpen(!this.open); |
|
217 |
} |
|
218 |
|
|
219 | 213 |
private setSideBar() { |
220 | 214 |
let items: MenuItem[] = []; |
221 | 215 |
if (this.isPublicOrIsMember(this.stakeholder.visibility)) { |
modules/uoa-monitor-portal/trunk/monitor_dashboard/src/assets/dashboard-theme/structure.css | ||
---|---|---|
156 | 156 |
width: 0; |
157 | 157 |
} |
158 | 158 |
|
159 |
.sidebar_main_swipe:not(.sidebar_main_active):not(.sidebar_mini) #sidebar_switcher_toggle { |
|
160 |
left: 10px; |
|
161 |
} |
|
162 |
|
|
163 | 159 |
/*Sidebar mini*/ |
164 | 160 |
.sidebar_main_swipe.sidebar_mini #page_content, |
165 | 161 |
.sidebar_main_swipe.sidebar_mini openaire-user > user > *, |
Also available in: Unified diff
[Monitor Dashboard | Trunk]: Change toggle initial position to open menu.