Show More
Commit Description:
merge
Commit Description:
merge
References:
File last commit:
Show/Diff file:
Action:
app/views/contest_management/index.html.haml | 31 lines | 912 B | text/x-haml | HamlLexer |
Jittat Fakcharoenphol
added contest model
r266 %h1 Contest management
Jittat Fakcharoenphol
CRUD for contests. combined new contest pages with old contest management. fixed styling.
r267 .infobox
Jittat Fakcharoenphol
added contest model
r266
Jittat Fakcharoenphol
CRUD for contests. combined new contest pages with old contest management. fixed styling.
r267 - if @num_contests>1
%b Multiple contests:
= "There are #{@num_contests} contests running."
- else
%b Single contest:
Jittat Fakcharoenphol
fixed javascript/css assets, fixed link_to_remote in problems page
r322 =raw "[#{link_to 'Add/remove contests', :controller => 'contests', :action => 'index'}]"
Jittat Fakcharoenphol
added contest model
r266
Jittat Fakcharoenphol
CRUD for contests. combined new contest pages with old contest management. fixed styling.
r267 .infobox
%b Web interface mode:
Jittat Fakcharoenphol
renamed model Configuration to GraderConfiguration, renamed rhtml views to erb, fixed other small errors
r320 - if (not GraderConfiguration.contest_mode?) and (not GraderConfiguration.indv_contest_mode?)
Jittat Fakcharoenphol
CRUD for contests. combined new contest pages with old contest management. fixed styling.
r267 standard mode
Jittat Fakcharoenphol
renamed model Configuration to GraderConfiguration, renamed rhtml views to erb, fixed other small errors
r320 - elsif GraderConfiguration.contest_mode?
Jittat Fakcharoenphol
CRUD for contests. combined new contest pages with old contest management. fixed styling.
r267 normal contest mode.
- else
individual contest mode.
Jittat Fakcharoenphol
added contest model
r266
Jittat Fakcharoenphol
CRUD for contests. combined new contest pages with old contest management. fixed styling.
r267 %br/
Change mode to:
Jittat Fakcharoenphol
fixed javascript/css assets, fixed link_to_remote in problems page
r322 =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'}]"
Jittat Fakcharoenphol
CRUD for contests. combined new contest pages with old contest management. fixed styling.
r267
Jittat Fakcharoenphol
renamed model Configuration to GraderConfiguration, renamed rhtml views to erb, fixed other small errors
r320 - if GraderConfiguration.indv_contest_mode?
Jittat Fakcharoenphol
added contest model
r266 = render :partial => 'indv_contest_mode_index'
%br/