mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-28 15:03:57 -04:00
Update class enroll modal visuals
This commit is contained in:
parent
28f5b9d14e
commit
c4c4f42e74
1 changed files with 11 additions and 11 deletions
|
@ -3,7 +3,7 @@ extends /templates/core/modal-base
|
||||||
block modal-header-content
|
block modal-header-content
|
||||||
.clearfix
|
.clearfix
|
||||||
.text-center
|
.text-center
|
||||||
h2 Activate Licenses
|
h2 Enroll Students in Paid Courses
|
||||||
p= view.classroom.get('name')
|
p= view.classroom.get('name')
|
||||||
|
|
||||||
block modal-body-content
|
block modal-body-content
|
||||||
|
@ -12,8 +12,9 @@ block modal-body-content
|
||||||
- var remainingLic = totalLic - usedLic;
|
- var remainingLic = totalLic - usedLic;
|
||||||
.text-center
|
.text-center
|
||||||
p
|
p
|
||||||
strong.spr Licenses remaining:
|
strong.spr You have
|
||||||
strong= remainingLic
|
strong.spr= remainingLic
|
||||||
|
strong unused paid enrollments
|
||||||
|
|
||||||
.row
|
.row
|
||||||
.col-sm-10.col-sm-offset-1
|
.col-sm-10.col-sm-offset-1
|
||||||
|
@ -23,15 +24,14 @@ block modal-body-content
|
||||||
.radio
|
.radio
|
||||||
label
|
label
|
||||||
input(type="radio", name="targets" value="given" checked=true)
|
input(type="radio", name="targets" value="given" checked=true)
|
||||||
span.spr Activate license for student:
|
span.spr Use 1 paid enrollment for #{view.user.broadName()}
|
||||||
span= view.user.get('name')
|
|
||||||
.radio
|
.radio
|
||||||
label
|
label
|
||||||
input(type="radio", name="targets" value="selection")
|
input(type="radio", name="targets" value="selection")
|
||||||
span.spr Activate licenses for the following students:
|
span.spr Use paid enrollments for the following students:
|
||||||
else
|
else
|
||||||
p Activate licenses for the following students:
|
p Use paid enrollments for the following students:
|
||||||
|
|
||||||
.well.form-group
|
.well.form-group
|
||||||
for user in view.users.models
|
for user in view.users.models
|
||||||
.checkbox
|
.checkbox
|
||||||
|
@ -61,13 +61,13 @@ block modal-body-content
|
||||||
| )
|
| )
|
||||||
span#depleted-span
|
span#depleted-span
|
||||||
| (
|
| (
|
||||||
span insufficient licenses
|
span insufficient paid enrollments
|
||||||
| )
|
| )
|
||||||
|
|
||||||
p
|
p
|
||||||
button#activate-licenses-btn.btn.btn-success.text-uppercase(type="submit") Enroll Students
|
button#activate-licenses-btn.btn.btn-success.text-uppercase(type="submit") Enroll Students
|
||||||
|
|
||||||
p
|
p
|
||||||
a#get-more-licenses-btn.btn.btn-info.text-uppercase(href="/courses/purchase") Get More Licenses
|
a#get-more-licenses-btn.btn.btn-info.text-uppercase(href="/courses/purchase") Get More Enrollments
|
||||||
|
|
||||||
block modal-footer-content
|
block modal-footer-content
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue