Skip to content

Commit

Permalink
Implemented scroll-locker
Browse files Browse the repository at this point in the history
  • Loading branch information
benmcmahon100 committed Jul 2, 2015
1 parent 8bed9fa commit 71ea26a
Showing 1 changed file with 45 additions and 44 deletions.
89 changes: 45 additions & 44 deletions server/views/coursewares/showJS.jade
Original file line number Diff line number Diff line change
Expand Up @@ -16,50 +16,51 @@ block content
script(src='/js/lib/coursewares/sandbox.js')
.row
.col-xs-12.col-sm-12.col-md-4.bonfire-top
#testCreatePanel
h1.text-center= name
.well
.row
.col-xs-12
.bonfire-instructions
p.wrappable= brief
#brief-instructions
#more-info.btn.btn-primary.btn-block.btn-primary-ghost
span.ion-arrow-down-b
| More information
#long-instructions.row.hide
.col-xs-12
for sentence in details
p.wrappable!= sentence
#less-info.btn.btn-primary.btn-block.btn-primary-ghost
span.ion-arrow-up-b
| Less information
#submitButton.btn.btn-primary.btn-big.btn-block Run code (ctrl + enter)
.button-spacer
.btn-group.input-group.btn-group-justified
label.btn.btn-success#trigger-help-modal
i.fa.fa-medkit
|   Help
label.btn.btn-success#trigger-pair-modal
i.fa.fa-user-plus
|   Pair
label.btn.btn-success#trigger-issue-modal
i.fa.fa-bug
|   Bug
.spacer
form.code
.form-group.codeMirrorView
textarea#codeOutput(style='display: none;')
br
#testSuite
br
script(type="text/javascript").
var tests = !{JSON.stringify(tests)};
var challengeSeed = !{JSON.stringify(challengeSeed)};
var challenge_Id = !{JSON.stringify(challengeId)};
var challenge_Name = !{JSON.stringify(name)};
var challengeType = !{JSON.stringify(challengeType)};
var started = Math.floor(Date.now());
.scroll-locker
#testCreatePanel
h1.text-center= name
.well
.row
.col-xs-12
.bonfire-instructions
p.wrappable= brief
#brief-instructions
#more-info.btn.btn-primary.btn-block.btn-primary-ghost
span.ion-arrow-down-b
| More information
#long-instructions.row.hide
.col-xs-12
for sentence in details
p.wrappable!= sentence
#less-info.btn.btn-primary.btn-block.btn-primary-ghost
span.ion-arrow-up-b
| Less information
#submitButton.btn.btn-primary.btn-big.btn-block Run code (ctrl + enter)
.button-spacer
.btn-group.input-group.btn-group-justified
label.btn.btn-success#trigger-help-modal
i.fa.fa-medkit
|   Help
label.btn.btn-success#trigger-pair-modal
i.fa.fa-user-plus
|   Pair
label.btn.btn-success#trigger-issue-modal
i.fa.fa-bug
|   Bug
.spacer
form.code
.form-group.codeMirrorView
textarea#codeOutput(style='display: none;')
br
#testSuite
br
script(type="text/javascript").
var tests = !{JSON.stringify(tests)};
var challengeSeed = !{JSON.stringify(challengeSeed)};
var challenge_Id = !{JSON.stringify(challengeId)};
var challenge_Name = !{JSON.stringify(name)};
var challengeType = !{JSON.stringify(challengeType)};
var started = Math.floor(Date.now());

.col-xs-12.col-sm-12.col-md-8
#mainEditorPanel
Expand Down

0 comments on commit 71ea26a

Please sign in to comment.