mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-01-10 04:25:08 +00:00
navbar fixes
This commit is contained in:
parent
ca96fffadf
commit
e818c53f1d
|
@ -41,6 +41,7 @@ fuse-main {
|
|||
|
||||
#wrapper {
|
||||
display: flex;
|
||||
position: relative;
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
|
||||
|
|
|
@ -39,6 +39,8 @@ fuse-navbar {
|
|||
|
||||
&.folded {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
|
||||
&.left-navbar {
|
||||
left: 0;
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user