moved components to correct sides of the view and cleaned up pair name entry
This commit is contained in:
@ -18,9 +18,10 @@ block content
|
|||||||
|
|
||||||
|
|
||||||
.row
|
.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.panel-primary.panel-bonfire
|
||||||
.panel-heading.text-center #{name} (Level #{difficulty} bonfire)
|
.panel-heading.text-center Output
|
||||||
.panel.panel-body
|
.panel.panel-body
|
||||||
.well
|
.well
|
||||||
.row.text-center
|
.row.text-center
|
||||||
@ -40,14 +41,6 @@ block content
|
|||||||
button#less-info.btn.btn-info
|
button#less-info.btn.btn-info
|
||||||
span.ion-help-circled
|
span.ion-help-circled
|
||||||
| Less information
|
| 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)
|
#submitButton.btn.btn-primary.btn-big.btn-block Run code (ctrl + enter)
|
||||||
br
|
br
|
||||||
form.code
|
form.code
|
||||||
@ -61,8 +54,15 @@ block content
|
|||||||
var challengeSeed = !{JSON.stringify(challengeSeed)};
|
var challengeSeed = !{JSON.stringify(challengeSeed)};
|
||||||
var challengeEntryPoint = !{JSON.stringify(challengeEntryPoint)};
|
var challengeEntryPoint = !{JSON.stringify(challengeEntryPoint)};
|
||||||
var passedBonfireHash = !{JSON.stringify(bonfireHash)};
|
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')
|
#complete-bonfire-dialog.modal(tabindex='-1')
|
||||||
@ -78,11 +78,9 @@ block content
|
|||||||
- if (cc)
|
- if (cc)
|
||||||
form.form-horizontal(novalidate='novalidate', name='completedWithForm')
|
form.form-horizontal(novalidate='novalidate', name='completedWithForm')
|
||||||
.form-group.text-center
|
.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
|
.col-xs-10.col-xs-offset-1.col-sm-8.col-sm-offset-2.col-md-8.col-md-offset-2.animated.fadeIn
|
||||||
.input-group.twitter-input.animated.fadeIn
|
|
||||||
// extra field to distract password tools like lastpass from injecting css into our username field
|
// extra field to distract password tools like lastpass from injecting css into our username field
|
||||||
input.form-control(ng-show="false")
|
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)
|
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")
|
.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')
|
alert(type='danger')
|
||||||
|
Reference in New Issue
Block a user