blob: 39ce31f909e92f0beaedb1c49591b093fdc0ee7b [file] [log] [blame]
<!-------------------------------------------------------------------------------
* Copyright (c) 2020 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0
*
* SPDX-License-Identifier: EPL-2.0
-------------------------------------------------------------------------------->
<app-page-header
(appLogout)="appLogout.emit()"
[appMenuHidden]="appMenuHidden"
[appUserName]="appUserName">
</app-page-header>
<div class="page-frame-content">
<div class="page-frame-content-main">
<ng-container *ngIf="!appIsLoading">
<app-exit-page
(appRouting)="appCloseWindow.emit()"
*ngIf="appExitCode != null; else ngContentTemplate"
[appExitCode]="appExitCode"
[appHref]="appPortalRoute">
</app-exit-page>
<ng-template #ngContentTemplate>
<ng-content></ng-content>
</ng-template>
</ng-container>
</div>
<div class="page-frame-content-footer">
{{ 'core.version' | translate: {version: appVersion} }}
</div>
</div>