2021-03-04 14:43:23 +01:00
|
|
|
<!-- Buttons to add to the header. -->
|
|
|
|
<core-navbar-buttons slot="end">
|
2021-05-31 12:28:58 +02:00
|
|
|
<ion-button *ngIf="loaded" (click)="showToc()" aria-haspopup="true" [attr.aria-label]="'addon.mod_imscp.toc' | translate">
|
2021-04-27 13:14:31 +02:00
|
|
|
<ion-icon name="fas-bookmark" slot="icon-only" aria-hidden="true"></ion-icon>
|
2021-03-04 14:43:23 +01:00
|
|
|
</ion-button>
|
2022-02-17 15:55:10 +01:00
|
|
|
|
2022-02-17 13:58:10 +01:00
|
|
|
<ion-button fill="clear" (click)="openModuleSummary()" aria-haspopup="true" [attr.aria-label]="'core.info' | translate">
|
2022-02-17 15:55:10 +01:00
|
|
|
<ion-icon name="fas-info-circle" slot="icon-only" aria-hidden="true"></ion-icon>
|
|
|
|
</ion-button>
|
2021-03-04 14:43:23 +01:00
|
|
|
</core-navbar-buttons>
|
|
|
|
|
|
|
|
<!-- Content. -->
|
2021-10-06 13:06:00 +02:00
|
|
|
<core-loading [hideUntil]="loaded" class="safe-area-padding">
|
2021-03-04 14:43:23 +01:00
|
|
|
|
2021-05-07 10:09:31 +02:00
|
|
|
<!-- Activity info. -->
|
2022-01-19 15:22:10 +01:00
|
|
|
<core-course-module-info [module]="module">
|
2021-05-07 10:09:31 +02:00
|
|
|
</core-course-module-info>
|
|
|
|
|
2021-03-04 14:43:23 +01:00
|
|
|
<ion-card class="core-warning-card" *ngIf="warning">
|
2021-04-27 13:14:31 +02:00
|
|
|
<ion-item>
|
|
|
|
<ion-icon name="fas-exclamation-triangle" slot="start" aria-hidden="true"></ion-icon>
|
|
|
|
<ion-label><span [innerHTML]="warning"></span></ion-label>
|
|
|
|
</ion-item>
|
2021-03-04 14:43:23 +01:00
|
|
|
</ion-card>
|
|
|
|
|
|
|
|
<div class="addon-mod-imscp-container">
|
2021-11-30 13:58:42 +01:00
|
|
|
<core-navigation-bar [items]="navigationItems" (action)="loadItem($event)">
|
2021-03-04 14:43:23 +01:00
|
|
|
</core-navigation-bar>
|
2022-02-09 15:05:20 +01:00
|
|
|
<core-iframe *ngIf="loaded" [src]="src" [showFullscreenOnToolbar]="true" [autoFullscreenOnRotate]="true"></core-iframe>
|
2021-03-04 14:43:23 +01:00
|
|
|
</div>
|
|
|
|
</core-loading>
|
2021-12-03 13:45:23 +01:00
|
|
|
|
2022-01-19 15:22:10 +01:00
|
|
|
<core-course-module-navigation [hidden]="!loaded" [courseId]="courseId" [currentModule]="module" (completionChanged)="onCompletionChange()">
|
2021-12-03 13:45:23 +01:00
|
|
|
</core-course-module-navigation>
|