diff --git a/components/InboxList.vue b/components/InboxList.vue new file mode 100644 index 0000000..04ab42b --- /dev/null +++ b/components/InboxList.vue @@ -0,0 +1,92 @@ + + + + + + + + + {{ mail.from.name }} + + + + + {{ isToday(new Date(mail.date)) ? format(new Date(mail.date), 'HH:mm') : format(new Date(mail.date), 'dd MMM') }} + + + {{ mail.subject }} + + + {{ mail.body }} + + + + + + + \ No newline at end of file diff --git a/components/InboxMail.vue b/components/InboxMail.vue new file mode 100644 index 0000000..fcf7314 --- /dev/null +++ b/components/InboxMail.vue @@ -0,0 +1,53 @@ + + + + + + + + + + + {{ mail.from.name }} + + + {{ mail.subject }} + + + + + + {{ isToday(new Date(mail.date)) ? format(new Date(mail.date), 'HH:mm') : format(new Date(mail.date), 'dd MMM') }} + + + + + + + + {{ mail.body }} + + + + + + + + + + + + \ No newline at end of file diff --git a/pages/email.vue b/pages/email.vue index 106ec80..53038bb 100644 --- a/pages/email.vue +++ b/pages/email.vue @@ -1,5 +1,7 @@ - + + Antworten–> @@ -254,63 +502,79 @@ setup() {{messageText}} - + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file
+ {{ mail.subject }} +
+ {{ mail.body }} +
+ {{ mail.from.name }} +
+ {{ isToday(new Date(mail.date)) ? format(new Date(mail.date), 'HH:mm') : format(new Date(mail.date), 'dd MMM') }} +