Show More
Commit Description:
fixed announcement refresh bug when initially there was no announcement
Commit Description:
fixed announcement refresh bug when initially there was no announcement
File last commit:
Show/Diff file:
Action:
app/views/main/list.html.haml | 37 lines | 881 B | 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
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
[web] added mode + access control, when sites started/finished...
r122 - if Configuration.show_submitbox_to?(@user)
.submitbox
= error_messages_for 'submission'
= render :partial => 'submission_box'
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)
%table.info
%tr.info-head
%th
%th Tasks
%th # of sub(s)
%th Results
= render :partial => 'problem', :collection => @problems
jittat
more styling...
r78
jittat
[web] added help page...
r107 %hr/
jittat
more styling...
r78
jittat
added announcement refresh, more styling, prep for announcement hiding...
r192 :javascript
Announcement.registerRefreshEventTimer();