From aef0b713d2e50ca1dfec57727e734df25217ed7a Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Fri, 11 Oct 2019 12:33:27 +0200 Subject: [PATCH] Add HTML templates --- templates/html.ace | 289 ++++++++++++++++++++++++++++ templates/{html2.tmpl => html.html} | 95 +++------ templates/html.mjml | 24 +++ templates/html.tmpl | 289 ++++++++++++++++++++++++++++ templates/html.tmpl.html | 1 + 5 files changed, 632 insertions(+), 66 deletions(-) create mode 100644 templates/html.ace rename templates/{html2.tmpl => html.html} (72%) create mode 100644 templates/html.mjml create mode 120000 templates/html.tmpl.html diff --git a/templates/html.ace b/templates/html.ace new file mode 100644 index 0000000..48f06ca --- /dev/null +++ b/templates/html.ace @@ -0,0 +1,289 @@ +doctype transitional +html(style="width:100%;font-family:lato, 'helvetica neue', helvetica, arial, sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;padding:0;Margin:0;") + head + meta(charset='UTF-8') + meta(content='width=device-width, initial-scale=1', name='viewport') + meta(name='x-apple-disable-message-reformatting') + meta(http-equiv='X-UA-Compatible', content='IE=edge') + meta(content='telephone=no', name='format-detection') + title MailForGoals + //if (mso 16) + style(type='text/css'). + a {text-decoration: none;} + //if gte mso 9 + style. + sup { font-size: 100% !important; } + // [if !mso] - Musala Mail + MailForGoals @@ -73,40 +73,6 @@ a[x-apple-data-detectors] {
- - - - - -
- - - - -
- - - - - -
- - - - -

Put your preheader text here

- - - - - -
- - - - -

View in browser

-
@@ -192,24 +158,30 @@ a[x-apple-data-detectors] { - - - - - - - - - - - - - + - + - + @@ -320,4 +283,4 @@ a[x-apple-data-detectors] {
@@ -170,7 +136,7 @@ a[x-apple-data-detectors] { - +

Mardi 04 Septembre

{{ Context.Date }}

- + -

Your daily task list for

La classe américaine

Your daily task list for

{{ Board.Title }}

- - + + + - + - + - +
- - - - + + + +
+ + +
+ + + + + +
{{ List.Title }}
@@ -222,13 +194,13 @@ a[x-apple-data-detectors] {

Rendez vous avec les journalistes

{{ Card.Title }}

Georges A., pour le jeudi 27 avril 2019

{{ Card.Author }}, due on {{ Card.Date }}

Blablabla, super projet, lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies sed, dolor.  >> voir plus

{{ Card.Description }}  >> see more

@@ -238,15 +210,6 @@ a[x-apple-data-detectors] {

Rendez vous avec les journalistes

Georges A., pour le jeudi 27 avril 2019

Blablabla, super projet, lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies sed, dolor.  >> voir plus

@@ -273,13 +236,13 @@ a[x-apple-data-detectors] {

Rendez vous avec les journalistes

Delenda est Carthago

Georges A., pour le jeudi 27 avril 2019

Julius C., pour le jeudi 27 avril 2019

Blablabla, super projet, lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies sed, dolor.  >> voir plus

Blablabla, super projet, lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies sed, dolor.  >> see more

@@ -307,7 +270,7 @@ a[x-apple-data-detectors] { - +

Pour ne plus recevoir ces emails, vous pouvez modifiez vos préférences de notification dans TrelloToMail.

To stop receiving these emails, you can change your  notification preferences in Musala Mail.

- + \ No newline at end of file diff --git a/templates/html.mjml b/templates/html.mjml new file mode 100644 index 0000000..5ace1cf --- /dev/null +++ b/templates/html.mjml @@ -0,0 +1,24 @@ + + + + + + + + + + + Hello World + + + + + + Your daily task list + {{ Context.Board }} + Plop + + + + + diff --git a/templates/html.tmpl b/templates/html.tmpl index e69de29..540006d 100644 --- a/templates/html.tmpl +++ b/templates/html.tmpl @@ -0,0 +1,289 @@ + + + + + + + + + MailForGoals + + + + + + + + +
+ + + + + + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + + + +
+ + + + + +
+ + + + +
+ + + + + +
+ + + + +


+ + + + +
+ + + + +

{{ Context.Date }}

+ + + + +
+ + + + +
+ + + + + + + + + + +
+ BEFORE TABLE3 + + + + + + + + + + +

Your daily task list for

{{ Board.Title }}

>> open in Trello

+ BEFORE TABLE2 + + + + +
+ BEFORE TABLE + + + + + +
{{ List.Title }}
AFTER TABLE
AFTER TABLE2
AFTER TABLE3
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +

{{ Card.Title }}

{{ Card.Author }}, due on {{ Card.Date }}

{{ Card.Description }}  >> see more

+ + + + +
+ + + + +
+ + + + + +
+ + + + +

Delenda est Carthago

Julius C., pour le jeudi 27 avril 2019

Blablabla, super projet, lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies sed, dolor.  >> see more

+ + + + +
+ + + + +
+
+ + diff --git a/templates/html.tmpl.html b/templates/html.tmpl.html new file mode 120000 index 0000000..3e148c0 --- /dev/null +++ b/templates/html.tmpl.html @@ -0,0 +1 @@ +html.tmpl \ No newline at end of file