mails 0.0.2 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.npmignore +1 -3
- package/LICENSE +1 -1
- package/README.en.md +32 -36
- package/README.md +46 -49
- package/dist/render.js +42 -0
- package/dist/render.js.map +1 -0
- package/libs/render.js +21 -0
- package/package.json +17 -13
- package/README.sample.md +0 -58
- package/bin/cli +0 -3
- package/cli.js +0 -141
- package/index.js +0 -86
- package/package.sample.json +0 -20
- package/styles/basic.css +0 -77
- package/styles/ink.css +0 -548
- package/styles/mails.css +0 -86
- package/templates/basic.html +0 -171
- package/templates/hero.html +0 -228
- package/templates/layout.html +0 -20
- package/templates/newsletter.html +0 -336
- package/templates/one.html +0 -143
- package/templates/sidebar-hero.html +0 -277
- package/templates/sidebar.html +0 -249
|
@@ -1,277 +0,0 @@
|
|
|
1
|
-
{% extends 'layout.html' %}
|
|
2
|
-
|
|
3
|
-
{% block css %}
|
|
4
|
-
<link rel="stylesheet" href="../styles/basic.css" />
|
|
5
|
-
{% endblock %}
|
|
6
|
-
|
|
7
|
-
{% block content %}
|
|
8
|
-
|
|
9
|
-
<table class="row header">
|
|
10
|
-
<tr>
|
|
11
|
-
<td class="center" align="center">
|
|
12
|
-
<center>
|
|
13
|
-
|
|
14
|
-
<table class="container">
|
|
15
|
-
<tr>
|
|
16
|
-
<td class="wrapper last">
|
|
17
|
-
|
|
18
|
-
<table class="twelve columns">
|
|
19
|
-
<tr>
|
|
20
|
-
<td class="six sub-columns">
|
|
21
|
-
<img src="http://placehold.it/200x50">
|
|
22
|
-
</td>
|
|
23
|
-
<td class="six sub-columns last" style="text-align:right; vertical-align:middle;">
|
|
24
|
-
<span class="template-label">SIDEBAR HERO</span>
|
|
25
|
-
</td>
|
|
26
|
-
|
|
27
|
-
</tr>
|
|
28
|
-
</table>
|
|
29
|
-
|
|
30
|
-
</td>
|
|
31
|
-
</tr>
|
|
32
|
-
</table>
|
|
33
|
-
|
|
34
|
-
</center>
|
|
35
|
-
</td>
|
|
36
|
-
</tr>
|
|
37
|
-
</table>
|
|
38
|
-
|
|
39
|
-
<br>
|
|
40
|
-
|
|
41
|
-
<table class="container">
|
|
42
|
-
<tr>
|
|
43
|
-
<td>
|
|
44
|
-
|
|
45
|
-
<!-- content start -->
|
|
46
|
-
<table class="row">
|
|
47
|
-
<tr>
|
|
48
|
-
<td class="wrapper last">
|
|
49
|
-
|
|
50
|
-
<table class="twelve columns">
|
|
51
|
-
<tr>
|
|
52
|
-
<td>
|
|
53
|
-
<h2>Welcome, Daneel Olivan</h2>
|
|
54
|
-
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et.</p>
|
|
55
|
-
<img width="580" height="300" src="http://placehold.it/580x300">
|
|
56
|
-
</td>
|
|
57
|
-
<td class="expander"></td>
|
|
58
|
-
</tr>
|
|
59
|
-
</table>
|
|
60
|
-
|
|
61
|
-
<table class="twelve columns">
|
|
62
|
-
<tr>
|
|
63
|
-
<td class="panel">
|
|
64
|
-
<p>Phasellus dictum sapien a neque luctus cursus. Pellentesque sem dolor, fringilla et pharetra vitae. <a href="#">Click it! »</a></p>
|
|
65
|
-
</td>
|
|
66
|
-
<td class="expander"></td>
|
|
67
|
-
</tr>
|
|
68
|
-
</table>
|
|
69
|
-
|
|
70
|
-
</td>
|
|
71
|
-
</tr>
|
|
72
|
-
</table>
|
|
73
|
-
|
|
74
|
-
<br> <!-- Break Tag for row -->
|
|
75
|
-
|
|
76
|
-
<table class="row">
|
|
77
|
-
<tr>
|
|
78
|
-
<td class="wrapper">
|
|
79
|
-
|
|
80
|
-
<table class="six columns">
|
|
81
|
-
<tr>
|
|
82
|
-
<td>
|
|
83
|
-
|
|
84
|
-
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et. Lorem ipsum dolor sit amet.</p>
|
|
85
|
-
|
|
86
|
-
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et. Lorem ipsum dolor sit amet.</p>
|
|
87
|
-
|
|
88
|
-
<a class="button" href="#">
|
|
89
|
-
<table>
|
|
90
|
-
<tr>
|
|
91
|
-
<td>
|
|
92
|
-
Click Me!
|
|
93
|
-
</td>
|
|
94
|
-
</tr>
|
|
95
|
-
</table>
|
|
96
|
-
</a>
|
|
97
|
-
|
|
98
|
-
</td>
|
|
99
|
-
<td class="expander"></td>
|
|
100
|
-
</tr>
|
|
101
|
-
</table>
|
|
102
|
-
|
|
103
|
-
</td>
|
|
104
|
-
<td class="wrapper last">
|
|
105
|
-
|
|
106
|
-
<table class="six columns">
|
|
107
|
-
<tr>
|
|
108
|
-
<td class="panel">
|
|
109
|
-
<h6>Header Thing »</h6>
|
|
110
|
-
<p>Sub-head or something</p>
|
|
111
|
-
<a class="link" href="#">
|
|
112
|
-
<table>
|
|
113
|
-
<tr>
|
|
114
|
-
<td>
|
|
115
|
-
Just a Plain Link »
|
|
116
|
-
</td>
|
|
117
|
-
</tr>
|
|
118
|
-
</table>
|
|
119
|
-
</a>
|
|
120
|
-
<hr>
|
|
121
|
-
<a class="link" href="#">
|
|
122
|
-
<table>
|
|
123
|
-
<tr>
|
|
124
|
-
<td>
|
|
125
|
-
Just a Plain Link »
|
|
126
|
-
</td>
|
|
127
|
-
</tr>
|
|
128
|
-
</table>
|
|
129
|
-
</a>
|
|
130
|
-
<hr>
|
|
131
|
-
<a class="link" href="#">
|
|
132
|
-
<table>
|
|
133
|
-
<tr>
|
|
134
|
-
<td>
|
|
135
|
-
Just a Plain Link »
|
|
136
|
-
</td>
|
|
137
|
-
</tr>
|
|
138
|
-
</table>
|
|
139
|
-
</a>
|
|
140
|
-
<hr>
|
|
141
|
-
<a class="link" href="#">
|
|
142
|
-
<table>
|
|
143
|
-
<tr>
|
|
144
|
-
<td>
|
|
145
|
-
Just a Plain Link »
|
|
146
|
-
</td>
|
|
147
|
-
</tr>
|
|
148
|
-
</table>
|
|
149
|
-
</a>
|
|
150
|
-
<hr>
|
|
151
|
-
<a class="link" href="#">
|
|
152
|
-
<table>
|
|
153
|
-
<tr>
|
|
154
|
-
<td>
|
|
155
|
-
Just a Plain Link »
|
|
156
|
-
</td>
|
|
157
|
-
</tr>
|
|
158
|
-
</table>
|
|
159
|
-
</a>
|
|
160
|
-
<hr>
|
|
161
|
-
<a class="link" href="#">
|
|
162
|
-
<table>
|
|
163
|
-
<tr>
|
|
164
|
-
<td>
|
|
165
|
-
Just a Plain Link »
|
|
166
|
-
</td>
|
|
167
|
-
</tr>
|
|
168
|
-
</table>
|
|
169
|
-
</a>
|
|
170
|
-
<hr>
|
|
171
|
-
<a class="link" href="#">
|
|
172
|
-
<table>
|
|
173
|
-
<tr>
|
|
174
|
-
<td>
|
|
175
|
-
Just a Plain Link »
|
|
176
|
-
</td>
|
|
177
|
-
</tr>
|
|
178
|
-
</table>
|
|
179
|
-
</a>
|
|
180
|
-
<hr>
|
|
181
|
-
<a class="link" href="#">
|
|
182
|
-
<table>
|
|
183
|
-
<tr>
|
|
184
|
-
<td>
|
|
185
|
-
Just a Plain Link »
|
|
186
|
-
</td>
|
|
187
|
-
</tr>
|
|
188
|
-
</table>
|
|
189
|
-
</a>
|
|
190
|
-
<hr>
|
|
191
|
-
<a class="link" href="#">
|
|
192
|
-
<table>
|
|
193
|
-
<tr>
|
|
194
|
-
<td>
|
|
195
|
-
Just a Plain Link »
|
|
196
|
-
</td>
|
|
197
|
-
</tr>
|
|
198
|
-
</table>
|
|
199
|
-
</a>
|
|
200
|
-
</td>
|
|
201
|
-
<td class="expander"></td>
|
|
202
|
-
</tr>
|
|
203
|
-
</table>
|
|
204
|
-
<br>
|
|
205
|
-
<table class="six columns">
|
|
206
|
-
<tr>
|
|
207
|
-
<td class="panel">
|
|
208
|
-
<h6 style="margin-bottom:5px;">Connect With Us:</h6>
|
|
209
|
-
<a class="tiny-button full facebook" href="#">
|
|
210
|
-
<table>
|
|
211
|
-
<tr>
|
|
212
|
-
<td>
|
|
213
|
-
Facebook
|
|
214
|
-
</td>
|
|
215
|
-
</tr>
|
|
216
|
-
</table>
|
|
217
|
-
</a>
|
|
218
|
-
<hr>
|
|
219
|
-
<a class="tiny-button full twitter" href="#">
|
|
220
|
-
<table>
|
|
221
|
-
<tr>
|
|
222
|
-
<td>
|
|
223
|
-
Twitter
|
|
224
|
-
</td>
|
|
225
|
-
</tr>
|
|
226
|
-
</table>
|
|
227
|
-
</a>
|
|
228
|
-
<hr>
|
|
229
|
-
<a class="tiny-button full google-plus" href="#">
|
|
230
|
-
<table>
|
|
231
|
-
<tr>
|
|
232
|
-
<td>
|
|
233
|
-
Google +
|
|
234
|
-
</td>
|
|
235
|
-
</tr>
|
|
236
|
-
</table>
|
|
237
|
-
</a>
|
|
238
|
-
<br>
|
|
239
|
-
<h6 style="margin-bottom:5px;">Contact Info:</h6>
|
|
240
|
-
<p>Phone: <b>408.341.0600</b></p>
|
|
241
|
-
<p>Email: <a href="mailto:hseldon@trantor.com">hseldon@trantor.com</a></p>
|
|
242
|
-
</td>
|
|
243
|
-
<td class="expander"></td>
|
|
244
|
-
</tr>
|
|
245
|
-
</table>
|
|
246
|
-
|
|
247
|
-
</td>
|
|
248
|
-
</tr>
|
|
249
|
-
</table>
|
|
250
|
-
<br>
|
|
251
|
-
<br>
|
|
252
|
-
<!-- Legal + Unsubscribe -->
|
|
253
|
-
<table class="row">
|
|
254
|
-
<tr>
|
|
255
|
-
<td class="wrapper last">
|
|
256
|
-
|
|
257
|
-
<table class="twelve columns">
|
|
258
|
-
<tr>
|
|
259
|
-
<td align="center">
|
|
260
|
-
<center>
|
|
261
|
-
<p style="text-align:center;"><a href="#">Terms</a> | <a href="#">Privacy</a> | <a href="#"><unsubscribe>Unsubscribe</unsubscribe></a></p>
|
|
262
|
-
</center>
|
|
263
|
-
</td>
|
|
264
|
-
<td class="expander"></td>
|
|
265
|
-
</tr>
|
|
266
|
-
</table>
|
|
267
|
-
|
|
268
|
-
</td>
|
|
269
|
-
</tr>
|
|
270
|
-
</table>
|
|
271
|
-
|
|
272
|
-
<!-- container end below -->
|
|
273
|
-
</td>
|
|
274
|
-
</tr>
|
|
275
|
-
</table>
|
|
276
|
-
|
|
277
|
-
{% endblock %}
|
package/templates/sidebar.html
DELETED
|
@@ -1,249 +0,0 @@
|
|
|
1
|
-
{% extends 'layout.html' %}
|
|
2
|
-
|
|
3
|
-
{% block css %}
|
|
4
|
-
<link rel="stylesheet" href="../styles/basic.css" />
|
|
5
|
-
{% endblock %}
|
|
6
|
-
|
|
7
|
-
{% block content %}
|
|
8
|
-
|
|
9
|
-
<table class="row header">
|
|
10
|
-
<tr>
|
|
11
|
-
<td class="center" align="center">
|
|
12
|
-
<center>
|
|
13
|
-
|
|
14
|
-
<table class="container">
|
|
15
|
-
<tr>
|
|
16
|
-
<td class="wrapper last">
|
|
17
|
-
|
|
18
|
-
<table class="twelve columns">
|
|
19
|
-
<tr>
|
|
20
|
-
<td class="six sub-columns">
|
|
21
|
-
<img src="http://placehold.it/200x50">
|
|
22
|
-
</td>
|
|
23
|
-
<td class="six sub-columns last" style="text-align:right; vertical-align:middle;">
|
|
24
|
-
<span class="template-label">SIDEBAR HERO</span>
|
|
25
|
-
</td>
|
|
26
|
-
|
|
27
|
-
</tr>
|
|
28
|
-
</table>
|
|
29
|
-
|
|
30
|
-
</td>
|
|
31
|
-
</tr>
|
|
32
|
-
</table>
|
|
33
|
-
|
|
34
|
-
</center>
|
|
35
|
-
</td>
|
|
36
|
-
</tr>
|
|
37
|
-
</table>
|
|
38
|
-
|
|
39
|
-
<br>
|
|
40
|
-
|
|
41
|
-
<table class="container">
|
|
42
|
-
<tr>
|
|
43
|
-
<td>
|
|
44
|
-
|
|
45
|
-
<!-- content start -->
|
|
46
|
-
|
|
47
|
-
<table class="row">
|
|
48
|
-
<tr>
|
|
49
|
-
<td class="wrapper">
|
|
50
|
-
|
|
51
|
-
<table class="six columns">
|
|
52
|
-
<tr>
|
|
53
|
-
<td>
|
|
54
|
-
<h4>Hello, Han Fastolfe</h4>
|
|
55
|
-
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et.</p>
|
|
56
|
-
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et. Lorem ipsum dolor sit amet.</p>
|
|
57
|
-
</td>
|
|
58
|
-
<td class="expander"></td>
|
|
59
|
-
</tr>
|
|
60
|
-
</table>
|
|
61
|
-
|
|
62
|
-
<table class="six columns">
|
|
63
|
-
<tr>
|
|
64
|
-
<td class="panel">
|
|
65
|
-
<p>Phasellus dictum sapien a neque luctus cursus. Pellentesque sem dolor, fringilla et pharetra vitae. <a href="#">Click it! »</a></p>
|
|
66
|
-
</td>
|
|
67
|
-
|
|
68
|
-
<td class="expander"></td>
|
|
69
|
-
</tr>
|
|
70
|
-
</table>
|
|
71
|
-
|
|
72
|
-
<table class="six columns">
|
|
73
|
-
<tr>
|
|
74
|
-
<td>
|
|
75
|
-
<br>
|
|
76
|
-
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et.</p>
|
|
77
|
-
|
|
78
|
-
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et. Lorem ipsum dolor sit amet.</p>
|
|
79
|
-
<a class="button" href="#">
|
|
80
|
-
<table>
|
|
81
|
-
<tr>
|
|
82
|
-
<td>
|
|
83
|
-
Click Me!
|
|
84
|
-
</td>
|
|
85
|
-
</tr>
|
|
86
|
-
</table>
|
|
87
|
-
</a>
|
|
88
|
-
</td>
|
|
89
|
-
<td class="expander"></td>
|
|
90
|
-
</tr>
|
|
91
|
-
</table>
|
|
92
|
-
|
|
93
|
-
</td>
|
|
94
|
-
<td class="wrapper last">
|
|
95
|
-
|
|
96
|
-
<table class="six columns">
|
|
97
|
-
<tr>
|
|
98
|
-
<td class="panel">
|
|
99
|
-
<h6>Header Thing »</h6>
|
|
100
|
-
<p>Sub-head or something</p>
|
|
101
|
-
<a class="link" href="#">
|
|
102
|
-
<table>
|
|
103
|
-
<tr>
|
|
104
|
-
<td>
|
|
105
|
-
Just a Plain Link »
|
|
106
|
-
</td>
|
|
107
|
-
</tr>
|
|
108
|
-
</table>
|
|
109
|
-
</a>
|
|
110
|
-
<hr>
|
|
111
|
-
<a class="link" href="#">
|
|
112
|
-
<table>
|
|
113
|
-
<tr>
|
|
114
|
-
<td>
|
|
115
|
-
Just a Plain Link »
|
|
116
|
-
</td>
|
|
117
|
-
</tr>
|
|
118
|
-
</table>
|
|
119
|
-
</a>
|
|
120
|
-
<hr>
|
|
121
|
-
<a class="link" href="#">
|
|
122
|
-
<table>
|
|
123
|
-
<tr>
|
|
124
|
-
<td>
|
|
125
|
-
Just a Plain Link »
|
|
126
|
-
</td>
|
|
127
|
-
</tr>
|
|
128
|
-
</table>
|
|
129
|
-
</a>
|
|
130
|
-
<hr>
|
|
131
|
-
<a class="link" href="#">
|
|
132
|
-
<table>
|
|
133
|
-
<tr>
|
|
134
|
-
<td>
|
|
135
|
-
Just a Plain Link »
|
|
136
|
-
</td>
|
|
137
|
-
</tr>
|
|
138
|
-
</table>
|
|
139
|
-
</a>
|
|
140
|
-
<hr>
|
|
141
|
-
<a class="link" href="#">
|
|
142
|
-
<table>
|
|
143
|
-
<tr>
|
|
144
|
-
<td>
|
|
145
|
-
Just a Plain Link »
|
|
146
|
-
</td>
|
|
147
|
-
</tr>
|
|
148
|
-
</table>
|
|
149
|
-
</a>
|
|
150
|
-
<hr>
|
|
151
|
-
<a class="link" href="#">
|
|
152
|
-
<table>
|
|
153
|
-
<tr>
|
|
154
|
-
<td>
|
|
155
|
-
Just a Plain Link »
|
|
156
|
-
</td>
|
|
157
|
-
</tr>
|
|
158
|
-
</table>
|
|
159
|
-
</a>
|
|
160
|
-
<hr>
|
|
161
|
-
<a class="link" href="#">
|
|
162
|
-
<table>
|
|
163
|
-
<tr>
|
|
164
|
-
<td>
|
|
165
|
-
Just a Plain Link »
|
|
166
|
-
</td>
|
|
167
|
-
</tr>
|
|
168
|
-
</table>
|
|
169
|
-
</a>
|
|
170
|
-
</td>
|
|
171
|
-
<td class="expander"></td>
|
|
172
|
-
</tr>
|
|
173
|
-
</table>
|
|
174
|
-
|
|
175
|
-
<br>
|
|
176
|
-
|
|
177
|
-
<table class="six columns">
|
|
178
|
-
<tr>
|
|
179
|
-
<td class="panel">
|
|
180
|
-
<h6 style="margin-bottom:5px;">Connect With Us:</h6>
|
|
181
|
-
<a class="tiny-button facebook" href="#">
|
|
182
|
-
<table>
|
|
183
|
-
<tr>
|
|
184
|
-
<td>
|
|
185
|
-
Facebook
|
|
186
|
-
</td>
|
|
187
|
-
</tr>
|
|
188
|
-
</table>
|
|
189
|
-
</a>
|
|
190
|
-
<hr>
|
|
191
|
-
<a class="tiny-button twitter" href="#">
|
|
192
|
-
<table>
|
|
193
|
-
<tr>
|
|
194
|
-
<td>
|
|
195
|
-
Twitter
|
|
196
|
-
</td>
|
|
197
|
-
</tr>
|
|
198
|
-
</table>
|
|
199
|
-
</a>
|
|
200
|
-
<hr>
|
|
201
|
-
<a class="tiny-button google-plus" href="#">
|
|
202
|
-
<table>
|
|
203
|
-
<tr>
|
|
204
|
-
<td>
|
|
205
|
-
Google +
|
|
206
|
-
</td>
|
|
207
|
-
</tr>
|
|
208
|
-
</table>
|
|
209
|
-
</a>
|
|
210
|
-
<br>
|
|
211
|
-
<h6 style="margin-bottom:5px;">Contact Info:</h6>
|
|
212
|
-
<p>Phone: <b>408.341.0600</b></p>
|
|
213
|
-
<p>Email: <a href="mailto:hseldon@trantor.com">hseldon@trantor.com</a></p>
|
|
214
|
-
</td>
|
|
215
|
-
<td class="expander"></td>
|
|
216
|
-
</tr>
|
|
217
|
-
</table>
|
|
218
|
-
|
|
219
|
-
</td>
|
|
220
|
-
</tr>
|
|
221
|
-
</table>
|
|
222
|
-
<br>
|
|
223
|
-
<br>
|
|
224
|
-
<!-- Legal + Unsubscribe -->
|
|
225
|
-
<table class="row">
|
|
226
|
-
<tr>
|
|
227
|
-
<td class="wrapper last">
|
|
228
|
-
|
|
229
|
-
<table class="twelve columns">
|
|
230
|
-
<tr>
|
|
231
|
-
<td align="center">
|
|
232
|
-
<center>
|
|
233
|
-
<p style="text-align:center;"><a href="#">Terms</a> | <a href="#">Privacy</a> | <a href="#"><unsubscribe>Unsubscribe</unsubscribe></a></p>
|
|
234
|
-
</center>
|
|
235
|
-
</td>
|
|
236
|
-
<td class="expander"></td>
|
|
237
|
-
</tr>
|
|
238
|
-
</table>
|
|
239
|
-
|
|
240
|
-
</td>
|
|
241
|
-
</tr>
|
|
242
|
-
</table>
|
|
243
|
-
|
|
244
|
-
<!-- container end below -->
|
|
245
|
-
</td>
|
|
246
|
-
</tr>
|
|
247
|
-
</table>
|
|
248
|
-
|
|
249
|
-
{% endblock %}
|