diff --git a/views/bonfire/show.jade b/views/bonfire/show.jade index 3f9df3e977..d9965075dc 100644 --- a/views/bonfire/show.jade +++ b/views/bonfire/show.jade @@ -18,9 +18,10 @@ block content .row - #mainEditorPanel.col-xs-12.col-sm-12.col-md-8 + + #testCreatePanel.col-xs-12.col-sm-12.col-md-4 .panel.panel-primary.panel-bonfire - .panel-heading.text-center #{name} (Level #{difficulty} bonfire) + .panel-heading.text-center Output .panel.panel-body .well .row.text-center @@ -40,14 +41,6 @@ block content button#less-info.btn.btn-info span.ion-help-circled | Less information - form.code - .form-group.codeMirrorView - textarea#codeEditor(autofocus=true) - - #testCreatePanel.col-xs-12.col-sm-12.col-md-4 - .panel.panel-primary.panel-bonfire - .panel-heading.text-center Output - .panel.panel-body #submitButton.btn.btn-primary.btn-big.btn-block Run code (ctrl + enter) br form.code @@ -61,8 +54,15 @@ block content var challengeSeed = !{JSON.stringify(challengeSeed)}; var challengeEntryPoint = !{JSON.stringify(challengeEntryPoint)}; var passedBonfireHash = !{JSON.stringify(bonfireHash)}; - script(src='/js/lib/bonfire/bonfireFramework.js') + #mainEditorPanel.col-xs-12.col-sm-12.col-md-8 + .panel.panel-primary.panel-bonfire + .panel-heading.text-center #{name} (Level #{difficulty} bonfire) + .panel.panel-body + form.code + .form-group.codeMirrorView + textarea#codeEditor(autofocus=true) + script(src='/js/lib/bonfire/bonfireFramework.js') #complete-bonfire-dialog.modal(tabindex='-1') @@ -78,12 +78,10 @@ block content - if (cc) form.form-horizontal(novalidate='novalidate', name='completedWithForm') .form-group.text-center - .col-xs-10.col-xs-offset-1.col-sm-8.col-sm-offset-2.col-md-8.col-md-offset-2 - .input-group.twitter-input.animated.fadeIn - // extra field to distract password tools like lastpass from injecting css into our username field - input.form-control(ng-show="false") - span.input-group-addon @ - input.form-control#completed-with(name="existingUser", placeholder="If you paired, enter your pair's username here", existing-username='', ng-model="existingUser", autofocus) + .col-xs-10.col-xs-offset-1.col-sm-8.col-sm-offset-2.col-md-8.col-md-offset-2.animated.fadeIn + // extra field to distract password tools like lastpass from injecting css into our username field + input.form-control(ng-show="false") + input.form-control#completed-with(name="existingUser", placeholder="If you paired, enter your pair's username here", existing-username='', ng-model="existingUser", autofocus) .col-xs-10.col-xs-offset-1.col-sm-8.col-sm-offset-2.col-md-8.col-md-offset-2(ng-show="completedWithForm.$error.exists && !completedWithForm.existingUser.$pristine && existingUser.length > 0") alert(type='danger') span.ion-close-circled