mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
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:
committed by
Eugenio Romano
parent
3a288c6b1b
commit
800a2a6530
112
demo-shell-ng2/app/components/home/home.component.html
Normal file
112
demo-shell-ng2/app/components/home/home.component.html
Normal file
@@ -0,0 +1,112 @@
|
||||
<div class="p-10">
|
||||
<h1>Demo App</h1>
|
||||
<p>Demo Application for Alfresco Angular 2 Components</p>
|
||||
|
||||
<h2>Featured demos</h2>
|
||||
Some of the areas will require diffent authentication providers.
|
||||
See details for each component.
|
||||
You may be automatically redirected to Login screen.
|
||||
|
||||
|
||||
<h3><a href="" routerLink="/files">DocumentList</a></h3>
|
||||
<div>
|
||||
Demonstrates multiple Alfresco ECM components used together:
|
||||
<ul>
|
||||
<li>
|
||||
Document List (
|
||||
<a href="https://www.npmjs.com/package/ng2-alfresco-documentlist" target="_blank">ng2-alfresco-documentlist</a>
|
||||
)
|
||||
</li>
|
||||
<li>
|
||||
Upload (
|
||||
<a href="https://www.npmjs.com/package/ng2-alfresco-upload" target="_blank">ng2-alfresco-upload</a>
|
||||
)
|
||||
</li>
|
||||
<li>
|
||||
Context Menu (
|
||||
<a href="https://www.npmjs.com/package/ng2-alfresco-core" target="_blank">ng2-alfresco-core</a>
|
||||
)
|
||||
</li>
|
||||
<li>
|
||||
DataTable (
|
||||
<a href="https://www.npmjs.com/package/ng2-alfresco-datatable" target="_blank">ng2-alfresco-datatable</a>
|
||||
)
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<p>
|
||||
Authentication provider: ECM
|
||||
</p>
|
||||
|
||||
<h3><a href="" routerLink="/activiti">Activiti</a></h3>
|
||||
<div>
|
||||
Demonstrates multiple Alfresco BPM components used together:
|
||||
<ul>
|
||||
<li>
|
||||
App List (
|
||||
<a href="https://www.npmjs.com/package/ng2-activiti-tasklist" target="_blank">ng2-activiti-tasklist</a>
|
||||
)
|
||||
</li>
|
||||
<li>
|
||||
Task List (
|
||||
<a href="https://www.npmjs.com/package/ng2-activiti-tasklist" target="_blank">ng2-activiti-tasklist</a>
|
||||
)
|
||||
</li>
|
||||
<li>
|
||||
Process List (
|
||||
<a href="https://www.npmjs.com/package/ng2-activiti-processlist" target="_blank">ng2-activiti-processlist</a>
|
||||
)
|
||||
</li>
|
||||
<li>
|
||||
Form (
|
||||
<a href="https://www.npmjs.com/package/ng2-activiti-form" target="_blank">ng2-activiti-form</a>
|
||||
)
|
||||
</li>
|
||||
<li>
|
||||
Analytics (
|
||||
<a href="https://www.npmjs.com/package/ng2-activiti-analytics" target="_blank">ng2-activiti-analytics</a>,
|
||||
<a href="https://www.npmjs.com/package/ng2-activiti-diagrams" target="_blank">ng2-activiti-diagrams</a>
|
||||
)
|
||||
</li>
|
||||
<li>
|
||||
DataTable (
|
||||
<a href="https://www.npmjs.com/package/ng2-alfresco-datatable" target="_blank">ng2-alfresco-datatable</a>
|
||||
)
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<p>
|
||||
Authentication provider: BPM
|
||||
</p>
|
||||
|
||||
<h3><a href="" routerLink="/datatable">DataTable</a></h3>
|
||||
<p>TODO: summary</p>
|
||||
<p>
|
||||
Authentication provider: any
|
||||
</p>
|
||||
|
||||
<h3><a href="" routerLink="/uploader">Uploader</a></h3>
|
||||
<p>TODO: summary</p>
|
||||
<p>
|
||||
Authentication provider: ECM
|
||||
</p>
|
||||
|
||||
<h3><a href="" routerLink="/login">Login</a></h3>
|
||||
<p>TODO: summary</p>
|
||||
<p>
|
||||
Authentication provider: none
|
||||
</p>
|
||||
|
||||
<h3><a href="" routerLink="/webscript">Webscript</a></h3>
|
||||
<p>TODO: summary</p>
|
||||
<p>
|
||||
Authentication provider: ECM
|
||||
</p>
|
||||
|
||||
<h3><a href="" routerLink="/tag">Tag</a></h3>
|
||||
<p>TODO: summary</p>
|
||||
<p>
|
||||
Authentication provider: ECM
|
||||
</p>
|
||||
|
||||
</div>
|
25
demo-shell-ng2/app/components/home/home.component.ts
Normal file
25
demo-shell-ng2/app/components/home/home.component.ts
Normal file
@@ -0,0 +1,25 @@
|
||||
/*!
|
||||
* @license
|
||||
* Copyright 2016 Alfresco Software, Ltd.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { Component } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
moduleId: __moduleName,
|
||||
selector: 'home-view',
|
||||
templateUrl: './home.component.html'
|
||||
})
|
||||
export class HomeComponent {}
|
@@ -15,6 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export { HomeComponent } from './home/home.component';
|
||||
export { DataTableDemoComponent } from './datatable/datatable-demo.component';
|
||||
export { SearchComponent } from './search/search.component';
|
||||
export { SearchBarComponent } from './search/search-bar.component';
|
||||
|
Reference in New Issue
Block a user