initial commit
This commit is contained in:
3
app/mailadm/pages/edit.go.tpl
Normal file
3
app/mailadm/pages/edit.go.tpl
Normal file
@@ -0,0 +1,3 @@
|
||||
<button hx-get="/mailadm/clicked?times={{ addone ( .Get "times" ) }}" hx-swap="outerHTML">
|
||||
Clicked {{ .Get "times" }} times!
|
||||
</button>
|
||||
8
app/mailadm/pages/home.go.tpl
Normal file
8
app/mailadm/pages/home.go.tpl
Normal file
@@ -0,0 +1,8 @@
|
||||
{{template "main" .}}
|
||||
|
||||
{{define "content"}}
|
||||
<h2>What is this?</h2>
|
||||
<button hx-get="/mailadm/clicked?times=1" hx-swap="outerHTML">
|
||||
Click Me!
|
||||
</button>
|
||||
{{end}}
|
||||
Reference in New Issue
Block a user