numerus/web/template/app.gohtml

51 lines
1.5 KiB
Plaintext
Raw Normal View History

<!doctype html>
<html lang="{{ currentLocale }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ template "title" . }} — Numerus</title>
2023-01-17 21:28:47 +00:00
<link rel="stylesheet" type="text/css" media="screen" href="/static/numerus.css">
</head>
<body>
2023-01-17 21:28:47 +00:00
<header>
<h1><img src="/static/numerus.svg" alt="Numerus" width="261" height="33"></h1>
<details id="profile-menu">
<summary>
<i class="ri-eye-close-line ri-3x"></i>
</summary>
<ul role="menu">
2023-01-22 21:30:15 +00:00
<li role="presentation">
<a role="menuitem" href="{{ companyURI "/profile" }}">
<i class="ri-account-circle-line"></i>
{{( pgettext "Account" "menu" )}}
</a>
</li>
<li role="presentation">
<a role="menuitem" href="{{ companyURI "/tax-details" }}">
<i class="ri-vip-diamond-line"></i>
{{( pgettext "Tax Details" "menu" )}}
</a>
2023-01-22 21:30:15 +00:00
</li>
<li role="presentation">
<form method="POST" action="/logout">
<button type="submit" role="menuitem">
<i class="ri-logout-circle-line"></i>
{{( pgettext "Logout" "action" )}}
</button>
</form>
2023-01-22 21:30:15 +00:00
</li>
2023-01-17 21:28:47 +00:00
</ul>
</details>
2023-01-17 21:28:47 +00:00
</header>
<nav aria-label="{{( pgettext "Main" "title" )}}">
<ul>
2023-01-31 12:29:56 +00:00
<li><a href="{{ companyURI "/" }}">{{( pgettext "Dashboard" "nav" )}}</a></li>
<li><a href="{{ companyURI "/contacts" }}">{{( pgettext "Contacts" "nav" )}}</a></li>
</ul>
</nav>
2023-01-17 21:28:47 +00:00
<main>
{{- template "content" . }}
2023-01-17 21:28:47 +00:00
</main>
</body>
</html>