File tree Expand file tree Collapse file tree 5 files changed +77
-4
lines changed
app/templates/client/app/admin(auth) Expand file tree Collapse file tree 5 files changed +77
-4
lines changed Original file line number Diff line number Diff line change 11.trash { color : rgb (209 , 91 , 71 ); }
2+
3+ .user-list li {
4+ display : flex;
5+ border : none;
6+ border-bottom : 1px lightgray solid;
7+ margin-bottom : 0 ;
8+ }
9+ .user-list li : last-child {
10+ border-bottom : none;
11+ }
12+ .user-list li .user-info {
13+ flex-grow : 1 ;
14+ }
15+ .user-list li .trash {
16+ display : flex;
17+ align-items : center;
18+ text-decoration : none;
19+ }
Original file line number Diff line number Diff line change 22
33< div class ="container ">
44 < p > The delete user and user index api routes are restricted to users with the 'admin' role.</ p >
5- < ul class ="list-group ">
5+ < ul class ="list-group user-list ">
66 < li class ="list-group-item " ng-repeat ="user in admin.users ">
7- < strong > {{user.name}}</ strong > < br >
8- < span class ="text-muted "> {{user.email}}</ span >
9- < a ng-click ="admin.delete(user) " class ="trash "> < span class ="glyphicon glyphicon-trash pull-right "> </ span > </ a >
7+ < div class ="user-info ">
8+ < strong > {{user.name}}</ strong > < br >
9+ < span class ="text-muted "> {{user.email}}</ span >
10+ </ div >
11+ < a ng-click ="admin.delete(user) " class ="trash "> < span class ="fa fa-trash fa-2x "> </ span > </ a >
1012 </ li >
1113 </ ul >
1214</ div >
Original file line number Diff line number Diff line change 11.trash { color :rgb (209 , 91 , 71 ); }
2+
3+ .user-list {
4+ li {
5+ display : flex ;
6+ border : none ;
7+ border-bottom : 1px lightgray solid ;
8+ margin-bottom : 0 ;
9+ & :last-child { border-bottom : none ; }
10+
11+ .user-info {
12+ flex-grow : 1 ;
13+ }
14+ .trash {
15+ display : flex ;
16+ align-items : center ;
17+ text-decoration : none ;
18+ }
19+ }
20+ }
Original file line number Diff line number Diff line change 11.trash { color :rgb (209 , 91 , 71 ); }
2+
3+ .user-list {
4+ li {
5+ display : flex ;
6+ border : none ;
7+ border-bottom : 1px lightgray solid ;
8+ margin-bottom : 0 ;
9+ & :last-child { border-bottom : none ; }
10+
11+ .user-info {
12+ flex-grow : 1 ;
13+ }
14+ .trash {
15+ display : flex ;
16+ align-items : center ;
17+ text-decoration : none ;
18+ }
19+ }
20+ }
Original file line number Diff line number Diff line change 11.trash
22 color rgb (209 , 91 , 71 )
3+
4+ .user-list li
5+ display : flex
6+ border : none
7+ border-bottom : 1px lightgray solid
8+ margin-bottom : 0
9+ & :last-child
10+ border-bottom : none
11+
12+ .user-info
13+ flex-grow : 1
14+ .trash
15+ display : flex
16+ align-items : center
17+ text-decoration : none
You can’t perform that action at this time.
0 commit comments