photomix/app/views/layouts/application.html.erb

43 lines
900 B
Plaintext
Raw Normal View History

2009-06-11 13:05:09 +02:00
<!DOCTYPE html>
<html lang="en">
2009-05-22 14:13:46 +02:00
<head>
2012-07-24 23:26:16 +02:00
<%= render :partial => 'shared/head' %>
2009-05-22 14:13:46 +02:00
</head>
<body>
2009-06-11 13:05:09 +02:00
<div id="container">
<div id="header">
<div id="action_links">
2009-06-16 21:43:03 +02:00
<%= yield :action_links %>
<% if current_user %>
Logged in as <%= current_user.name %>
<%= link_to 'Logout', logout_path %>
<% end %>
</div>
2009-08-10 16:22:06 +02:00
<h1>
2010-11-21 15:34:59 +01:00
<%= link_to(if ENV['LOGO'] then image_tag(ENV['LOGO']) else (ENV['TITLE'] || "Photos") end, root_path) %>
</h1>
2011-04-11 11:20:32 +02:00
<%= form_tag albums_path, { :id => :search } do -%>
2010-07-01 12:14:23 +02:00
<input type="text" name="q" class="textfield"/>
2009-06-16 13:37:15 +02:00
<input type="submit" value="Search" class="button" />
2010-11-21 15:34:59 +01:00
<% end -%>
2009-06-11 13:05:09 +02:00
<hr class="seperator" />
2010-07-01 12:14:23 +02:00
<%= breadcrumbs %>
2009-06-11 13:05:09 +02:00
</div>
<div id="content">
2009-06-16 21:43:03 +02:00
<p id="notice"><%= flash[:notice] %></p>
2009-06-11 13:05:09 +02:00
<%= yield %>
</div>
<div id="footer">
<hr class="seperator" />
2010-10-14 22:48:21 +02:00
&copy; <a href="http://balderapp.com">Balder - open source photo gallery</a>.
2009-06-11 13:05:09 +02:00
</div>
</div>
2009-05-22 14:13:46 +02:00
2012-07-24 23:26:16 +02:00
2009-05-22 14:13:46 +02:00
</body>
</html>