mailr/themes/olive/views/layouts/application.html.erb

47 lines
1.7 KiB
Plaintext
Raw Normal View History

2011-06-26 21:37:50 +02:00
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
2011-07-29 20:05:47 +02:00
<title>
2011-09-09 22:10:25 +02:00
<%= t(:mailr,:scope=>:common) %>
2011-07-29 20:05:47 +02:00
<%= yield :title %>
</title>
2011-06-26 21:37:50 +02:00
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<%=stylesheet_link_tag current_theme_stylesheet_path('base') %>
<%=stylesheet_link_tag current_theme_stylesheet_path('style') %>
2011-08-24 19:20:13 +02:00
<%=stylesheet_link_tag current_theme_stylesheet_path('jquery-ui-dialog') %>
<%=stylesheet_link_tag current_theme_stylesheet_path('jquery-ui-custom') %>
2011-06-26 21:37:50 +02:00
2011-08-24 19:20:13 +02:00
<%=javascript_include_tag current_theme_javascript_path('jquery') %>
<%=javascript_include_tag current_theme_javascript_path('jquery-ui') %>
<%=javascript_include_tag current_theme_javascript_path('rails') %>
<%=javascript_include_tag current_theme_javascript_path('application') %>
2011-06-26 21:37:50 +02:00
2011-09-03 16:25:19 +02:00
<link rel="icon" type="image/x-icon" href="/favicon.ico"/>
2011-06-26 21:37:50 +02:00
</head>
2011-07-29 20:05:47 +02:00
<body>
2011-06-26 21:37:50 +02:00
<div id="container">
<div id="wrapper" class="wat-cf">
<div id="sidebar">
2011-07-29 20:05:47 +02:00
<div id="logo"><img src="<%= current_theme_image_path('logo_small.png')%>" alt="Mailr"/></div>
2011-06-26 21:37:50 +02:00
<div id="sidebar"><%= yield :sidebar %></div>
</div>
2011-07-29 20:05:47 +02:00
<div id="main">
<div class="flash">
<% flash.each do |key, msg| %>
<% unless msg.blank? %>
<%= content_tag(:div,(content_tag :p, msg), :class => "message #{key.to_s}" )%>
<%= flash[key.to_sym]='' %>
<% end %>
<% end %>
</div>
<%= yield %>
</div>
2011-06-26 21:37:50 +02:00
<br class="clear"/>
</div>
</div>
</body>
</html>