photomix/app/views/albums/show.html.erb

45 lines
1.5 KiB
Plaintext
Raw Normal View History

2009-05-22 14:13:46 +02:00
<h1><%= @album.title %></h1>
<script src="/javascripts/jquery-1.3.2.js" type="text/javascript" charset="utf-8"></script>
<!--
<link rel="stylesheet" href="/javascripts/jquery-galleryview-2.0/galleryview.css" type="text/css" media="screen" title="no title" charset="utf-8">
<link rel="stylesheet" href="/javascripts/jquery-galleryview-2.0/galleryview.css" type="text/css" media="screen" title="no title" charset="utf-8">
<script src="/javascripts/jquery-galleryview-2.0/jquery.timers-1.1.2.js" type="text/javascript" charset="utf-8"></script>
<script src="/javascripts/jquery-galleryview-2.0/jquery.galleryview-2.0.js" type="text/javascript" charset="utf-8"></script>
<div id="photos" class="gallery">
<div class="panel">
<div class="panel-overlay">
This is the text in the background
</div>
<div class="overlay-background"></div>
</div>
<ul class="filmstrip">
<%= render :partial => @album.photos.find(:all, :limit => 10) %>
</ul>
</div>
<script type="text/javascript">
$('#photos').galleryView({
panel_width: 800,
panel_height: 400,
frame_width: 100,
frame_height: 100
});
</script>
-->
2009-05-22 21:04:41 +02:00
<% if current_user %>
<%= link_to "Edit album", edit_album_path( @album )%>
<% end %>
2009-05-22 14:13:46 +02:00
<link href="/javascripts/galleria/galleria.css" rel="stylesheet" type="text/css" media="screen">
<script type="text/javascript" src="/javascripts/galleria/jquery.galleria.js"></script>
<script type="text/javascript">
jQuery(function($) { $('ul.gallery').galleria(); });
</script>
<ul class="gallery">
<%= render :partial => @album.photos.find(:all, :limit => 10) %>
</ul>