You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by Sebastian Bazley <se...@apache.org> on 2016/03/02 13:38:34 UTC

[whimsy.git] [1/1] Commit c172fd3: Document colors

Commit c172fd303bb70c511c31fb0dc6e2135df70205ed:
    Document colors


Branch: refs/heads/master
Author: Sebb <se...@apache.org>
Committer: Sebb <se...@apache.org>
Pusher: sebb <se...@apache.org>

------------------------------------------------------------
www/roster/views/podlings.html.rb                            | +++++++++ --
------------------------------------------------------------
11 changes: 9 additions, 2 deletions.
------------------------------------------------------------


diff --git a/www/roster/views/podlings.html.rb b/www/roster/views/podlings.html.rb
index 5d0d0bf..f54e10e 100644
--- a/www/roster/views/podlings.html.rb
+++ b/www/roster/views/podlings.html.rb
@@ -48,8 +48,15 @@
    }
 
   _h1_ 'Podlings'
-  _h5_ 'Click on a column heading to change the sort order'
-
+  _h5_ do
+    _ 'Click on a column heading to change the sort order ('
+    color.each do |state, clazz|
+      _{"<span class='#{clazz}'>#{state}</span>"}
+      _ " "
+    end
+    _ ")"
+  end
+    
   _table.table.table_hover do
     _thead do
       _tr do