Revision c8cba6c5
Added by Marc Dequènes over 14 years ago
- ID c8cba6c512eb9a1f7bc7f5abe61a98749e9bd5f0
app/views/view/set.rhtml | ||
---|---|---|
</p>
|
||
|
||
<h2><%= _("Groups:") %></h2>
|
||
<table>
|
||
<table class="image_list">
|
||
<% @artwork_set.artwork_groups.each do |group| %>
|
||
<td><%= link_to(display_image_frame(group.artworks.last.image, :frame_type => :cell, :size => :thumb_small, :force_title => group.name, :display_size => false, :with_link => false, :classes => "group"), :controller => '/view', :action => 'group', :id => group.id) %></td>
|
||
<% end %>
|
app/views/view/tree.rhtml | ||
---|---|---|
<h1><%= _("Tree view of the Cyma") %></h1>
|
||
|
||
<table>
|
||
<table class="image_list">
|
||
<% ArtworkSet.find(:all, :order => 'name ASC').each do |set| %>
|
||
<tr><th><%= link_to(display_image_frame(set.artworks.last.image, :frame_type => :cell, :size => :thumb_small, :force_title => set.name, :display_size => false, :with_link => false, :classes => "set"), :controller => '/view', :action => 'set', :id => set.id) %></th>
|
||
<% unless set.artwork_groups.empty? %>
|
public/stylesheets/default.css | ||
---|---|---|
text-align: center;
|
||
}
|
||
|
||
table.image_list td
|
||
{
|
||
vertical-align: top;
|
||
}
|
||
|
||
.image_frame {
|
||
text-align: center;
|
||
padding: 0px;
|
Also available in: Unified diff
[cosmetic] properly align images vertically in an image list