This is the main dovel repository, it has the Go code to run dovel SMTP server.
Author: bmayer3 (bmayer@sibros.tech)
Date: Tue Feb 14 15:28:44 2023 -0300
Parent: 7ea8e99
Adjusted theme
commit 336468eec193b9337899c214a81c0c62f633d257 Author: bmayer3 <bmayer@sibros.tech> Date: Tue Feb 14 15:28:44 2023 -0300 Adjusted theme diff --git a/www/inboxes.html b/www/inboxes.html index 84d1b9a..0b82ec3 100644 --- a/www/inboxes.html +++ b/www/inboxes.html @@ -1,16 +1,12 @@ {{template "head.html"}} -<section> - <b>inbox {{.Get "inbox"}}</b><br><br> - <a href="index.html">index</a>  - <a href="compose.html?inbox={{.Get "inbox"}}">compose</a> -</section> -<br> +<b>inbox {{.Get "inbox"}}</b><br><br> +<a href="index.html">index</a>  +<a href="compose.html?inbox={{.Get "inbox"}}">compose</a> +<br><br> -<section> {{range (inboxes (.Get "inbox"))}} <a href="mails.html?inbox={{$.Get "inbox"}}&subj={{.Title}}">{{.Title}}</a><br> Updated: {{.LastMod.Format "Mon, 02 Jan 2006 15:04:05 MST"}}<br> <br> {{end}} -</section>
commit 336468eec193b9337899c214a81c0c62f633d257 Author: bmayer3 <bmayer@sibros.tech> Date: Tue Feb 14 15:28:44 2023 -0300 Adjusted theme diff --git a/www/index.html b/www/index.html index ed981cb..daa0264 100644 --- a/www/index.html +++ b/www/index.html @@ -1,16 +1,13 @@ {{template "head.html"}} -<section> - <b>inboxes!</b><br><br> +<b>inboxes!</b><br> +<br> - <a href=compose.html>compose</a> -</section> +<a href=compose.html>compose</a><br> <br> -<section> {{range (inboxes ".")}} <a href="inboxes.html?inbox={{.Title}}">{{.Title}}</a><br> - Updated: {{.LastMod.Format "Mon, 02 Jan 2006 15:04:05 MST"}} - <br><br> + Updated: {{.LastMod.Format "Mon, 02 Jan 2006 15:04:05 MST"}}<br> + <br> {{end}} -</section>
commit 336468eec193b9337899c214a81c0c62f633d257 Author: bmayer3 <bmayer@sibros.tech> Date: Tue Feb 14 15:28:44 2023 -0300 Adjusted theme diff --git a/www/mail.html b/www/mail.html index 69a198f..5cb4617 100644 --- a/www/mail.html +++ b/www/mail.html @@ -2,21 +2,23 @@ {{with $subj := printf "%s/%s" (.Get "inbox") (.Get "subj")}} {{with $inbox := ($.Get "inbox")}} -<section> - <a href="mails.html?inbox={{$inbox}}&subj={{index $.subj 0}}">back</a><br><br> +<b>{{$.Get "subj"}}</b><br> +<br> - <a href="compose.html?inbox={{$inbox}}&subj={{index $.subj 0}}">compose</a> -</section> +<a href="mails.html?inbox={{$inbox}}&subj={{index $.subj 0}}">back</a>  +<a href="compose.html?inbox={{$inbox}}&subj={{index $.subj 0}}">reply</a><br> <br> + {{range (mails $subj)}} - <section> - From: {{.From}}<br> + {{if eq .From $inbox}} To: {{index .To 0}}<br> + {{else}} + From: {{.From}}<br> + {{end}} Date: {{.Date.Format "Mon, 02 Jan 2006 15:04:05 MST"}}<br> {{if .Cc}} Cc: .Cc<br> {{end}} - Subject: {{.Subject}}<br> {{if .Attachments}} <br> Attachments:<br> @@ -26,10 +28,9 @@ {{end}} {{if .Body}} <br> - Body:<br><br> - {{.Body}} + {{.Body}}<br> {{end}} - </section> + <br> {{end}} {{end}}
commit 336468eec193b9337899c214a81c0c62f633d257 Author: bmayer3 <bmayer@sibros.tech> Date: Tue Feb 14 15:28:44 2023 -0300 Adjusted theme diff --git a/www/mails.html b/www/mails.html index dad7112..f75d124 100644 --- a/www/mails.html +++ b/www/mails.html @@ -1,13 +1,11 @@ {{template "head.html"}} -<section> - <b>about {{.Get "inbox"}}</b><br><br> - <a href="inboxes.html?inbox={{.Get "inbox"}}">inbox</a>  - <a href="compose.html?inbox={{.Get "inbox"}}">compose</a> -</section> +<b>about {{.Get "inbox"}}</b><br> +<br> +<a href="inboxes.html?inbox={{.Get "inbox"}}">inbox</a>  +<a href="compose.html?inbox={{.Get "inbox"}}">compose</a><br> <br> -<section> {{range (mails (print (.Get "inbox") "/" (.Get "subj")))}} <a href="mail.html?inbox={{$.Get "inbox"}}&subj={{$.Get "subj"}}&id={{.ID}}">{{$.Get "subj"}}</a><br> {{if eq ($.Get "inbox") .From}} @@ -30,4 +28,3 @@ {{end}} <br> {{end}} -</section>
commit 336468eec193b9337899c214a81c0c62f633d257 Author: bmayer3 <bmayer@sibros.tech> Date: Tue Feb 14 15:28:44 2023 -0300 Adjusted theme diff --git a/www/style-min.html b/www/style-min.html index 24fb2a0..ac5fb98 100644 --- a/www/style-min.html +++ b/www/style-min.html @@ -6,10 +6,6 @@ color: #0f0; font-family: monospace; } - section { - border: 2px solid #0f0; - padding: 12px; - } a { color:#f0f }