Show More
Commit Description:
added test assignment time out
Commit Description:
added test assignment time out
References:
File last commit:
Show/Diff file:
Action:
app/views/main/_problem.html.haml
| 19 lines
| 862 B
| text/x-haml
| HamlLexer
|
|
r216 | .problem-panel{:id => "problem-panel-#{problem.id}", :style => "display:none"} | ||
.problem-form{:id => "problem-form-#{problem.id}"} | ||||
- form_tag({ :action => 'download_input', :id => problem.id }, :method => :post) do | ||||
%b Input: | ||||
%input{:type => "submit", :value => "Download input"} | ||||
|
r222 | = "After downloading, you have #{TEST_ASSIGNMENT_EXPIRATION_DURATION/60} minutes to submit." | ||
|
r216 | - form_tag({ :action => 'submit_solution', :id => problem.id }, :method => :post, :multipart => true) do | ||
%b Submit output: | ||||
%input{:type => "file", :name => "file"} | ||||
%input{:type => "submit", :value => "Submit solution"} | ||||
.problem-description | ||||
- if problem.description!=nil | ||||
- if problem.description.markdowned | ||||
= markdown(problem.description.body) | ||||
- else | ||||
= problem.description.body | ||||
- else | ||||
(not available) | ||||