public
Description: Tracks is a GTD(TM) web application, built with Ruby on Rails
Homepage: http://www.rousette.org.uk/projects/
Clone URL: git://github.com/bsag/tracks.git
Click here to lend your support to: tracks and make a donation at www.pledgie.com !
polish the clear date buttons in edit form

* placed them besides the text field
* replaces red x with grey x. the red x draws to much attention. also adds tool 
tip to x
lrbalt (author)
Tue Aug 26 08:31:34 -0700 2008
commit  11f9114ad599818ddfb233ed9da6908e3633166e
tree    20ad00dc30ab2d876dd92656a4f27c6969c48e2d
parent  4d11e156f4228dcd405c7c87ffd52b07b3cc3be2
...
49
50
51
52
53
 
 
54
55
56
57
58
59
60
61
 
 
62
63
64
...
49
50
51
 
 
52
53
54
55
56
57
58
59
 
 
60
61
62
63
64
0
@@ -49,16 +49,16 @@ Event.observe($('<%= dom_id(@todo, 'context_name') %>'), "click", <%= dom_id(@to
0
 <div class="due_input">
0
 <label for="<%= dom_id(@todo, 'due_label') %>">Due</label>
0
 <%= date_field_tag("todo[due]", dom_id(@todo, 'due'), format_date(@todo.due), "tabindex" => 13) %>
0
-<a href="#" id="<%= dom_id(@todo, 'due_x') %>" class="date_clear">
0
-  <%= image_tag("cancel.png", :alt => "") %>
0
+<a href="#" id="<%= dom_id(@todo, 'due_x') %>" class="date_clear" title="Clear due date">
0
+  <%= image_tag("delete_off.png", :alt => "Clear due date") %>
0
 </a>
0
 </div>
0
 
0
 <div class="show_from_input">
0
 <label for="<%= dom_id(@todo, 'show_from') %>">Show from</label>
0
 <%= date_field_tag("todo[show_from]", dom_id(@todo, 'show_from'), format_date(@todo.show_from), "tabindex" => 14) %>
0
-<a href="#" id="<%= dom_id(@todo, 'show_from_x') %>" class="date_clear">
0
-  <%= image_tag("cancel.png", :alt => "") %>
0
+<a href="#" id="<%= dom_id(@todo, 'show_from_x') %>" class="date_clear" title="Clear show from date">
0
+  <%= image_tag("delete_off.png", :alt => "Clear show from date") %>
0
 </a>
0
 </div>
0
 
...
808
809
810
 
 
 
 
 
 
 
 
811
812
813
...
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
...
808
809
810
811
812
813
814
815
816
817
818
819
820
821
...
1200
1201
1202
 
 
 
 
 
1203
1204
0
@@ -808,6 +808,14 @@ input#go_to_project, input#context_hide {
0
     width:100%;
0
 }
0
 
0
+.edit_todo_form .Date {
0
+    width:89%;
0
+}
0
+
0
+.edit_todo_form a.date_clear:hover {
0
+    background: #CCCCCC;
0
+}
0
+
0
 .edit_todo_form .tag_list_label {
0
     clear:both;
0
 }
0
@@ -1192,9 +1200,4 @@ body.integrations textarea {
0
     padding:3px;
0
     width:80%;
0
     background-color:#ddd;
0
-}
0
-
0
-.date_clear
0
-{
0
-  float: right;
0
 }
0
\ No newline at end of file

Comments