Show More
Commit Description:
resize submissions.source field from "TEXT" to "MEDIUMTEXT"
Commit Description:
resize submissions.source field from "TEXT" to "MEDIUMTEXT"
References:
File last commit:
Show/Diff file:
Action:
app/views/contest_management/index.html.haml
| 34 lines
| 1.0 KiB
| text/x-haml
| HamlLexer
|
|
|
r266 | %h1 Contest management | ||
|
|
r267 | .infobox | ||
|
|
r266 | |||
|
|
r267 | - if @num_contests>1 | ||
| %b Multiple contests: | ||||
| = "There are #{@num_contests} contests running." | ||||
| - else | ||||
| %b Single contest: | ||||
|
|
r322 | =raw "[#{link_to 'Add/remove contests', :controller => 'contests', :action => 'index'}]" | ||
|
|
r266 | |||
|
|
r267 | .infobox | ||
| %b Web interface mode: | ||||
|
|
r369 | - if GraderConfiguration.analysis_mode? | ||
| Analysis Mode | ||||
| - elsif (not GraderConfiguration.contest_mode?) and (not GraderConfiguration.indv_contest_mode?) | ||||
| Standard Mode | ||||
|
|
r320 | - elsif GraderConfiguration.contest_mode? | ||
|
|
r369 | Normal Contest Mode | ||
|
|
r267 | - else | ||
|
|
r369 | Individual Contest Mode | ||
|
|
r266 | |||
|
|
r267 | %br/ | ||
| Change mode to: | ||||
|
|
r369 | =raw "[#{link_to 'Standard', :action => 'change_contest_mode', :id => 'standard'}]" | ||
| =raw "[#{link_to 'Contest', :action => 'change_contest_mode', :id => 'contest'}]" | ||||
| =raw "[#{link_to 'Individual Contest', :action => 'change_contest_mode', :id => 'indv-contest'}]" | ||||
| =raw "[#{link_to 'Analysis', :action => 'change_contest_mode', :id => 'analysis'}]" | ||||
|
|
r267 | |||
|
|
r320 | - if GraderConfiguration.indv_contest_mode? | ||
|
|
r266 | = render :partial => 'indv_contest_mode_index' | ||
| %br/ | ||||
