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

48 lines
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><%= APP_CONFIG[:site_name] %></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">
<%= breadcrumbs %>
<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 %>
<% else %>
<%= link_to 'Login', login_path %>
<% end %>
</div>
<h1><%= APP_CONFIG[:site_name] %></h1>
2009-07-06 15:41:19 +02:00
<form action="/albums" method="get" id="search">
2009-06-11 13:05:09 +02:00
<input type="text" name="q" class="textfie.d"/>
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" />
</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
2009-05-25 21:39:43 +02:00
<%= javascript_include_tag 'jquery-1.3.2.js', 'application' %>
<%= yield :javascript %>
2009-05-22 14:13:46 +02:00
</body>
</html>