all repos — honk @ d73403484574ae625bcef89f05f6b2971335caa3

my fork of honk

views/honkform.html (view raw)

 1<p id="honkformhost">
 2<button onclick="showhonkform(); return false"><a href="/newhonk">it's honking time</a></button>
 3<form id="honkform" action="/honk" method="POST" enctype="multipart/form-data" style="display: none">
 4<input type="hidden" name="CSRF" value="{{ .HonkCSRF }}">
 5<input type="hidden" name="updatexid" value = "{{ .UpdateXID }}">
 6<input type="hidden" name="rid" id="ridinput" value="{{ .InReplyTo }}">
 7<p>
 8<label id="donker">attach: {{ if .SavedFile }} {{ .SavedFile }} {{ else }} <input onchange="updatedonker();" type="file" name="donk"><span></span> {{ end }}</label>
 9<input type="hidden" name="donkxid" value="{{ .SavedFile }}">
10<p id="donkdescriptor">
11description: <input type="text" name="donkdesc" value="{{ .DonkDesc }}" autocomplete=off>
12<p><button id=checkinbutton type=button onclick="fillcheckin()">checkin</button>
13<div id=placedescriptor style="display: none">
14<p>name: <input type="text" name="placename" id=placenameinput value="">
15<p>url: <input type="text" name="placeurl" id=placeurlinput value="">
16<p>latitude: <input type="text" name="placelat" id=placelatinput value="">
17<p>longitude: <input type="text" name="placelong" id=placelonginput value="">
18</div>
19<p>
20<textarea name="noise" id="honknoise">{{ .Noise }}</textarea>
21<p>
22<button>it's gonna be honked</button>
23<button name="preview" value="preview">preview</button>
24</form>