Editor: Allow file retrieval after code run
This commit is contained in:

committed by
Sebastian Serth

parent
fb9672c7a4
commit
60078701f5
8
app/views/exercises/_download_file_tree.html.slim
Normal file
8
app/views/exercises/_download_file_tree.html.slim
Normal file
@ -0,0 +1,8 @@
|
||||
div.enforce-bottom-margin.overflow-scroll.d-none#download-files
|
||||
.card.border-secondary
|
||||
.card-header.d-flex.justify-content-between.align-items-center.px-0.py-1
|
||||
.px-2 = t('exercises.download_file_tree.file_root')
|
||||
|
||||
.card-body.pt-0.pe-0.ps-1.pb-1
|
||||
|
||||
#download-file-tree
|
@ -3,7 +3,10 @@ div.d-grid id='output_sidebar_collapsed'
|
||||
div.d-grid id='output_sidebar_uncollapsed' class='d-none col-sm-12 enforce-bottom-margin' data-message-no-output=t('exercises.implement.no_output_yet')
|
||||
= render('editor_button', classes: 'btn-outline-dark btn overflow-hidden mb-2', icon: 'fa-solid fa-square-minus', id: 'toggle-sidebar-output', label: t('exercises.editor.collapse_output_sidebar'))
|
||||
|
||||
|
||||
#content-right-sidebar.overflow-scroll
|
||||
= render('download_file_tree')
|
||||
|
||||
div.enforce-bottom-margin.overflow-auto.d-none id='score_div'
|
||||
#results
|
||||
h2 = t('exercises.implement.results')
|
||||
|
Reference in New Issue
Block a user