6
6
< h1 class ="md-display-1 "> Profesores</ h1 >
7
7
< p class ="md-body-1 "> Todos los profesores del sistema.</ p >
8
8
9
- <!--this: {{vm.text}}-->
10
- {{ vm.teacherList }}
11
-
12
9
13
10
<!-- table wrapper -->
14
11
< md-card style ="background-color: #FFFFFF;>
@@ -39,11 +36,8 @@ <h1 class="md-display-1">Profesores</h1>
39
36
< table md-table md-progress ="vm.promise ">
40
37
< thead md-head md-order ="vm.sortField " md-on-reorder ="vm.onReorder ">
41
38
< tr md-row >
39
+ < th md-column md-order-by ="name "> < span > Nombre</ span > </ th >
42
40
< th md-column > </ th >
43
- < th md-column md-order-by ="name "> < span > {{ _("User") }}</ span > </ th >
44
- < th md-column > </ th > <!-- space to profile image -->
45
- < th md-column > < span > {{ _("Last login") }}</ span > </ th >
46
- < th md-column > < span > {{ _("Log count") }}</ span > </ th >
47
41
< th md-column > </ th >
48
42
</ tr >
49
43
</ thead >
@@ -52,13 +46,6 @@ <h1 class="md-display-1">Profesores</h1>
52
46
< tr md-row ng-repeat ="item in vm.teachersList ">
53
47
54
48
55
- <!-- Edit button -->
56
- < td md-cell >
57
- < md-button ng-click ="go('/users/'+item._id) " class ="md-fab md-mini md-primary ">
58
- < md-icon md-font-icon ="fa fa-pencil "> </ md-icon >
59
- </ md-button >
60
- </ td >
61
-
62
49
<!-- User identification -->
63
50
64
51
< td md-cell >
@@ -80,22 +67,11 @@ <h1 class="md-display-1">Profesores</h1>
80
67
</ div >
81
68
</ td >
82
69
83
- <!-- User last login -->
84
- < td md-cell >
85
- < span > {{ item.last_login_at.substring(0,10) }}</ span >
86
- </ td >
87
-
88
- <!-- User login count -->
89
- < td md-cell >
90
- < span > {{ item.login_count }}</ span >
91
- </ td >
92
70
93
- <!-- User del button -->
71
+ <!-- Edit button -->
94
72
< td md-cell >
95
- < md-button ng-click ="vm.showConfirm(0, item._id) "
96
- class ="md-fab md-mini md-danger ">
97
- <!--Using http://fontawesome.io/icons/ (fa) and the name of icon selected with "fa-" after-->
98
- < md-icon md-font-icon ="fa fa-trash "> </ md-icon >
73
+ < md-button ng-click ="go('/users/'+item._id) " class ="md-fab md-mini md-primary ">
74
+ < md-icon > forward</ md-icon >
99
75
</ md-button >
100
76
</ td >
101
77
0 commit comments