refactor: folders and components
This commit is contained in:
		
							
								
								
									
										36
									
								
								src/components/schedule/tabs/tabs.component.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										36
									
								
								src/components/schedule/tabs/tabs.component.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,36 @@ | ||||
| <mat-tab-group dynamicHeight mat-stretch-tabs="false" mat-align-tabs="start" color="accent" class="padding-content" | ||||
|                (selectedTabChange)="chooseTabs($event)"> | ||||
|   <mat-tab label="Группа"> | ||||
|     <div> | ||||
|       <app-group (groupSelected)="groupSelected.emit($event)" (facultySelected)="groupLoad($event)" | ||||
|                                [setGroups]="groups" [faculties]="faculties" [facultiesLoaded]="facultiesLoaded" | ||||
|                                [groupsLoaded]="groupLoaded" (groupsLoadRetry)="groupLoad($event)" | ||||
|                                (facultiesLoadRetry)="facultyLoad()"/> | ||||
|     </div> | ||||
|   </mat-tab> | ||||
|   <mat-tab label="Преподаватель"> | ||||
|     <div> | ||||
|       <app-professor (professorSelected)="professorSelected.emit($event)" [professors]="professorsData" [professorsLoaded]="professorsLoaded" (professorsLoadRetry)="professorsLoad()"/> | ||||
|     </div> | ||||
|   </mat-tab> | ||||
|   <mat-tab label="Кабинет"> | ||||
|     <div> | ||||
|       <app-lecture-hall (lectureHallSelected)="lectureHallSelected.emit($event)" [campuses]="campuses" | ||||
|                                       (campusSelected)="lectureHallLoad($event)" [lectureHalls]="lectureHalls" | ||||
|                                       [campusesLoaded]="campusesLoaded" [lectureHallsLoaded]="lectureHallsLoaded" | ||||
|                                       (campusesLoadRetry)="campusLoad()" | ||||
|                                       (lectureHallsLoadRetry)="lectureHallLoad($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 (click)="onClickNagmi()">Отфильтровать</button> | ||||
|       </section> | ||||
|     </div> | ||||
|   </mat-tab> | ||||
| </mat-tab-group> | ||||
		Reference in New Issue
	
	Block a user