rails_email_preview 0.2.31 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +30 -8
- data/app/assets/stylesheets/rails_email_preview/application.css.sass +228 -3
- data/app/assets/stylesheets/rails_email_preview/bootstrap3.css.sass +68 -0
- data/app/controllers/rails_email_preview/emails_controller.rb +14 -6
- data/app/helpers/rails_email_preview/emails_helper.rb +1 -14
- data/app/views/integrations/cms/{_customize_cms_for_rails_email_preview.html.slim → _customize_cms_for_rails_email_preview.html.erb} +16 -12
- data/app/views/layouts/rails_email_preview/_flash_notices.html.erb +7 -0
- data/app/views/layouts/rails_email_preview/application.html.erb +15 -0
- data/app/views/layouts/rails_email_preview/email.html.erb +30 -0
- data/app/views/rails_email_preview/emails/{_email_iframe.html.slim → _email_iframe.html.erb} +17 -14
- data/app/views/rails_email_preview/emails/_format_nav.html.erb +4 -0
- data/app/views/rails_email_preview/emails/_headers.html.erb +10 -0
- data/app/views/rails_email_preview/emails/_headers_and_nav.html.erb +12 -0
- data/app/views/rails_email_preview/emails/_i18n_nav.html.erb +3 -0
- data/app/views/rails_email_preview/emails/_nav.html.erb +18 -0
- data/app/views/rails_email_preview/emails/_send_form.html.erb +11 -0
- data/app/views/rails_email_preview/emails/index.html.erb +36 -0
- data/app/views/rails_email_preview/emails/show.html.erb +23 -0
- data/lib/rails_email_preview.rb +11 -12
- data/lib/rails_email_preview/version.rb +1 -1
- metadata +15 -32
- data/app/assets/stylesheets/rails_email_preview/_bootstrap.css.scss +0 -7844
- data/app/assets/stylesheets/rails_email_preview/_bootstrap_theme.css.scss +0 -345
- data/app/assets/stylesheets/rails_email_preview/_layout.css.sass +0 -13
- data/app/views/layouts/rails_email_preview/_flash_notices.html.slim +0 -5
- data/app/views/layouts/rails_email_preview/application.html.slim +0 -12
- data/app/views/layouts/rails_email_preview/email.html.slim +0 -28
- data/app/views/rails_email_preview/emails/_format_nav.html.slim +0 -6
- data/app/views/rails_email_preview/emails/_headers.html.slim +0 -6
- data/app/views/rails_email_preview/emails/_headers_and_nav.html.slim +0 -8
- data/app/views/rails_email_preview/emails/_headers_content.html.slim +0 -0
- data/app/views/rails_email_preview/emails/_i18n_nav.html.slim +0 -5
- data/app/views/rails_email_preview/emails/_nav.html.slim +0 -13
- data/app/views/rails_email_preview/emails/_send_form.html.slim +0 -6
- data/app/views/rails_email_preview/emails/index.html.slim +0 -21
- data/app/views/rails_email_preview/emails/show.html.slim +0 -13
@@ -1,345 +0,0 @@
|
|
1
|
-
.btn-default,
|
2
|
-
.btn-primary,
|
3
|
-
.btn-success,
|
4
|
-
.btn-info,
|
5
|
-
.btn-warning,
|
6
|
-
.btn-danger {
|
7
|
-
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
|
8
|
-
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
|
9
|
-
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075); }
|
10
|
-
.btn-default:active, .btn-default.active,
|
11
|
-
.btn-primary:active,
|
12
|
-
.btn-primary.active,
|
13
|
-
.btn-success:active,
|
14
|
-
.btn-success.active,
|
15
|
-
.btn-info:active,
|
16
|
-
.btn-info.active,
|
17
|
-
.btn-warning:active,
|
18
|
-
.btn-warning.active,
|
19
|
-
.btn-danger:active,
|
20
|
-
.btn-danger.active {
|
21
|
-
-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
22
|
-
box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); }
|
23
|
-
|
24
|
-
.btn:active, .btn.active {
|
25
|
-
background-image: none; }
|
26
|
-
|
27
|
-
.btn-default {
|
28
|
-
background-image: -webkit-linear-gradient(top, white 0%, #e0e0e0 100%);
|
29
|
-
background-image: -o-linear-gradient(top, white 0%, #e0e0e0 100%);
|
30
|
-
background-image: linear-gradient(to bottom, white 0%, #e0e0e0 100%);
|
31
|
-
background-repeat: repeat-x;
|
32
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFE0E0E0', GradientType=0);
|
33
|
-
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
34
|
-
background-repeat: repeat-x;
|
35
|
-
border-color: #dbdbdb;
|
36
|
-
text-shadow: 0 1px 0 #fff;
|
37
|
-
border-color: #ccc; }
|
38
|
-
.btn-default:hover, .btn-default:focus {
|
39
|
-
background-color: #e0e0e0;
|
40
|
-
background-position: 0 -15px; }
|
41
|
-
.btn-default:active, .btn-default.active {
|
42
|
-
background-color: #e0e0e0;
|
43
|
-
border-color: #dbdbdb; }
|
44
|
-
|
45
|
-
.btn-primary {
|
46
|
-
background-image: -webkit-linear-gradient(top, #428bca 0%, #2d6ca2 100%);
|
47
|
-
background-image: -o-linear-gradient(top, #428bca 0%, #2d6ca2 100%);
|
48
|
-
background-image: linear-gradient(to bottom, #428bca 0%, #2d6ca2 100%);
|
49
|
-
background-repeat: repeat-x;
|
50
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF428BCA', endColorstr='#FF2D6CA2', GradientType=0);
|
51
|
-
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
52
|
-
background-repeat: repeat-x;
|
53
|
-
border-color: #2b669a; }
|
54
|
-
.btn-primary:hover, .btn-primary:focus {
|
55
|
-
background-color: #2d6ca2;
|
56
|
-
background-position: 0 -15px; }
|
57
|
-
.btn-primary:active, .btn-primary.active {
|
58
|
-
background-color: #2d6ca2;
|
59
|
-
border-color: #2b669a; }
|
60
|
-
|
61
|
-
.btn-success {
|
62
|
-
background-image: -webkit-linear-gradient(top, #5cb85c 0%, #419641 100%);
|
63
|
-
background-image: -o-linear-gradient(top, #5cb85c 0%, #419641 100%);
|
64
|
-
background-image: linear-gradient(to bottom, #5cb85c 0%, #419641 100%);
|
65
|
-
background-repeat: repeat-x;
|
66
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF5CB85C', endColorstr='#FF419641', GradientType=0);
|
67
|
-
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
68
|
-
background-repeat: repeat-x;
|
69
|
-
border-color: #3e8f3e; }
|
70
|
-
.btn-success:hover, .btn-success:focus {
|
71
|
-
background-color: #419641;
|
72
|
-
background-position: 0 -15px; }
|
73
|
-
.btn-success:active, .btn-success.active {
|
74
|
-
background-color: #419641;
|
75
|
-
border-color: #3e8f3e; }
|
76
|
-
|
77
|
-
.btn-info {
|
78
|
-
background-image: -webkit-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);
|
79
|
-
background-image: -o-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);
|
80
|
-
background-image: linear-gradient(to bottom, #5bc0de 0%, #2aabd2 100%);
|
81
|
-
background-repeat: repeat-x;
|
82
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF5BC0DE', endColorstr='#FF2AABD2', GradientType=0);
|
83
|
-
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
84
|
-
background-repeat: repeat-x;
|
85
|
-
border-color: #28a4c9; }
|
86
|
-
.btn-info:hover, .btn-info:focus {
|
87
|
-
background-color: #2aabd2;
|
88
|
-
background-position: 0 -15px; }
|
89
|
-
.btn-info:active, .btn-info.active {
|
90
|
-
background-color: #2aabd2;
|
91
|
-
border-color: #28a4c9; }
|
92
|
-
|
93
|
-
.btn-warning {
|
94
|
-
background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #eb9316 100%);
|
95
|
-
background-image: -o-linear-gradient(top, #f0ad4e 0%, #eb9316 100%);
|
96
|
-
background-image: linear-gradient(to bottom, #f0ad4e 0%, #eb9316 100%);
|
97
|
-
background-repeat: repeat-x;
|
98
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFF0AD4E', endColorstr='#FFEB9316', GradientType=0);
|
99
|
-
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
100
|
-
background-repeat: repeat-x;
|
101
|
-
border-color: #e38d13; }
|
102
|
-
.btn-warning:hover, .btn-warning:focus {
|
103
|
-
background-color: #eb9316;
|
104
|
-
background-position: 0 -15px; }
|
105
|
-
.btn-warning:active, .btn-warning.active {
|
106
|
-
background-color: #eb9316;
|
107
|
-
border-color: #e38d13; }
|
108
|
-
|
109
|
-
.btn-danger {
|
110
|
-
background-image: -webkit-linear-gradient(top, #d9534f 0%, #c12e2a 100%);
|
111
|
-
background-image: -o-linear-gradient(top, #d9534f 0%, #c12e2a 100%);
|
112
|
-
background-image: linear-gradient(to bottom, #d9534f 0%, #c12e2a 100%);
|
113
|
-
background-repeat: repeat-x;
|
114
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFD9534F', endColorstr='#FFC12E2A', GradientType=0);
|
115
|
-
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
116
|
-
background-repeat: repeat-x;
|
117
|
-
border-color: #b92c28; }
|
118
|
-
.btn-danger:hover, .btn-danger:focus {
|
119
|
-
background-color: #c12e2a;
|
120
|
-
background-position: 0 -15px; }
|
121
|
-
.btn-danger:active, .btn-danger.active {
|
122
|
-
background-color: #c12e2a;
|
123
|
-
border-color: #b92c28; }
|
124
|
-
|
125
|
-
.thumbnail,
|
126
|
-
.img-thumbnail {
|
127
|
-
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
|
128
|
-
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075); }
|
129
|
-
|
130
|
-
.dropdown-menu > li > a:hover,
|
131
|
-
.dropdown-menu > li > a:focus {
|
132
|
-
background-image: -webkit-linear-gradient(top, whitesmoke 0%, #e8e8e8 100%);
|
133
|
-
background-image: -o-linear-gradient(top, whitesmoke 0%, #e8e8e8 100%);
|
134
|
-
background-image: linear-gradient(to bottom, whitesmoke 0%, #e8e8e8 100%);
|
135
|
-
background-repeat: repeat-x;
|
136
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFF5F5F5', endColorstr='#FFE8E8E8', GradientType=0);
|
137
|
-
background-color: #e8e8e8; }
|
138
|
-
|
139
|
-
.dropdown-menu > .active > a,
|
140
|
-
.dropdown-menu > .active > a:hover,
|
141
|
-
.dropdown-menu > .active > a:focus {
|
142
|
-
background-image: -webkit-linear-gradient(top, #428bca 0%, #357ebd 100%);
|
143
|
-
background-image: -o-linear-gradient(top, #428bca 0%, #357ebd 100%);
|
144
|
-
background-image: linear-gradient(to bottom, #428bca 0%, #357ebd 100%);
|
145
|
-
background-repeat: repeat-x;
|
146
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF428BCA', endColorstr='#FF357EBD', GradientType=0);
|
147
|
-
background-color: #357ebd; }
|
148
|
-
|
149
|
-
.navbar-default {
|
150
|
-
background-image: -webkit-linear-gradient(top, white 0%, #f8f8f8 100%);
|
151
|
-
background-image: -o-linear-gradient(top, white 0%, #f8f8f8 100%);
|
152
|
-
background-image: linear-gradient(to bottom, white 0%, #f8f8f8 100%);
|
153
|
-
background-repeat: repeat-x;
|
154
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFF8F8F8', GradientType=0);
|
155
|
-
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
156
|
-
border-radius: 4px;
|
157
|
-
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 5px rgba(0, 0, 0, 0.075);
|
158
|
-
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 5px rgba(0, 0, 0, 0.075); }
|
159
|
-
.navbar-default .navbar-nav > .active > a {
|
160
|
-
background-image: -webkit-linear-gradient(top, #ebebeb 0%, #f3f3f3 100%);
|
161
|
-
background-image: -o-linear-gradient(top, #ebebeb 0%, #f3f3f3 100%);
|
162
|
-
background-image: linear-gradient(to bottom, #ebebeb 0%, #f3f3f3 100%);
|
163
|
-
background-repeat: repeat-x;
|
164
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEBEBEB', endColorstr='#FFF3F3F3', GradientType=0);
|
165
|
-
-webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, 0.075);
|
166
|
-
box-shadow: inset 0 3px 9px rgba(0, 0, 0, 0.075); }
|
167
|
-
|
168
|
-
.navbar-brand,
|
169
|
-
.navbar-nav > li > a {
|
170
|
-
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25); }
|
171
|
-
|
172
|
-
.navbar-inverse {
|
173
|
-
background-image: -webkit-linear-gradient(top, #3c3c3c 0%, #222222 100%);
|
174
|
-
background-image: -o-linear-gradient(top, #3c3c3c 0%, #222222 100%);
|
175
|
-
background-image: linear-gradient(to bottom, #3c3c3c 0%, #222222 100%);
|
176
|
-
background-repeat: repeat-x;
|
177
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF3C3C3C', endColorstr='#FF222222', GradientType=0);
|
178
|
-
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); }
|
179
|
-
.navbar-inverse .navbar-nav > .active > a {
|
180
|
-
background-image: -webkit-linear-gradient(top, #222222 0%, #282828 100%);
|
181
|
-
background-image: -o-linear-gradient(top, #222222 0%, #282828 100%);
|
182
|
-
background-image: linear-gradient(to bottom, #222222 0%, #282828 100%);
|
183
|
-
background-repeat: repeat-x;
|
184
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF222222', endColorstr='#FF282828', GradientType=0);
|
185
|
-
-webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, 0.25);
|
186
|
-
box-shadow: inset 0 3px 9px rgba(0, 0, 0, 0.25); }
|
187
|
-
.navbar-inverse .navbar-brand,
|
188
|
-
.navbar-inverse .navbar-nav > li > a {
|
189
|
-
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); }
|
190
|
-
|
191
|
-
.navbar-static-top,
|
192
|
-
.navbar-fixed-top,
|
193
|
-
.navbar-fixed-bottom {
|
194
|
-
border-radius: 0; }
|
195
|
-
|
196
|
-
.alert {
|
197
|
-
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
|
198
|
-
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05);
|
199
|
-
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05); }
|
200
|
-
|
201
|
-
.alert-success {
|
202
|
-
background-image: -webkit-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);
|
203
|
-
background-image: -o-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);
|
204
|
-
background-image: linear-gradient(to bottom, #dff0d8 0%, #c8e5bc 100%);
|
205
|
-
background-repeat: repeat-x;
|
206
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFDFF0D8', endColorstr='#FFC8E5BC', GradientType=0);
|
207
|
-
border-color: #b2dba1; }
|
208
|
-
|
209
|
-
.alert-info {
|
210
|
-
background-image: -webkit-linear-gradient(top, #d9edf7 0%, #b9def0 100%);
|
211
|
-
background-image: -o-linear-gradient(top, #d9edf7 0%, #b9def0 100%);
|
212
|
-
background-image: linear-gradient(to bottom, #d9edf7 0%, #b9def0 100%);
|
213
|
-
background-repeat: repeat-x;
|
214
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFD9EDF7', endColorstr='#FFB9DEF0', GradientType=0);
|
215
|
-
border-color: #9acfea; }
|
216
|
-
|
217
|
-
.alert-warning {
|
218
|
-
background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);
|
219
|
-
background-image: -o-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);
|
220
|
-
background-image: linear-gradient(to bottom, #fcf8e3 0%, #f8efc0 100%);
|
221
|
-
background-repeat: repeat-x;
|
222
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFCF8E3', endColorstr='#FFF8EFC0', GradientType=0);
|
223
|
-
border-color: #f5e79e; }
|
224
|
-
|
225
|
-
.alert-danger {
|
226
|
-
background-image: -webkit-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);
|
227
|
-
background-image: -o-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);
|
228
|
-
background-image: linear-gradient(to bottom, #f2dede 0%, #e7c3c3 100%);
|
229
|
-
background-repeat: repeat-x;
|
230
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFF2DEDE', endColorstr='#FFE7C3C3', GradientType=0);
|
231
|
-
border-color: #dca7a7; }
|
232
|
-
|
233
|
-
.progress {
|
234
|
-
background-image: -webkit-linear-gradient(top, #ebebeb 0%, whitesmoke 100%);
|
235
|
-
background-image: -o-linear-gradient(top, #ebebeb 0%, whitesmoke 100%);
|
236
|
-
background-image: linear-gradient(to bottom, #ebebeb 0%, whitesmoke 100%);
|
237
|
-
background-repeat: repeat-x;
|
238
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEBEBEB', endColorstr='#FFF5F5F5', GradientType=0); }
|
239
|
-
|
240
|
-
.progress-bar {
|
241
|
-
background-image: -webkit-linear-gradient(top, #428bca 0%, #3071a9 100%);
|
242
|
-
background-image: -o-linear-gradient(top, #428bca 0%, #3071a9 100%);
|
243
|
-
background-image: linear-gradient(to bottom, #428bca 0%, #3071a9 100%);
|
244
|
-
background-repeat: repeat-x;
|
245
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF428BCA', endColorstr='#FF3071A9', GradientType=0); }
|
246
|
-
|
247
|
-
.progress-bar-success {
|
248
|
-
background-image: -webkit-linear-gradient(top, #5cb85c 0%, #449d44 100%);
|
249
|
-
background-image: -o-linear-gradient(top, #5cb85c 0%, #449d44 100%);
|
250
|
-
background-image: linear-gradient(to bottom, #5cb85c 0%, #449d44 100%);
|
251
|
-
background-repeat: repeat-x;
|
252
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF5CB85C', endColorstr='#FF449D44', GradientType=0); }
|
253
|
-
|
254
|
-
.progress-bar-info {
|
255
|
-
background-image: -webkit-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);
|
256
|
-
background-image: -o-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);
|
257
|
-
background-image: linear-gradient(to bottom, #5bc0de 0%, #31b0d5 100%);
|
258
|
-
background-repeat: repeat-x;
|
259
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF5BC0DE', endColorstr='#FF31B0D5', GradientType=0); }
|
260
|
-
|
261
|
-
.progress-bar-warning {
|
262
|
-
background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);
|
263
|
-
background-image: -o-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);
|
264
|
-
background-image: linear-gradient(to bottom, #f0ad4e 0%, #ec971f 100%);
|
265
|
-
background-repeat: repeat-x;
|
266
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFF0AD4E', endColorstr='#FFEC971F', GradientType=0); }
|
267
|
-
|
268
|
-
.progress-bar-danger {
|
269
|
-
background-image: -webkit-linear-gradient(top, #d9534f 0%, #c9302c 100%);
|
270
|
-
background-image: -o-linear-gradient(top, #d9534f 0%, #c9302c 100%);
|
271
|
-
background-image: linear-gradient(to bottom, #d9534f 0%, #c9302c 100%);
|
272
|
-
background-repeat: repeat-x;
|
273
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFD9534F', endColorstr='#FFC9302C', GradientType=0); }
|
274
|
-
|
275
|
-
.list-group {
|
276
|
-
border-radius: 4px;
|
277
|
-
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
|
278
|
-
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075); }
|
279
|
-
|
280
|
-
.list-group-item.active,
|
281
|
-
.list-group-item.active:hover,
|
282
|
-
.list-group-item.active:focus {
|
283
|
-
text-shadow: 0 -1px 0 #3071a9;
|
284
|
-
background-image: -webkit-linear-gradient(top, #428bca 0%, #3278b3 100%);
|
285
|
-
background-image: -o-linear-gradient(top, #428bca 0%, #3278b3 100%);
|
286
|
-
background-image: linear-gradient(to bottom, #428bca 0%, #3278b3 100%);
|
287
|
-
background-repeat: repeat-x;
|
288
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF428BCA', endColorstr='#FF3278B3', GradientType=0);
|
289
|
-
border-color: #3278b3; }
|
290
|
-
|
291
|
-
.panel {
|
292
|
-
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
|
293
|
-
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
|
294
|
-
|
295
|
-
.panel-default > .panel-heading {
|
296
|
-
background-image: -webkit-linear-gradient(top, whitesmoke 0%, #e8e8e8 100%);
|
297
|
-
background-image: -o-linear-gradient(top, whitesmoke 0%, #e8e8e8 100%);
|
298
|
-
background-image: linear-gradient(to bottom, whitesmoke 0%, #e8e8e8 100%);
|
299
|
-
background-repeat: repeat-x;
|
300
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFF5F5F5', endColorstr='#FFE8E8E8', GradientType=0); }
|
301
|
-
|
302
|
-
.panel-primary > .panel-heading {
|
303
|
-
background-image: -webkit-linear-gradient(top, #428bca 0%, #357ebd 100%);
|
304
|
-
background-image: -o-linear-gradient(top, #428bca 0%, #357ebd 100%);
|
305
|
-
background-image: linear-gradient(to bottom, #428bca 0%, #357ebd 100%);
|
306
|
-
background-repeat: repeat-x;
|
307
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF428BCA', endColorstr='#FF357EBD', GradientType=0); }
|
308
|
-
|
309
|
-
.panel-success > .panel-heading {
|
310
|
-
background-image: -webkit-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);
|
311
|
-
background-image: -o-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);
|
312
|
-
background-image: linear-gradient(to bottom, #dff0d8 0%, #d0e9c6 100%);
|
313
|
-
background-repeat: repeat-x;
|
314
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFDFF0D8', endColorstr='#FFD0E9C6', GradientType=0); }
|
315
|
-
|
316
|
-
.panel-info > .panel-heading {
|
317
|
-
background-image: -webkit-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);
|
318
|
-
background-image: -o-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);
|
319
|
-
background-image: linear-gradient(to bottom, #d9edf7 0%, #c4e3f3 100%);
|
320
|
-
background-repeat: repeat-x;
|
321
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFD9EDF7', endColorstr='#FFC4E3F3', GradientType=0); }
|
322
|
-
|
323
|
-
.panel-warning > .panel-heading {
|
324
|
-
background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);
|
325
|
-
background-image: -o-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);
|
326
|
-
background-image: linear-gradient(to bottom, #fcf8e3 0%, #faf2cc 100%);
|
327
|
-
background-repeat: repeat-x;
|
328
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFCF8E3', endColorstr='#FFFAF2CC', GradientType=0); }
|
329
|
-
|
330
|
-
.panel-danger > .panel-heading {
|
331
|
-
background-image: -webkit-linear-gradient(top, #f2dede 0%, #ebcccc 100%);
|
332
|
-
background-image: -o-linear-gradient(top, #f2dede 0%, #ebcccc 100%);
|
333
|
-
background-image: linear-gradient(to bottom, #f2dede 0%, #ebcccc 100%);
|
334
|
-
background-repeat: repeat-x;
|
335
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFF2DEDE', endColorstr='#FFEBCCCC', GradientType=0); }
|
336
|
-
|
337
|
-
.well {
|
338
|
-
background-image: -webkit-linear-gradient(top, #e8e8e8 0%, whitesmoke 100%);
|
339
|
-
background-image: -o-linear-gradient(top, #e8e8e8 0%, whitesmoke 100%);
|
340
|
-
background-image: linear-gradient(to bottom, #e8e8e8 0%, whitesmoke 100%);
|
341
|
-
background-repeat: repeat-x;
|
342
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFE8E8E8', endColorstr='#FFF5F5F5', GradientType=0);
|
343
|
-
border-color: gainsboro;
|
344
|
-
-webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 0 rgba(255, 255, 255, 0.1);
|
345
|
-
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 0 rgba(255, 255, 255, 0.1); }
|
@@ -1,5 +0,0 @@
|
|
1
|
-
- flash.each do |name, msg|
|
2
|
-
- next unless msg.is_a?(String)
|
3
|
-
div class='alert alert-#{name.to_s =~ /notice/ ? 'success' : 'error'}'
|
4
|
-
button.close type='button' data-dismiss='alert': i.icon-remove ×
|
5
|
-
= content_tag :div, name.to_s.end_with?('_html') ? msg.html_safe : h(msg).gsub("\n", "<br>").html_safe, id: "flash_#{name.to_s.sub(/_html$/, '')}"
|
@@ -1,12 +0,0 @@
|
|
1
|
-
doctype html
|
2
|
-
= "\n"
|
3
|
-
html
|
4
|
-
head
|
5
|
-
title = t('.head_title')
|
6
|
-
= stylesheet_link_tag 'rails_email_preview/application'
|
7
|
-
= javascript_include_tag 'rails_email_preview/application'
|
8
|
-
= yield(:head)
|
9
|
-
body
|
10
|
-
#content.container-fluid
|
11
|
-
= render 'layouts/rails_email_preview/flash_notices'
|
12
|
-
= yield
|
@@ -1,28 +0,0 @@
|
|
1
|
-
doctype html
|
2
|
-
= "\n"
|
3
|
-
html
|
4
|
-
head
|
5
|
-
css:
|
6
|
-
#message_body, #raw_message {
|
7
|
-
font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
|
8
|
-
word-break: break-word;
|
9
|
-
}
|
10
|
-
#error {
|
11
|
-
padding: 15px;
|
12
|
-
margin-bottom: 20px;
|
13
|
-
border: 1px solid transparent;
|
14
|
-
border-radius: 4px;
|
15
|
-
background-color: #f2dede;
|
16
|
-
border-color: #ebccd1;
|
17
|
-
color: #a94442;
|
18
|
-
}
|
19
|
-
body {
|
20
|
-
background-color:white;
|
21
|
-
}
|
22
|
-
javascript:
|
23
|
-
document.addEventListener('DOMContentLoaded', window.parent.rep.iframeOnDOMContentLoaded, true);
|
24
|
-
|
25
|
-
= yield(:head)
|
26
|
-
body
|
27
|
-
#content.container
|
28
|
-
= yield
|
@@ -1,8 +0,0 @@
|
|
1
|
-
div class=rep_style[:panel_class]
|
2
|
-
div class=rep_style[:panel_body_class]
|
3
|
-
div class=rep_style[:row_class]
|
4
|
-
#email-headers data-url=rails_email_preview.rep_email_headers_path(preview_params) class=rep_col_class(8)
|
5
|
-
/ content updated by JS on demand from the iframe
|
6
|
-
= render 'rails_email_preview/emails/headers', mail: @mail
|
7
|
-
.text-right class=rep_col_class(4)
|
8
|
-
= render 'nav'
|
File without changes
|
@@ -1,13 +0,0 @@
|
|
1
|
-
-# Locale, format and actions
|
2
|
-
= with_show_hook :nav do
|
3
|
-
|
4
|
-
.rep-email-options.text-right
|
5
|
-
- if I18n.available_locales.length > 1
|
6
|
-
= with_show_hook :nav_i18n do
|
7
|
-
= render 'rails_email_preview/emails/i18n_nav'
|
8
|
-
= with_show_hook :nav_format do
|
9
|
-
= render 'rails_email_preview/emails/format_nav'
|
10
|
-
- if RailsEmailPreview.enable_send_email
|
11
|
-
= with_show_hook :nav_send do
|
12
|
-
= render 'rails_email_preview/emails/send_form'
|
13
|
-
|