Description:
remove debug alert...
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r473:0803f3082e05 - - 1 file changed: 0 inserted, 1 deleted
@@ -1,60 +1,59 | |||
|
1 | 1 | - content_for :header do |
|
2 | 2 | = javascript_include_tag 'local_jquery' |
|
3 | 3 | |
|
4 | 4 | :javascript |
|
5 | 5 | $(document).ready( function() { |
|
6 | 6 | $("#mem_remark").hover( function() { |
|
7 | 7 | $("#mem_remark_box").show(); |
|
8 | 8 | }, function() { |
|
9 | 9 | $("#mem_remark_box").hide(); |
|
10 | 10 | }); |
|
11 | 11 | }); |
|
12 | - alert("hahaha"); | |
|
13 | 12 | :css |
|
14 | 13 | .hof_user { color: orangered; font-style: italic; } |
|
15 | 14 | .hof_language { color: green; font-style: italic; } |
|
16 | 15 | .hof_value { color: deeppink;font-style: italic; } |
|
17 | 16 | .info_param { font-weight: bold;text-align: right; } |
|
18 | 17 | .tooltip { |
|
19 | 18 | font-family: Verdana,sans-serif; |
|
20 | 19 | font-weight: normal; |
|
21 | 20 | text-align: left; |
|
22 | 21 | font-size: 1.0em; |
|
23 | 22 | color: black; |
|
24 | 23 | line-height: 1.1; |
|
25 | 24 | display: none; |
|
26 | 25 | min-width: 20em; |
|
27 | 26 | position: absolute; |
|
28 | 27 | left: 25px; |
|
29 | 28 | bottom: 5px; |
|
30 | 29 | border: 1px solid; |
|
31 | 30 | padding: 5px; |
|
32 | 31 | background-color: #FFF; |
|
33 | 32 | word-wrap: break-word; |
|
34 | 33 | z-index: 9999; |
|
35 | 34 | overflow: auto; |
|
36 | 35 | } |
|
37 | 36 | |
|
38 | 37 | %h1 (#{Problem.find(params[:id]).name}) #{Problem.find(params[:id]).full_name} |
|
39 | 38 | |
|
40 | 39 | %h2 Problem Stat |
|
41 | 40 | %table.info |
|
42 | 41 | %thead |
|
43 | 42 | %tr.info-head |
|
44 | 43 | %th Stat |
|
45 | 44 | %th Value |
|
46 | 45 | %tbody |
|
47 | 46 | %tr{class: cycle('info-even','info-odd')} |
|
48 | 47 | %td.info_param Submissions |
|
49 | 48 | %td= @summary[:count] |
|
50 | 49 | %tr{class: cycle('info-even','info-odd')} |
|
51 | 50 | %td.info_param Solved/Attempted User |
|
52 | 51 | %td #{@summary[:solve]}/#{@summary[:attempt]} (#{(@summary[:solve]*100.0/@summary[:attempt]).round(1)}%) |
|
53 | 52 | - if @best |
|
54 | 53 | %tr{class: cycle('info-even','info-odd')} |
|
55 | 54 | %td.info_param Best Runtime |
|
56 | 55 | %td |
|
57 | 56 | by #{link_to @best[:runtime][:user], controller:'users', action:'profile', id:@best[:memory][:user_id]} |
|
58 | 57 | using <span class="hof_language">#{@best[:runtime][:lang]}</span> |
|
59 | 58 | with <span class="hof_value">#{@best[:runtime][:value] * 1000} milliseconds</span> |
|
60 | 59 | at submission |
You need to be logged in to leave comments.
Login now