mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-28 01:55:38 -05:00
Merge branch 'master' into production
This commit is contained in:
commit
5200f42722
3 changed files with 17 additions and 11 deletions
Binary file not shown.
|
@ -1,18 +1,22 @@
|
|||
#classroom-view
|
||||
|
||||
.enable-btn
|
||||
margin-top: 1px
|
||||
margin-bottom: 4px
|
||||
hr
|
||||
margin-top: 5px
|
||||
margin-bottom: 10px
|
||||
|
||||
#main-button-area
|
||||
.btn
|
||||
margin-left: 10px
|
||||
|
||||
#student-stats-row
|
||||
margin-bottom: 20px
|
||||
margin-bottom: 10px
|
||||
|
||||
.student-name
|
||||
font-size: 20px
|
||||
font-weight: bold
|
||||
|
||||
.progress
|
||||
margin-bottom: 5px
|
||||
margin-bottom: 2px
|
||||
|
||||
.progress-bar
|
||||
border-right: 1px solid grey
|
||||
|
|
|
@ -53,12 +53,14 @@ block content
|
|||
hr
|
||||
|
||||
for user in view.users.models
|
||||
if view.teacherMode
|
||||
a.remove-student-link.pull-right.text-uppercase(data-user-id=user.id)
|
||||
span.glyphicon.glyphicon-remove
|
||||
span.spl remove student
|
||||
|
||||
h2= user.broadName()
|
||||
.row
|
||||
.col-md-6
|
||||
.student-name= user.broadName() || 'Anoner'
|
||||
.col-md-6
|
||||
if view.teacherMode
|
||||
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 playtime = view.userPlaytimeString(user);
|
||||
if lastPlayedString || playtime
|
||||
|
|
Loading…
Reference in a new issue