navbar fixes

This commit is contained in:
Sercan Yemen 2017-08-22 16:05:32 +03:00
parent ca96fffadf
commit e818c53f1d
4 changed files with 4 additions and 39 deletions

View File

@ -41,6 +41,7 @@ fuse-main {
#wrapper {
display: flex;
position: relative;
flex: 1;
overflow: hidden;

View File

@ -39,6 +39,8 @@ fuse-navbar {
&.folded {
position: absolute;
top: 0;
bottom: 0;
&.left-navbar {
left: 0;

View File

@ -18,32 +18,6 @@
<md-divider></md-divider>
<md-list>
<h3 md-subheader>
<span>Events</span>
</h3>
<md-list-item *ngFor="let event of events">
<h3 md-line>{{event.title}}</h3>
<p md-line class="secondary-text">{{event.detail}}</p>
</md-list-item>
</md-list>
<md-divider></md-divider>
<md-list>
<h3 md-subheader>
<span>Notes</span>
</h3>
<md-list-item *ngFor="let note of notes">
<h3 md-line>{{note.title}}</h3>
<p md-line class="secondary-text">{{note.detail}}</p>
</md-list-item>
</md-list>
<md-divider></md-divider>
<md-list>
<h3 md-subheader>
<span>Quick Settings</span>

View File

@ -1,5 +1,4 @@
import { Component, OnInit, ViewEncapsulation } from '@angular/core';
import { Http } from '@angular/http';
@Component({
selector : 'fuse-quick-panel',
@ -11,10 +10,8 @@ export class FuseQuickPanelComponent implements OnInit
{
date: Date;
settings: any;
notes: any[];
events: any[];
constructor(private http: Http)
constructor()
{
this.date = new Date();
this.settings = {
@ -27,15 +24,6 @@ export class FuseQuickPanelComponent implements OnInit
ngOnInit()
{
this.http.get('api/quick-panel-notes')
.subscribe(response => {
this.notes = response.json().data;
});
this.http.get('api/quick-panel-events')
.subscribe(response => {
this.events = response.json().data;
});
}