Fixed part of prompt.

This commit is contained in:
Alexander Kastius
2016-09-01 17:41:00 +02:00
parent bbd372916a
commit 1670839ecf
3 changed files with 12 additions and 12 deletions

View File

@@ -4,13 +4,16 @@ div id='output_sidebar_uncollapsed' class='hidden col-sm-12' data-message-no-out
.row
= render('editor_button', classes: 'btn-block btn-primary btn-sm', icon: 'fa fa-minus-square', id: 'toggle-sidebar-output', label: t('exercises.editor.collapse_sidebar'))
hr
div
#turtlediv
canvas#turtlecanvas.hidden width=400 height=400 style='border-style:solid;border-width:thin'
hr
div
#hint
.panel.panel-warning
.panel-heading = t('exercises.implement.hint')
.panel-body
div
// todo set to full width if turtle isnt used
#prompt.input-group.hidden
span.input-group-addon data-prompt=t('exercises.editor.input') = t('exercises.editor.input')
input#prompt-input.form-control type='text'
@@ -21,9 +24,4 @@ div id='output_sidebar_uncollapsed' class='hidden col-sm-12' data-message-no-out
- if CodeOcean::Config.new(:code_ocean).read[:flowr][:enabled]
#flowrHint.panel.panel-info data-url=CodeOcean::Config.new(:code_ocean).read[:flowr][:url] role='tab'
.panel-heading = 'Gain more insights here'
.panel-body
hr
div
#turtlediv
// todo what should the canvas default size be?
canvas#turtlecanvas.hidden width=400 height=400 style='border-style:solid;border-width:thin'
.panel-body