mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-24 08:08:15 -05:00
Fix text overflowing on teacher dashboard
This commit is contained in:
parent
109de55185
commit
9239d2a81b
4 changed files with 26 additions and 21 deletions
|
@ -5,6 +5,7 @@ block page_nav
|
||||||
|
|
||||||
block content
|
block content
|
||||||
if me.isAnonymous() || (!me.isTeacher() && !view.classrooms.size())
|
if me.isAnonymous() || (!me.isTeacher() && !view.classrooms.size())
|
||||||
|
.container
|
||||||
.access-restricted.container.text-center.m-y-3
|
.access-restricted.container.text-center.m-y-3
|
||||||
h5(data-i18n='teacher.access_restricted')
|
h5(data-i18n='teacher.access_restricted')
|
||||||
p(data-i18n='teacher.teacher_account_required')
|
p(data-i18n='teacher.teacher_account_required')
|
||||||
|
@ -15,6 +16,7 @@ block content
|
||||||
a.btn.btn-lg.btn-primary(href="/teachers/update-account" data-i18n="teachers_quote.convert_account_title")
|
a.btn.btn-lg.btn-primary(href="/teachers/update-account" data-i18n="teachers_quote.convert_account_title")
|
||||||
button#logout-button.btn.btn-lg.btn-primary-alt(data-i18n="login.log_out")
|
button#logout-button.btn.btn-lg.btn-primary-alt(data-i18n="login.log_out")
|
||||||
|
|
||||||
|
.container
|
||||||
.teacher-account-blurb.text-center.col-xs-6.col-xs-offset-3.m-y-3
|
.teacher-account-blurb.text-center.col-xs-6.col-xs-offset-3.m-y-3
|
||||||
h5(data-i18n='teacher.what_is_a_teacher_account')
|
h5(data-i18n='teacher.what_is_a_teacher_account')
|
||||||
p(data-i18n='teacher.teacher_account_explanation')
|
p(data-i18n='teacher.teacher_account_explanation')
|
||||||
|
|
|
@ -17,6 +17,7 @@ block content
|
||||||
button#logout-button.btn.btn-lg.btn-primary-alt(data-i18n="login.log_out")
|
button#logout-button.btn.btn-lg.btn-primary-alt(data-i18n="login.log_out")
|
||||||
|
|
||||||
if me.isTeacher()
|
if me.isTeacher()
|
||||||
|
.container
|
||||||
.teacher-account-blurb.text-center.col-xs-6.col-xs-offset-3.m-y-3
|
.teacher-account-blurb.text-center.col-xs-6.col-xs-offset-3.m-y-3
|
||||||
h5(data-i18n='teacher.what_is_a_teacher_account')
|
h5(data-i18n='teacher.what_is_a_teacher_account')
|
||||||
p(data-i18n='teacher.teacher_account_explanation')
|
p(data-i18n='teacher.teacher_account_explanation')
|
||||||
|
|
|
@ -15,6 +15,7 @@ block content
|
||||||
button.btn.btn-lg.btn-primary.update-teacher-btn(data-event-action="Teachers Classes Convert Teacher Account", data-i18n="teachers_quote.convert_account_title")
|
button.btn.btn-lg.btn-primary.update-teacher-btn(data-event-action="Teachers Classes Convert Teacher Account", data-i18n="teachers_quote.convert_account_title")
|
||||||
button#logout-button.btn.btn-lg.btn-primary-alt(data-i18n="login.log_out")
|
button#logout-button.btn.btn-lg.btn-primary-alt(data-i18n="login.log_out")
|
||||||
|
|
||||||
|
.container
|
||||||
.teacher-account-blurb.text-center.col-xs-6.col-xs-offset-3.m-y-3
|
.teacher-account-blurb.text-center.col-xs-6.col-xs-offset-3.m-y-3
|
||||||
h5(data-i18n='teacher.what_is_a_teacher_account')
|
h5(data-i18n='teacher.what_is_a_teacher_account')
|
||||||
p(data-i18n='teacher.teacher_account_explanation')
|
p(data-i18n='teacher.teacher_account_explanation')
|
||||||
|
|
|
@ -14,6 +14,7 @@ block content
|
||||||
a.btn.btn-lg.btn-primary(href="/teachers/update-account" data-i18n="teachers_quote.convert_account_title")
|
a.btn.btn-lg.btn-primary(href="/teachers/update-account" data-i18n="teachers_quote.convert_account_title")
|
||||||
button#logout-button.btn.btn-lg.btn-primary-alt(data-i18n="login.log_out")
|
button#logout-button.btn.btn-lg.btn-primary-alt(data-i18n="login.log_out")
|
||||||
|
|
||||||
|
.container
|
||||||
.teacher-account-blurb.text-center.col-xs-6.col-xs-offset-3.m-y-3
|
.teacher-account-blurb.text-center.col-xs-6.col-xs-offset-3.m-y-3
|
||||||
h5(data-i18n='teacher.what_is_a_teacher_account')
|
h5(data-i18n='teacher.what_is_a_teacher_account')
|
||||||
p(data-i18n='teacher.teacher_account_explanation')
|
p(data-i18n='teacher.teacher_account_explanation')
|
Loading…
Reference in a new issue