# HG changeset patch # User jittat # Date 2008-01-12 10:07:17 # Node ID aa3da968f9d7ad0f6db4d6331403696cb53d6429 # Parent 82d71b81c3b004c659eb485deb8a0baecae33e3c fix some style git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@5 6386c4cd-e34a-4fa8-8920-d93eb39b512e diff --git a/app/views/main/list.rhtml b/app/views/main/list.rhtml --- a/app/views/main/list.rhtml +++ b/app/views/main/list.rhtml @@ -28,6 +28,7 @@

+
<% form_tag({:action => 'submit'}, :multipart => true) do %> Problem: <%= select 'submission', 'problem_id', [['Specified in header','-1']] + @@ -36,3 +37,5 @@ File: <%= file_field_tag 'file' %> <%= submit_tag 'Submit' %> <% end %> +
+ diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -8,8 +8,10 @@ } div.probname { - background-color: #66cccc; - font-weight: bold + background-color: #66aaaa; + font-weight: bold; + color: white; + padding: 2px; } div.subinfo { @@ -17,4 +19,16 @@ margin-top: 2px; border-bottom: thin solid grey; border-left: thin solid grey -} \ No newline at end of file +} + +div.compilermsgbody { + font-family: monospace; +} + +div.submitbox { + border: thin solid black; + padding: 5px; + color: white; + background-color: #777777; +} +