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

View File

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

View File

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

View File

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