66 < h1 > {{ "Roles" | localize }}</ h1 >
77 </ div >
88 < div class ="col-6 text-right ">
9- < a href ="javascript:; " class ="btn bg-blue " (click) ="createRole() ">
9+ < a href ="javascript:; "
10+ class ="btn bg-blue "
11+ (click) ="createRole() ">
1012 < i class ="fa fa-plus-square "> </ i >
1113 {{ "Create" | localize }}
1214 </ a >
@@ -18,44 +20,40 @@ <h1>{{ "Roles" | localize }}</h1>
1820 < div class ="container-fluid ">
1921 < div class ="card ">
2022 < div class ="card-header ">
21- < div class ="row ">
22- < div class ="col-md-6 ">  </ div >
23- < div class ="col-md-6 ">
24- < div class ="input-group ">
25- < div class ="input-group-prepend ">
26- < button
27- type ="button "
28- class ="btn bg-blue "
29- (click) ="getDataPage(1) "
30- >
31- < i class ="fas fa-search "> </ i >
32- </ button >
33- </ div >
34- < input
35- type ="text "
36- class ="form-control "
37- name ="keyword "
38- [placeholder] ="'SearchWithThreeDot' | localize "
39- [(ngModel)] ="keyword "
40- (keyup.enter) ="getDataPage(1) "
41- />
42- </ div >
23+ < div class ="row ">
24+ < div class ="col-md-6 ">  </ div >
25+ < div class ="col-md-6 ">
26+ < div class ="input-group ">
27+ < div class ="input-group-prepend ">
28+ < button type ="button "
29+ class ="btn bg-blue "
30+ (click) ="getDataPage(1) ">
31+ < i class ="fas fa-search "> </ i >
32+ </ button >
4333 </ div >
34+ < input type ="text "
35+ class ="form-control "
36+ name ="keyword "
37+ [placeholder] ="'SearchWithThreeDot' | localize "
38+ [(ngModel)] ="keyword "
39+ (keyup.enter) ="getDataPage(1) " />
40+ </ div >
4441 </ div >
42+ </ div >
4543 </ div >
4644 < div class ="card-body ">
47- < div class ="table-responsive ">
48- < table class ="table table-striped table-bordered " [busy] =" isTableLoading " >
49- < thead class =" bg-light ">
50- < tr >
51- < th > {{ "RoleName" | localize }} </ th >
52- < th > {{ "DisplayName " | localize }}</ th >
53- < th style =" width: 200px; " > {{ "Actions " | localize }}</ th >
54- </ tr >
55- </ thead >
56- < tbody >
57- < tr
58- *ngFor ="
45+ < div class ="table-responsive ">
46+ < table class ="table table-striped table-bordered "
47+ [busy] =" isTableLoading ">
48+ < thead class =" bg-light " >
49+ < tr >
50+ < th > {{ "RoleName " | localize }}</ th >
51+ < th > {{ "DisplayName " | localize }}</ th >
52+ < th style =" width: 200px; " > {{ "Actions" | localize }} </ th >
53+ </ tr >
54+ </ thead >
55+ < tbody >
56+ < tr *ngFor ="
5957 let role of roles
6058 | paginate
6159 : {
@@ -64,37 +62,33 @@ <h1>{{ "Roles" | localize }}</h1>
6462 currentPage: pageNumber,
6563 totalItems: totalItems
6664 }
67- "
68- >
69- < td > {{ role.name }}</ td >
70- < td > {{ role.displayName }}</ td >
71- < td >
72- < button
73- type ="button "
74- class ="btn btn-sm bg-secondary "
75- (click) ="editRole(role) "
76- >
77- < i class ="fas fa-pencil-alt "> </ i >
78- {{ "Edit" | localize }}
79- </ button >
80- < button
81- type ="button "
82- class ="btn btn-sm bg-danger mx-2 "
83- (click) ="delete(role) "
84- >
85- < i class ="fas fa-trash "> </ i >
86- {{ "Delete" | localize }}
87- </ button >
88- </ td >
89- </ tr >
90- </ tbody >
91- </ table >
92- </ div >
65+ ">
66+ < td > {{ role.name }}</ td >
67+ < td > {{ role.displayName }}</ td >
68+ < td >
69+ < button type ="button "
70+ class ="btn btn-sm bg-secondary "
71+ (click) ="editRole(role) ">
72+ < i class ="fas fa-pencil-alt "> </ i >
73+ {{ "Edit" | localize }}
74+ </ button >
75+ < button type ="button "
76+ class ="btn btn-sm bg-danger mx-2 "
77+ (click) ="delete(role) ">
78+ < i class ="fas fa-trash "> </ i >
79+ {{ "Delete" | localize }}
80+ </ button >
81+ </ td >
82+ </ tr >
83+ </ tbody >
84+ </ table >
85+ </ div >
9386 </ div >
94- < div class ="card-footer bg-light border-top ">
87+ < div class ="card-footer table-card-footer bg-light border-top ">
9588 < div class ="row ">
9689 < div class ="col-sm-4 col-12 text-sm-left text-center ">
97- < button class ="btn btn-secondary " (click) ="refresh() ">
90+ < button class ="btn btn-secondary "
91+ (click) ="refresh() ">
9892 < i class ="fas fa-redo-alt "> </ i >
9993 </ button >
10094 </ div >
@@ -105,10 +99,8 @@ <h1>{{ "Roles" | localize }}</h1>
10599 </ div >
106100 < div class ="col-sm-4 col-12 ">
107101 < div class ="float-sm-right m-auto ">
108- < abp-pagination-controls
109- id ="server "
110- (pageChange) ="getDataPage($event) "
111- >
102+ < abp-pagination-controls id ="server "
103+ (pageChange) ="getDataPage($event) ">
112104 </ abp-pagination-controls >
113105 </ div >
114106 </ div >
@@ -117,4 +109,4 @@ <h1>{{ "Roles" | localize }}</h1>
117109 </ div >
118110 </ div >
119111 </ section >
120- </ div >
112+ </ div >
0 commit comments