Pre registration
This commit is contained in:
@@ -3,19 +3,17 @@
|
||||
%head
|
||||
%meta{ charset: 'utf-8' }
|
||||
%meta{ name: 'viewport', content: 'width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0' }
|
||||
%title= (yield :title) + (content_for?(:title) ? (_!' | ') : '') + (_!'Bike!Bike!')
|
||||
-#%title= (yield :title) + (content_for?(:title) ? (_!' | ') : '') + (_!'Bike!Bike!')
|
||||
%title=_!('Bike!Bike!' + (content_for?(:title) ? " - #{yield :title}" : ''))
|
||||
%meta{ name: 'description', content: (yield_or_default :description, I18n.t('page_descriptions.home')) }
|
||||
= csrf_meta_tags
|
||||
= inject_css!
|
||||
- (@stylesheets || []).each do |css|
|
||||
= inject_css! css
|
||||
= stylesheet_link_tag 'i18n-debug' if request.params['i18nDebug']
|
||||
= stylesheets
|
||||
%link{ href: asset_path('favicon.ico'), rel: 'shortcut icon', type: 'image/x-icon' }
|
||||
%link{ href: asset_path('favicon.ico'), rel: 'icon', type: 'image/x-icon' }
|
||||
%link{ href: asset_path('apple-touch-icon.png'), rel: 'apple-touch-icon' }
|
||||
%link{ href: asset_path('apple-touch-icon-72x72.png'), rel: 'apple-touch-icon', sizes: '72x72' }
|
||||
%link{ href: asset_path('apple-touch-icon-114x114.png'), rel: 'apple-touch-icon', sizes: '114x114' }
|
||||
%link{ href: asset_path('apple-touch-icon-144x144.png'), rel: 'apple-touch-icon', sizes: '144x144' }
|
||||
-#%link{ href: asset_path('apple-touch-icon.png'), rel: 'apple-touch-icon' }
|
||||
-#%link{ href: asset_path('apple-touch-icon-72x72.png'), rel: 'apple-touch-icon', sizes: '72x72' }
|
||||
-#%link{ href: asset_path('apple-touch-icon-114x114.png'), rel: 'apple-touch-icon', sizes: '114x114' }
|
||||
-#%link{ href: asset_path('apple-touch-icon-144x144.png'), rel: 'apple-touch-icon', sizes: '144x144' }
|
||||
= yield :head
|
||||
|
||||
%body{ class: page_style }
|
||||
@@ -24,8 +22,8 @@
|
||||
- if content_for?(:side_bar)
|
||||
%nav#side-bar
|
||||
= yield :side_bar
|
||||
- flash.each do |key, msg|
|
||||
= content_tag :div, msg, :id => key
|
||||
-# - flash.each do |key, msg|
|
||||
-# = content_tag :div, msg, :id => key
|
||||
%header#banner=yield :banner
|
||||
- if @submenu
|
||||
=row do
|
||||
@@ -39,5 +37,7 @@
|
||||
= yield
|
||||
#footer
|
||||
%footer= render 'shared/footer'
|
||||
- if content_for?(:footer_scripts)
|
||||
= yield :footer_scripts
|
||||
|
||||
= yield :footer_scripts if content_for?(:footer_scripts)
|
||||
- add_inline_script :main
|
||||
= inline_scripts
|
||||
|
||||
@@ -3,74 +3,10 @@
|
||||
%head
|
||||
%meta{:content => "text/html; charset=utf-8", "http-equiv" => "Content-Type"}/
|
||||
%meta{:content => "width=device-width, initial-scale=1.0", :name => "viewport"}/
|
||||
%title Your Message Subject or Title
|
||||
:css
|
||||
#outlook a {padding:0;}
|
||||
body{width:100% !important; -webkit-text-size-adjust:100%; -ms-text-size-adjust:100%; margin:0; padding:0;}
|
||||
.ExternalClass {width:100%;}
|
||||
.ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div {line-height: 100%;}
|
||||
#backgroundTable {margin:0; padding:0; width:100% !important; line-height: 100% !important;}
|
||||
img {outline:none; text-decoration:none; -ms-interpolation-mode: bicubic;}
|
||||
a img {border:none;}
|
||||
.image_fix {display:block;max-width:100%}
|
||||
p {margin: 1em;color:#333 !important;}
|
||||
h1, h2, h3, h4, h5, h6 {color:#333 !important;}
|
||||
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {color: #00ADEF !important;}
|
||||
h1 a:active, h2 a:active, h3 a:active, h4 a:active, h5 a:active, h6 a:active { color: #D89E59 !important; }
|
||||
h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited { color: #DD57EF !important; }
|
||||
table td {border-collapse: collapse;}
|
||||
table { border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt; max-width:512px;min-width:280px;}
|
||||
a {color: #00ADEF;}
|
||||
a:link { color: #00ADEF; }
|
||||
a:visited { color: #00ADEF; }
|
||||
a:hover { color: #02CA9E; }
|
||||
@media only screen and (max-device-width: 480px) {
|
||||
a[href^="tel"], a[href^="sms"] {
|
||||
text-decoration: none;
|
||||
color: #333;
|
||||
pointer-events: none;
|
||||
cursor: default;
|
||||
}
|
||||
.mobile_link a[href^="tel"], .mobile_link a[href^="sms"] {
|
||||
text-decoration: default;
|
||||
color: #00ADEF !important;
|
||||
pointer-events: auto;
|
||||
cursor: default;
|
||||
}
|
||||
}
|
||||
h3 b {
|
||||
padding: 10px 20px;
|
||||
line-height: 50px;
|
||||
}
|
||||
h3 b a,
|
||||
h3 b a:visited {
|
||||
color: #FFF !important;
|
||||
background-color: #02CA9E;
|
||||
text-decoration: none !important;
|
||||
border-radius: 4px;
|
||||
padding: 10px 15px;
|
||||
margin-left: 20px;
|
||||
border-bottom: 3px solid #00AF88;
|
||||
}
|
||||
h3 b a:hover {
|
||||
background-color: #00AF88;
|
||||
}
|
||||
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
|
||||
a[href^="tel"], a[href^="sms"] {
|
||||
text-decoration: none;
|
||||
color: #00ADEF;
|
||||
pointer-events: none;
|
||||
cursor: default;
|
||||
}
|
||||
.mobile_link a[href^="tel"], .mobile_link a[href^="sms"] {
|
||||
text-decoration: default;
|
||||
color: #00ADEF !important;
|
||||
pointer-events: auto;
|
||||
cursor: default;
|
||||
}
|
||||
}
|
||||
%title=@subject
|
||||
%style{type: 'text/css'}=Rails.application.assets.find_asset("user-mailer.css").to_s
|
||||
%body
|
||||
%table#backgroundTable{:border => "0", :cellpadding => "0", :cellspacing => "0"}
|
||||
%table{:border => "0", :cellpadding => "0", :cellspacing => "0", id: @wrapper_id.present? ? "bb_#{@wrapper_id.to_s}" : 'backgroundTable'}
|
||||
%tr
|
||||
%td
|
||||
%table{:align => "center", :border => "0", :cellpadding => "0", :cellspacing => "0"}
|
||||
|
||||
Reference in New Issue
Block a user