Description:
fix some style
git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@5 6386c4cd-e34a-4fa8-8920-d93eb39b512e
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r2:aa3da968f9d7 - - 2 files changed: 20 inserted, 3 deleted
@@ -25,14 +25,17 | |||||
|
25 | </div> |
|
25 | </div> |
|
26 |
|
26 | ||
|
27 | <br /> |
|
27 | <br /> |
|
28 | <hr /> |
|
28 | <hr /> |
|
29 | <br /> |
|
29 | <br /> |
|
30 |
|
30 | ||
|
|
31 | + <div class="submitbox"> | ||
|
31 | <% form_tag({:action => 'submit'}, :multipart => true) do %> |
|
32 | <% form_tag({:action => 'submit'}, :multipart => true) do %> |
|
32 | Problem: <%= select 'submission', 'problem_id', |
|
33 | Problem: <%= select 'submission', 'problem_id', |
|
33 | [['Specified in header','-1']] + |
|
34 | [['Specified in header','-1']] + |
|
34 | @problems.collect {|p| [p.full_name, p.id]}, |
|
35 | @problems.collect {|p| [p.full_name, p.id]}, |
|
35 | :selected => '-1' %> |
|
36 | :selected => '-1' %> |
|
36 | File: <%= file_field_tag 'file' %> |
|
37 | File: <%= file_field_tag 'file' %> |
|
37 | <%= submit_tag 'Submit' %> |
|
38 | <%= submit_tag 'Submit' %> |
|
38 | <% end %> |
|
39 | <% end %> |
|
|
40 | + </div> | ||
|
|
41 | + |
@@ -5,16 +5,30 | |||||
|
5 | border-top: thin solid grey; |
|
5 | border-top: thin solid grey; |
|
6 | border-bottom: thin solid grey; |
|
6 | border-bottom: thin solid grey; |
|
7 | text-align: right |
|
7 | text-align: right |
|
8 | } |
|
8 | } |
|
9 |
|
9 | ||
|
10 | div.probname { |
|
10 | div.probname { |
|
11 |
- background-color: #66 |
|
11 | + background-color: #66aaaa; |
|
12 |
- font-weight: bold |
|
12 | + font-weight: bold; |
|
|
13 | + color: white; | ||
|
|
14 | + padding: 2px; | ||
|
13 | } |
|
15 | } |
|
14 |
|
16 | ||
|
15 | div.subinfo { |
|
17 | div.subinfo { |
|
16 | margin-left: 20px; |
|
18 | margin-left: 20px; |
|
17 | margin-top: 2px; |
|
19 | margin-top: 2px; |
|
18 | border-bottom: thin solid grey; |
|
20 | border-bottom: thin solid grey; |
|
19 | border-left: thin solid grey |
|
21 | border-left: thin solid grey |
|
20 | - } No newline at end of file |
|
22 | + } |
|
|
23 | + | ||
|
|
24 | + div.compilermsgbody { | ||
|
|
25 | + font-family: monospace; | ||
|
|
26 | + } | ||
|
|
27 | + | ||
|
|
28 | + div.submitbox { | ||
|
|
29 | + border: thin solid black; | ||
|
|
30 | + padding: 5px; | ||
|
|
31 | + color: white; | ||
|
|
32 | + background-color: #777777; | ||
|
|
33 | + } | ||
|
|
34 | + |
You need to be logged in to leave comments.
Login now