6a7c1d0cbd
The topbar no longer shows «Análisis de información» next to the logo; the breadcrumb stays on the workspace routes. The home eyebrow reads «ISSSTELEON» and the «Indicadores» action is «Modelos predictivos de riesgo».
56 lines
2.1 KiB
HTML
56 lines
2.1 KiB
HTML
<div class="app-shell" [class.app-shell--workspace]="workspace()" [class.app-shell--indicadores]="!!activeDomain()">
|
|
@if (!sinCromo()) {
|
|
<header class="site-header">
|
|
<div class="site-header__content">
|
|
<a class="brand" routerLink="/" aria-label="ISSSTELEON, inicio">
|
|
<img src="assets/branding/isssteleon-logo.png" alt="ISSSTELEON" />
|
|
</a>
|
|
@if (activeDomain(); as domain) {
|
|
<span class="platform-title">{{ title }}</span>
|
|
@if (otherDomains().length) {
|
|
@defer (on immediate) {
|
|
<app-domain-selector [actual]="domain" [otros]="otherDomains()" [labels]="domainLabels" />
|
|
} @placeholder {
|
|
<!-- Same size as the selector until its code arrives, so the header does not jump. -->
|
|
<span class="domain-selector domain-selector--espera" aria-hidden="true">{{ domainLabels[domain] }}</span>
|
|
}
|
|
} @else {
|
|
<!-- An account with a single domain has nothing to switch to: the domain is a label. -->
|
|
<span class="domain-selector domain-selector--espera">{{ domainLabels[domain] }}</span>
|
|
}
|
|
} @else {
|
|
<nav class="site-header__nav" aria-label="Secciones">
|
|
@if (breadcrumb(); as crumb) {
|
|
<span class="site-header__crumb" aria-current="page">{{ crumb }}</span>
|
|
}
|
|
</nav>
|
|
}
|
|
@if (usuario(); as sesion) {
|
|
<button
|
|
class="site-header__salir"
|
|
type="button"
|
|
(click)="salir()"
|
|
[attr.title]="'Cerrar sesión de ' + sesion.nombre"
|
|
[attr.aria-label]="'Cerrar sesión de ' + sesion.nombre"
|
|
>
|
|
<mat-icon aria-hidden="true">logout</mat-icon>
|
|
<span class="site-header__salir-nombre">{{ sesion.nombre }}</span>
|
|
</button>
|
|
}
|
|
</div>
|
|
</header>
|
|
}
|
|
|
|
<main class="app-main">
|
|
<router-outlet />
|
|
</main>
|
|
|
|
@if (!workspace() && !sinCromo()) {
|
|
<footer class="site-footer">
|
|
<div class="site-footer__content">
|
|
<img src="assets/branding/isssteleon-logo.png" alt="ISSSTELEON" />
|
|
</div>
|
|
</footer>
|
|
}
|
|
</div>
|