Demo shell improvements (#1199)

* #1197 auth guards

* #1197 restore lost router dependency to all libs

* #1197 ecm/bpm auth guards, home page

- ECM auth guard (redirect to Login if ECM auth is missing)
- BPM auth guard (redirect to Login if BPM auth is missing)
- new Home page and route, show details on demo areas

* css improvements

make app text white as per request
This commit is contained in:
Denys Vuika
2016-12-03 18:57:43 +00:00
committed by Eugenio Romano
parent 3a288c6b1b
commit 800a2a6530
29 changed files with 432 additions and 28 deletions

View File

@@ -48,6 +48,7 @@
"alfresco"
],
"dependencies": {
"@angular/router": "3.0.0",
"@angular/common": "2.0.0",
"@angular/compiler": "2.0.0",
"@angular/core": "2.0.0",

View File

@@ -1,6 +1,11 @@
:host {
width: 100%;
}
.application-title {
color: white;
}
.logo {
position: absolute;
right: 20px;
@@ -131,4 +136,4 @@
}
.selectedIcon{
color: #e9f1f3!important;
}
}

View File

@@ -11,7 +11,7 @@
<div (click)="selectApp(app)" [ngClass]="['mdl-card mdl-cell', getTheme(app)]" *ngFor="let app of appList">
<div class="logo"><i class="material-icons">{{getBackgroundIcon(app)}}</i></div>
<div class="mdl-card__title">
<h1 class="mdl-card__title-text">{{app.name}}</h1>
<h1 class="mdl-card__title-text application-title">{{app.name}}</h1>
</div>
<div class="mdl-card__supporting-text">
<p>{{app.description}}</p>