33 lines
1.4 KiB
HTML
33 lines
1.4 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/>
|
|
</div>
|
|
</mat-tab>
|
|
<mat-tab label="Преподаватель">
|
|
<div>
|
|
<app-professor #professorTab/>
|
|
</div>
|
|
</mat-tab>
|
|
<mat-tab label="Кабинет">
|
|
<div>
|
|
<app-lecture-hall #lectureHallTab/>
|
|
</div>
|
|
</mat-tab>
|
|
|
|
<mat-tab label="Другое" *appHasRole="AuthRoles.Admin">
|
|
<div class="margin-other-button">
|
|
<app-other idButton="disciplines-button" textButton="Дисциплины" #discipline (retryLoadData)="loadDisciplines()"/>
|
|
<app-other idButton="lecture-button" textButton="Кабинеты" #lecture (retryLoadData)="loadLectureHalls()"/>
|
|
<app-other idButton="group-button" textButton="Группы" #group (retryLoadData)="loadGroups()"/>
|
|
<app-other idButton="professor-button" textButton="Профессоры" #professor (retryLoadData)="loadProfessors()"/>
|
|
<app-other idButton="lesson-type-button" textButton="Тип занятия" #lesson_type (retryLoadData)="loadLessonType()"/>
|
|
<section>
|
|
<button mat-flat-button (click)="otherFilter()">Отфильтровать</button>
|
|
</section>
|
|
</div>
|
|
</mat-tab>
|
|
</mat-tab-group>
|