summaryrefslogtreecommitdiff
path: root/templates/pages/memo.gohtml
blob: f24d289467b3d0232459183f06c9d5397903e569 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{{template "layout.gohtml" .}}
{{define "content"}}
<div class="flex content three">
    <div class="full off-third-800 third-800">
        <h1>Secret:</h1>
        <div id="content">
            <button
                class='btn'
                hx-get="/api/s/{{.id}}"
                hx-target="#content"
                hx-swap="innerHTML">
                Show secret content
            </button>
            <span class="htmx-indicator">Loading...</span>
        </div>
    </div>
</div>
{{ end }}