2015-11-23 12:52:15 -05:00
|
|
|
extends /templates/core/modal-base
|
|
|
|
|
|
|
|
block modal-header-content
|
2015-12-08 15:05:08 -05:00
|
|
|
h3(data-i18n="courses.change_language")
|
2015-11-23 12:52:15 -05:00
|
|
|
.clearfix
|
|
|
|
|
|
|
|
block modal-body-content
|
|
|
|
#choice-area.text-center
|
|
|
|
- var currentLanguage = (me.get('aceConfig') || {}).language || 'python';
|
|
|
|
button.lang-choice-btn.btn.btn-success.btn-lg(data-language='python')
|
|
|
|
if currentLanguage === 'python'
|
2015-12-08 15:05:08 -05:00
|
|
|
span.spr(data-i18n="courses.keep_using")
|
|
|
|
span Python
|
2015-11-23 12:52:15 -05:00
|
|
|
else
|
2015-12-08 15:05:08 -05:00
|
|
|
span.spr(data-i18n="courses.switch_to")
|
|
|
|
span Python
|
|
|
|
|
|
|
|
p
|
|
|
|
span.spr -
|
|
|
|
span.text-uppercase(data-i18n="general.or")
|
|
|
|
span.spl -
|
|
|
|
|
2015-11-29 18:25:57 -05:00
|
|
|
button.lang-choice-btn.btn.btn-default(data-language='javascript')
|
|
|
|
if currentLanguage === 'javascript'
|
2015-12-08 15:05:08 -05:00
|
|
|
span.spr(data-i18n="courses.keep_using")
|
|
|
|
span JavaScript
|
2015-11-29 18:25:57 -05:00
|
|
|
else
|
2015-12-08 15:05:08 -05:00
|
|
|
span.spr(data-i18n="courses.switch_to")
|
|
|
|
span JavaScript
|
|
|
|
|
2015-11-23 12:52:15 -05:00
|
|
|
#saving-progress.progress.progress-striped.active.hide
|
|
|
|
.progress-bar(style="width: 100%")
|
|
|
|
|
|
|
|
block modal-footer-content
|