Apply Tommi Komulainen's patch to expands the action in-place editing form to use the available width more effectively. Thanks Tommi!

Fixes #334.
  


git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@298 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
lukemelia 2006-07-30 03:37:57 +00:00
parent ee85dea17c
commit d9e3c94a17
2 changed files with 18 additions and 2 deletions

View file

@ -54,11 +54,11 @@
<input type="hidden" name="on_project_page" value="true" />
<% end -%>
<tr>
<td><input type="submit" value="Update" tabindex="6" />
<td colspan="2"><input type="submit" value="Update" tabindex="6" />
<a href="javascript:void(0);" onclick="Element.toggle('item-<%= @item.id %>','action-<%= @item.id %>-edit-form');Form.reset('form-action-<%= @item.id %>');">Cancel</a></td>
</tr>
</table>
<%= calendar_setup( "due_#{@item.id}" ) %>
<% if @item.class == Deferred -%>
<%= calendar_setup( "show_from_#{@item.id}" ) %>
<% end -%>
<% end -%>

View file

@ -532,6 +532,22 @@ form {
_width: 40%;
}
.inline-form table {
padding-right: 3px;
}
/* expand form contents to fill the whole form */
.inline-form table,
.inline-form textarea#item_notes,
.inline-form input#item_description {
width: 100%;
}
/* shrink the label/left column as small as necessary */
.inline-form table td.label {
width: 13ex;
}
form.button-to {
border: none;
padding: 0px;