Show More
Commit Description:
added problem list auto update
Commit Description:
added problem list auto update
File last commit:
Show/Diff file:
Action:
app/views/main/list.html.haml | 42 lines | 1.4 KiB | text/x-haml | HamlLexer |
jittat
added announcement refresh, more styling, prep for announcement hiding...
r192 - content_for :head do
= javascript_include_tag :defaults
Jittat Fakcharoenphol
fixed announcement refresh bug when initially there was no announcement
r226 = javascript_include_tag 'announcement_refresh.js'
Jittat Fakcharoenphol
added timeout related javascripts
r228 = javascript_include_tag 'codejom_timeout.js'
jittat
added announcement refresh, more styling, prep for announcement hiding...
r192
jittat
more styling...
r78 = user_title_bar(@user)
Jittat Fakcharoenphol
fixed announcement refresh bug when initially there was no announcement
r226 .announcementbox{:style => (@announcements.length==0 ? "display:none" : "")}
%span{:class => 'title'}
Announcements
#announcementbox-body
= render :partial => 'announcement', :collection => @announcements
jittat
[web] added announcement...
r97
jittat
more styling...
r78 %hr/
Jittat Fakcharoenphol
added individual contest mode
r217 - if (Configuration.contest_mode?) and (@user.site!=nil) and (@user.site.started!=true)
jittat
MERGED 308:HEAD from http://theory.cpe.ku.ac.th/grader/web/branches/ytopc08-2/, removed some registration info...
r162 %p=t 'main.start_soon'
jittat
[web] hard coded some overall task description, some more messages...
r132
jittat
[web] added mode + access control, when sites started/finished...
r122 - if Configuration.show_tasks_to?(@user)
Jittat Fakcharoenphol
added problem list auto update
r257 .problem-list{:id => 'problem-list'}
Jittat Fakcharoenphol
shows problem descriptions on first page
r215 = render :partial => 'problem_title', :collection => @problems, :as => :problem
.problem-content
Jittat Fakcharoenphol
added more user for codejom registration
r224 %span{:id => "problem-panel-filler", :style => (@current_problem_id!=nil) ? "display:none" : ""}
Jittat Fakcharoenphol
disabled unused actions from controllers, protected statuses display, more styling
r241 %h2
Welcome to Code Jom
Jittat Fakcharoenphol
added more user for codejom registration
r224 %br/
Choose problems from the list on the right.
jittat
[web] added mode + access control, when sites started/finished...
r122 = render :partial => 'problem', :collection => @problems
jittat
more styling...
r78
Jittat Fakcharoenphol
shows problem descriptions on first page
r215 %br{:clear=>'both'}/
jittat
[web] added help page...
r107 %hr/
jittat
more styling...
r78
Jittat Fakcharoenphol
fixed wrong url for announcement refresh when rail app runs on sub url
r243 %script{:type => 'text/javascript'}
= "Announcement.refreshUrl = '#{url_for :controller => 'main', :action => 'announcements'}';"
jittat
added announcement refresh, more styling, prep for announcement hiding...
r192 Announcement.registerRefreshEventTimer();
Jittat Fakcharoenphol
added timeout related javascripts
r228 = render :partial => 'submission_timeouts'
CodejomTimeout.updateProblemMessages();
CodejomTimeout.registerRefreshEvent();
jittat
added announcement refresh, more styling, prep for announcement hiding...
r192
Jittat Fakcharoenphol
added problem list auto update
r257 = periodically_call_remote(:url => { :action => 'problems' }, :update => 'problem-list')