don't forget to fix html5 on other pages too

This commit is contained in:
Ted Unangst 2019-04-28 19:31:27 -04:00
parent e904398905
commit 3fe562479a
4 changed files with 12 additions and 15 deletions

View File

@ -1,5 +1,5 @@
{{ template "header.html" . }} {{ template "header.html" . }}
<div class="center"> <main>
<div class="info"> <div class="info">
<p> <p>
<form action="/savehonker" method="POST"> <form action="/savehonker" method="POST">
@ -14,11 +14,11 @@
</div> </div>
{{ $honkercsrf := .HonkerCSRF }} {{ $honkercsrf := .HonkerCSRF }}
{{ range .Honkers }} {{ range .Honkers }}
<div class="honk"> <section class="honk">
<div class="title"> <header>
<img alt="avatar" src="/a?a={{ .XID }}"> <img alt="avatar" src="/a?a={{ .XID }}">
<p style="font-size: 1.8em">{{ .Name }} <p style="font-size: 1.8em">{{ .Name }}
</div> </header>
<p>url: <a href="{{ .XID }}" rel=noreferrer>{{ .XID }}</a> <p>url: <a href="{{ .XID }}" rel=noreferrer>{{ .XID }}</a>
<p>flavor: {{ .Flavor }} <p>flavor: {{ .Flavor }}
<p><a href="/h/{{ .Name }}">honks</a> <p><a href="/h/{{ .Name }}">honks</a>
@ -30,7 +30,6 @@
<p>depart: <input type="text" name="goodbye" value="" autocomplete=off> (say "goodbye") <p>depart: <input type="text" name="goodbye" value="" autocomplete=off> (say "goodbye")
<p><input type="submit" name="save" value="save"> <p><input type="submit" name="save" value="save">
</form> </form>
</div> </section>
{{ end }} {{ end }}
</div> </main>
</div>

View File

@ -21,7 +21,6 @@
{{ template "honkform.html" . }} {{ template "honkform.html" . }}
{{ end }} {{ end }}
</div> </div>
<div>
{{ $BonkCSRF := .HonkCSRF }} {{ $BonkCSRF := .HonkCSRF }}
{{ range .Honks }} {{ range .Honks }}
{{ template "honk.html" map "Honk" . "BonkCSRF" $BonkCSRF }} {{ template "honk.html" map "Honk" . "BonkCSRF" $BonkCSRF }}

View File

@ -1,5 +1,5 @@
{{ template "header.html" . }} {{ template "header.html" . }}
<div class="center"> <main>
<div class="info"> <div class="info">
<form action="/dologin" method="POST"> <form action="/dologin" method="POST">
<p><span class="title">login</span> <p><span class="title">login</span>
@ -8,4 +8,4 @@
<p><input tabindex=1 type="submit" name="login" value="login"> <p><input tabindex=1 type="submit" name="login" value="login">
</form> </form>
</div> </div>
</div> </main>

View File

@ -1,5 +1,5 @@
{{ template "header.html" . }} {{ template "header.html" . }}
<div class="center"> <main>
<div class="info"> <div class="info">
<p> <p>
<form action="/killitwithfire" method="POST"> <form action="/killitwithfire" method="POST">
@ -21,7 +21,7 @@
</div> </div>
{{ $killcsrf := .KillCSRF }} {{ $killcsrf := .KillCSRF }}
{{ range .Zonkers }} {{ range .Zonkers }}
<div class="honk"> <section class="honk">
<p>What: {{ .Name }} <p>What: {{ .Name }}
<p>Where: {{ .Wherefore }} <p>Where: {{ .Wherefore }}
<form action="/killitwithfire" method="POST"> <form action="/killitwithfire" method="POST">
@ -31,7 +31,6 @@
<input type="submit" name="pardon" value="pardon"> <input type="submit" name="pardon" value="pardon">
</form> </form>
<p> <p>
</div> </section>
{{ end }} {{ end }}
</div> </main>
</div>