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
|
||||
#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,11 +78,9 @@ 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
|
||||
.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")
|
||||
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(ng-show="completedWithForm.$error.exists && !completedWithForm.existingUser.$pristine && existingUser.length > 0")
|
||||
alert(type='danger')
|
||||
|
Reference in New Issue
Block a user