1
- < div class ="flex flex-4 flex-column ">
2
- < mat-card >
3
- < mat-card-title class ="flex-4 mobile-margin mat-h2 ">
4
- My Designation Master
5
- </ mat-card-title >
6
- < mat-card-content class ="designationTable pt-4 ">
7
- < ng-container *ngIf ="!showCreateLoader; else fw_create_loader ">
8
- < div class ="w-full flex justify-between items-center mb-6 ">
9
- < div class ="flex items-center ">
10
- < div class ="search ">
11
- < div class =rsearch >
12
- < mat-icon class ="color-60 search-icon "> search</ mat-icon >
13
- < input [formControl] ="searchControl " class ="sinput color-60 " type ="Standard " placeholder ="Search ">
14
- </ div >
1
+ < div class ="flex flex-column gap-4 pt-4 ">
2
+ < div class ="flex justify-between items-center ">
3
+ < div class ="mobile-margin text-capitalize mat-h2 "> {{designationConfig.mainHeading}}</ div >
4
+ < div >
5
+ < button mat-raised-button class ="importBtn " [routerLink] ="'import-designation' " type ="button ">
6
+ Import from Igot master
7
+ </ button >
8
+ </ div >
9
+ </ div >
10
+
11
+ < mat-card class ="mb-4 ">
12
+ < mat-card-content class ="flex gap-4 ">
13
+ < div class ="section-1 ">
14
+ < div class ="flex-4 mobile-margin text-capitalize mat-h2 "> {{designationConfig?.topsection?.heading}}</ div >
15
+ < ng-container *ngFor ="let step of designationConfig?.topsection?.steps ">
16
+ < div class ="flex gap-4 mb-4 ">
17
+ < div >
18
+ < mat-icon class ="infoIcon "> info_outlined</ mat-icon >
19
+ </ div >
20
+ < div >
21
+ < p > {{step.title}}</ p >
15
22
</ div >
16
23
</ div >
17
- < div class ="flex items-center ">
18
- < button class ="font-normal ws-mat-primary-border attendBtn mat-raised-button "
19
- [routerLink] ="'import-designation' " type ="button ">
20
- Import from Igot master
21
- </ button >
24
+ </ ng-container >
25
+ </ div >
26
+ < ng-container *ngIf ="designationConfig?.topsection?.guideVideo?.enabled ">
27
+ < video width ="173 " height ="102 " controls >
28
+ < source src ="{{designationConfig?.topsection?.guideVideo?.url}} "
29
+ type ="{{designationConfig?.topsection?.guideVideo?.type}} ">
30
+ </ video >
31
+ </ ng-container >
32
+ <!-- <div class="designationsDemo flex justify-end section-2">
33
+ <div class="designationsDemoVideo flex flex-column flex-middle justify-center" (click)="openVideoPopup()">
34
+ <mat-icon class="video_icon mb-2">play_circle</mat-icon>
35
+ <div>
36
+ Watch how it works
22
37
</div>
23
38
</div>
24
- < ng-container *ngIf ="!showLoader ">
25
- < ng-container *ngIf ="designationsList.length === 0; else designationsTable ">
26
- < div class ="w-full flex flex-col justify-center items-center emptyDesignations ">
27
- < div > </ div >
28
- < div >
29
- < p > No designations have been added to your master's list yet</ p >
30
- </ div >
31
- < div class ="mt-4 ">
32
- < button mat-raised-button [routerLink] ="'import-designation' ">
33
- < mat-icon class ="download-icon "> download</ mat-icon > Start Importing</ button >
34
- </ div >
39
+ </div> -->
40
+ </ mat-card-content >
41
+ </ mat-card >
42
+
43
+ < div class ="w-full ">
44
+ < ng-container *ngIf ="!showCreateLoader; else fw_create_loader ">
45
+ < div class ="w-full flex justify-between items-center mb-6 ">
46
+ < div class ="flex items-center ">
47
+ < div class ="search ">
48
+ < div class =rsearch >
49
+ < mat-icon class ="color-60 search-icon "> search</ mat-icon >
50
+ < input [formControl] ="searchControl " class ="sinput color-60 " type ="Standard " placeholder ="Search ">
51
+ </ div >
52
+ </ div >
53
+ </ div >
54
+ </ div >
55
+ < ng-container *ngIf ="!showLoader ">
56
+ < ng-container *ngIf ="designationsList.length === 0; else designationsTable ">
57
+ < div class ="w-full flex flex-col justify-center items-center emptyDesignations ">
58
+ < img src ="/assets/icons/empty_data.svg " class ="empty-desigantions-img ">
59
+ < div >
60
+ < p class ="empty-desigantions-text "> No deisgnation has been imported from iGOT master.</ p >
61
+ </ div >
62
+ < div class ="mt-4 ">
63
+ < button mat-raised-button class ="importBtn " [routerLink] ="'import-designation' ">
64
+ Start Importing</ button >
35
65
</ div >
36
- </ ng-container >
37
- < ng-template #designationsTable >
38
- < ws-widget-org-user-table [tableData] ="tableData " [data] ="filteredDesignationsList "
39
- [actionMenuItem] ="actionMenuItem " [isSearchBar] =false
40
- (actionsClick) ="menuSelected($event) "> </ ws-widget-org-user-table >
41
- </ ng-template >
42
- </ ng-container >
43
- < ng-container *ngIf ="showLoader ">
44
- < div class ="flex flex-1 items-center justify-center loader-box w-full designations-loader ">
45
- < mat-spinner strokeWidth ="3 " diameter ="50 "> </ mat-spinner >
46
66
</ div >
47
67
</ ng-container >
68
+ < ng-template #designationsTable >
69
+ < ws-widget-org-user-table [tableData] ="tableData " [data] ="filteredDesignationsList "
70
+ [actionMenuItem] ="actionMenuItem " [isSearchBar] =false
71
+ (actionsClick) ="menuSelected($event) "> </ ws-widget-org-user-table >
72
+ </ ng-template >
48
73
</ ng-container >
49
- < ng-template #fw_create_loader >
50
- < div class ="flex flex-col flex-1 w-100 items-center pt-5 text-center ">
51
- < mat-spinner class ="display-inline-block mb-5 " [diameter] ="50 " [strokeWidth] ="3 "> </ mat-spinner >
52
- < p > {{loaderMsg}}</ p >
74
+ < ng-container *ngIf ="showLoader ">
75
+ < div class ="flex flex-1 items-center justify-center loader-box w-full designations-loader ">
76
+ < mat-spinner strokeWidth ="3 " diameter ="50 "> </ mat-spinner >
53
77
</ div >
54
- </ ng-template >
55
- </ mat-card-content >
56
- </ mat-card >
78
+ </ ng-container >
79
+ </ ng-container >
80
+ < ng-template #fw_create_loader >
81
+ < div class ="flex flex-col flex-1 w-100 items-center pt-5 text-center ">
82
+ < mat-spinner class ="display-inline-block mb-5 " [diameter] ="50 " [strokeWidth] ="3 "> </ mat-spinner >
83
+ < p > {{loaderMsg}}</ p >
84
+ </ div >
85
+ </ ng-template >
86
+ </ div >
57
87
</ div >
0 commit comments