mailr/app/views/layouts/application.html.haml

33 lines
765 B
Plaintext
Raw Permalink Normal View History

2012-03-24 13:23:34 +01:00
!!!
%html
%head
%title
=t(:mailr,:scope=>:common)
= yield :title
2013-02-02 14:54:09 +01:00
%li{:rel=>"shortcut icon", :href=>"/favicon.ico"}/
2012-03-24 13:23:34 +01:00
= stylesheet_link_tag "application", :media => "all"
= javascript_include_tag "application"
= csrf_meta_tags
%body{:class=>"application"}
.container
.row
.span3#sidebar
= yield :sidebar
.span9#main
- if flash[:error]
.alert.alert-error
= flash[:error]
- elsif flash[:info]
.alert.alert-info
= flash[:info]
- elsif flash[:success]
.alert.alert-success
= flash[:success]
2012-03-30 19:31:23 +02:00
= render :partial => "common/main_header"
2012-03-24 13:23:34 +01:00
= yield
%hr/
.row
#footer-simple
%a{:href=>"https://github.com/musashimm/mailr"} MailR
\- open source web mail client