mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* [ci:force] cleanup protractor tests * [ci:force] cleanup insights test * [ci:force] cleanup dead demo shell e2e * [ci:force] cleanup e2e * [ci:force] cleanup e2e * cleanup files component * [ci:force] cleanup e2e * [ci:force] remove user info SSO protractor e2e * [ci:force] remove viewer e2e already covered by other tests * [ci:force] remove custom font from demo shell * [ci:force] demo shell viewer cleanup * [ci:force] cleanup viewer in demo shell * [ci:force] rollback model changes * [ci:force] remove site picker from content demo * [ci:force] cleanup files demo shell component * [ci:force] cleanup e2e and dead code * [ci:force] cleanup dead code * [ci:force] fix linting * [ci:force] standalone home component * [ci:force] cleanup demo shell app layout * [ci:force] cleanup css * [ci:force] cleanup demo shell logout * Update demo-shell/src/app/components/app-layout/app-layout.component.html Co-authored-by: Mykyta Maliarchuk <84377976+nikita-web-ua@users.noreply.github.com> --------- Co-authored-by: Mykyta Maliarchuk <84377976+nikita-web-ua@users.noreply.github.com>
82 lines
3.4 KiB
HTML
82 lines
3.4 KiB
HTML
<adf-sidenav-layout
|
|
[sidenavMin]="70"
|
|
[sidenavMax]="220"
|
|
[stepOver]="780"
|
|
data-automation-id="sidenav-layout">
|
|
|
|
<adf-sidenav-layout-header>
|
|
<ng-template>
|
|
<adf-layout-header
|
|
id="adf-header"
|
|
title="ADF Demo Application"
|
|
redirectUrl="/home"
|
|
tooltip="ADF Demo Application"
|
|
[showSidenavToggle]="false">
|
|
|
|
<div class="app-layout-menu-spacer"></div>
|
|
|
|
<app-search-bar></app-search-bar>
|
|
|
|
<app-shell-user-info [menuPositionX]="'before'" [menuPositionY]="'above'"></app-shell-user-info>
|
|
</adf-layout-header>
|
|
</ng-template>
|
|
</adf-sidenav-layout-header>
|
|
|
|
<adf-sidenav-layout-navigation>
|
|
<ng-template>
|
|
<mat-nav-list class="app-sidenav-linklist">
|
|
<ng-container *ngFor="let link of links">
|
|
<ng-container *ngIf="link.children">
|
|
<mat-list-item (click)="trigger.openMenu()" [attr.data-automation-id]="link.title | translate" class="app-sidenav-link">
|
|
<mat-icon matListIcon>{{link.icon}}</mat-icon>
|
|
<span matLine>{{ link.title | translate }}</span>
|
|
<mat-icon class="app-sidenav-link__expand-button" [matMenuTriggerData]="{links: link.children}"
|
|
rippleTrigger mat-icon-button #trigger="matMenuTrigger"
|
|
[matMenuTriggerFor]="nestedMenu">arrow_right</mat-icon>
|
|
</mat-list-item>
|
|
</ng-container>
|
|
|
|
<ng-container *ngIf="!link.children">
|
|
<mat-list-item [routerLink]="link.href"
|
|
routerLinkActive="app-sidenav-link--active" [routerLinkActiveOptions]="{ exact: true }"
|
|
[attr.data-automation-id]="link.title | translate" class="app-sidenav-link">
|
|
<mat-icon matListIcon >{{link.icon}}</mat-icon>
|
|
<span matLine>{{link.title | translate }}</span>
|
|
</mat-list-item>
|
|
</ng-container>
|
|
</ng-container>
|
|
|
|
<mat-list-item adf-logout [enableRedirect]="enableRedirect" redirectUri="/logout" class="app-sidenav-link" data-automation-id="Logout" >
|
|
<mat-icon matListIcon>exit_to_app</mat-icon>
|
|
<span matLine>Logout</span>
|
|
</mat-list-item>
|
|
</mat-nav-list>
|
|
|
|
</ng-template>
|
|
</adf-sidenav-layout-navigation>
|
|
|
|
<adf-sidenav-layout-content>
|
|
<ng-template>
|
|
<router-outlet></router-outlet>
|
|
</ng-template>
|
|
</adf-sidenav-layout-content>
|
|
|
|
</adf-sidenav-layout>
|
|
|
|
<mat-menu #nestedMenu="matMenu" xPosition="after" class="nestedMenu">
|
|
<ng-template matMenuContent let-links="links">
|
|
<button mat-menu-item *ngFor="let link of links"
|
|
class="app-sidenav-link"
|
|
[attr.data-automation-id]="link.title | translate"
|
|
routerLinkActive="app-sidenav-link--active"
|
|
[routerLink]="link.href"
|
|
[routerLinkActiveOptions]="{ exact: true }">
|
|
|
|
<mat-icon matListIcon>{{link.icon}}</mat-icon>
|
|
{{ link.title | translate }}
|
|
</button>
|
|
</ng-template>
|
|
</mat-menu>
|
|
|
|
<adf-file-uploading-dialog #fileDialog position="left"></adf-file-uploading-dialog>
|