forked from EVOgeek/Vmeda.Online
26 lines
1.4 KiB
HTML
26 lines
1.4 KiB
HTML
<ion-header>
|
|
<ion-navbar>
|
|
<ion-title><core-format-text [text]="title"></core-format-text></ion-title>
|
|
|
|
<ion-buttons end>
|
|
<core-context-menu>
|
|
<core-context-menu-item [priority]="900" [content]="'core.settings.enabledownloadsection' | translate" (action)="toggleDownload()" [iconAction]="downloadEnabledIcon"></core-context-menu-item>
|
|
<core-context-menu-item [priority]="850" [content]="'core.course.downloadcourse' | translate" (action)="prefetchCourse()" [iconAction]="prefetchCourseData.prefetchCourseIcon" [closeOnClick]="false"></core-context-menu-item>
|
|
</core-context-menu>
|
|
</ion-buttons>
|
|
</ion-navbar>
|
|
</ion-header>
|
|
<ion-content>
|
|
<ion-refresher [enabled]="dataLoaded" (ionRefresh)="doRefresh($event)">
|
|
<ion-refresher-content pullingText="{{ 'core.pulltorefresh' | translate }}"></ion-refresher-content>
|
|
</ion-refresher>
|
|
|
|
<core-loading [hideUntil]="dataLoaded">
|
|
<div class="tabs tabs-striped tabs-free mm-tabs-color">
|
|
<a ion-button class="tab-item">{{ 'core.course.contents' || translate }}</a>
|
|
<a *ngFor="let handler of courseHandlers" ion-button class="tab-item">{{ handler.data.title || translate }}</a>
|
|
</div>
|
|
<core-course-format [course]="course" [sections]="sections" [downloadEnabled]="downloadEnabled" (completionChanged)="onCompletionChange()"></core-course-format>
|
|
</core-loading>
|
|
</ion-content>
|