this repo has no description
1{{define "title"}}knots{{end}} 2 3{{define "content"}} 4 <a href="/">back to timeline</a> 5 <h1>knots</h1> 6 7 <h2>register</h2> 8 put in a domain, and use the key while booting up your knotserver 9 <form hx-post="/knots/key"> 10 <label for="domain">domain:</label> 11 <input type="text" id="domain" name="domain" required> 12 13 <button type="domain">generate key</button> 14 </form> 15 16 <h3>existing registrations</h3> 17 <ul id="registrations"> 18 {{range .Registrations}} 19 <li> 20 <code>domain: {{.Domain}}</code><br> 21 <code>opened by: {{.ByDid}}</code><br> 22 <code>on: {{.Created}}</code><br> 23 {{if .Registered}} 24 <code>registered on: {{.Registered}}</code> 25 {{else}} 26 <code>pending registration</code> 27 <button hx-post="/knots/init/{{.Domain}}">initialize</button> 28 {{end}} 29 </li> 30 {{else}} 31 <p>no registrations yet</p> 32 {{end}} 33 </ul> 34{{end}}