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:
Comments:
0 Commit comments 0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
Add another comment

r2:aa3da968f9d7 - - 2 files changed: 20 inserted, 3 deleted

@@ -7,32 +7,35
7 7 <hr>
8 8
9 9 <p style="color: red"><%= flash[:notice] %></p>
10 10
11 11 <div class="problist">
12 12 <% i = 0 %>
13 13 <% @problems.each do |p| %>
14 14 <div class="problist-each">
15 15 <div class="probname">
16 16 <%= "#{i+1}: #{p.full_name} (#{p.name})" %>
17 17 </div>
18 18 <div class="subinfo">
19 19 <%= format_submission(@prob_submissions[i][1],
20 20 @prob_submissions[i][0]) %>
21 21 </div>
22 22 </div>
23 23 <% i = i+1 %>
24 24 <% end %>
25 25 </div>
26 26
27 27 <br />
28 28 <hr />
29 29 <br />
30 30
31 + <div class="submitbox">
31 32 <% form_tag({:action => 'submit'}, :multipart => true) do %>
32 33 Problem: <%= select 'submission', 'problem_id',
33 34 [['Specified in header','-1']] +
34 35 @problems.collect {|p| [p.full_name, p.id]},
35 36 :selected => '-1' %>
36 37 File: <%= file_field_tag 'file' %>
37 38 <%= submit_tag 'Submit' %>
38 39 <% end %>
40 + </div>
41 +
@@ -1,20 +1,34
1 1
2 2 div.problist-each { margin-top: 2px; margin-bottom: 2px}
3 3
4 4 div.usermenu {
5 5 border-top: thin solid grey;
6 6 border-bottom: thin solid grey;
7 7 text-align: right
8 8 }
9 9
10 10 div.probname {
11 - background-color: #66cccc;
12 - font-weight: bold
11 + background-color: #66aaaa;
12 + font-weight: bold;
13 + color: white;
14 + padding: 2px;
13 15 }
14 16
15 17 div.subinfo {
16 18 margin-left: 20px;
17 19 margin-top: 2px;
18 20 border-bottom: thin solid grey;
19 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