Show More
Commit Description:
use ace editor for submission viewing
Commit Description:
use ace editor for submission viewing
File last commit:
Show/Diff file:
Action:
app/views/main/list.html.haml | 51 lines | 1.5 KiB | text/x-haml | HamlLexer |
jittat
added announcement refresh, more styling, prep for announcement hiding...
r192 - content_for :head do
Jittat Fakcharoenphol
fixed javascript/css assets, fixed link_to_remote in problems page
r322 = javascript_include_tag "announcement_refresh"
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 Fakcharoenphol
renamed model Configuration to GraderConfiguration, renamed rhtml views to erb, fixed other small errors
r320 - if GraderConfiguration.show_submitbox_to?(@user)
jittat
[web] added mode + access control, when sites started/finished...
r122 .submitbox
= render :partial => 'submission_box'
jittat
more styling...
r78
%hr/
Jittat Fakcharoenphol
renamed model Configuration to GraderConfiguration, renamed rhtml views to erb, fixed other small errors
r320 - if (GraderConfiguration.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 Fakcharoenphol
renamed model Configuration to GraderConfiguration, renamed rhtml views to erb, fixed other small errors
r320 - if GraderConfiguration.show_tasks_to?(@user)
- if not GraderConfiguration.multicontests?
## Bootstrapify...
r555 %table.table.table-striped.table-condensed
use jquery by default
r554 %thead
%tr.info-head
- bootstrapize submission list...
r565 %th Task name
use jquery by default
r554 %th Full name
%th # of sub(s)
%th Results
%tbody
= render :partial => 'problem', :collection => @problems
Jittat Fakcharoenphol
shows problems availabe in contests
r278 - else
- @contest_problems.each do |cp|
Jittat Fakcharoenphol
manages users in contests
r280 - if cp[:problems].length > 0
%h2{:class =>'contest-title'}
= "#{cp[:contest] ? cp[:contest].title : 'Public problems'}"
%table.info
%tr.info-head
- bootstrapize submission list...
r565 %th Task name
main page show problem code separately
r447 %th Full name
Jittat Fakcharoenphol
manages users in contests
r280 %th # of sub(s)
%th Results
= render :partial => 'problem', :collection => cp[:problems]
Jittat Fakcharoenphol
shows problems availabe in contests
r278
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();