all repos — honk @ 6c85e589f03653a5e73b1d6dec5858ca54092931

my fork of honk

tighten up honkform a bit so it makes a prettier screenshot
Ted Unangst tedu@tedunangst.com
Wed, 02 Oct 2019 12:47:54 -0400
commit

6c85e589f03653a5e73b1d6dec5858ca54092931

parent

d73403484574ae625bcef89f05f6b2971335caa3

2 files changed, 7 insertions(+), 4 deletions(-)

jump to
M views/honkform.htmlviews/honkform.html

@@ -8,13 +8,13 @@ <p>

<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> +desc: <input type="text" name="donkdesc" value="{{ .DonkDesc }}" autocomplete=off> <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>url: <input type="text" name="placeurl" id=placeurlinput value=""> -<p>latitude: <input type="text" name="placelat" id=placelatinput value=""> -<p>longitude: <input type="text" name="placelong" id=placelonginput value=""> +<p>lat: <input type="text" size=9 name="placelat" id=placelatinput value=""> +lon: <input type="text" size=9 name="placelong" id=placelonginput value=""> </div> <p> <textarea name="noise" id="honknoise">{{ .Noise }}</textarea>
M views/style.cssviews/style.css

@@ -40,7 +40,10 @@ background: $bg-page;

color: $fg; font-size: 1.0em; line-height: 1.2em; - padding: 0.5em; + padding: 0.4em; +} +#honkform input { + font-size: 0.8em; } body > header { margin: 1em auto;