| 37 | module.exports = (ClassroomView = (function () { |
| 38 | ClassroomView = class ClassroomView extends RootView { |
| 39 | static initClass () { |
| 40 | this.prototype.id = 'classroom-view' |
| 41 | this.prototype.template = template |
| 42 | this.prototype.teacherMode = false |
| 43 | |
| 44 | this.prototype.events = { |
| 45 | 'click #edit-class-details-link': 'onClickEditClassDetailsLink', |
| 46 | 'click #activate-licenses-btn': 'onClickActivateLicensesButton', |
| 47 | 'click .activate-single-license-btn': 'onClickActivateSingleLicenseButton', |
| 48 | 'click #add-students-btn': 'onClickAddStudentsButton', |
| 49 | 'click .enable-btn': 'onClickEnableButton', |
| 50 | 'click .remove-student-link': 'onClickRemoveStudentLink' |
| 51 | } |
| 52 | } |
| 53 | |
| 54 | constructor (options, classroomID) { |
| 55 | super(...arguments) |