Show More
Commit Description:
- clean up link to problem stat and user stat
Commit Description:
- clean up link to problem stat and user stat
References:
File last commit:
Show/Diff file:
Action:
app/views/site/started.html.haml
| 31 lines
| 573 B
| text/x-haml
| HamlLexer
|
|
|
r123 | %h2 | ||
| Contest Administration for site: | ||||
|
|
r162 | = "#{@site.name}, #{@site.country.name if @site.country}" | ||
|
|
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")}" | ||||
|
|
r133 | %br/ | ||
| %br/ | ||||
| = link_to '[log out]', :action => 'logout' | ||||
