tighten up honkform a bit so it makes a prettier screenshot
Ted Unangst tedu@tedunangst.com
Wed, 02 Oct 2019 12:47:54 -0400
2 files changed,
7 insertions(+),
4 deletions(-)
M
views/honkform.html
→
views/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.css
→
views/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;