oxen_user 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +7 -0
  2. data/.envrc +0 -0
  3. data/.gitignore +10 -0
  4. data/.rspec +3 -0
  5. data/.ruby-version +1 -0
  6. data/.travis.yml +3 -0
  7. data/CODE_OF_CONDUCT.md +13 -0
  8. data/Gemfile +7 -0
  9. data/Guardfile +77 -0
  10. data/LICENSE.txt +21 -0
  11. data/README.md +39 -0
  12. data/Rakefile +10 -0
  13. data/app/assets/javascripts/oxen_user.js +3 -0
  14. data/app/assets/javascripts/pw_strength.js.coffee +24 -0
  15. data/app/assets/javascripts/zxcvbn.js +43 -0
  16. data/app/controllers/oxen/invitations_controller.rb +66 -0
  17. data/app/controllers/oxen/users_controller.rb +96 -0
  18. data/app/helpers/oxen/users_helper.rb +8 -0
  19. data/app/models/ox_user.rb +89 -0
  20. data/app/policies/oxen/user_policy.rb +48 -0
  21. data/app/views/devise/confirmations/new.html.haml +13 -0
  22. data/app/views/devise/mailer/eksempel +10 -0
  23. data/app/views/devise/mailer/invitation_instructions.html.erb +1087 -0
  24. data/app/views/devise/passwords/edit.html.haml +21 -0
  25. data/app/views/devise/passwords/new.html.haml +10 -0
  26. data/app/views/devise/registrations/edit.html.haml +51 -0
  27. data/app/views/devise/registrations/new.html.haml +32 -0
  28. data/app/views/devise/sessions/new.html.haml +25 -0
  29. data/app/views/devise/shared/_links.html.haml +24 -0
  30. data/app/views/devise/unlocks/new.html.haml +13 -0
  31. data/app/views/oxen/users/_account_user.html.haml +14 -0
  32. data/app/views/oxen/users/_account_users.html.haml +15 -0
  33. data/app/views/oxen/users/_form.html.haml +41 -0
  34. data/app/views/oxen/users/_user_form.html.erb +12 -0
  35. data/app/views/oxen/users/confirm.html.haml +4 -0
  36. data/app/views/oxen/users/invitations/_new.html.haml +38 -0
  37. data/app/views/oxen/users/invitations/create.html.haml +5 -0
  38. data/app/views/oxen/users/invitations/edit.html.haml +22 -0
  39. data/bin/console +14 -0
  40. data/bin/setup +7 -0
  41. data/config/initializers/devise.rb +360 -0
  42. data/config/initializers/devise_permitted_parameters.rb +17 -0
  43. data/config/locales/devise.da.yml +58 -0
  44. data/config/locales/devise.en.yml +61 -0
  45. data/config/locales/devise_invitable.da.yml +26 -0
  46. data/config/locales/devise_invitable.en.yml +23 -0
  47. data/config/routes.rb +51 -0
  48. data/lib/generators/oxen_user/account_generator.rb +26 -0
  49. data/lib/generators/oxen_user/templates/user.rb +10 -0
  50. data/lib/generators/oxen_user/templates/user_permission.rb +14 -0
  51. data/lib/oxen_user/engine.rb +17 -0
  52. data/lib/oxen_user/version.rb +3 -0
  53. data/lib/oxen_user.rb +10 -0
  54. data/oxen_user.gemspec +57 -0
  55. metadata +377 -0
