view update

This commit is contained in:
devin 2012-12-05 17:48:17 +08:00 committed by chris
parent d413f705a4
commit 8d110cce91
1 changed files with 25 additions and 18 deletions

View File

@ -4,6 +4,10 @@
<%= link_to "New Type", desktop_co_author_relations_path, :class=>"bt-new-type fn_btn hp hh2 thmc2 thmtxt" %> <%= link_to "New Type", desktop_co_author_relations_path, :class=>"bt-new-type fn_btn hp hh2 thmc2 thmtxt" %>
</div> </div>
</div> </div>
<div id="co_author" class="tinycanvas vp">
<div class="scrollbar sb_h vp"><div class="track"><div class="thumb thmc2"><div class="end"></div></div></div></div>
<div class="viewport">
<div class="overview">
<% @co_authors.each_with_index do |co_author,i| %> <% @co_authors.each_with_index do |co_author,i| %>
<% if ( i % 5 ) == 0 %> <% if ( i % 5 ) == 0 %>
<div class="g_col"> <div class="g_col">
@ -24,3 +28,6 @@
</div> </div>
<% end %> <% end %>
<% end %> <% end %>
</div>
</div>
</div>