diff --git a/app/views/submissions/index.html.haml b/app/views/submissions/index.html.haml --- a/app/views/submissions/index.html.haml +++ b/app/views/submissions/index.html.haml @@ -1,14 +1,16 @@ -.panel.panel-info - .panel-heading +.card.border-info.mb-2 + .card-header.text-bg-info.border-info Select Problems - .panel-body - .form-inline - = select 'submission', - 'problem_id', - @problems.collect {|p| ["[#{p.name}] #{p.full_name}", problem_submissions_url(p.id)]}, - { selected: (@problem ? problem_submissions_url(@problem) : -1) }, - { class: 'select2 form-control'} - %button.btn.btn-primary.btn-sm.go-button#problem_go{data: {source: '#submission_problem_id'}} Go + .card-body + .row + .col-6 + = select 'submission', + 'problem_id', + @problems.collect {|p| ["[#{p.name}] #{p.full_name}", problem_submissions_url(p.id)]}, + { selected: (@problem ? problem_submissions_url(@problem) : -1) }, + { class: 'select2 form-control'} + .col-6 + %a.btn.btn-primary.go-button#problem_go{data: {source: '#submission_problem_id'}} Go - if @problem!=nil %h2= "Task: #{@problem.full_name} (#{@problem.name})"