Skip to content
This repository has been archived by the owner on Apr 5, 2020. It is now read-only.

Commit

Permalink
#16 <@callegas, @lucasgaspari> Editar layout doador tipo 'Não sei'
Browse files Browse the repository at this point in the history
  • Loading branch information
callegas committed Nov 16, 2016
1 parent 15d9ba4 commit 8771068
Showing 1 changed file with 143 additions and 1 deletion.
144 changes: 143 additions & 1 deletion app/views/notification_mailer/mailer_no_blood_type.html.erb
Original file line number Diff line number Diff line change
@@ -1 +1,143 @@
<h2>AUHSUAHsuAHSUAHsuHAUStesteeeee</h2>
<!DOCTYPE html>
<html>
<head>
<style>
.Email {
width: 540px;
height: 675px;
overflow:hidden;
background: #E9E7E8 url("http://imageshack.com/a/img922/8563/rXummf.jpg") top repeat-x;
}
.Email-content {
background: #fff;
width: 400px;
height: 540px;
margin: 55px auto;
border-radius: 5px;
z-index:2;
}
.Email-content-head {
height: 100px;
margin: 10px;
font-size: 33pt;
text-align: center; }
.Email-content-body {
width: 370px;
height: 310px;
margin: auto;
text-align: center;
font-family: sans-serif; }
.Email-content-contentButtons {
height: 50px;
width: 370px;
margin: auto; }
.aButton{
text-decoration: none;
color: #fff;
}
.align-center{
text-align:center;
}
.padding-top{
padding-top: 20px;
}
.Button {
font-size: .8rem;
font-weight: 700;
display: inline-block;
box-sizing: border-box;
padding: 12px;
text-align: center;
text-transform: uppercase;
color: #000;
border: 1px solid #af9d9d;
border-radius: 3px;
background: #cdc9c9;
box-shadow: 0 3px 3px -2px rgba(0, 0, 0, 0.25); }
.Button:hover {
cursor: pointer;
background-color: #b9b4b4; }
.Button-group {
display: flex;
margin: 12px -6px; }
.Button-group .Button {
margin: 0 6px; }
.Button--large {
padding: 20px;
font-size: 16px; }
.Button--small {
padding: 10px;
font-size: 10px; }
.Button--feedback {
width: 90%;
height: 45px;
margin: 15px; }
.Button--fluid {
width: 100%; }
.Button--medium {
width: 180px; }
.Button--invisible {
color: #999999;
border: 0;
background: none;
box-shadow: none; }
.Button--invisible:hover {
color: #4d4d4d;
background: none; }
.Button.is-canceled {
color: #fff;
background: #e74c3c; }
.Button.is-canceled:hover {
background-color: #e43422; }
.Button.is-actived {
color: #fff;
border-color: #239955;
background: #2ecc71; }
.Button.is-actived:hover {
background-color: #29b866; }
.Button.is-disabled {
cursor: not-allowed;
pointer-events: none;
color: #9c9494;
border: 0;
box-shadow: none; }
span{
font-size: 1em;
}
</style>
</head>
<body>

<div class="Email">
<div class="Email Email-content">
<div class="Email-content-head">
<img src="http://cdn.1001freedownloads.com/icon/thumb/369748/Comics-Hero-Striped-icon.png" width="120" height="120" />
</div>
<div class="Email-content-body padding-top">
<span><h2>Olá <%= @user.name %>!</h2></span>
<p>
Nós do HemoHeroes estamos precisando de sua ajuda!
</p>

<p>
Estamos convidando-o para fazer uma doação de sangue
em qualquer hemocentro conveniado a nossa rede, você
pode verificar em nosso -site- qual o hemocentro mais
próximo de você e todos os dados necessários para doar,
além é claro de descobrir seu tipo sanguíneo!
</p>
</div>

<div class="Email-content-contentButtons align-center">
<div class="Button Button--medium is-canceled">
<a href="http://hemoheroestw-staging.herokuapp.com" class="aButton">Quero doar!</a>
</div>
</div>

<div class="align-center">
<%= link_to "Não quero mais receber notificações", "http://hemoheroestw-staging.herokuapp.com/cancelNotification/#{@user.last_donation_token}" %>
</div>
</div>
</div>
</body>
</html>

0 comments on commit 8771068

Please sign in to comment.