This is the main dovel repository, it has the Go code to run dovel SMTP server.
Author: bmayer3 (bmayer@sibros.tech)
Date: Sat Feb 11 14:20:54 2023 -0300
Parent: 49425c9
Updated style
commit 881b4b48f56887bb32950060ceca623b748c3c17 Author: bmayer3 <bmayer@sibros.tech> Date: Sat Feb 11 14:20:54 2023 -0300 Updated style diff --git a/www/compose.html b/www/compose.html index 0605c73..18621a6 100644 --- a/www/compose.html +++ b/www/compose.html @@ -1,19 +1,15 @@ -<title>dovel</title> -<link rel=icon href=data:;,> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -{{template "style-min.html"}} -{{template "style-compose.html"}} -<pre> -<b>// composing</b> +{{template "head.html"}} + +<p>// <b>composing</b></p> + <form action=/out method=post enctype=multipart/form-data> -// From: <input name=from placeholder="___________" {{if .inbox}}value="{{index .inbox 0}}"{{end}}> -// To: <input name=to placeholder="________"> -// CC: <input name=cc placeholder="________"> -// CCo: <input name=cco placeholder="________"> -// Subject: <input name=subject placeholder="_________" {{if .subj}}value="{{index .subj 0}}"{{end}}> -/* Body: -<textarea name=body rows="7" cols="50" placeholder="________"></textarea> -*/ -// <input type=submit value=send> + // From: <input name=from placeholder="___________" {{if .inbox}}value="{{index .inbox 0}}"{{end}}><br> + // To: <input name=to placeholder="________"><br> + // CC: <input name=cc placeholder="________"><br> + // CCo: <input name=cco placeholder="________"><br> + // Subject: <input name=subject placeholder="_________" {{if .subj}}value="{{index .subj 0}}"{{end}}><br> + // Body:<br><br> + <textarea name=body rows="7" cols="50" placeholder="________"></textarea><br> + <br> + // <input type=submit value=send> </form> -</pre>
commit 881b4b48f56887bb32950060ceca623b748c3c17 Author: bmayer3 <bmayer@sibros.tech> Date: Sat Feb 11 14:20:54 2023 -0300 Updated style diff --git a/www/style-compose.html b/www/style-compose.html deleted file mode 100644 index 3db1284..0000000 --- a/www/style-compose.html +++ /dev/null @@ -1,14 +0,0 @@ -<style> - input { - background: #000; - color: #0f0; - border: none; - font: monospace; - } - textarea { - background: #000; - color: #0f0; - border: none; - font: monospace; - } -</style>
commit 881b4b48f56887bb32950060ceca623b748c3c17 Author: bmayer3 <bmayer@sibros.tech> Date: Sat Feb 11 14:20:54 2023 -0300 Updated style diff --git a/www/style-min.html b/www/style-min.html index 3b489ea..df86487 100644 --- a/www/style-min.html +++ b/www/style-min.html @@ -1,16 +1,24 @@ <style> -body{ - width:541; - margin:99 auto; - background:#000; - color:#0f0; - font-family: monospace; -} -a{ - color:#f0f -} -pre{ - white-space: pre-wrap; -} + body{ + width: 541; + margin: 99 auto; + background: #000; + color: #0f0; + font-family: monospace; + } + a{ + color:#f0f + } + input, textarea { + background: #000; + border: none; + color: #0f0; + font-family: monospace; + } + input[type="submit"] { + text-decoration: underline; + cursor: pointer; + color: #f0f; + } </style>