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

54 lines
1.1 KiB
Plaintext
Raw Normal View History

2009-06-11 13:05:09 +02:00
<!DOCTYPE html>
2009-05-22 14:13:46 +02:00
2009-06-11 13:05:09 +02:00
<html lang="en">
2009-05-22 14:13:46 +02:00
<head>
2009-06-11 13:05:09 +02:00
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title><%= ENV['TITLE'] || "Photos" %></title>
2009-05-25 21:39:43 +02:00
<%= yield :head %>
<%= stylesheet_link_tag 'application' %>
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-07-01 12:14:23 +02:00
<a href="/">
<% if ENV['LOGO'] %>
<%= image_tag ENV['LOGO'] %>
2009-08-10 16:32:39 +02:00
<% else %>
<%= ENV['TITLE'] %>
2009-08-10 16:32:39 +02:00
<% end %>
2010-07-01 12:14:23 +02:00
</a>
2009-08-10 16:22:06 +02:00
</h1>
2009-07-06 15:41:19 +02:00
<form action="/albums" method="get" id="search">
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" />
2009-06-11 13:05:09 +02:00
</form>
<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" />
&copy; <a href="http://balderapp.com">Balder</a>.
2009-06-11 13:05:09 +02:00
</div>
</div>
2009-05-22 14:13:46 +02:00
<%= javascript_include_tag 'jquery-1.3.2.js', 'jquery.livequery.js', 'balder' %>
2009-05-25 21:39:43 +02:00
<%= yield :javascript %>
2009-05-22 14:13:46 +02:00
</body>
</html>