Description:
includes script.aculo.us js
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r324:eb6e267fd531 - - 2 files changed: 3 inserted, 2 deleted
@@ -1,15 +1,17 | |||
|
1 | 1 | // This is a manifest file that'll be compiled into application.js, which will include all the files |
|
2 | 2 | // listed below. |
|
3 | 3 | // |
|
4 | 4 | // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts, |
|
5 | 5 | // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path. |
|
6 | 6 | // |
|
7 | 7 | // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the |
|
8 | 8 | // the compiled file. |
|
9 | 9 | // |
|
10 | 10 | // WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD |
|
11 | 11 | // GO AFTER THE REQUIRES BELOW. |
|
12 | 12 | // |
|
13 | 13 | //= require prototype |
|
14 | 14 | //= require prototype_ujs |
|
15 | - | |
|
15 | + //= require effects | |
|
16 | + //= require dragdrop | |
|
17 | + //= require controls |
@@ -1,52 +1,51 | |||
|
1 | 1 | - content_for :head do |
|
2 | - = javascript_include_tag "effects" | |
|
3 | 2 | = javascript_include_tag "announcement_refresh" |
|
4 | 3 | |
|
5 | 4 | = user_title_bar(@user) |
|
6 | 5 | |
|
7 | 6 | .announcementbox{:style => (@announcements.length==0 ? "display:none" : "")} |
|
8 | 7 | %span{:class => 'title'} |
|
9 | 8 | Announcements |
|
10 | 9 | #announcementbox-body |
|
11 | 10 | = render :partial => 'announcement', :collection => @announcements |
|
12 | 11 | |
|
13 | 12 | - if GraderConfiguration.show_submitbox_to?(@user) |
|
14 | 13 | .submitbox |
|
15 | 14 | = error_messages_for 'submission' |
|
16 | 15 | = render :partial => 'submission_box' |
|
17 | 16 | |
|
18 | 17 | |
|
19 | 18 | %hr/ |
|
20 | 19 | |
|
21 | 20 | - if (GraderConfiguration.contest_mode?) and (@user.site!=nil) and (@user.site.started!=true) |
|
22 | 21 | %p=t 'main.start_soon' |
|
23 | 22 | |
|
24 | 23 | - if GraderConfiguration.show_tasks_to?(@user) |
|
25 | 24 | - if not GraderConfiguration.multicontests? |
|
26 | 25 | %table.info |
|
27 | 26 | %tr.info-head |
|
28 | 27 | %th |
|
29 | 28 | %th Tasks |
|
30 | 29 | %th # of sub(s) |
|
31 | 30 | %th Results |
|
32 | 31 | = render :partial => 'problem', :collection => @problems |
|
33 | 32 | - else |
|
34 | 33 | - @contest_problems.each do |cp| |
|
35 | 34 | - if cp[:problems].length > 0 |
|
36 | 35 | %h2{:class =>'contest-title'} |
|
37 | 36 | = "#{cp[:contest] ? cp[:contest].title : 'Public problems'}" |
|
38 | 37 | %table.info |
|
39 | 38 | %tr.info-head |
|
40 | 39 | %th |
|
41 | 40 | %th Tasks |
|
42 | 41 | %th # of sub(s) |
|
43 | 42 | %th Results |
|
44 | 43 | = render :partial => 'problem', :collection => cp[:problems] |
|
45 | 44 | |
|
46 | 45 | |
|
47 | 46 | %hr/ |
|
48 | 47 | |
|
49 | 48 | %script{:type => 'text/javascript'} |
|
50 | 49 | = "Announcement.refreshUrl = '#{url_for :controller => 'main', :action => 'announcements'}';" |
|
51 | 50 | Announcement.registerRefreshEventTimer(); |
|
52 | 51 |
You need to be logged in to leave comments.
Login now