all repos — honk @ 9c159d2966f551b29e978896e94f4a6b597bd98f

my fork of honk

rename checkin to assassination coordinates as benjojo did
Ted Unangst tedu@tedunangst.com
Fri, 24 Feb 2023 13:42:30 -0500
commit

9c159d2966f551b29e978896e94f4a6b597bd98f

parent

bff61266342a118e29ae772256edd5f7259647f0

2 files changed, 3 insertions(+), 3 deletions(-)

jump to
M docs/honk.5docs/honk.5

@@ -122,7 +122,7 @@ A description, or caption, is encouraged.

Text files and PDFs are also supported as attachments. Other formats are not supported. .Pp -One may also check in to a location. +One may also live dangerously by posting assassination coordinates. The available fields, all optional, are .Ar name , .Ar url ,
M views/honkform.htmlviews/honkform.html

@@ -14,7 +14,7 @@ <input type="hidden" id="saveddonkxid" name="donkxid" value="{{ .SavedFile }}">

<p id="donkdescriptor"><label for=donkdesc>description:</label><br> <input type="text" name="donkdesc" value="{{ .DonkDesc }}" autocomplete=off> {{ with .SavedPlace }} -<p><button id=checkinbutton type=button>checkin</button> +<p><button id=checkinbutton type=button>assassination coordinates</button> <div id=placedescriptor> <p><label>name:</label><br><input type="text" name="placename" id=placenameinput value="{{ .Name }}"> <p><label>url:</label><br><input type="text" name="placeurl" id=placeurlinput value="{{ .Url }}">

@@ -22,7 +22,7 @@ <p><label>lat: </label><input type="text" size=9 name="placelat" id=placelatinput value="{{ .Latitude}}">

<label>lon: </label><input type="text" size=9 name="placelong" id=placelonginput value="{{ .Longitude }}"> </div> {{ else }} -<p><button id=checkinbutton type=button>checkin</button> +<p><button id=checkinbutton type=button>assassination coordinates</button> <div id=placedescriptor class="hide"> <p><label>name:</label><br><input type="text" name="placename" id=placenameinput value=""> <p><label>url:</label><br><input type="text" name="placeurl" id=placeurlinput value="">