86 lines
4.3 KiB
Plaintext
86 lines
4.3 KiB
Plaintext
extends ../layout-wide
|
||
block content
|
||
script(src='/js/lib/codemirror/lib/codemirror.js')
|
||
script(src='/js/lib/codemirror/addon/edit/closebrackets.js')
|
||
script(src='/js/lib/codemirror/addon/edit/matchbrackets.js')
|
||
script(src='/js/lib/codemirror/addon/lint/lint.js')
|
||
script(src='/js/lib/codemirror/addon/lint/javascript-lint.js')
|
||
script(src='/bower_components/jshint/dist/jshint.js')
|
||
script(src='/js/lib/chai/chai.js')
|
||
script(src='/js/lib/chai/chai-jquery.js')
|
||
link(rel='stylesheet', href='/js/lib/codemirror/lib/codemirror.css')
|
||
link(rel='stylesheet', href='/js/lib/codemirror/addon/lint/lint.css')
|
||
link(rel='stylesheet', href='/js/lib/codemirror/theme/monokai.css')
|
||
link(rel="stylesheet", href="http://fonts.googleapis.com/css?family=Ubuntu+Mono")
|
||
script(src='/js/lib/codemirror/mode/javascript/javascript.js')
|
||
script(src='/js/lib/jailed/jailed.js')
|
||
script(src='/js/lib/coursewares/sandbox.js')
|
||
script(src='/js/lib/codemirror/mode/xml/xml.js')
|
||
script(src='/js/lib/codemirror/mode/css/css.js')
|
||
script(src='/js/lib/codemirror/mode/htmlmixed/htmlmixed.js')
|
||
script(src='/js/lib/codemirror/addon/emmet/emmet.js')
|
||
.row.courseware-height
|
||
.col-xs-12.col-sm-12.col-md-3.col-lg-3
|
||
.well
|
||
.row
|
||
.col-xs-12
|
||
h3.text-center.negative-10= name
|
||
.bonfire-instructions
|
||
for sentence in details
|
||
p.wrappable.negative-10!= sentence
|
||
.negative-bottom-margin-30
|
||
if (user)
|
||
label.btn.btn-primary.btn-block.negative-10#next-courseware-button
|
||
.ion-checkmark-circled
|
||
| Go to my next challenge (ctrl + enter)
|
||
.button-spacer
|
||
.btn-group.input-group.btn-group-justified
|
||
label.btn.btn-success#trigger-help-modal
|
||
i.fa.fa-medkit
|
||
| Help
|
||
label.btn.btn-success#trigger-issue-modal
|
||
i.fa.fa-bug
|
||
| Bug
|
||
.button-spacer
|
||
script.
|
||
var userLoggedIn = true;
|
||
else
|
||
a.btn.signup-btn.btn-block.btn-block.negative-15(href='/login') Sign in so you can save your progress
|
||
script.
|
||
var userLoggedIn = false;
|
||
.button-spacer
|
||
ul#testSuite.list-group
|
||
br
|
||
script(type="text/javascript").
|
||
$('#next-courseware-button').attr('disabled', 'disabled');
|
||
var tests = !{JSON.stringify(tests)};
|
||
var challengeSeed = !{JSON.stringify(challengeSeed)};
|
||
var challenge_Id = !{JSON.stringify(challengeId)};
|
||
var challenge_Name = !{JSON.stringify(name)};
|
||
var prodOrDev = !{JSON.stringify(environment)};
|
||
var challengeType = !{JSON.stringify(challengeType)};
|
||
var started = Math.floor(Date.now());
|
||
.col-xs-12.col-sm-12.col-md-5.col-lg-6
|
||
#mainEditorPanel
|
||
form.code
|
||
.form-group.codeMirrorView
|
||
textarea#codeEditor(autofocus=true, style='display: none;')
|
||
.col-md-4.col-lg-3
|
||
.hidden-xs.hidden-sm
|
||
img.iphone-position.iframe-scroll(src="https://s3.amazonaws.com/freecodecamp/iphone6-frame.png")
|
||
iframe.iphone.iframe-scroll#preview
|
||
.spacer
|
||
#complete-courseware-dialog.modal(tabindex='-1')
|
||
.modal-dialog.animated.zoomIn.fast-animation
|
||
.modal-content
|
||
.modal-header.challenge-list-header
|
||
= compliment
|
||
a.close.closing-x(href='#', data-dismiss='modal', aria-hidden='true') ×
|
||
.modal-body
|
||
.text-center
|
||
.animated.zoomInDown.delay-half
|
||
span.completion-icon.ion-checkmark-circled.text-primary
|
||
a.animated.fadeIn.btn.btn-lg.signup-btn.btn-block(href='/login') Sign in so you can save your progress
|
||
include ../partials/challenge-modals
|
||
script(src="/js/lib/coursewares/coursewaresHCJQFramework_0.1.9.js")
|