@@ -0,0 +1,1087 @@
1
+ <html><head>
2
+ <title></title>
3
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
4
+ <style type="text/css">
5
+ .font-sans-serif {
6
+ font-family: sans-serif;
7
+ }
8
+ .font-avenir {
9
+ font-family: Avenir, sans-serif;
10
+ }
11
+ .mso .wrapper .font-avenir {
12
+ font-family: sans-serif !important;
13
+ }
14
+ .font-lato {
15
+ font-family: Lato, Tahoma, sans-serif;
16
+ }
17
+ .mso .wrapper .font-lato {
18
+ font-family: Tahoma, sans-serif !important;
19
+ }
20
+ .font-cabin {
21
+ font-family: Cabin, Avenir, sans-serif;
22
+ }
23
+ .mso .wrapper .font-cabin {
24
+ font-family: sans-serif !important;
25
+ }
26
+ .font-open-Sans {
27
+ font-family: "Open Sans", sans-serif;
28
+ }
29
+ .mso .wrapper .font-open-Sans {
30
+ font-family: sans-serif !important;
31
+ }
32
+ .font-roboto {
33
+ font-family: Roboto, Tahoma, sans-serif;
34
+ }
35
+ .mso .wrapper .font-roboto {
36
+ font-family: Tahoma, sans-serif !important;
37
+ }
38
+ .font-ubuntu {
39
+ font-family: Ubuntu, sans-serif;
40
+ }
41
+ .mso .wrapper .font-ubuntu {
42
+ font-family: sans-serif !important;
43
+ }
44
+ .font-pt-sans {
45
+ font-family: "PT Sans", "Trebuchet MS", sans-serif;
46
+ }
47
+ .mso .wrapper .font-pt-sans {
48
+ font-family: "Trebuchet MS", sans-serif !important;
49
+ }
50
+ .font-georgia {
51
+ font-family: Georgia, serif;
52
+ }
53
+ .font-merriweather {
54
+ font-family: Merriweather, Georgia, serif;
55
+ }
56
+ .mso .wrapper .font-merriweather {
57
+ font-family: Georgia, serif !important;
58
+ }
59
+ .font-bitter {
60
+ font-family: Bitter, Georgia, serif;
61
+ }
62
+ .mso .wrapper .font-bitter {
63
+ font-family: Georgia, serif !important;
64
+ }
65
+ .font-pt-serif {
66
+ font-family: "PT Serif", Georgia, serif;
67
+ }
68
+ .mso .wrapper .font-pt-serif {
69
+ font-family: Georgia, serif !important;
70
+ }
71
+ .font-pompiere {
72
+ font-family: Pompiere, "Trebuchet MS", sans-serif;
73
+ }
74
+ .mso .wrapper .font-pompiere {
75
+ font-family: "Trebuchet MS", sans-serif !important;
76
+ }
77
+ .font-roboto-slab {
78
+ font-family: "Roboto Slab", Georgia, serif;
79
+ }
80
+ .mso .wrapper .font-roboto-slab {
81
+ font-family: Georgia, serif !important;
82
+ }
83
+ @media only screen and (max-width: 620px) {
84
+ .wrapper .column .size-8 {
85
+ font-size: 8px !important;
86
+ line-height: 14px !important;
87
+ }
88
+ .wrapper .column .size-9 {
89
+ font-size: 9px !important;
90
+ line-height: 16px !important;
91
+ }
92
+ .wrapper .column .size-10 {
93
+ font-size: 10px !important;
94
+ line-height: 18px !important;
95
+ }
96
+ .wrapper .column .size-11 {
97
+ font-size: 11px !important;
98
+ line-height: 19px !important;
99
+ }
100
+ .wrapper .column .size-12 {
101
+ font-size: 12px !important;
102
+ line-height: 19px !important;
103
+ }
104
+ .wrapper .column .size-13 {
105
+ font-size: 13px !important;
106
+ line-height: 21px !important;
107
+ }
108
+ .wrapper .column .size-14 {
109
+ font-size: 14px !important;
110
+ line-height: 21px !important;
111
+ }
112
+ .wrapper .column .size-15 {
113
+ font-size: 15px !important;
114
+ line-height: 23px !important;
115
+ }
116
+ .wrapper .column .size-16 {
117
+ font-size: 16px !important;
118
+ line-height: 24px !important;
119
+ }
120
+ .wrapper .column .size-17 {
121
+ font-size: 17px !important;
122
+ line-height: 26px !important;
123
+ }
124
+ .wrapper .column .size-18 {
125
+ font-size: 17px !important;
126
+ line-height: 26px !important;
127
+ }
128
+ .wrapper .column .size-20 {
129
+ font-size: 17px !important;
130
+ line-height: 26px !important;
131
+ }
132
+ .wrapper .column .size-22 {
133
+ font-size: 18px !important;
134
+ line-height: 26px !important;
135
+ }
136
+ .wrapper .column .size-24 {
137
+ font-size: 20px !important;
138
+ line-height: 28px !important;
139
+ }
140
+ .wrapper .column .size-26 {
141
+ font-size: 22px !important;
142
+ line-height: 31px !important;
143
+ }
144
+ .wrapper .column .size-28 {
145
+ font-size: 24px !important;
146
+ line-height: 32px !important;
147
+ }
148
+ .wrapper .column .size-30 {
149
+ font-size: 26px !important;
150
+ line-height: 34px !important;
151
+ }
152
+ .wrapper .column .size-32 {
153
+ font-size: 28px !important;
154
+ line-height: 36px !important;
155
+ }
156
+ .wrapper .column .size-34 {
157
+ font-size: 30px !important;
158
+ line-height: 38px !important;
159
+ }
160
+ .wrapper .column .size-36 {
161
+ font-size: 30px !important;
162
+ line-height: 38px !important;
163
+ }
164
+ .wrapper .column .size-40 {
165
+ font-size: 32px !important;
166
+ line-height: 40px !important;
167
+ }
168
+ .wrapper .column .size-44 {
169
+ font-size: 34px !important;
170
+ line-height: 43px !important;
171
+ }
172
+ .wrapper .column .size-48 {
173
+ font-size: 36px !important;
174
+ line-height: 43px !important;
175
+ }
176
+ .wrapper .column .size-56 {
177
+ font-size: 40px !important;
178
+ line-height: 47px !important;
179
+ }
180
+ .wrapper .column .size-64 {
181
+ font-size: 44px !important;
182
+ line-height: 50px !important;
183
+ }
184
+ }
185
+ body {
186
+ margin: 0;
187
+ padding: 0;
188
+ min-width: 100%;
189
+ }
190
+ .mso body {
191
+ mso-line-height-rule: exactly;
192
+ }
193
+ .no-padding .wrapper .column .column-top,
194
+ .no-padding .wrapper .column .column-bottom {
195
+ font-size: 0px;
196
+ line-height: 0px;
197
+ }
198
+ table {
199
+ border-collapse: collapse;
200
+ border-spacing: 0;
201
+ }
202
+ td {
203
+ padding: 0;
204
+ vertical-align: top;
205
+ }
206
+ .spacer,
207
+ .border {
208
+ font-size: 1px;
209
+ line-height: 1px;
210
+ }
211
+ .spacer {
212
+ width: 100%;
213
+ }
214
+ img {
215
+ border: 0;
216
+ -ms-interpolation-mode: bicubic;
217
+ }
218
+ .image {
219
+ font-size: 12px;
220
+ mso-line-height-rule: at-least;
221
+ }
222
+ .image img {
223
+ display: block;
224
+ }
225
+ .logo {
226
+ mso-line-height-rule: at-least;
227
+ }
228
+ .logo img {
229
+ display: block;
230
+ }
231
+ strong {
232
+ font-weight: bold;
233
+ }
234
+ h1,
235
+ h2,
236
+ h3,
237
+ p,
238
+ ol,
239
+ ul,
240
+ blockquote,
241
+ .image {
242
+ font-style: normal;
243
+ font-weight: 400;
244
+ }
245
+ ol,
246
+ ul,
247
+ li {
248
+ padding-left: 0;
249
+ }
250
+ blockquote {
251
+ Margin-left: 0;
252
+ Margin-right: 0;
253
+ padding-right: 0;
254
+ }
255
+ .column-top,
256
+ .column-bottom {
257
+ font-size: 32px;
258
+ line-height: 32px;
259
+ transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
260
+ transition-duration: 150ms;
261
+ transition-property: all;
262
+ }
263
+ .half-padding .column .column-top,
264
+ .half-padding .column .column-bottom {
265
+ font-size: 16px;
266
+ line-height: 16px;
267
+ }
268
+ .column {
269
+ text-align: left;
270
+ }
271
+ .contents {
272
+ table-layout: fixed;
273
+ width: 100%;
274
+ }
275
+ .padded {
276
+ padding-left: 32px;
277
+ padding-right: 32px;
278
+ word-break: break-word;
279
+ word-wrap: break-word;
280
+ }
281
+ .wrapper {
282
+ display: table;
283
+ table-layout: fixed;
284
+ width: 100%;
285
+ min-width: 620px;
286
+ -webkit-text-size-adjust: 100%;
287
+ -ms-text-size-adjust: 100%;
288
+ }
289
+ .wrapper a {
290
+ transition: opacity 0.2s ease-in;
291
+ }
292
+ table.wrapper {
293
+ table-layout: fixed;
294
+ }
295
+ .one-col,
296
+ .two-col,
297
+ .three-col {
298
+ Margin-left: auto;
299
+ Margin-right: auto;
300
+ width: 600px;
301
+ }
302
+ .centered {
303
+ Margin-left: auto;
304
+ Margin-right: auto;
305
+ }
306
+ .btn a {
307
+ border-radius: 3px;
308
+ display: inline-block;
309
+ font-size: 14px;
310
+ font-weight: 700;
311
+ line-height: 24px;
312
+ padding: 13px 35px 12px 35px;
313
+ text-align: center;
314
+ text-decoration: none !important;
315
+ }
316
+ .btn a:hover {
317
+ opacity: 0.8;
318
+ }
319
+ .two-col .btn a {
320
+ font-size: 12px;
321
+ line-height: 22px;
322
+ padding: 10px 28px;
323
+ }
324
+ .three-col .btn a,
325
+ .wrapper .narrower .btn a {
326
+ font-size: 11px;
327
+ line-height: 19px;
328
+ padding: 6px 18px 5px 18px;
329
+ }
330
+ @media only screen and (max-width: 620px) {
331
+ .btn a {
332
+ display: block !important;
333
+ font-size: 14px !important;
334
+ line-height: 24px !important;
335
+ padding: 13px 10px 12px 10px !important;
336
+ }
337
+ }
338
+ .two-col .column {
339
+ width: 300px;
340
+ }
341
+ .two-col .first .padded {
342
+ padding-left: 32px;
343
+ padding-right: 16px;
344
+ }
345
+ .two-col .second .padded {
346
+ padding-left: 16px;
347
+ padding-right: 32px;
348
+ }
349
+ .three-col .column {
350
+ width: 200px;
351
+ }
352
+ .three-col .first .padded {
353
+ padding-left: 32px;
354
+ padding-right: 8px;
355
+ }
356
+ .three-col .second .padded {
357
+ padding-left: 20px;
358
+ padding-right: 20px;
359
+ }
360
+ .three-col .third .padded {
361
+ padding-left: 8px;
362
+ padding-right: 32px;
363
+ }
364
+ .wider {
365
+ width: 400px;
366
+ }
367
+ .narrower {
368
+ width: 200px;
369
+ }
370
+ @media only screen and (min-width: 0) {
371
+ .wrapper {
372
+ text-rendering: optimizeLegibility;
373
+ }
374
+ }
375
+ @media only screen and (max-width: 620px) {
376
+ [class=wrapper] {
377
+ min-width: 320px !important;
378
+ width: 100% !important;
379
+ }
380
+ [class=wrapper] .one-col,
381
+ [class=wrapper] .two-col,
382
+ [class=wrapper] .three-col {
383
+ width: 320px !important;
384
+ }
385
+ [class=wrapper] .column,
386
+ [class=wrapper] .gutter {
387
+ display: block;
388
+ float: left;
389
+ width: 320px !important;
390
+ }
391
+ [class=wrapper] .padded {
392
+ padding-left: 20px !important;
393
+ padding-right: 20px !important;
394
+ }
395
+ [class=wrapper] .block {
396
+ display: block !important;
397
+ }
398
+ [class=wrapper] .hide {
399
+ display: none !important;
400
+ }
401
+ [class=wrapper] .image img {
402
+ height: auto !important;
403
+ width: 100% !important;
404
+ }
405
+ }
406
+ .footer {
407
+ width: 100%;
408
+ }
409
+ .footer .inner {
410
+ padding: 58px 0 29px 0;
411
+ width: 600px;
412
+ }
413
+ .footer .left td,
414
+ .footer .right td {
415
+ font-size: 12px;
416
+ line-height: 22px;
417
+ }
418
+ .footer .left td {
419
+ text-align: left;
420
+ width: 400px;
421
+ }
422
+ .footer .right td {
423
+ max-width: 200px;
424
+ mso-line-height-rule: at-least;
425
+ }
426
+ .footer .links {
427
+ line-height: 26px;
428
+ Margin-bottom: 26px;
429
+ mso-line-height-rule: at-least;
430
+ }
431
+ .footer .links a:hover {
432
+ opacity: 0.8;
433
+ }
434
+ .footer .links img {
435
+ vertical-align: middle;
436
+ }
437
+ .footer .address {
438
+ Margin-bottom: 18px;
439
+ }
440
+ .footer .campaign {
441
+ Margin-bottom: 18px;
442
+ }
443
+ .footer .campaign a {
444
+ font-weight: bold;
445
+ text-decoration: none;
446
+ }
447
+ .footer .sharing div {
448
+ Margin-bottom: 5px;
449
+ }
450
+ .wrapper .footer .fblike,
451
+ .wrapper .footer .tweet,
452
+ .wrapper .footer .linkedinshare,
453
+ .wrapper .footer .forwardtoafriend {
454
+ background-repeat: no-repeat;
455
+ background-size: 200px 56px;
456
+ border-radius: 2px;
457
+ color: #ffffff;
458
+ display: block;
459
+ font-size: 11px;
460
+ font-weight: bold;
461
+ line-height: 11px;
462
+ padding: 8px 11px 7px 28px;
463
+ text-align: left;
464
+ text-decoration: none;
465
+ }
466
+ .wrapper .footer .fblike:hover,
467
+ .wrapper .footer .tweet:hover,
468
+ .wrapper .footer .linkedinshare:hover,
469
+ .wrapper .footer .forwardtoafriend:hover {
470
+ color: #ffffff !important;
471
+ opacity: 0.8;
472
+ }
473
+ @media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
474
+ }
475
+ @media only screen and (max-width: 620px) {
476
+ .footer {
477
+ width: 320px !important;
478
+ }
479
+ .footer td {
480
+ display: none;
481
+ }
482
+ .footer .inner,
483
+ .footer .inner td {
484
+ display: block;
485
+ text-align: center !important;
486
+ max-width: 320px !important;
487
+ width: 320px !important;
488
+ }
489
+ .footer .sharing {
490
+ Margin-bottom: 40px;
491
+ }
492
+ .footer .sharing div {
493
+ display: inline-block;
494
+ }
495
+ .footer .fblike,
496
+ .footer .tweet,
497
+ .footer .linkedinshare,
498
+ .footer .forwardtoafriend {
499
+ display: inline-block !important;
500
+ }
501
+ }
502
+ .wrapper h1,
503
+ .wrapper h2,
504
+ .wrapper h3,
505
+ .wrapper p,
506
+ .wrapper ol,
507
+ .wrapper ul,
508
+ .wrapper li,
509
+ .wrapper blockquote,
510
+ .image,
511
+ .btn,
512
+ .divider {
513
+ Margin-bottom: 0;
514
+ Margin-top: 0;
515
+ }
516
+ .wrapper .column h1 + * {
517
+ Margin-top: 20px;
518
+ }
519
+ .wrapper .column h2 + * {
520
+ Margin-top: 16px;
521
+ }
522
+ .wrapper .column h3 + * {
523
+ Margin-top: 12px;
524
+ }
525
+ .wrapper .column p + *,
526
+ .wrapper .column ol + *,
527
+ .wrapper .column ul + *,
528
+ .wrapper .column blockquote + *,
529
+ .image + .contents td > :first-child {
530
+ Margin-top: 24px;
531
+ }
532
+ .contents:nth-last-child(n+3) h1:last-child,
533
+ .no-padding .contents:nth-last-child(n+2) h1:last-child {
534
+ Margin-bottom: 20px;
535
+ }
536
+ .contents:nth-last-child(n+3) h2:last-child,
537
+ .no-padding .contents:nth-last-child(n+2) h2:last-child {
538
+ Margin-bottom: 16px;
539
+ }
540
+ .contents:nth-last-child(n+3) h3:last-child,
541
+ .no-padding .contents:nth-last-child(n+2) h3:last-child {
542
+ Margin-bottom: 12px;
543
+ }
544
+ .contents:nth-last-child(n+3) p:last-child,
545
+ .no-padding .contents:nth-last-child(n+2) p:last-child,
546
+ .contents:nth-last-child(n+3) ol:last-child,
547
+ .no-padding .contents:nth-last-child(n+2) ol:last-child,
548
+ .contents:nth-last-child(n+3) ul:last-child,
549
+ .no-padding .contents:nth-last-child(n+2) ul:last-child,
550
+ .contents:nth-last-child(n+3) blockquote:last-child,
551
+ .no-padding .contents:nth-last-child(n+2) blockquote:last-child,
552
+ .contents:nth-last-child(n+3) .image,
553
+ .no-padding .contents:nth-last-child(n+2) .image,
554
+ .contents:nth-last-child(n+3) .divider,
555
+ .no-padding .contents:nth-last-child(n+2) .divider,
556
+ .contents:nth-last-child(n+3) .btn,
557
+ .no-padding .contents:nth-last-child(n+2) .btn {
558
+ Margin-bottom: 24px;
559
+ }
560
+ .two-col .column p + *,
561
+ .wider .column p + *,
562
+ .two-col .column ol + *,
563
+ .wider .column ol + *,
564
+ .two-col .column ul + *,
565
+ .wider .column ul + *,
566
+ .two-col .column blockquote + *,
567
+ .wider .column blockquote + *,
568
+ .two-col .image + .contents td > :first-child,
569
+ .wider .image + .contents td > :first-child {
570
+ Margin-top: 21px;
571
+ }
572
+ .two-col .contents:nth-last-child(n+3) p:last-child,
573
+ .wider .contents:nth-last-child(n+3) p:last-child,
574
+ .no-padding .two-col .contents:nth-last-child(n+2) p:last-child,
575
+ .no-padding .wider .contents:nth-last-child(n+2) p:last-child,
576
+ .two-col .contents:nth-last-child(n+3) ol:last-child,
577
+ .wider .contents:nth-last-child(n+3) ol:last-child,
578
+ .no-padding .two-col .contents:nth-last-child(n+2) ol:last-child,
579
+ .no-padding .wider .contents:nth-last-child(n+2) ol:last-child,
580
+ .two-col .contents:nth-last-child(n+3) ul:last-child,
581
+ .wider .contents:nth-last-child(n+3) ul:last-child,
582
+ .no-padding .two-col .contents:nth-last-child(n+2) ul:last-child,
583
+ .no-padding .wider .contents:nth-last-child(n+2) ul:last-child,
584
+ .two-col .contents:nth-last-child(n+3) blockquote:last-child,
585
+ .wider .contents:nth-last-child(n+3) blockquote:last-child,
586
+ .no-padding .two-col .contents:nth-last-child(n+2) blockquote:last-child,
587
+ .no-padding .wider .contents:nth-last-child(n+2) blockquote:last-child,
588
+ .two-col .contents:nth-last-child(n+3) .image,
589
+ .wider .contents:nth-last-child(n+3) .image,
590
+ .no-padding .two-col .contents:nth-last-child(n+2) .image,
591
+ .no-padding .wider .contents:nth-last-child(n+2) .image,
592
+ .two-col .contents:nth-last-child(n+3) .divider,
593
+ .wider .contents:nth-last-child(n+3) .divider,
594
+ .no-padding .two-col .contents:nth-last-child(n+2) .divider,
595
+ .no-padding .wider .contents:nth-last-child(n+2) .divider,
596
+ .two-col .contents:nth-last-child(n+3) .btn,
597
+ .wider .contents:nth-last-child(n+3) .btn,
598
+ .no-padding .two-col .contents:nth-last-child(n+2) .btn,
599
+ .no-padding .wider .contents:nth-last-child(n+2) .btn {
600
+ Margin-bottom: 21px;
601
+ }
602
+ .three-col .column p + *,
603
+ .narrower .column p + *,
604
+ .three-col .column ol + *,
605
+ .narrower .column ol + *,
606
+ .three-col .column ul + *,
607
+ .narrower .column ul + *,
608
+ .three-col .column blockquote + *,
609
+ .narrower .column blockquote + *,
610
+ .three-col .image + .contents td > :first-child,
611
+ .narrower .image + .contents td > :first-child {
612
+ Margin-top: 18px;
613
+ }
614
+ .three-col .contents:nth-last-child(n+3) p:last-child,
615
+ .narrower .contents:nth-last-child(n+3) p:last-child,
616
+ .no-padding .three-col .contents:nth-last-child(n+2) p:last-child,
617
+ .no-padding .narrower .contents:nth-last-child(n+2) p:last-child,
618
+ .three-col .contents:nth-last-child(n+3) ol:last-child,
619
+ .narrower .contents:nth-last-child(n+3) ol:last-child,
620
+ .no-padding .three-col .contents:nth-last-child(n+2) ol:last-child,
621
+ .no-padding .narrower .contents:nth-last-child(n+2) ol:last-child,
622
+ .three-col .contents:nth-last-child(n+3) ul:last-child,
623
+ .narrower .contents:nth-last-child(n+3) ul:last-child,
624
+ .no-padding .three-col .contents:nth-last-child(n+2) ul:last-child,
625
+ .no-padding .narrower .contents:nth-last-child(n+2) ul:last-child,
626
+ .three-col .contents:nth-last-child(n+3) blockquote:last-child,
627
+ .narrower .contents:nth-last-child(n+3) blockquote:last-child,
628
+ .no-padding .three-col .contents:nth-last-child(n+2) blockquote:last-child,
629
+ .no-padding .narrower .contents:nth-last-child(n+2) blockquote:last-child,
630
+ .three-col .contents:nth-last-child(n+3) .image,
631
+ .narrower .contents:nth-last-child(n+3) .image,
632
+ .no-padding .three-col .contents:nth-last-child(n+2) .image,
633
+ .no-padding .narrower .contents:nth-last-child(n+2) .image,
634
+ .three-col .contents:nth-last-child(n+3) .divider,
635
+ .narrower .contents:nth-last-child(n+3) .divider,
636
+ .no-padding .three-col .contents:nth-last-child(n+2) .divider,
637
+ .no-padding .narrower .contents:nth-last-child(n+2) .divider,
638
+ .three-col .contents:nth-last-child(n+3) .btn,
639
+ .narrower .contents:nth-last-child(n+3) .btn,
640
+ .no-padding .three-col .contents:nth-last-child(n+2) .btn,
641
+ .no-padding .narrower .contents:nth-last-child(n+2) .btn {
642
+ Margin-bottom: 18px;
643
+ }
644
+ @media only screen and (max-width: 620px) {
645
+ .wrapper p + *,
646
+ .wrapper ol + *,
647
+ .wrapper ul + *,
648
+ .wrapper blockquote + *,
649
+ .image + .contents td > :first-child {
650
+ Margin-top: 24px !important;
651
+ }
652
+ .contents:nth-last-child(n+3) p:last-child,
653
+ .no-padding .contents:nth-last-child(n+2) p:last-child,
654
+ .contents:nth-last-child(n+3) ol:last-child,
655
+ .no-padding .contents:nth-last-child(n+2) ol:last-child,
656
+ .contents:nth-last-child(n+3) ul:last-child,
657
+ .no-padding .contents:nth-last-child(n+2) ul:last-child,
658
+ .contents:nth-last-child(n+3) blockquote:last-child,
659
+ .no-padding .contents:nth-last-child(n+2) blockquote:last-child,
660
+ .contents:nth-last-child(n+3) .image:last-child,
661
+ .no-padding .contents:nth-last-child(n+2) .image:last-child,
662
+ .contents:nth-last-child(n+3) .divider:last-child,
663
+ .no-padding .contents:nth-last-child(n+2) .divider:last-child,
664
+ .contents:nth-last-child(n+3) .btn:last-child,
665
+ .no-padding .contents:nth-last-child(n+2) .btn:last-child {
666
+ Margin-bottom: 24px !important;
667
+ }
668
+ }
669
+ td.border {
670
+ width: 1px;
671
+ }
672
+ tr.border {
673
+ background-color: #e3e3e3;
674
+ height: 1px;
675
+ }
676
+ tr.border td {
677
+ line-height: 1px;
678
+ }
679
+ .sidebar {
680
+ width: 600px;
681
+ }
682
+ .first.wider .padded {
683
+ padding-left: 32px;
684
+ padding-right: 20px;
685
+ }
686
+ .second.wider .padded {
687
+ padding-left: 20px;
688
+ padding-right: 32px;
689
+ }
690
+ .first.narrower .padded {
691
+ padding-left: 32px;
692
+ padding-right: 8px;
693
+ }
694
+ .second.narrower .padded {
695
+ padding-left: 8px;
696
+ padding-right: 32px;
697
+ }
698
+ .wrapper h1 {
699
+ font-size: 40px;
700
+ line-height: 48px;
701
+ }
702
+ .wrapper h2 {
703
+ font-size: 24px;
704
+ line-height: 32px;
705
+ }
706
+ .wrapper h3 {
707
+ font-size: 18px;
708
+ line-height: 24px;
709
+ }
710
+ .wrapper h1 a,
711
+ .wrapper h2 a,
712
+ .wrapper h3 a {
713
+ text-decoration: none;
714
+ }
715
+ .wrapper a:hover {
716
+ text-decoration: none;
717
+ }
718
+ .wrapper p,
719
+ .wrapper ol,
720
+ .wrapper ul {
721
+ font-size: 15px;
722
+ line-height: 24px;
723
+ }
724
+ .wrapper ol,
725
+ .wrapper ul {
726
+ Margin-left: 20px;
727
+ }
728
+ .wrapper li {
729
+ padding-left: 2px;
730
+ }
731
+ .wrapper blockquote {
732
+ Margin-left: 0;
733
+ padding-left: 18px;
734
+ }
735
+ .one-col,
736
+ .two-col,
737
+ .three-col,
738
+ .sidebar {
739
+ background-color: #ffffff;
740
+ table-layout: fixed;
741
+ }
742
+ .wrapper .two-col blockquote,
743
+ .wrapper .wider blockquote {
744
+ padding-left: 16px;
745
+ }
746
+ .wrapper .three-col ol,
747
+ .wrapper .narrower ol,
748
+ .wrapper .three-col ul,
749
+ .wrapper .narrower ul {
750
+ Margin-left: 14px;
751
+ }
752
+ .wrapper .three-col li,
753
+ .wrapper .narrower li {
754
+ padding-left: 1px;
755
+ }
756
+ .wrapper .three-col blockquote,
757
+ .wrapper .narrower blockquote {
758
+ padding-left: 12px;
759
+ }
760
+ .wrapper h2 {
761
+ font-weight: 700;
762
+ }
763
+ .wrapper blockquote {
764
+ font-style: italic;
765
+ }
766
+ .preheader a,
767
+ .header a {
768
+ text-decoration: none;
769
+ }
770
+ .header {
771
+ Margin-left: auto;
772
+ Margin-right: auto;
773
+ width: 600px;
774
+ }
775
+ .preheader td {
776
+ padding-bottom: 24px;
777
+ padding-top: 24px;
778
+ }
779
+ .logo {
780
+ width: 280px;
781
+ }
782
+ .logo div {
783
+ font-weight: 700;
784
+ }
785
+ .logo div.logo-center {
786
+ text-align: center;
787
+ }
788
+ .logo div.logo-center img {
789
+ Margin-left: auto;
790
+ Margin-right: auto;
791
+ }
792
+ .preheader td {
793
+ text-align: right;
794
+ width: 280px;
795
+ }
796
+ .preheader td {
797
+ letter-spacing: 0.01em;
798
+ line-height: 17px;
799
+ font-weight: 400;
800
+ }
801
+ .preheader a {
802
+ letter-spacing: 0.03em;
803
+ font-weight: 700;
804
+ }
805
+ .preheader td {
806
+ font-size: 11px;
807
+ }
808
+ @media only screen and (max-width: 620px) {
809
+ [class=wrapper] .header,
810
+ [class=wrapper] .preheader td,
811
+ [class=wrapper] .logo,
812
+ [class=wrapper] .sidebar {
813
+ width: 320px !important;
814
+ }
815
+ [class=wrapper] .header .logo {
816
+ padding-left: 10px !important;
817
+ padding-right: 10px !important;
818
+ }
819
+ [class=wrapper] .header .logo img {
820
+ max-width: 280px !important;
821
+ height: auto !important;
822
+ }
823
+ [class=wrapper] .header .preheader td {
824
+ padding-top: 3px !important;
825
+ padding-bottom: 22px !important;
826
+ }
827
+ [class=wrapper] .header .title {
828
+ display: none !important;
829
+ }
830
+ [class=wrapper] .header .webversion {
831
+ text-align: center !important;
832
+ }
833
+ [class=wrapper] h1 {
834
+ font-size: 40px !important;
835
+ line-height: 48px !important;
836
+ }
837
+ [class=wrapper] h2 {
838
+ font-size: 24px !important;
839
+ line-height: 32px !important;
840
+ }
841
+ [class=wrapper] h3 {
842
+ font-size: 18px !important;
843
+ line-height: 24px !important;
844
+ }
845
+ [class=wrapper] .column p,
846
+ [class=wrapper] .column ol,
847
+ [class=wrapper] .column ul {
848
+ font-size: 15px !important;
849
+ line-height: 24px !important;
850
+ }
851
+ [class=wrapper] ol,
852
+ [class=wrapper] ul {
853
+ Margin-left: 20px !important;
854
+ }
855
+ [class=wrapper] li {
856
+ padding-left: 2px !important;
857
+ }
858
+ [class=wrapper] blockquote {
859
+ border-left-width: 4px !important;
860
+ padding-left: 18px !important;
861
+ }
862
+ [class=wrapper] table.border {
863
+ width: 320px !important;
864
+ }
865
+ [class=wrapper] .second .column-top,
866
+ [class=wrapper] .third .column-top {
867
+ display: none;
868
+ }
869
+ }
870
+ @media only screen and (max-width: 320px) {
871
+ td.border {
872
+ display: none;
873
+ }
874
+ }
875
+ </style>
876
+ <!--[if !mso]><!--><style type="text/css">
877
+ @import url(https://fonts.googleapis.com/css?family=Cabin:400,700,400italic,700italic);
878
+ </style><link href="https://fonts.googleapis.com/css?family=Cabin:400,700,400italic,700italic" rel="stylesheet" type="text/css"><!--<![endif]--><style type="text/css">
879
+ .wrapper h1{}.wrapper h1{font-family:Cabin,Avenir,sans-serif}.mso .wrapper h1{font-family:sans-serif !important}.wrapper h2{}.wrapper h2{font-family:Avenir,sans-serif}.mso .wrapper h2{font-family:sans-serif !important}.wrapper h3{}.wrapper h3{font-family:Avenir,sans-serif}.mso .wrapper h3{font-family:sans-serif !important}.wrapper p,.wrapper ol,.wrapper ul,.wrapper .image{}.wrapper p,.wrapper ol,.wrapper ul,.wrapper .image{font-family:sans-serif}.wrapper .btn a{}.wrapper .btn a{font-family:sans-serif}.logo div{}.logo div{font-family:Avenir,sans-serif}.mso .logo div{font-family:sans-serif !important}.title,.webversion,.fblike,.tweet,.linkedinshare,.forwardtoafriend,.link,.address,.permission,.campaign{}.title,.webversion,.fblike,.tweet,.linkedinshare,.forwardtoafriend,.link,.address,.permission,.campaign{font-family:Avenir,sans-serif}.mso .title,.mso .webversion,.mso .fblike,.mso
880
+ .tweet,.mso .linkedinshare,.mso .forwardtoafriend,.mso .link,.mso .address,.mso .permission,.mso .campaign{font-family:sans-serif !important}body,.wrapper,.emb-editor-canvas{background-color:#080008}.border{background-color:#070007}.wrapper h1{color:#3b3e42}.wrapper h2{color:#3b3e42}.wrapper h3{color:#3b3e42}.wrapper p,.wrapper ol,.wrapper ul{color:#60666d}.wrapper .image{color:#60666d}.wrapper a{color:#00afd1}.wrapper a:hover{color:#00849e !important}.wrapper blockquote{border-left:4px solid #080008}.wrapper .three-col blockquote,.wrapper .narrower blockquote{border-left:2px solid #080008}.wrapper .btn a{background-color:#00afd1;color:#fff}.wrapper .btn a:hover{color:#fff !important}.logo div{color:#555}.logo div a{color:#555}.logo div a:hover{color:#555 !important}.title,.webversion,.footer .inner td{color:#b9b9b9}.wrapper .title a,.wrapper .webversion a,.wrapper .footer
881
+ a{color:#b9b9b9}.wrapper .title a:hover,.wrapper .webversion a:hover,.wrapper .footer a:hover{color:#dfdfdf !important}.wrapper .footer .fblike,.wrapper .footer .tweet,.wrapper .footer .linkedinshare,.wrapper .footer .forwardtoafriend{background-color:#040004}
882
+ </style><!--[if mso]>
883
+ <style type="text/css">
884
+ @import url(https://fonts.googleapis.com/css?family=Cabin:400,700,400italic,700italic);
885
+ </style>
886
+ <![endif]--><meta name="robots" content="noindex,nofollow">
887
+ <meta property="og:title" content="My First Campaign">
888
+ </head>
889
+ <!--[if mso]>
890
+ <body class="mso">
891
+ <![endif]-->
892
+ <!--[if !mso]><!-->
893
+ <body class="full-padding" style="margin: 0px; padding: 0px; min-width: 100%; height: 480px; overflow-y: hidden; background-color: rgb(8, 0, 8);">
894
+ <!--<![endif]-->
895
+ <center class="wrapper" style="display: table;table-layout: fixed;width: 100%;min-width: 620px;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;background-color: #080008;">
896
+ <table class="header centered" style="border-collapse: collapse;border-spacing: 0;Margin-left: auto;Margin-right: auto;width: 600px;">
897
+ <tbody><tr>
898
+ <td style="padding: 0;vertical-align: top;">
899
+ <table class="preheader" style="border-collapse: collapse;border-spacing: 0;" align="right">
900
+ <tbody><tr>
901
+ <td class="emb-logo-padding-box" style="padding: 0;vertical-align: top;padding-bottom: 24px;padding-top: 24px;text-align: right;width: 280px;letter-spacing: 0.01em;line-height: 17px;font-weight: 400;font-size: 11px;">
902
+ <div class="spacer" style="font-size: 1px;line-height: 2px;width: 100%;">&nbsp;</div>
903
+ </td>
904
+ </tr>
905
+ </tbody></table>
906
+ <table style="border-collapse: collapse;border-spacing: 0;" align="left">
907
+ <tbody><tr>
908
+ <td class="logo emb-logo-padding-box" style="padding: 0;vertical-align: top;mso-line-height-rule: at-least;width: 280px;padding-top: 24px;padding-bottom: 24px;">
909
+ <div class="logo-left" style="font-weight: 700;font-family: Avenir,sans-serif;color: #555;font-size: 0px !important;line-height: 0 !important;" align="left" id="emb-email-header"><%= image_tag "logo.png", style: "border: 0;-ms-interpolation-mode: bicubic;display: block;max-width: 160px;", alt: "", width: "107", height: "103" %></div>
910
+ </td>
911
+ </tr>
912
+ </tbody></table>
913
+ </td>
914
+ </tr>
915
+ </tbody></table>
916
+
917
+ <table class="border" style="border-collapse: collapse;border-spacing: 0;font-size: 1px;line-height: 1px;background-color: #070007;Margin-left: auto;Margin-right: auto;" width="602">
918
+ <tbody><tr><td style="padding: 0;vertical-align: top;">​</td></tr>
919
+ </tbody></table>
920
+
921
+ <table class="centered" style="border-collapse: collapse;border-spacing: 0;Margin-left: auto;Margin-right: auto;">
922
+ <tbody><tr>
923
+ <td class="border" style="padding: 0;vertical-align: top;font-size: 1px;line-height: 1px;background-color: #070007;width: 1px;">​</td>
924
+ <td style="padding: 0;vertical-align: top;">
925
+ <table class="one-col" style="border-collapse: collapse;border-spacing: 0;Margin-left: auto;Margin-right: auto;width: 600px;background-color: #ffffff;table-layout: fixed;" emb-background-style="">
926
+ <tbody><tr>
927
+ <td class="column" style="padding: 0;vertical-align: top;text-align: left;">
928
+
929
+ <div class="image" style="font-size: 12px;mso-line-height-rule: at-least;font-style: normal;font-weight: 400;Margin-bottom: 0;Margin-top: 0;font-family: sans-serif;color: #60666d;" align="center">
930
+ <a style="transition: opacity 0.2s ease-in;color: #00afd1;" href="http://oxen.dk" target="_blank"><%= image_tag "welcome.jpg", class: "gnd-corner-image gnd-corner-image-center gnd-corner-image-top", style: "border: 0;-ms-interpolation-mode: bicubic;display: block;max-width: 640px;", alt:"", width: "600", height:"450" %></a>
931
+ </div>
932
+
933
+ <table class="contents" style="border-collapse: collapse;border-spacing: 0;table-layout: fixed;width: 100%;">
934
+ <tbody><tr>
935
+ <td class="padded" style="padding: 0;vertical-align: top;padding-left: 32px;padding-right: 32px;word-break: break-word;word-wrap: break-word;">
936
+
937
+
938
+ <p style="font-style: normal;font-weight: 400;Margin-bottom: 0;Margin-top: 24px;font-size: 15px;line-height: 24px;font-family: sans-serif;color: #60666d;"><strong style="font-weight: bold;"><%= t("devise.mailer.invitation_instructions.hello", email: @resource.email) %></strong></p><p style="font-style: normal;font-weight: 400;Margin-bottom: 0;Margin-top: 24px;font-size: 15px;line-height: 24px;font-family: sans-serif;color: #60666d;">Her er din invitation til oxen.dk – og de tjenester, som du eller din virksomhed har aftalt med os, at I skal have adgang til!</p><p style="font-style: normal;font-weight: 400;Margin-bottom: 0;Margin-top: 24px;font-size: 15px;line-height: 24px;font-family: sans-serif;color: #60666d;">Klik dig til det første login på knappen herunder – på den side, du lander på, skal du indtaste din adgangskode 2 gange. Koden bestemmer du selv, men vi anbefaler, at du bruger lidt tid på at finde
939
+ på en svær én!</p><p style="font-style: normal;font-weight: 400;Margin-bottom: 24px;Margin-top: 24px;font-size: 15px;line-height: 24px;font-family: sans-serif;color: #60666d;">&nbsp;</p>
940
+
941
+ </td>
942
+ </tr>
943
+ </tbody></table>
944
+
945
+ <table class="contents" style="border-collapse: collapse;border-spacing: 0;table-layout: fixed;width: 100%;">
946
+ <tbody><tr>
947
+ <td class="padded" style="padding: 0;vertical-align: top;padding-left: 32px;padding-right: 32px;word-break: break-word;word-wrap: break-word;">
948
+
949
+ <div class="divider" style="Margin-bottom: 24px;Margin-top: 0;">
950
+ <div class="border" style="font-size: 1px;line-height: 1px;background-color: #070007;">&nbsp;</div>
951
+ </div>
952
+
953
+ </td>
954
+ </tr>
955
+ </tbody></table>
956
+
957
+ <table class="contents" style="border-collapse: collapse;border-spacing: 0;table-layout: fixed;width: 100%;">
958
+ <tbody><tr>
959
+ <td class="padded" style="padding: 0;vertical-align: top;padding-left: 32px;padding-right: 32px;word-break: break-word;word-wrap: break-word;">
960
+
961
+ <div class="btn" style="Margin-bottom: 24px;Margin-top: 0;text-align: center;">
962
+ <!--[if !mso]--><%= link_to t("devise.mailer.invitation_instructions.accept"), accept_invitation_url(@resource, :invitation_token => @token), target: "_blank", style: "border-radius: 3px;display: inline-block;font-size: 14px;font-weight: 700;line-height: 24px;padding: 13px 35px 12px 35px;text-align: center;text-decoration: none !important;transition: opacity 0.2s ease-in;color: #fff;font-family: sans-serif;background-color: #22535e;" %><!--[endif]-->
963
+ <!--[if mso]><v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" href="<%= accept_invitation_url(@resource, :invitation_token => @token) %>" style="width:258px" arcsize="7%" fillcolor="#22535E" stroke="f"><v:textbox style="mso-fit-shape-to-text:t" inset="0px,12px,0px,11px"><center style="font-size:14px;line-height:24px;color:#FFFFFF;font-family:sans-serif;font-weight:700;mso-line-height-rule:exactly;mso-text-raise:4px"><%= t("devise.mailer.invitation_instructions.accept") %></center></v:textbox></v:roundrect><![endif]--></div>
964
+
965
+
966
+ </td>
967
+ </tr>
968
+ </tbody></table>
969
+
970
+ <table class="contents" style="border-collapse: collapse;border-spacing: 0;table-layout: fixed;width: 100%;">
971
+ <tbody><tr>
972
+ <td class="padded" style="padding: 0;vertical-align: top;padding-left: 32px;padding-right: 32px;word-break: break-word;word-wrap: break-word;">
973
+
974
+ <div class="divider" style="Margin-bottom: 24px;Margin-top: 0;">
975
+ <div class="border" style="font-size: 1px;line-height: 1px;background-color: #070007;">&nbsp;</div>
976
+ </div>
977
+
978
+ </td>
979
+ </tr>
980
+ </tbody></table>
981
+
982
+ <table class="contents" style="border-collapse: collapse;border-spacing: 0;table-layout: fixed;width: 100%;">
983
+ <tbody><tr>
984
+ <td class="padded" style="padding: 0;vertical-align: top;padding-left: 32px;padding-right: 32px;word-break: break-word;word-wrap: break-word;">
985
+
986
+ <div style="height:5px">&nbsp;</div>
987
+
988
+ </td>
989
+ </tr>
990
+ </tbody></table>
991
+
992
+ <table class="contents" style="border-collapse: collapse;border-spacing: 0;table-layout: fixed;width: 100%;">
993
+ <tbody><tr>
994
+ <td class="padded" style="padding: 0;vertical-align: top;padding-left: 32px;padding-right: 32px;word-break: break-word;word-wrap: break-word;">
995
+
996
+ <p style="font-style: normal;font-weight: 400;Margin-bottom: 24px;Margin-top: 0;font-size: 15px;line-height: 24px;font-family: sans-serif;color: #60666d;"><span style="color:rgb(96, 102, 109)">Tak fordi du har valgt oxen.dk!</span><br>
997
+ <strong style="font-weight: bold;">oxen&nbsp;</strong></p>
998
+
999
+ </td>
1000
+ </tr>
1001
+ </tbody></table>
1002
+
1003
+ <table class="contents" style="border-collapse: collapse;border-spacing: 0;table-layout: fixed;width: 100%;">
1004
+ <tbody><tr>
1005
+ <td class="padded" style="padding: 0;vertical-align: top;padding-left: 32px;padding-right: 32px;word-break: break-word;word-wrap: break-word;">
1006
+
1007
+ <div style="height:5px">&nbsp;</div>
1008
+
1009
+ </td>
1010
+ </tr>
1011
+ </tbody></table>
1012
+
1013
+ <div class="column-bottom" style="font-size: 32px;line-height: 32px;transition-timing-function: cubic-bezier(0, 0, 0.2, 1);transition-duration: 150ms;transition-property: all;">&nbsp;</div>
1014
+ </td>
1015
+ </tr>
1016
+ </tbody></table>
1017
+ </td>
1018
+ <td class="border" style="padding: 0;vertical-align: top;font-size: 1px;line-height: 1px;background-color: #070007;width: 1px;">​</td>
1019
+ </tr>
1020
+ </tbody></table>
1021
+
1022
+ <table class="border" style="border-collapse: collapse;border-spacing: 0;font-size: 1px;line-height: 1px;background-color: #070007;Margin-left: auto;Margin-right: auto;" width="602">
1023
+ <tbody><tr><td style="padding: 0;vertical-align: top;">&nbsp;</td></tr>
1024
+ </tbody></table>
1025
+
1026
+ <table class="footer centered" style="border-collapse: collapse;border-spacing: 0;Margin-left: auto;Margin-right: auto;width: 100%;">
1027
+ <tbody><tr>
1028
+ <td style="padding: 0;vertical-align: top;">&nbsp;</td>
1029
+ <td class="inner" style="padding: 58px 0 29px 0;vertical-align: top;width: 600px;">
1030
+ <table class="right" style="border-collapse: collapse;border-spacing: 0;" align="right">
1031
+ <tbody><tr>
1032
+ <td style="padding: 0;vertical-align: top;color: #b9b9b9;font-size: 12px;line-height: 22px;max-width: 200px;mso-line-height-rule: at-least;">
1033
+ <div class="sharing"><%= t("devise.mailer.invitation_instructions.ignore").html_safe %>
1034
+ </div>
1035
+ </td>
1036
+ </tr>
1037
+ </tbody></table>
1038
+ <table class="left" style="border-collapse: collapse;border-spacing: 0;" align="left">
1039
+ <tbody><tr>
1040
+ <td style="padding: 0;vertical-align: top;color: #b9b9b9;font-size: 12px;line-height: 22px;text-align: left;width: 400px;">
1041
+
1042
+ <div class="address" style="font-family: Avenir,sans-serif;Margin-bottom: 18px;">
1043
+ <div>oxen</div>
1044
+ </div>
1045
+ <div class="permission" style="font-family: Avenir,sans-serif;">
1046
+ <div>Du modtager denne email fordi du eller en i din virksomhed har inviteret dig til at prøve at bruge oxen.dk</div>
1047
+ </div>
1048
+ <div class="campaign" style="font-family: Avenir,sans-serif;Margin-bottom: 18px;">
1049
+ <span>
1050
+ <a style="transition: opacity 0.2s ease-in;color: #b9b9b9;font-weight: bold;text-decoration: none;" href="" lang="da-DK" target="_blank">Opdater indstillinger</a>
1051
+ &nbsp;&nbsp;|&nbsp;&nbsp;
1052
+ </span>
1053
+ <a style="transition: opacity 0.2s ease-in;color: #b9b9b9;font-weight: bold;text-decoration: none;" href="" target="_blank">Afmeld</a>
1054
+ </div>
1055
+ </td>
1056
+ </tr>
1057
+ </tbody></table>
1058
+ </td>
1059
+ <td style="padding: 0;vertical-align: top;">&nbsp;</td>
1060
+ </tr>
1061
+ </tbody></table>
1062
+ </center>
1063
+
1064
+ <script type="text/javascript">
1065
+ var $scroll = $('body');
1066
+ $scroll.height($(window).height());
1067
+ $scroll.niceScroll({
1068
+ autohidemode: true,
1069
+ cursoropacitymin: 0.25,
1070
+ cursoropacitymax: 0.6,
1071
+ cursorcolor: '#000',
1072
+ cursorwidth: '8px',
1073
+ horizrailenabled: false,
1074
+ cursorborder: '2px solid transparent',
1075
+ cursorborderradius: '10px',
1076
+ grabcursorenabled: false
1077
+ });
1078
+ </script>
1079
+ </body></html>
1080
+
1081
+ <!-- <p><%= t("devise.mailer.invitation_instructions.hello", email: @resource.email) %></p>
1082
+
1083
+ <p><%= t("devise.mailer.invitation_instructions.someone_invited_you", url: root_url) %></p>
1084
+
1085
+ <p><%= link_to t("devise.mailer.invitation_instructions.accept"), accept_invitation_url(@resource, :invitation_token => @token) %></p>
1086
+
1087
+ <p><%= t("devise.mailer.invitation_instructions.ignore").html_safe %></p> -->