Skip to content
Browse files

Schedules are now marked as paused or active on index

  • Loading branch information...
1 parent cbd35dc commit 3b845fc3c79fb0133a673a7f81c3d5bfb57a8e50 @nekron nekron committed Oct 7, 2011
View
2 app/views/layouts/application.html.erb
@@ -93,7 +93,7 @@
<a href="#TODO">Community</a>
<a href="#TODO">Help</a>
<a href="#TODO">Language: English</a>
- <span class="VersionNumber">Version 1.2</span>
+ <span class="VersionNumber">Version 1.3</span>
</div>
<div class="clear">
</div>
View
3 app/views/schedules/index.html.erb
@@ -19,7 +19,8 @@
<% else %>
<% @schedules.each.with_index do |schedule,index| %>
<tr>
- <td>
+ <td class="<%= schedule.paused? ? 'spaused' : 'sactive' %>">
+ <span></span>
<%= link_to schedule_path(schedule) do %>
<%= schedule.title %>
<% end %>
View
5 public/stylesheets/remindem.css
@@ -300,4 +300,7 @@ ul.vertical li { list-style: none; }
}
.w90 {
width: 940px !important;
-}
+}
+
+.sactive span { background:#9fc643; margin-right:5px; width:10px; height:10px; display:inline-block; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px }
+.spaused span { background:#d0d0d0; margin-right:5px; width:10px; height:9px; border-top:1px solid #9c9c9c; display:inline-block; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px }

0 comments on commit 3b845fc

Please sign in to comment.
Something went wrong with that request. Please try again.