Description:
update views -- styling (even more) git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@115 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

r52:1da8d90e2f3e - - 3 files changed: 12 inserted, 6 deleted

@@ -3,7 +3,8
3 3 %td.info{:align => "center"}
4 4 = submission_counter+1
5 5 %td.info= format_short_time(submission.submitted_at)
6 - %td.info= link_to('[source]',{:action => 'get_source', :id => submission.id})
6 + %td.info{:align => "center"}
7 + = link_to('[load]',{:action => 'get_source', :id => submission.id})
7 8 %td.info
8 9 - if submission.graded_at!=nil
9 10 = "Graded at #{format_short_time(submission.graded_at)}."
@@ -14,10 +14,10
14 14 - if @submissions!=nil
15 15 %table.info
16 16 %tr.info-head
17 - %th.info Sub #
18 - %th.info Time
17 + %th.info #
18 + %th.info At
19 19 %th.info Source
20 - %th.info Results
20 + %th.info Result
21 21 %th.info{:width => "300px"}
22 22 Compiler message
23 23 = render :partial => 'submission', :collection => @submissions
@@ -55,10 +55,15
55 55 font-size: 12px;
56 56 }
57 57
58 - th.info, td.info {
58 + th.info {
59 59 border: 1px solid black;
60 60 }
61 61
62 + td.info {
63 + border-left: 1px solid black;
64 + border-right: 1px solid black;
65 + }
66 +
62 67 tr.info-head {
63 68 background: #777777;
64 69 color: white;
@@ -69,7 +74,7
69 74 }
70 75
71 76 tr.info-even {
72 - background: #eeeeee;
77 + background: #f0f0f0;
73 78 }
74 79
75 80 div.task-menu {
You need to be logged in to leave comments. Login now