Show More
Commit Description:
hides deleted user name from messages
Commit Description:
hides deleted user name from messages
File last commit:
Show/Diff file:
Action:
app/views/site/started.html.haml | 31 lines | 573 B | text/x-haml | HamlLexer |
jittat
[web] site start/stop supports...
r123 %h2
Contest Administration for site:
jittat
MERGED 308:HEAD from http://theory.cpe.ku.ac.th/grader/web/branches/ytopc08-2/, removed some registration info...
r162 = "#{@site.name}, #{@site.country.name if @site.country}"
jittat
[web] site start/stop supports...
r123
- curr_time = Time.new.gmtime
- if @site.finished?
%h3 Contest ended.
- else
%h3 Contest started.
Current time at the server is
= "#{format_short_time(curr_time)} UTC"
(please
= link_to 'refresh', :action => 'index'
to update)
%br/
%br/
The contest at your site has been started at
= "#{format_short_time(@site.start_time)} UTC"
%br/
%h3
Time left:
= "#{Time.at(@site.time_left).gmtime.strftime("%X")}"
jittat
[web] download through apache, sites highlight, logout for site admin...
r133 %br/
%br/
= link_to '[log out]', :action => 'logout'