mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 23:30:12 +01:00
Replaced the disabled checkboxes in /projects and /contexts with labels (grey boxes with white text) denoting whether the context is visible or hidden and whether the project is active or completed. Fixes #67.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@107 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
parent
c7618cdc5d
commit
dd255218b9
2 changed files with 4 additions and 4 deletions
|
|
@ -23,9 +23,9 @@
|
|||
|
||||
<div class="buttons">
|
||||
<% if context.hide == 1 %>
|
||||
<input type="checkbox" value="1" checked="checked" disabled="true" />
|
||||
<span class="grey">HIDDEN</span>
|
||||
<% else %>
|
||||
<input type="checkbox" value="0" disabled="true" />
|
||||
<span class="grey">VISIBLE</span>
|
||||
<% end %>
|
||||
|
||||
<%= link_to_remote( image_tag("blank", :title =>"Delete context", :class=>"delete_item"),
|
||||
|
|
|
|||
|
|
@ -22,9 +22,9 @@
|
|||
</div>
|
||||
<div class="buttons">
|
||||
<% if project.done == 1 -%>
|
||||
<input type="checkbox" value="1" checked="checked" disabled="true" />
|
||||
<span class="grey">COMPLETED</span>
|
||||
<% else -%>
|
||||
<input type="checkbox" value="0" disabled="true" />
|
||||
<span class="grey">ACTIVE</span>
|
||||
<% end -%>
|
||||
|
||||
<%= link_to_remote( image_tag("blank", :title =>"Delete project", :class=>"delete_item"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue