honk/views/honkform.html

25 lines
1.3 KiB
HTML
Raw Normal View History

<p id="honkformhost">
2019-04-09 13:59:33 +02:00
<button onclick="showhonkform(); return false"><a href="/newhonk">it's honking time</a></button>
<form id="honkform" action="/honk" method="POST" enctype="multipart/form-data" style="display: none">
<p>
2019-07-31 03:20:56 +02:00
in reply to: <input type="text" name="rid" id="ridinput" value="{{ .InReplyTo }}" autocomplete=off>
2019-04-09 13:59:33 +02:00
<input type="hidden" name="CSRF" value="{{ .HonkCSRF }}">
2019-09-17 00:00:13 +02:00
<input type="hidden" name="updatexid" value = "{{ .UpdateXID }}">
<p>
2019-08-02 16:38:42 +02:00
<label id="donker">attach: {{ if .SavedFile }} {{ .SavedFile }} {{ else }} <input onchange="updatedonker();" type="file" name="donk"><span></span> {{ end }}</label>
<input type="hidden" name="donkxid" value="{{ .SavedFile }}">
<p id="donkdescriptor">
description: <input type="text" name="donkdesc" value="{{ .DonkDesc }}" autocomplete=off>
2019-09-28 06:12:50 +02:00
<p><button id=checkinbutton type=button onclick="fillcheckin()">checkin</button>
<div id=placedescriptor style="display: none">
<p>name: <input type="text" name="placename" id=placenameinput value="">
<p>latitude: <input type="text" name="placelat" id=placelatinput value="">
<p>longitude: <input type="text" name="placelong" id=placelonginput value="">
</div>
2019-06-02 20:51:02 +02:00
<p>
<textarea name="noise" id="honknoise">{{ .Noise }}</textarea>
2019-04-09 13:59:33 +02:00
<p>
<input type="submit" value="it's gonna be honked">
<input type="submit" name="preview" value="preview">
2019-04-09 13:59:33 +02:00
</form>