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">
|
2009-07-28 10:31:24 +02:00
|
|
|
<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 %>
|
2009-06-30 21:24:06 +02:00
|
|
|
<div id="action_links">
|
2009-06-16 21:43:03 +02:00
|
|
|
<%= yield :action_links %>
|
2009-06-30 21:24:06 +02:00
|
|
|
<% if current_user %>
|
|
|
|
Logged in as <%= current_user.name %>
|
|
|
|
<%= link_to 'Logout', logout_path %>
|
|
|
|
<% else %>
|
|
|
|
<%= link_to 'Login', login_path %>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
2009-07-28 10:31:24 +02:00
|
|
|
<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" />
|
2009-07-27 18:58:58 +02:00
|
|
|
© <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>
|