nthmail/pkg/web_server/header.templ
Guilherme Rugai Freire 48e7b5a9a5
integrate web and mail server
now, there is only one binary that starts both servers,
making them use the same SQL connection.

this commit also added some `defer tx.Commit()` to ensure
all the transactions were closed
2024-07-10 16:56:46 -03:00

14 lines
200 B
Plaintext

package web_server
templ header(rcpt_addr string) {
<div class="header">
<h3>
nthmail.xyz
</h3>
<div class="header-addr">
<p>inbox: </p>
<span>{ rcpt_addr }</span>
</div>
</div>
}