fastlane-plugin-polidea 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (108) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +21 -0
  3. data/README.md +52 -0
  4. data/lib/fastlane/plugin/polidea.rb +16 -0
  5. data/lib/fastlane/plugin/polidea/actions/extract_app_icon.rb +155 -0
  6. data/lib/fastlane/plugin/polidea/actions/extract_app_name.rb +91 -0
  7. data/lib/fastlane/plugin/polidea/actions/extract_version.rb +96 -0
  8. data/lib/fastlane/plugin/polidea/actions/get_binary_size.rb +53 -0
  9. data/lib/fastlane/plugin/polidea/actions/mailgun.rb +173 -0
  10. data/lib/fastlane/plugin/polidea/actions/polidea_store_action.rb +248 -0
  11. data/lib/fastlane/plugin/polidea/actions/qr_generator.rb +76 -0
  12. data/lib/fastlane/plugin/polidea/actions/s3.rb +551 -0
  13. data/lib/fastlane/plugin/polidea/helper/polidea_helper.rb +12 -0
  14. data/lib/fastlane/plugin/polidea/templates/images/icon-placeholder.png +0 -0
  15. data/lib/fastlane/plugin/polidea/templates/images/logo.png +0 -0
  16. data/lib/fastlane/plugin/polidea/templates/images/polidea-facebook-icon.png +0 -0
  17. data/lib/fastlane/plugin/polidea/templates/images/polidea-github-icon.png +0 -0
  18. data/lib/fastlane/plugin/polidea/templates/images/polidea-logo.png +0 -0
  19. data/lib/fastlane/plugin/polidea/templates/images/polidea-twitter-icon.png +0 -0
  20. data/lib/fastlane/plugin/polidea/templates/installation-page/css/installation-page.css +3142 -0
  21. data/lib/fastlane/plugin/polidea/templates/installation-page/css/installation-page.css.map +7 -0
  22. data/lib/fastlane/plugin/polidea/templates/installation-page/img/bg.png +0 -0
  23. data/lib/fastlane/plugin/polidea/templates/installation-page/img/jenkins_bg.jpg +0 -0
  24. data/lib/fastlane/plugin/polidea/templates/installation-page/img/jenkins_bg_1024.jpg +0 -0
  25. data/lib/fastlane/plugin/polidea/templates/installation-page/img/jenkins_bg_1280.jpg +0 -0
  26. data/lib/fastlane/plugin/polidea/templates/installation-page/img/jenkins_bg_1360.jpg +0 -0
  27. data/lib/fastlane/plugin/polidea/templates/installation-page/img/jenkins_bg_1440.jpg +0 -0
  28. data/lib/fastlane/plugin/polidea/templates/installation-page/img/jenkins_bg_1680.jpg +0 -0
  29. data/lib/fastlane/plugin/polidea/templates/installation-page/img/jenkins_bg_768.jpg +0 -0
  30. data/lib/fastlane/plugin/polidea/templates/installation-page/img/jenkins_bg_ipad_1024.jpg +0 -0
  31. data/lib/fastlane/plugin/polidea/templates/installation-page/img/jenkins_bg_ipad_768.jpg +0 -0
  32. data/lib/fastlane/plugin/polidea/templates/installation-page/img/logo.svg +32 -0
  33. data/lib/fastlane/plugin/polidea/templates/installation-page/img/logo_square.svg +12 -0
  34. data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation.min.js +10 -0
  35. data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.abide.js +294 -0
  36. data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.accordion.js +65 -0
  37. data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.alert.js +43 -0
  38. data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.clearing.js +558 -0
  39. data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.dropdown.js +313 -0
  40. data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.equalizer.js +74 -0
  41. data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.interchange.js +344 -0
  42. data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.joyride.js +915 -0
  43. data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.js +625 -0
  44. data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.magellan.js +189 -0
  45. data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.offcanvas.js +139 -0
  46. data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.orbit.js +472 -0
  47. data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.reveal.js +443 -0
  48. data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.slider.js +231 -0
  49. data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.tab.js +167 -0
  50. data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.tooltip.js +298 -0
  51. data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.topbar.js +436 -0
  52. data/lib/fastlane/plugin/polidea/templates/installation-page/js/vendor/aes.js +35 -0
  53. data/lib/fastlane/plugin/polidea/templates/installation-page/js/vendor/enc-base64-min.js +8 -0
  54. data/lib/fastlane/plugin/polidea/templates/installation-page/js/vendor/fastclick.js +9 -0
  55. data/lib/fastlane/plugin/polidea/templates/installation-page/js/vendor/jquery.cookie.js +8 -0
  56. data/lib/fastlane/plugin/polidea/templates/installation-page/js/vendor/jquery.js +26 -0
  57. data/lib/fastlane/plugin/polidea/templates/installation-page/js/vendor/modernizr.js +8 -0
  58. data/lib/fastlane/plugin/polidea/templates/installation-page/js/vendor/pbkdf2.js +19 -0
  59. data/lib/fastlane/plugin/polidea/templates/installation-page/js/vendor/placeholder.js +2 -0
  60. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/fonts.scss +64 -0
  61. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation.scss +45 -0
  62. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/_functions.scss +101 -0
  63. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/_settings.scss +1441 -0
  64. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_accordion.scss +156 -0
  65. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_alert-boxes.scss +126 -0
  66. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_block-grid.scss +132 -0
  67. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_breadcrumbs.scss +132 -0
  68. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_button-groups.scss +200 -0
  69. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_buttons.scss +252 -0
  70. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_clearing.scss +247 -0
  71. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_dropdown-buttons.scss +129 -0
  72. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_dropdown.scss +248 -0
  73. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_flex-video.scss +51 -0
  74. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_forms.scss +570 -0
  75. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_global.scss +447 -0
  76. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_grid.scss +275 -0
  77. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_icon-bar.scss +293 -0
  78. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_inline-lists.scss +57 -0
  79. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_joyride.scss +222 -0
  80. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_keystrokes.scss +61 -0
  81. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_labels.scss +105 -0
  82. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_magellan.scss +34 -0
  83. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_offcanvas.scss +510 -0
  84. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_orbit.scss +368 -0
  85. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_pagination.scss +162 -0
  86. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_panels.scss +93 -0
  87. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_pricing-tables.scss +150 -0
  88. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_progress-bars.scss +79 -0
  89. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_range-slider.scss +168 -0
  90. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_reveal.scss +220 -0
  91. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_side-nav.scss +116 -0
  92. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_split-buttons.scss +191 -0
  93. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_sub-nav.scss +125 -0
  94. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_switches.scss +226 -0
  95. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_tables.scss +135 -0
  96. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_tabs.scss +123 -0
  97. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_thumbs.scss +66 -0
  98. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_toolbar.scss +70 -0
  99. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_tooltips.scss +142 -0
  100. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_top-bar.scss +676 -0
  101. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_type.scss +523 -0
  102. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_visibility.scss +408 -0
  103. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/installation-page.scss +171 -0
  104. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/normalize.scss +425 -0
  105. data/lib/fastlane/plugin/polidea/templates/installation_template.erb +58 -0
  106. data/lib/fastlane/plugin/polidea/templates/mailgun_template.erb +1225 -0
  107. data/lib/fastlane/plugin/polidea/version.rb +5 -0
  108. metadata +323 -0
