start widescreen refactor
This commit is contained in:
@ -177,18 +177,18 @@ var createTestDisplay = function() {
|
||||
var test = userTests[i];
|
||||
var testDoc = document.createElement("li");
|
||||
$(testDoc)
|
||||
.addClass('list-group-item')
|
||||
.addClass('well img-rounded')
|
||||
.addClass('well-sm')
|
||||
//.addClass('list-group-item')
|
||||
//.addClass('well img-rounded')
|
||||
//.addClass('well-sm')
|
||||
if (test.err != null) {
|
||||
$(testDoc)
|
||||
.html(test.text + "\n" + test.err)
|
||||
.css("background-color", 'rgba(255,0,0,.2)')
|
||||
.css("text-color", 'rgba(255,0,0,.2)')
|
||||
.prependTo($('#testSuite'));
|
||||
} else {
|
||||
$(testDoc)
|
||||
.html(test.text)
|
||||
.css('background-color', 'rgba(0,255,0,.2)')
|
||||
.css('text-color', 'rgba(0,255,0,.2)')
|
||||
.appendTo($('#testSuite'));
|
||||
}
|
||||
};
|
||||
|
@ -18,7 +18,7 @@ block content
|
||||
|
||||
|
||||
.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-heading.text-center #{name} (Level #{difficulty} bonfire)
|
||||
.panel.panel-body
|
||||
@ -43,7 +43,8 @@ block content
|
||||
form.code
|
||||
.form-group.codeMirrorView
|
||||
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-heading.text-center Output
|
||||
.panel.panel-body
|
||||
@ -60,10 +61,10 @@ block content
|
||||
var challengeSeed = !{JSON.stringify(challengeSeed)};
|
||||
var challengeEntryPoint = !{JSON.stringify(challengeEntryPoint)};
|
||||
var passedBonfireHash = !{JSON.stringify(bonfireHash)};
|
||||
console.log(passedBonfireHash);
|
||||
script(src='/js/lib/bonfire/bonfireFramework.js')
|
||||
|
||||
|
||||
|
||||
#complete-bonfire-dialog.modal(tabindex='-1')
|
||||
.modal-dialog.animated.zoomIn.fast-animation
|
||||
.modal-content
|
||||
@ -97,6 +98,7 @@ block content
|
||||
= phrase
|
||||
- else
|
||||
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')
|
||||
.modal-dialog.animated.fadeInUp.fast-animation
|
||||
.modal-content
|
||||
|
@ -18,8 +18,6 @@ html(ng-app='profileValidation', lang='en')
|
||||
|
||||
body
|
||||
include partials/navbar
|
||||
|
||||
.container
|
||||
include partials/flash
|
||||
block content
|
||||
include partials/footer
|
||||
|
Reference in New Issue
Block a user