Condense class student progress list
This commit is contained in:
parent
2761491517
commit
13c75b3f1f
2 changed files with 17 additions and 11 deletions
app
|
@ -1,18 +1,22 @@
|
||||||
#classroom-view
|
#classroom-view
|
||||||
|
|
||||||
.enable-btn
|
hr
|
||||||
margin-top: 1px
|
margin-top: 5px
|
||||||
margin-bottom: 4px
|
margin-bottom: 10px
|
||||||
|
|
||||||
#main-button-area
|
#main-button-area
|
||||||
.btn
|
.btn
|
||||||
margin-left: 10px
|
margin-left: 10px
|
||||||
|
|
||||||
#student-stats-row
|
#student-stats-row
|
||||||
margin-bottom: 20px
|
margin-bottom: 10px
|
||||||
|
|
||||||
|
.student-name
|
||||||
|
font-size: 20px
|
||||||
|
font-weight: bold
|
||||||
|
|
||||||
.progress
|
.progress
|
||||||
margin-bottom: 5px
|
margin-bottom: 2px
|
||||||
|
|
||||||
.progress-bar
|
.progress-bar
|
||||||
border-right: 1px solid grey
|
border-right: 1px solid grey
|
||||||
|
|
|
@ -53,12 +53,14 @@ block content
|
||||||
hr
|
hr
|
||||||
|
|
||||||
for user in view.users.models
|
for user in view.users.models
|
||||||
if view.teacherMode
|
.row
|
||||||
a.remove-student-link.pull-right.text-uppercase(data-user-id=user.id)
|
.col-md-6
|
||||||
span.glyphicon.glyphicon-remove
|
.student-name= user.broadName() || 'Anoner'
|
||||||
span.spl remove student
|
.col-md-6
|
||||||
|
if view.teacherMode
|
||||||
h2= user.broadName()
|
a.remove-student-link.pull-right.text-uppercase(data-user-id=user.id)
|
||||||
|
span.glyphicon.glyphicon-remove
|
||||||
|
span.spl remove student
|
||||||
- var lastPlayedString = view.userLastPlayedString(user);
|
- var lastPlayedString = view.userLastPlayedString(user);
|
||||||
- var playtime = view.userPlaytimeString(user);
|
- var playtime = view.userPlaytimeString(user);
|
||||||
if lastPlayedString || playtime
|
if lastPlayedString || playtime
|
||||||
|
|
Reference in a new issue