@@ -0,0 +1,1225 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
+ <html xmlns="http://www.w3.org/1999/xhtml">
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5
+ <meta name="viewport" content="width=device-width"/>
6
+ <style>
7
+ /**********************************************
8
+ * Ink v1.0.5 - Copyright 2013 ZURB Inc *
9
+ **********************************************/
10
+
11
+ /* Client-specific Styles & Reset */
12
+
13
+ #outlook a {
14
+ padding:0;
15
+ }
16
+
17
+ body{
18
+ width:100% !important;
19
+ min-width: 100%;
20
+ -webkit-text-size-adjust:100%;
21
+ -ms-text-size-adjust:100%;
22
+ margin:0;
23
+ padding:0;
24
+ }
25
+
26
+ .ExternalClass {
27
+ width:100%;
28
+ }
29
+
30
+ .ExternalClass,
31
+ .ExternalClass p,
32
+ .ExternalClass span,
33
+ .ExternalClass font,
34
+ .ExternalClass td,
35
+ .ExternalClass div {
36
+ line-height: 100%;
37
+ }
38
+
39
+ #backgroundTable {
40
+ margin:0;
41
+ padding:0;
42
+ width:100% !important;
43
+ line-height: 100% !important;
44
+ }
45
+
46
+ img {
47
+ outline:none;
48
+ text-decoration:none;
49
+ -ms-interpolation-mode: bicubic;
50
+ width: auto;
51
+ max-width: 100%;
52
+ float: left;
53
+ clear: both;
54
+ display: block;
55
+ }
56
+
57
+ center {
58
+ width: 100%;
59
+ min-width: 580px;
60
+ }
61
+
62
+ a img {
63
+ border: none;
64
+ }
65
+
66
+ p {
67
+ margin: 0 0 0 10px;
68
+ }
69
+
70
+ table {
71
+ border-spacing: 0;
72
+ border-collapse: collapse;
73
+ }
74
+
75
+ td {
76
+ word-break: break-word;
77
+ -webkit-hyphens: auto;
78
+ -moz-hyphens: auto;
79
+ hyphens: auto;
80
+ border-collapse: collapse !important;
81
+ }
82
+
83
+ table, tr, td {
84
+ padding: 0;
85
+ vertical-align: top;
86
+ text-align: left;
87
+ }
88
+
89
+ hr {
90
+ color: #d9d9d9;
91
+ background-color: #d9d9d9;
92
+ height: 1px;
93
+ border: none;
94
+ }
95
+
96
+ /* Responsive Grid */
97
+
98
+ table.body {
99
+ height: 100%;
100
+ width: 100%;
101
+ }
102
+
103
+ table.container {
104
+ width: 580px;
105
+ margin: 0 auto;
106
+ text-align: inherit;
107
+
108
+ /*background: url('https://polidea-build-artifacts.s3.amazonaws.com/release-resources/img/bg.png') center top no-repeat white;*/
109
+ background: transparent;
110
+ }
111
+
112
+ table.row {
113
+ padding: 0px;
114
+ width: 100%;
115
+ position: relative;
116
+ }
117
+
118
+ table.container table.row {
119
+ display: block;
120
+ }
121
+
122
+ td.wrapper {
123
+ padding: 10px 25px 0px 0px;
124
+ position: relative;
125
+ }
126
+
127
+ table.columns,
128
+ table.column {
129
+ margin: 0 auto;
130
+ }
131
+
132
+ table.columns td,
133
+ table.column td {
134
+ padding: 0px 0px 0px;
135
+ }
136
+
137
+ table.columns td.sub-columns,
138
+ table.column td.sub-columns,
139
+ table.columns td.sub-column,
140
+ table.column td.sub-column {
141
+ /*padding-right: 10px;*/
142
+ }
143
+
144
+ td.sub-column, td.sub-columns {
145
+ min-width: 0px;
146
+ }
147
+
148
+ table.row td.last,
149
+ table.container td.last {
150
+ padding-right: 0px;
151
+ }
152
+
153
+ table.one { width: 30px; }
154
+ table.two { width: 80px; }
155
+ table.three { width: 130px; }
156
+ table.four { width: 180px; }
157
+ table.five { width: 230px; }
158
+ table.six { width: 280px; }
159
+ table.seven { width: 330px; }
160
+ table.eight { width: 380px; }
161
+ table.nine { width: 430px; }
162
+ table.ten { width: 480px; }
163
+ table.eleven { width: 530px; }
164
+ table.twelve { width: 580px; }
165
+
166
+ table.one center { min-width: 30px; }
167
+ table.two center { min-width: 80px; }
168
+ table.three center { min-width: 130px; }
169
+ table.four center { min-width: 180px; }
170
+ table.five center { min-width: 230px; }
171
+ table.six center { min-width: 280px; }
172
+ table.seven center { min-width: 330px; }
173
+ table.eight center { min-width: 380px; }
174
+ table.nine center { min-width: 430px; }
175
+ table.ten center { min-width: 480px; }
176
+ table.eleven center { min-width: 530px; }
177
+ table.twelve center { min-width: 580px; }
178
+
179
+ table.one .panel center { min-width: 10px; }
180
+ table.two .panel center { min-width: 60px; }
181
+ table.three .panel center { min-width: 110px; }
182
+ table.four .panel center { min-width: 160px; }
183
+ table.five .panel center { min-width: 210px; }
184
+ table.six .panel center { min-width: 260px; }
185
+ table.seven .panel center { min-width: 310px; }
186
+ table.eight .panel center { min-width: 360px; }
187
+ table.nine .panel center { min-width: 410px; }
188
+ table.ten .panel center { min-width: 460px; }
189
+ table.eleven .panel center { min-width: 510px; }
190
+ table.twelve .panel center { min-width: 560px; }
191
+
192
+ .body .columns td.one,
193
+ .body .column td.one { width: 8.333333%; }
194
+ .body .columns td.two,
195
+ .body .column td.two { width: 16.666666%; }
196
+ .body .columns td.three,
197
+ .body .column td.three { width: 25%; }
198
+ .body .columns td.four,
199
+ .body .column td.four { width: 33.333333%; }
200
+ .body .columns td.five,
201
+ .body .column td.five { width: 41.666666%; }
202
+ .body .columns td.six,
203
+ .body .column td.six { width: 50%; }
204
+ .body .columns td.seven,
205
+ .body .column td.seven { width: 58.333333%; }
206
+ .body .columns td.eight,
207
+ .body .column td.eight { width: 66.666666%; }
208
+ .body .columns td.nine,
209
+ .body .column td.nine { width: 75%; }
210
+ .body .columns td.ten,
211
+ .body .column td.ten { width: 83.333333%; }
212
+ .body .columns td.eleven,
213
+ .body .column td.eleven { width: 91.666666%; }
214
+ .body .columns td.twelve,
215
+ .body .column td.twelve { width: 100%; }
216
+
217
+ td.offset-by-one { padding-left: 50px; }
218
+ td.offset-by-two { padding-left: 100px; }
219
+ td.offset-by-three { padding-left: 150px; }
220
+ td.offset-by-four { padding-left: 200px; }
221
+ td.offset-by-five { padding-left: 250px; }
222
+ td.offset-by-six { padding-left: 300px; }
223
+ td.offset-by-seven { padding-left: 350px; }
224
+ td.offset-by-eight { padding-left: 400px; }
225
+ td.offset-by-nine { padding-left: 450px; }
226
+ td.offset-by-ten { padding-left: 500px; }
227
+ td.offset-by-eleven { padding-left: 550px; }
228
+
229
+ td.expander {
230
+ visibility: hidden;
231
+ width: 0px;
232
+ padding: 0 !important;
233
+ }
234
+
235
+ table.columns .text-pad,
236
+ table.column .text-pad {
237
+ padding-left: 10px;
238
+ padding-right: 10px;
239
+ }
240
+
241
+ table.columns .left-text-pad,
242
+ table.columns .text-pad-left,
243
+ table.column .left-text-pad,
244
+ table.column .text-pad-left {
245
+ padding-left: 10px;
246
+ }
247
+
248
+ table.columns .right-text-pad,
249
+ table.columns .text-pad-right,
250
+ table.column .right-text-pad,
251
+ table.column .text-pad-right {
252
+ padding-right: 10px;
253
+ }
254
+
255
+ /* Block Grid */
256
+
257
+ .block-grid {
258
+ width: 100%;
259
+ max-width: 580px;
260
+ }
261
+
262
+ .block-grid td {
263
+ display: inline-block;
264
+ padding:10px;
265
+ }
266
+
267
+ .two-up td {
268
+ width:270px;
269
+ }
270
+
271
+ .three-up td {
272
+ width:173px;
273
+ }
274
+
275
+ .four-up td {
276
+ width:125px;
277
+ }
278
+
279
+ .five-up td {
280
+ width:96px;
281
+ }
282
+
283
+ .six-up td {
284
+ width:76px;
285
+ }
286
+
287
+ .seven-up td {
288
+ width:62px;
289
+ }
290
+
291
+ .eight-up td {
292
+ width:52px;
293
+ }
294
+
295
+ /* Alignment & Visibility Classes */
296
+
297
+ table.center, td.center {
298
+ text-align: center;
299
+ }
300
+
301
+ h1.center,
302
+ h2.center,
303
+ h3.center,
304
+ h4.center,
305
+ h5.center,
306
+ h6.center {
307
+ text-align: center;
308
+ }
309
+
310
+ span.center {
311
+ display: block;
312
+ width: 100%;
313
+ text-align: center;
314
+ }
315
+
316
+ img.center {
317
+ margin: 0 auto;
318
+ float: none;
319
+ }
320
+
321
+ .show-for-small,
322
+ .hide-for-desktop {
323
+ display: none;
324
+ }
325
+
326
+ /* Typography */
327
+
328
+ body, table.body, h1, h2, h3, h4, h5, h6, p, td {
329
+ color: #222222;
330
+ font-family: "Helvetica", "Arial", sans-serif;
331
+ font-weight: normal;
332
+ padding:0;
333
+ margin: 0;
334
+ text-align: left;
335
+ line-height: 1.3;
336
+ }
337
+
338
+ h1, h2, h3, h4, h5, h6 {
339
+ word-break: normal;
340
+ }
341
+
342
+ h1 {font-size: 40px;}
343
+ h2 {font-size: 36px;}
344
+ h3 {font-size: 32px;}
345
+ h4 {font-size: 28px;}
346
+ h5 {font-size: 24px;}
347
+ h6 {font-size: 20px;}
348
+ body, table.body, p, td {font-size: 14px;line-height:19px;}
349
+
350
+ p.lead, p.lede, p.leed {
351
+ font-size: 18px;
352
+ line-height:21px;
353
+ }
354
+
355
+ p {
356
+ margin-bottom: 10px;
357
+ }
358
+
359
+ small {
360
+ font-size: 10px;
361
+ }
362
+
363
+ a {
364
+ color: #2ba6cb;
365
+ text-decoration: none;
366
+ }
367
+
368
+ a:hover {
369
+ color: #2795b6 !important;
370
+ }
371
+
372
+ a:active {
373
+ color: #2795b6 !important;
374
+ }
375
+
376
+ a:visited {
377
+ color: #2ba6cb !important;
378
+ }
379
+
380
+ h1 a,
381
+ h2 a,
382
+ h3 a,
383
+ h4 a,
384
+ h5 a,
385
+ h6 a {
386
+ color: #2ba6cb;
387
+ }
388
+
389
+ h1 a:active,
390
+ h2 a:active,
391
+ h3 a:active,
392
+ h4 a:active,
393
+ h5 a:active,
394
+ h6 a:active {
395
+ color: #2ba6cb !important;
396
+ }
397
+
398
+ h1 a:visited,
399
+ h2 a:visited,
400
+ h3 a:visited,
401
+ h4 a:visited,
402
+ h5 a:visited,
403
+ h6 a:visited {
404
+ color: #2ba6cb !important;
405
+ }
406
+
407
+ /* Panels */
408
+
409
+ .panel {
410
+ padding: 10px !important;
411
+ background: white;
412
+ }
413
+
414
+ .sub-grid table {
415
+ width: 100%;
416
+ }
417
+
418
+ .sub-grid td.sub-columns {
419
+ padding-bottom: 0;
420
+ }
421
+
422
+ /* Buttons */
423
+
424
+ table.button,
425
+ table.tiny-button,
426
+ table.small-button,
427
+ table.medium-button,
428
+ table.large-button {
429
+ width: 100%;
430
+ overflow: hidden;
431
+ }
432
+
433
+ table.button td,
434
+ table.tiny-button td,
435
+ table.small-button td,
436
+ table.medium-button td,
437
+ table.large-button td {
438
+ display: block;
439
+ width: auto !important;
440
+ text-align: center;
441
+ background: #2ba6cb;
442
+ border: 1px solid #2284a1;
443
+ color: #ffffff;
444
+ padding: 8px 0;
445
+ }
446
+
447
+ table.tiny-button td {
448
+ padding: 5px 0 4px;
449
+ }
450
+
451
+ table.small-button td {
452
+ padding: 8px 0 7px;
453
+ }
454
+
455
+ table.medium-button td {
456
+ padding: 12px 0 10px;
457
+ }
458
+
459
+ table.large-button td {
460
+ padding: 21px 0 18px;
461
+ }
462
+
463
+ table.button td a,
464
+ table.tiny-button td a,
465
+ table.small-button td a,
466
+ table.medium-button td a,
467
+ table.large-button td a {
468
+ font-weight: bold;
469
+ text-decoration: none;
470
+ font-family: Helvetica, Arial, sans-serif;
471
+ color: #ffffff;
472
+ font-size: 16px;
473
+ }
474
+
475
+ table.tiny-button td a {
476
+ font-size: 12px;
477
+ font-weight: normal;
478
+ }
479
+
480
+ table.small-button td a {
481
+ font-size: 16px;
482
+ }
483
+
484
+ table.medium-button td a {
485
+ font-size: 20px;
486
+ }
487
+
488
+ table.large-button td a {
489
+ font-size: 24px;
490
+ }
491
+
492
+ table.button:hover td,
493
+ table.button:visited td,
494
+ table.button:active td {
495
+ background: #2795b6 !important;
496
+ }
497
+
498
+ table.button:hover td a,
499
+ table.button:visited td a,
500
+ table.button:active td a {
501
+ <% if is_android %>
502
+ color: #6fc13c !important;
503
+ <% else %>
504
+ color: #ffffff !important;
505
+ <% end %>
506
+ }
507
+
508
+ table.button:hover td,
509
+ table.tiny-button:hover td,
510
+ table.small-button:hover td,
511
+ table.medium-button:hover td,
512
+ table.large-button:hover td {
513
+ <% if is_android %>
514
+ background: #ffffff !important;
515
+ border-color: #6fc13c !important;
516
+ <% else %>
517
+ background: #6fc13c !important;
518
+ border-color: #ffffff !important;
519
+ <% end %>
520
+ }
521
+
522
+ table.button:hover td a,
523
+ table.button:active td a,
524
+ table.button td a:visited,
525
+ table.tiny-button:hover td a,
526
+ table.tiny-button:active td a,
527
+ table.tiny-button td a:visited,
528
+ table.small-button:hover td a,
529
+ table.small-button:active td a,
530
+ table.small-button td a:visited,
531
+ table.medium-button:hover td a,
532
+ table.medium-button:active td a,
533
+ table.medium-button td a:visited,
534
+ table.large-button:hover td a,
535
+ table.large-button:active td a,
536
+ table.large-button td a:visited {
537
+ <% if is_android %>
538
+ color: #6fc13c !important;
539
+ <% else %>
540
+ color: #ffffff !important;
541
+ <% end %>
542
+ }
543
+
544
+ table.secondary td {
545
+ background: #e9e9e9;
546
+ border-color: #d0d0d0;
547
+ color: #555;
548
+ }
549
+
550
+ table.secondary td a {
551
+ color: #555;
552
+ }
553
+
554
+ table.secondary:hover td {
555
+ background: #d0d0d0 !important;
556
+ color: #555;
557
+ }
558
+
559
+ table.secondary:hover td a,
560
+ table.secondary td a:visited,
561
+ table.secondary:active td a {
562
+ color: #555 !important;
563
+ }
564
+
565
+ table.success td {
566
+ background: #5da423;
567
+ border-color: #457a1a;
568
+ }
569
+
570
+ table.success:hover td {
571
+ background: #457a1a !important;
572
+ }
573
+
574
+ table.alert td {
575
+ background: #c60f13;
576
+ border-color: #970b0e;
577
+ }
578
+
579
+ table.alert:hover td {
580
+ background: #970b0e !important;
581
+ }
582
+
583
+ table.radius td {
584
+ -webkit-border-radius: 3px;
585
+ -moz-border-radius: 3px;
586
+ border-radius: 3px;
587
+ }
588
+
589
+ table.round td {
590
+ -webkit-border-radius: 500px;
591
+ -moz-border-radius: 500px;
592
+ border-radius: 500px;
593
+ }
594
+
595
+ /* Outlook First */
596
+
597
+ body.outlook p {
598
+ display: inline !important;
599
+ }
600
+
601
+ /* Media Queries */
602
+
603
+ @media only screen and (max-width: 600px) {
604
+
605
+ table[class="body"] img {
606
+ width: auto !important;
607
+ height: auto !important;
608
+ }
609
+
610
+ table[class="body"] center {
611
+ min-width: 0 !important;
612
+ }
613
+
614
+ table[class="body"] .container {
615
+ width: 95% !important;
616
+ }
617
+
618
+ table[class="body"] .row {
619
+ width: 100% !important;
620
+ display: block !important;
621
+ }
622
+
623
+ table[class="body"] .wrapper {
624
+ display: block !important;
625
+ padding-right: 0 !important;
626
+ }
627
+
628
+ table[class="body"] .columns,
629
+ table[class="body"] .column {
630
+ table-layout: fixed !important;
631
+ float: none !important;
632
+ width: 100% !important;
633
+ padding-right: 0px !important;
634
+ padding-left: 0px !important;
635
+ display: block !important;
636
+ }
637
+
638
+ table[class="body"] .wrapper.first .columns,
639
+ table[class="body"] .wrapper.first .column {
640
+ display: table !important;
641
+ }
642
+
643
+ table[class="body"] table.columns td,
644
+ table[class="body"] table.column td {
645
+ width: 100% !important;
646
+ }
647
+
648
+ table[class="body"] .columns td.one,
649
+ table[class="body"] .column td.one { width: 8.333333% !important; }
650
+ table[class="body"] .columns td.two,
651
+ table[class="body"] .column td.two { width: 16.666666% !important; }
652
+ table[class="body"] .columns td.three,
653
+ table[class="body"] .column td.three { width: 25% !important; }
654
+ table[class="body"] .columns td.four,
655
+ table[class="body"] .column td.four { width: 33.333333% !important; }
656
+ table[class="body"] .columns td.five,
657
+ table[class="body"] .column td.five { width: 41.666666% !important; }
658
+ table[class="body"] .columns td.six,
659
+ table[class="body"] .column td.six { width: 50% !important; }
660
+ table[class="body"] .columns td.seven,
661
+ table[class="body"] .column td.seven { width: 58.333333% !important; }
662
+ table[class="body"] .columns td.eight,
663
+ table[class="body"] .column td.eight { width: 66.666666% !important; }
664
+ table[class="body"] .columns td.nine,
665
+ table[class="body"] .column td.nine { width: 75% !important; }
666
+ table[class="body"] .columns td.ten,
667
+ table[class="body"] .column td.ten { width: 83.333333% !important; }
668
+ table[class="body"] .columns td.eleven,
669
+ table[class="body"] .column td.eleven { width: 91.666666% !important; }
670
+ table[class="body"] .columns td.twelve,
671
+ table[class="body"] .column td.twelve { width: 100% !important; }
672
+
673
+ table[class="body"] td.offset-by-one,
674
+ table[class="body"] td.offset-by-two,
675
+ table[class="body"] td.offset-by-three,
676
+ table[class="body"] td.offset-by-four,
677
+ table[class="body"] td.offset-by-five,
678
+ table[class="body"] td.offset-by-six,
679
+ table[class="body"] td.offset-by-seven,
680
+ table[class="body"] td.offset-by-eight,
681
+ table[class="body"] td.offset-by-nine,
682
+ table[class="body"] td.offset-by-ten,
683
+ table[class="body"] td.offset-by-eleven {
684
+ padding-left: 0 !important;
685
+ }
686
+
687
+ table[class="body"] table.columns td.expander {
688
+ width: 1px !important;
689
+ }
690
+
691
+ table[class="body"] .right-text-pad,
692
+ table[class="body"] .text-pad-right {
693
+ padding-left: 10px !important;
694
+ }
695
+
696
+ table[class="body"] .left-text-pad,
697
+ table[class="body"] .text-pad-left {
698
+ padding-right: 10px !important;
699
+ }
700
+
701
+ table[class="body"] .hide-for-small,
702
+ table[class="body"] .show-for-desktop {
703
+ display: none !important;
704
+ }
705
+
706
+ table[class="body"] .show-for-small,
707
+ table[class="body"] .hide-for-desktop {
708
+ display: inherit !important;
709
+ }
710
+
711
+ table[class="body"] td.install-wrapper {
712
+ padding: 20px 10px 10px !important;
713
+ }
714
+
715
+ table[class="body"] td.app-info-section-wrapper {
716
+ padding-left: 10px !important;
717
+ padding-right: 10px !important;
718
+ }
719
+
720
+ table[class="body"] td.whats-new-wrapper {
721
+ padding: 20px 10px 10px !important;
722
+ }
723
+
724
+ table[class="body"] td.detailed-info-wrapper {
725
+ padding-left: 25px !important;
726
+ padding-right: 10px !important;
727
+ padding-bottom: 10px !important;
728
+ }
729
+
730
+ table[class="body"] td.polidea-info-wrapper {
731
+ padding-left: 10px !important;
732
+ padding-right: 10px !important;
733
+ padding-bottom: 7px !important;
734
+ }
735
+
736
+ table[class="body"] td.qr-wrapper {
737
+ padding-left: 10px !important;
738
+ padding-right: 10px !important;
739
+ }
740
+
741
+ table[class="body"] td.icon-wrapper {
742
+ padding-right: 10px !important;
743
+ padding-left: 10px !important;
744
+ padding-bottom: 10px !important;
745
+ }
746
+ }
747
+
748
+ </style>
749
+ <style>
750
+
751
+ table.facebook td {
752
+ background: #3b5998;
753
+ border-color: #2d4473;
754
+ }
755
+
756
+ table.facebook:hover td {
757
+ background: #2d4473 !important;
758
+ }
759
+
760
+ table.twitter td {
761
+ background: #00acee;
762
+ border-color: #0087bb;
763
+ }
764
+
765
+ table.twitter:hover td {
766
+ background: #0087bb !important;
767
+ }
768
+
769
+ table.google-plus td {
770
+ background-color: #DB4A39;
771
+ border-color: #CC0000;
772
+ }
773
+
774
+ table.google-plus:hover td {
775
+ background: #CC0000 !important;
776
+ }
777
+
778
+ .template-label {
779
+ color: #ffffff;
780
+ font-weight: bold;
781
+ font-size: 11px;
782
+ }
783
+
784
+ .callout .wrapper {
785
+ padding-bottom: 20px;
786
+ }
787
+
788
+ .callout .panel {
789
+ background: #ECF8FF;
790
+ border-color: #b9e5ff;
791
+ }
792
+
793
+ .header {
794
+ background: #999999;
795
+ }
796
+
797
+ .footer .wrapper {
798
+ background: #ebebeb;
799
+ }
800
+
801
+ .footer h5 {
802
+ padding-bottom: 10px;
803
+ }
804
+
805
+ table.columns .text-pad {
806
+ padding-left: 10px;
807
+ padding-right: 10px;
808
+ }
809
+
810
+ table.columns .left-text-pad {
811
+ padding-left: 10px;
812
+ }
813
+
814
+ table.columns .right-text-pad {
815
+ padding-right: 10px;
816
+ }
817
+
818
+ @media only screen and (max-width: 600px) {
819
+
820
+ table[class="body"] .right-text-pad {
821
+ padding-left: 10px !important;
822
+ }
823
+
824
+ table[class="body"] .left-text-pad {
825
+ padding-right: 10px !important;
826
+ }
827
+ }
828
+
829
+ .app-icon {
830
+ height: 50px;
831
+ min-height: 50px;
832
+ max-height: 50px;
833
+ }
834
+
835
+ .logo-decoration {
836
+ border-radius: 5px;
837
+ -moz-border-radius: 5px;
838
+ -webkit-border-radius: 5px;
839
+ }
840
+
841
+ .container-margin {
842
+ margin-top: 10px !important;
843
+ margin-bottom: 10px !important;
844
+ }
845
+
846
+ td.install {
847
+ border: 2px solid;
848
+ <% if is_android %>
849
+ background: #6fc13c !important;
850
+ color: #ffffff !important;
851
+ border-color: transparent !important;
852
+ <% else %>
853
+ background: #ffffff !important;
854
+ color: #6fc13c !important;
855
+ border-color: #6fc13c !important;
856
+
857
+ <% end %>
858
+
859
+ }
860
+
861
+ a.install {
862
+ <% if is_android %>
863
+ color: #ffffff !important;
864
+ <% else %>
865
+ color: #6fc13c !important;
866
+ <% end %>
867
+ }
868
+
869
+ .app-info-section {
870
+ padding-top: 8px !important;
871
+ }
872
+
873
+ .app-title {
874
+ font-size: 19px;
875
+ background-color: transparent;
876
+ color: #666666;
877
+ }
878
+
879
+ .app-version {
880
+ font-size: 13px;
881
+ background-color: transparent;
882
+ color: #666666;
883
+ }
884
+
885
+ .qr-code {
886
+ width: 200px;
887
+ height: 200px;
888
+ display: inline-block;
889
+ margin: 20px auto 0 auto;
890
+ /*float: none;*/
891
+ }
892
+
893
+ table.section {
894
+ border-top: 1px solid #bababa;
895
+ /*padding-bottom: 10px;*/
896
+ }
897
+
898
+ td.install-wrapper {
899
+ padding: 20px 10px 10px !important;
900
+ }
901
+
902
+ td.icon-wrapper {
903
+ padding-right: 10px !important;
904
+ padding-left: 10px !important;
905
+ padding-bottom: 10px !important;
906
+ }
907
+
908
+ td.app-info-section-wrapper {
909
+ padding-left: 10px !important;
910
+ padding-right: 10px !important;
911
+ }
912
+
913
+ td.whats-new-wrapper {
914
+ padding: 20px 10px 10px !important;
915
+ }
916
+
917
+ .whats-new {
918
+ color: #666666;
919
+ }
920
+
921
+ li.release-note {
922
+ color: #666666;
923
+ padding: 0;
924
+ margin: 0;
925
+ }
926
+
927
+ li.detailed-info {
928
+ list-style: none;
929
+ color: #666666;
930
+ padding-left: 0 !important;
931
+ margin-left: 0 !important;
932
+ }
933
+
934
+ td.detailed-info-wrapper {
935
+ padding-left: 25px !important;
936
+ padding-right: 10px !important;
937
+ padding-bottom: 10px !important;
938
+ }
939
+
940
+ td.polidea-info-wrapper {
941
+ padding-left: 10px !important;
942
+ padding-right: 10px !important;
943
+ padding-bottom: 7px !important;
944
+ }
945
+
946
+ td.qr-wrapper {
947
+ padding-left: 10px !important;
948
+ padding-right: 10px !important;
949
+ }
950
+
951
+ td.qr-wrapper {
952
+ padding-left: 10px !important;
953
+ padding-right: 10px !important;
954
+ }
955
+
956
+ ul.list {
957
+ padding-left: 14px !important;
958
+ }
959
+
960
+ ul.detail-info-list {
961
+ padding-left: 0px !important;
962
+ }
963
+
964
+ div.qr-installation-info {
965
+ color: #666666;
966
+ text-align: center;
967
+ }
968
+
969
+ img.social-icon {
970
+ max-height: 24px;
971
+ height: 24px;
972
+ }
973
+
974
+ .social-icon {
975
+ display: inline-block !important;
976
+ padding-top: 3px !important;
977
+ padding-right: 5px !important;
978
+ }
979
+
980
+ td.social-section {
981
+ float: right;
982
+ padding-top: 10px;
983
+ }
984
+
985
+ img.polidea-logo {
986
+ display: inline-block;
987
+ max-height: 30px;
988
+ height: 30px;
989
+ }
990
+
991
+ .installation-link {
992
+ <% if is_android %>
993
+ color: #ffffff !important;
994
+ background-color: #6fc13c !important;
995
+ <% else %>
996
+ color: #6fc13c !important;
997
+ background-color: #ffffff !important;
998
+ <% end %>
999
+ }
1000
+
1001
+ </style>
1002
+ </head>
1003
+ <body>
1004
+
1005
+ <table class="body">
1006
+ <tr>
1007
+ <td class="center" align="center" valign="top">
1008
+ <center>
1009
+
1010
+ <table class="container container-margin">
1011
+ <tr>
1012
+ <td>
1013
+
1014
+ <table class="row section">
1015
+ <tr>
1016
+ <td class="wrapper icon-wrapper">
1017
+
1018
+ <table class="two columns">
1019
+ <tr>
1020
+ <td>
1021
+ <% if app_icon != nil %>
1022
+ <img src="cid:<%= app_icon %>" class="app-icon"/>
1023
+ <% else %>
1024
+ <img src="cid:icon-placeholder.png" class="app-icon logo-decoration"/>
1025
+ <% end %>
1026
+ </td>
1027
+ <td class="expander"></td>
1028
+ </tr>
1029
+ </table>
1030
+
1031
+ </td>
1032
+ <td class="wrapper app-info-section-wrapper">
1033
+
1034
+ <table class="eight columns">
1035
+ <tr>
1036
+ <td class="app-info-section">
1037
+ <span class="app-title"><%= app_name %></span><br>
1038
+ <span class="app-version">Version: <%= app_version %> (<%= build_number %>)</span>
1039
+ </td>
1040
+ <td class="expander"></td>
1041
+ </tr>
1042
+ </table>
1043
+
1044
+ </td>
1045
+
1046
+ <td class="wrapper last install-wrapper">
1047
+ <table class="two columns">
1048
+ <tr>
1049
+ <td>
1050
+ <% if is_android %>
1051
+ <table class="tiny-button install installation-link" bgcolor="#6fc13c">
1052
+ <tr class="installation-link" bgcolor="#6fc13c">
1053
+ <td class="install installation-link" itemscope itemtype="https://schema.org/EmailMessage" bgcolor="#6fc13c">
1054
+ <% else %>
1055
+ <table class="tiny-button install installation-link" bgcolor="#ffffff">
1056
+ <tr class="installation-link" bgcolor="#ffffff">
1057
+ <td class="install installation-link" itemscope itemtype="https://schema.org/EmailMessage" bgcolor="#ffffff">
1058
+ <% end %>
1059
+
1060
+ <a href="<%= installation_link %>" class="install installation-link" itemprop="potentialAction" itemscope itemtype="https://schema.org/ViewAction">
1061
+ <meta itemprop="url" content="<%= installation_link %>"/>
1062
+ <meta itemprop="name" content="Installation page"/>
1063
+ GET</a>
1064
+ </td>
1065
+ </tr>
1066
+ </table>
1067
+ </td>
1068
+ <td class="expander"></td>
1069
+ </tr>
1070
+ </table>
1071
+ </td>
1072
+ </tr>
1073
+ </table>
1074
+
1075
+ <% if !release_notes.nil? && release_notes.count > 0 %>
1076
+ <table class="row section">
1077
+ <tr>
1078
+ <td class="wrapper last whats-new-wrapper">
1079
+ <table class="twelve columns">
1080
+ <tr>
1081
+ <td>
1082
+
1083
+ <span class="whats-new">What's new:</span>
1084
+ <ul class="list">
1085
+ <% for @item in release_notes %>
1086
+ <li class="release-note"><%= @item %></li>
1087
+ <% end %>
1088
+ </ul>
1089
+
1090
+ </td>
1091
+ </tr>
1092
+ </table>
1093
+ </td>
1094
+ </tr>
1095
+ </table>
1096
+ <% end %>
1097
+
1098
+ <table class="row section">
1099
+ <tr>
1100
+ <td class="wrapper last detailed-info-wrapper">
1101
+
1102
+ <table class="twelve columns">
1103
+ <tr>
1104
+ <td>
1105
+ <ul class="detail-info-list">
1106
+ <li class="detailed-info">Platform: <%= platform %></li>
1107
+ <li class="detailed-info">Version: <%= app_version %> (<%= build_number %>)</li>
1108
+ <li class="detailed-info">Release date: <%= release_date %></li>
1109
+ <% if variant_name %>
1110
+ <li class="detailed-info">Variant: <%= variant_name %></li>
1111
+ <% end %>
1112
+ <li class="detailed-info">Size: <%= binary_size %> MB</li>
1113
+ </ul>
1114
+ </td>
1115
+ <td class="expander"></td>
1116
+ </tr>
1117
+ </table>
1118
+
1119
+ </td>
1120
+ </tr>
1121
+ </table>
1122
+
1123
+ <table class="row section">
1124
+ <tr>
1125
+ <td class="wrapper polidea-info-wrapper">
1126
+
1127
+ <table class="nine columns">
1128
+ <tr>
1129
+ <td>
1130
+ <a href="//www.polidea.com"><img src="cid:polidea-logo.png" class="polidea-logo"></a>
1131
+ </td>
1132
+ <td class="expander"></td>
1133
+ </tr>
1134
+ </table>
1135
+
1136
+ </td>
1137
+
1138
+ <td class="wrapper last polidea-info-wrapper">
1139
+
1140
+ <table class="three columns">
1141
+ <tr>
1142
+ <td class="social-section">
1143
+ <div class="social-icon"><a href="//twitter.com/polidea"><img src="cid:polidea-twitter-icon.png" class="social-icon"></a></div>
1144
+ <div class="social-icon"><a href="//github.com/Polidea"><img src="cid:polidea-github-icon.png" class="social-icon"></a></div>
1145
+ <div class="social-icon"><a href="//www.facebook.com/Polidea.Software"><img src="cid:polidea-facebook-icon.png" class="social-icon"></a></div>
1146
+ </td>
1147
+ <td class="expander"></td>
1148
+ </tr>
1149
+ </table>
1150
+
1151
+ </td>
1152
+ </tr>
1153
+ </table>
1154
+
1155
+
1156
+ <table class="row section">
1157
+ <tr>
1158
+ <td class="wrapper last qr-wrapper">
1159
+
1160
+ <table class="twelve columns">
1161
+ <tr>
1162
+ <td align="center">
1163
+ <div class="qr-installation-info">
1164
+ <% if is_android %>
1165
+ Access this build by scanning the QR code with your Android device.<br>
1166
+ If you don't have scanner yet, we recommend <a href="https://play.google.com/store/apps/details?id=com.google.zxing.client.android&hl=en">Barcode Scanner</a><br>
1167
+ <% else %>
1168
+ Access this build by scanning the QR code with your iOS device.<br>
1169
+ If you don't have scanner yet, we recommend <a href="https://itunes.apple.com/pl/app/qrafter-qr-code-barcode-reader/id416098700?mt=8">QRafter</a><br>
1170
+ <% end %>
1171
+ </div>
1172
+ </td>
1173
+ <td class="expander"></td>
1174
+ </tr>
1175
+ </table>
1176
+
1177
+ </td>
1178
+ </tr>
1179
+ </table>
1180
+
1181
+ <table class="row">
1182
+ <tr>
1183
+ <td class="wrapper">
1184
+
1185
+ <table class="four columns">
1186
+ <tr>
1187
+ <td class="expander"></td>
1188
+ </tr>
1189
+ </table>
1190
+
1191
+ </td>
1192
+ <td class="wrapper">
1193
+
1194
+ <table class="four columns">
1195
+ <tr>
1196
+ <td align="center">
1197
+ <img src="cid:qr_code.png" class="qr-code"/>
1198
+ </td>
1199
+ <td class="expander"></td>
1200
+ </tr>
1201
+ </table>
1202
+
1203
+ </td>
1204
+ <td class="wrapper last">
1205
+
1206
+ <table class="four columns">
1207
+ <tr>
1208
+ <td class="expander"></td>
1209
+ </tr>
1210
+ </table>
1211
+
1212
+ </td>
1213
+ </tr>
1214
+ </table>
1215
+ </td>
1216
+ </tr>
1217
+ </table>
1218
+
1219
+ </center>
1220
+ </td>
1221
+ </tr>
1222
+ </table>
1223
+
1224
+ </body>
1225
+ </html>