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 {
|
#wrapper {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
position: relative;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
|
|
|
@ -39,6 +39,8 @@ fuse-navbar {
|
||||||
|
|
||||||
&.folded {
|
&.folded {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
bottom: 0;
|
||||||
|
|
||||||
&.left-navbar {
|
&.left-navbar {
|
||||||
left: 0;
|
left: 0;
|
||||||
|
|
|
@ -18,32 +18,6 @@
|
||||||
|
|
||||||
<md-divider></md-divider>
|
<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>
|
<md-list>
|
||||||
<h3 md-subheader>
|
<h3 md-subheader>
|
||||||
<span>Quick Settings</span>
|
<span>Quick Settings</span>
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import { Component, OnInit, ViewEncapsulation } from '@angular/core';
|
import { Component, OnInit, ViewEncapsulation } from '@angular/core';
|
||||||
import { Http } from '@angular/http';
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector : 'fuse-quick-panel',
|
selector : 'fuse-quick-panel',
|
||||||
|
@ -11,10 +10,8 @@ export class FuseQuickPanelComponent implements OnInit
|
||||||
{
|
{
|
||||||
date: Date;
|
date: Date;
|
||||||
settings: any;
|
settings: any;
|
||||||
notes: any[];
|
|
||||||
events: any[];
|
|
||||||
|
|
||||||
constructor(private http: Http)
|
constructor()
|
||||||
{
|
{
|
||||||
this.date = new Date();
|
this.date = new Date();
|
||||||
this.settings = {
|
this.settings = {
|
||||||
|
@ -27,15 +24,6 @@ export class FuseQuickPanelComponent implements OnInit
|
||||||
|
|
||||||
ngOnInit()
|
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