Integrate notes into front end
This commit is contained in:
parent
02e1c80c24
commit
cbdb94a260
5 changed files with 97 additions and 15 deletions
|
@ -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}}
|
|
@ -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}}
|
Loading…
Add table
Add a link
Reference in a new issue