2022-02-25 10:25:24 +01:00
|
|
|
<ion-header>
|
|
|
|
<ion-toolbar>
|
|
|
|
<ion-buttons slot="start">
|
|
|
|
<ion-back-button [text]="'core.back' | translate"></ion-back-button>
|
|
|
|
</ion-buttons>
|
|
|
|
<ion-title>
|
|
|
|
<h1>
|
|
|
|
<core-format-text [text]="title" contextLevel="module" [contextInstanceId]="cmId" [courseId]="courseId">
|
|
|
|
</core-format-text>
|
|
|
|
</h1>
|
|
|
|
</ion-title>
|
|
|
|
|
|
|
|
<ion-buttons slot="end">
|
|
|
|
<ion-button *ngIf="loaded" (click)="showToc()" aria-haspopup="true" [attr.aria-label]="'addon.mod_imscp.toc' | translate">
|
|
|
|
<ion-icon name="fas-bookmark" slot="icon-only" aria-hidden="true"></ion-icon>
|
|
|
|
</ion-button>
|
|
|
|
</ion-buttons>
|
|
|
|
</ion-toolbar>
|
|
|
|
</ion-header>
|
|
|
|
<ion-content>
|
|
|
|
<!-- Content. -->
|
2022-03-25 10:16:12 +01:00
|
|
|
<core-loading [hideUntil]="loaded">
|
2022-02-25 10:25:24 +01:00
|
|
|
|
|
|
|
<ion-card class="core-warning-card" *ngIf="warning">
|
|
|
|
<ion-item>
|
2023-03-14 14:08:09 +01:00
|
|
|
<ion-icon name="fas-triangle-exclamation" slot="start" aria-hidden="true"></ion-icon>
|
2022-02-25 10:25:24 +01:00
|
|
|
<ion-label><span [innerHTML]="warning"></span></ion-label>
|
|
|
|
</ion-item>
|
|
|
|
</ion-card>
|
|
|
|
|
2022-05-10 11:56:49 +02:00
|
|
|
<core-iframe *ngIf="loaded" [src]="src" [showFullscreenOnToolbar]="true" [autoFullscreenOnRotate]="true"></core-iframe>
|
2022-02-25 10:25:24 +01:00
|
|
|
</core-loading>
|
|
|
|
|
2022-03-09 10:10:11 +01:00
|
|
|
<core-navigation-bar collapsible-footer appearOnBottom *ngIf="loaded && navigationItems.length > 1" [items]="navigationItems"
|
2022-02-25 10:25:24 +01:00
|
|
|
(action)="loadItem($event)">
|
|
|
|
</core-navigation-bar>
|
|
|
|
</ion-content>
|