rastrillo / abono Public

Clone
git clone https://amadan.net/rastrillo/abono

Plain git — no account needed to clone.

Download

Download this file

1{{define "layout"}}{{$L := localizer $}}<!doctype html>
2<html lang="{{$L.Identity}}" dir="{{$L.Dir}}">
3<head>
4<meta charset="utf-8">
5<meta name="viewport" content="width=device-width">
6<link rel="stylesheet" href="/static/app.css">
7<title>{{with .Title}}{{T $L .}}{{end}}</title>
8</head>
9<body>
10<header>
11<nav>
12<a href="/subscribe">{{T $L "abono.pages.pricing_title"}}</a>
13{{if .SignedIn}}<a href="/account">{{T $L "rastrillo.ui.shell_account"}}</a>
14{{if .Owner}}<a href="/admin/members">{{T $L "abono.owner.members_title"}}</a>
15<a href="/admin/offers">{{T $L "abono.owner.offers_title"}}</a>
16<a href="/admin/stripe">{{T $L "abono.owner.stripe_title"}}</a>
17{{end}}<form method="post" action="/signout"><button type="submit" rst-btn="ghost">{{T $L "example.signout"}}</button></form>
18{{else}}<a href="/signin">{{T $L "rastrillo.ui.signin_confirm_submit"}}</a>
19{{end}}
20</nav>
21</header>
22<main rst-page>
23{{template "content" .}}
24</main>
25</body>
26</html>
27{{end}}
28