start widescreen refactor
This commit is contained in:
@ -177,18 +177,18 @@ var createTestDisplay = function() {
|
|||||||
var test = userTests[i];
|
var test = userTests[i];
|
||||||
var testDoc = document.createElement("li");
|
var testDoc = document.createElement("li");
|
||||||
$(testDoc)
|
$(testDoc)
|
||||||
.addClass('list-group-item')
|
//.addClass('list-group-item')
|
||||||
.addClass('well img-rounded')
|
//.addClass('well img-rounded')
|
||||||
.addClass('well-sm')
|
//.addClass('well-sm')
|
||||||
if (test.err != null) {
|
if (test.err != null) {
|
||||||
$(testDoc)
|
$(testDoc)
|
||||||
.html(test.text + "\n" + test.err)
|
.html(test.text + "\n" + test.err)
|
||||||
.css("background-color", 'rgba(255,0,0,.2)')
|
.css("text-color", 'rgba(255,0,0,.2)')
|
||||||
.prependTo($('#testSuite'));
|
.prependTo($('#testSuite'));
|
||||||
} else {
|
} else {
|
||||||
$(testDoc)
|
$(testDoc)
|
||||||
.html(test.text)
|
.html(test.text)
|
||||||
.css('background-color', 'rgba(0,255,0,.2)')
|
.css('text-color', 'rgba(0,255,0,.2)')
|
||||||
.appendTo($('#testSuite'));
|
.appendTo($('#testSuite'));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -18,7 +18,7 @@ block content
|
|||||||
|
|
||||||
|
|
||||||
.row
|
.row
|
||||||
#mainEditorPanel.col-sm-12.col-md-7.col-xs-12
|
#mainEditorPanel.col-xs-12.col-sm-12.col-md-8
|
||||||
.panel.panel-primary.panel-bonfire
|
.panel.panel-primary.panel-bonfire
|
||||||
.panel-heading.text-center #{name} (Level #{difficulty} bonfire)
|
.panel-heading.text-center #{name} (Level #{difficulty} bonfire)
|
||||||
.panel.panel-body
|
.panel.panel-body
|
||||||
@ -43,7 +43,8 @@ block content
|
|||||||
form.code
|
form.code
|
||||||
.form-group.codeMirrorView
|
.form-group.codeMirrorView
|
||||||
textarea#codeEditor(autofocus=true)
|
textarea#codeEditor(autofocus=true)
|
||||||
#testCreatePanel.col-sm-12.col-md-5.col-xs-12
|
|
||||||
|
#testCreatePanel.col-xs-12.col-sm-12.col-md-4
|
||||||
.panel.panel-primary.panel-bonfire
|
.panel.panel-primary.panel-bonfire
|
||||||
.panel-heading.text-center Output
|
.panel-heading.text-center Output
|
||||||
.panel.panel-body
|
.panel.panel-body
|
||||||
@ -60,10 +61,10 @@ 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)};
|
||||||
console.log(passedBonfireHash);
|
|
||||||
script(src='/js/lib/bonfire/bonfireFramework.js')
|
script(src='/js/lib/bonfire/bonfireFramework.js')
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#complete-bonfire-dialog.modal(tabindex='-1')
|
#complete-bonfire-dialog.modal(tabindex='-1')
|
||||||
.modal-dialog.animated.zoomIn.fast-animation
|
.modal-dialog.animated.zoomIn.fast-animation
|
||||||
.modal-content
|
.modal-content
|
||||||
@ -97,6 +98,7 @@ block content
|
|||||||
= phrase
|
= phrase
|
||||||
- else
|
- else
|
||||||
a.animated.fadeIn.btn.btn-lg.signup-btn.btn-block(href='/login') Sign in so you can save your progress
|
a.animated.fadeIn.btn.btn-lg.signup-btn.btn-block(href='/login') Sign in so you can save your progress
|
||||||
|
|
||||||
#all-bonfires-dialog.modal(tabindex='-1')
|
#all-bonfires-dialog.modal(tabindex='-1')
|
||||||
.modal-dialog.animated.fadeInUp.fast-animation
|
.modal-dialog.animated.fadeInUp.fast-animation
|
||||||
.modal-content
|
.modal-content
|
||||||
|
@ -18,8 +18,6 @@ html(ng-app='profileValidation', lang='en')
|
|||||||
|
|
||||||
body
|
body
|
||||||
include partials/navbar
|
include partials/navbar
|
||||||
|
|
||||||
.container
|
|
||||||
include partials/flash
|
include partials/flash
|
||||||
block content
|
block content
|
||||||
include partials/footer
|
include partials/footer
|
||||||
|
Reference in New Issue
Block a user