Files
MireaFrontend/src/components/schedule/tabs/tabs.component.html

37 lines
1.6 KiB
HTML

<mat-tab-group dynamicHeight mat-stretch-tabs="false" mat-align-tabs="start" color="accent" class="padding-content"
#tabGroup
(selectedTabChange)="chooseTabs($event.index)">
<mat-tab label="Группа">
<div>
<app-group #groupTab (eventResult)="groupSelected($event)"/>
</div>
</mat-tab>
<mat-tab label="Преподаватель">
<div>
<app-professor #professorTab (eventResult)="professorSelected($event)"/>
</div>
</mat-tab>
<mat-tab label="Кабинет">
<div>
<app-lecture-hall #lectureHallTab (eventResult)="lectureHallSelected($event)"/>
</div>
</mat-tab>
<!--
<mat-tab label="Другое">
<div class="margin-other-button">
<app-other idButton="disciplines-button" textButton="Дисциплины" #discipline [dataLoaded]="disciplinesLoaded"
(retryLoadData)="loadDisciplines()"/>
<app-other idButton="lecture-button" textButton="Кабинеты" #lecture
[dataLoaded]="campusesLoaded && lectureHallsLoaded" (retryLoadData)="loadLectureHalls()"/>
<app-other idButton="group-button" textButton="Группы" #group [dataLoaded]="facultiesLoaded && groupLoaded"
(retryLoadData)="loadGroups()"/>
<app-other idButton="professor-button" textButton="Профессоры" #professor [dataLoaded]="professorsLoaded"
(retryLoadData)="professorsLoad()"/>
<section>
<button mat-flat-button>Отфильтровать</button>
</section>
</div>
</mat-tab>
-->
</mat-tab-group>