mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-06 22:36:07 +00:00
Use the site's main logo instead of footer logo to allow for better contrast on gray background (dark text on gray instead of white text on gray) The table's background color is defined in the parent table already Limit the max width and max height of the logo and resize the logo accordingly instead of forcing it to squeeze into a fixed size
53 lines
1.5 KiB
Plaintext
53 lines
1.5 KiB
Plaintext
%html{:xmlns => "http://www.w3.org/1999/xhtml"}
|
|
%head
|
|
/ If you delete this meta tag, Half Life 3 will never be released.
|
|
%meta{:content => "width=device-width", :name => "viewport" }/
|
|
%meta{:content => "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}/
|
|
%title
|
|
= Spree::Config[:site_name]
|
|
= stylesheet_link_tag 'mail'
|
|
%body{:bgcolor => "#FFFFFF" }
|
|
- unless @hide_ofn_navigation
|
|
%table.head-wrap
|
|
%tr
|
|
%td
|
|
%td.container
|
|
.content
|
|
%table
|
|
%tr
|
|
%td
|
|
= image_tag ContentConfig.url_for(:logo), class: "logo"
|
|
%td.text-right
|
|
%h6.collapse
|
|
= Spree::Config[:site_name]
|
|
%td
|
|
|
|
%table.body-wrap
|
|
%tr
|
|
%td
|
|
%td.container{:bgcolor => "#FFFFFF"}
|
|
.content
|
|
%table
|
|
%tr
|
|
%td
|
|
|
|
= yield
|
|
%td
|
|
|
|
%table.footer-wrap
|
|
%tr
|
|
%td
|
|
%td.container
|
|
.content
|
|
%table
|
|
%tr
|
|
%td{:align => "center"}
|
|
%p
|
|
- if platform_terms_required?
|
|
= link_to_platform_terms
|
|
|
|
|
%a{:href => "#{ main_app.root_url }"}
|
|
= Spree::Config[:site_name]
|
|
/ | <a href="#"><unsubscribe>Unsubscribe</unsubscribe></a>
|
|
%td
|