Author: assaf
Date: Thu Jun  5 16:26:27 2008
New Revision: 663775

URL: http://svn.apache.org/viewvc?rev=663775&view=rev
Log:
Two row for individual task view is now split across two lines.

Modified:
    ode/sandbox/singleshot/app/views/tasks/show.html.erb
    ode/sandbox/singleshot/public/stylesheets/default.css

Modified: ode/sandbox/singleshot/app/views/tasks/show.html.erb
URL: 
http://svn.apache.org/viewvc/ode/sandbox/singleshot/app/views/tasks/show.html.erb?rev=663775&r1=663774&r2=663775&view=diff
==============================================================================
--- ode/sandbox/singleshot/app/views/tasks/show.html.erb (original)
+++ ode/sandbox/singleshot/app/views/tasks/show.html.erb Thu Jun  5 16:26:27 
2008
@@ -9,9 +9,7 @@
       <%= quick_actions(@task) %>
       <%= content_tag 'button', 'More Options', 
:onclick=>"Singleshot.expand(event, '.header .details', 'Less options')", 
:class=>'button-to' %>
     </div>
-    <div class='vitals'>
-      <%= task_vitals(@task) %>: <%= content_tag 'span', h(@task.title), 
:class=>'title', :title=>@task.title %>
-    </div>
+    <div class='vitals'><p class='title'><%= h(@task.title) %></p><p 
class='info'><%= task_vitals(@task) %></p></div>
     <div class='details' style='display:none'>
       <dl>
         <%= content_tag('dt', 'Description') + content_tag('dd', 
sanitize(simple_format(@task.description))) unless use_description %>

Modified: ode/sandbox/singleshot/public/stylesheets/default.css
URL: 
http://svn.apache.org/viewvc/ode/sandbox/singleshot/public/stylesheets/default.css?rev=663775&r1=663774&r2=663775&view=diff
==============================================================================
--- ode/sandbox/singleshot/public/stylesheets/default.css (original)
+++ ode/sandbox/singleshot/public/stylesheets/default.css Thu Jun  5 16:26:27 
2008
@@ -65,7 +65,7 @@
 form.button-to input:hover, a.button-to:hover, button:hover {
   border: none;
   color: #fff;
-  background-color: #4c4848;
+  background-color: #504c4c;
 }
 form.button-to input[disabled], button[disabled] {
   background-color: #ccc;
@@ -157,7 +157,6 @@
 }
 #header ul.alternate {
   margin-top: -1.3em;
-  font-size: 1.2em;
 }
 
 
@@ -290,27 +289,30 @@
 div.task div.header h1 {
   display: inline;
   float: left;
-  font-size: 1.1em;
-  margin: 0.6em 2em 0 2.5em;
+  font-size: 1.5em;
+  margin: 0.6em 2em 0 2.0em;
 }
 div.task div.header h1 a {
   color: #404040;
 }
 
 div.task div.header div.vitals {
-  margin: 0.6em 0 0 0;
-  font-size: 1.1em;
+  white-space: nowrap;
+  text-overflow: ellipsis;
+  overflow: hidden;
+}
+div.task div.header div.vitals p {
+  margin: 0.3em 0 0.3em 0;
   text-overflow: ellipsis;
   overflow: hidden;
-  white-space: nowrap;
 }
-div.task div.header div.vitals span.title {
+div.task div.header div.vitals p.title {
   font-weight: bold;
 }
 div.task div.header div.actions {
   display: inline;
   float: right;
-  margin: 0.5em 2.5em 0.5em 0;
+  margin: 0.9em 2.5em 0.5em 0;
   white-space: nowrap;
 }
 div.task div.header div.actions .button-to {


Reply via email to