Integrate notes into front end

This commit is contained in:
Andrew-71 2024-03-30 14:22:03 +03:00
parent 02e1c80c24
commit cbdb94a260
5 changed files with 97 additions and 15 deletions

View file

@ -29,6 +29,6 @@
{{define "footer"}}
<footer>
<p><a href="/">today</a> | <a href="/day">previous days</a></p>
<p><a href="/">today</a> | <a href="/day">previous days</a> | <a href="/notes">notes</a></p>
</footer>
{{end}}

View file

@ -1,4 +1,4 @@
{{define "main"}}
<h2><label for="text">{{ .Title }}</label> | <a href="/day">Go back</a></h2>
<h2><label for="text">{{ .Title }}</label></h2>
<textarea id="text" cols="40" rows="15" readonly>{{ .Content }}</textarea>
{{end}}