Merge remote-tracking branch 'origin/master'

This commit is contained in:
mustafahlvc 2017-07-26 14:04:06 +03:00
commit 6237b1132a
7 changed files with 23 additions and 5 deletions

View File

@ -29,7 +29,7 @@ const PERFECT_SCROLLBAR_CONFIG: PerfectScrollbarConfigInterface = {
const appRoutes: Routes = [
{
path : 'apps/mail',
loadChildren: './main/apps/mail/mail.module#MailModule'
loadChildren: './main/apps/mail/mail.module#FuseMailModule'
},
{
path : 'apps/chat',

View File

@ -37,6 +37,7 @@
@import "partials/page-layouts";
@import "partials/navigation";
@import "partials/forms";
@import "partials/toolbar";
// Plugins
@import "partials/plugins/plugins";

View 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;
}
}

View File

@ -59,6 +59,8 @@
<button md-menu-item (click)="selectMails('important', false)">Unimportant</button>
</md-menu>
<div class="toolbar-separator" *ngIf="hasSelectedMails"></div>
<button md-icon-button (click)="setFolderOnSelectedMails(4)" *ngIf="hasSelectedMails">
<md-icon>delete</md-icon>
</button>

View File

@ -53,17 +53,17 @@ const routes: Routes = [
},
{
path : '**',
redirectTo: 'folder/inbox'
redirectTo: 'inbox'
}
];
@NgModule({
declarations: [
MailComponent,
MainSidenavComponent,
MailListComponent,
MailListItemComponent,
MailDetailsComponent
MailDetailsComponent,
MainSidenavComponent
],
imports : [
SharedModule,
@ -73,6 +73,6 @@ const routes: Routes = [
MailService
]
})
export class MailModule
export class FuseMailModule
{
}

View File

@ -52,5 +52,6 @@
</div>
</div>
</div>
<!-- / SIDENAV CONTENT -->

View File

@ -1,4 +1,9 @@
:host {
display: flex;
flex: 1 0 auto;
flex-direction: column;
height: 100%;
.header {
.logo {