mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-01-10 12:35:07 +00:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
6237b1132a
|
@ -29,7 +29,7 @@ const PERFECT_SCROLLBAR_CONFIG: PerfectScrollbarConfigInterface = {
|
||||||
const appRoutes: Routes = [
|
const appRoutes: Routes = [
|
||||||
{
|
{
|
||||||
path : 'apps/mail',
|
path : 'apps/mail',
|
||||||
loadChildren: './main/apps/mail/mail.module#MailModule'
|
loadChildren: './main/apps/mail/mail.module#FuseMailModule'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path : 'apps/chat',
|
path : 'apps/chat',
|
||||||
|
|
|
@ -37,6 +37,7 @@
|
||||||
@import "partials/page-layouts";
|
@import "partials/page-layouts";
|
||||||
@import "partials/navigation";
|
@import "partials/navigation";
|
||||||
@import "partials/forms";
|
@import "partials/forms";
|
||||||
|
@import "partials/toolbar";
|
||||||
|
|
||||||
// Plugins
|
// Plugins
|
||||||
@import "partials/plugins/plugins";
|
@import "partials/plugins/plugins";
|
||||||
|
|
9
src/app/core/scss/partials/_toolbar.scss
Normal file
9
src/app/core/scss/partials/_toolbar.scss
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
.toolbar {
|
||||||
|
|
||||||
|
.toolbar-separator {
|
||||||
|
height: calc(100% - 16px);
|
||||||
|
width: 1px;
|
||||||
|
border-right: 1px solid rgba(0, 0, 0, 0.12);
|
||||||
|
margin: 0 12px;
|
||||||
|
}
|
||||||
|
}
|
|
@ -59,6 +59,8 @@
|
||||||
<button md-menu-item (click)="selectMails('important', false)">Unimportant</button>
|
<button md-menu-item (click)="selectMails('important', false)">Unimportant</button>
|
||||||
</md-menu>
|
</md-menu>
|
||||||
|
|
||||||
|
<div class="toolbar-separator" *ngIf="hasSelectedMails"></div>
|
||||||
|
|
||||||
<button md-icon-button (click)="setFolderOnSelectedMails(4)" *ngIf="hasSelectedMails">
|
<button md-icon-button (click)="setFolderOnSelectedMails(4)" *ngIf="hasSelectedMails">
|
||||||
<md-icon>delete</md-icon>
|
<md-icon>delete</md-icon>
|
||||||
</button>
|
</button>
|
||||||
|
|
|
@ -53,17 +53,17 @@ const routes: Routes = [
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path : '**',
|
path : '**',
|
||||||
redirectTo: 'folder/inbox'
|
redirectTo: 'inbox'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [
|
declarations: [
|
||||||
MailComponent,
|
MailComponent,
|
||||||
MainSidenavComponent,
|
|
||||||
MailListComponent,
|
MailListComponent,
|
||||||
MailListItemComponent,
|
MailListItemComponent,
|
||||||
MailDetailsComponent
|
MailDetailsComponent,
|
||||||
|
MainSidenavComponent
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
SharedModule,
|
||||||
|
@ -73,6 +73,6 @@ const routes: Routes = [
|
||||||
MailService
|
MailService
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
export class MailModule
|
export class FuseMailModule
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
@ -52,5 +52,6 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!-- / SIDENAV CONTENT -->
|
<!-- / SIDENAV CONTENT -->
|
|
@ -1,4 +1,9 @@
|
||||||
:host {
|
:host {
|
||||||
|
display: flex;
|
||||||
|
flex: 1 0 auto;
|
||||||
|
flex-direction: column;
|
||||||
|
height: 100%;
|
||||||
|
|
||||||
.header {
|
.header {
|
||||||
|
|
||||||
.logo {
|
.logo {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user