Add edit function

This commit is contained in:
Wancat
2022-11-04 23:36:23 +08:00
parent 7c63223aa0
commit b1d0bc826f
6 changed files with 68 additions and 5 deletions

View File

@@ -1,13 +1,17 @@
<!DOCTYPE html>
<html>
<head>
<title>{{ block "title" . }}Ledger Quick Note{{ end }}</title>
<title>{{ block "title" . }}Ledger 速記{{ end }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<nav>
<ul>
{{ with .User }}
{{ .Email }}
<li><a href="edit">編輯</a></li>
<li><a href="download">下載</a></li>
<li><a href="exec">查詢</a></li>
{{ end }}
</nav>
{{ block "main" .Data }}