2019-07-06 19:48:31 +02:00
|
|
|
<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">
|
|
|
|
<input type="hidden" name="CSRF" value="{{ .HonkCSRF }}">
|
2019-09-17 00:00:13 +02:00
|
|
|
<input type="hidden" name="updatexid" value = "{{ .UpdateXID }}">
|
2019-09-30 20:17:58 +02:00
|
|
|
<input type="hidden" name="rid" id="ridinput" value="{{ .InReplyTo }}">
|
2019-04-11 16:33:05 +02:00
|
|
|
<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 }}">
|
2019-09-09 15:55:04 +02:00
|
|
|
<p id="donkdescriptor">
|
2019-10-02 18:47:54 +02:00
|
|
|
desc: <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="">
|
2019-09-29 22:07:35 +02:00
|
|
|
<p>url: <input type="text" name="placeurl" id=placeurlinput value="">
|
2019-10-02 18:47:54 +02:00
|
|
|
<p>lat: <input type="text" size=9 name="placelat" id=placelatinput value="">
|
|
|
|
lon: <input type="text" size=9 name="placelong" id=placelonginput value="">
|
2019-09-28 06:12:50 +02:00
|
|
|
</div>
|
2019-06-02 20:51:02 +02:00
|
|
|
<p>
|
2019-06-16 20:11:23 +02:00
|
|
|
<textarea name="noise" id="honknoise">{{ .Noise }}</textarea>
|
2019-04-09 13:59:33 +02:00
|
|
|
<p>
|
2019-09-30 20:17:58 +02:00
|
|
|
<button>it's gonna be honked</button>
|
|
|
|
<button name="preview" value="preview">preview</button>
|
2019-04-09 13:59:33 +02:00
|
|
|
</form>
|