aboutsummaryrefslogtreecommitdiff
path: root/v0.9.5/views/i18n/honkform.html
diff options
context:
space:
mode:
authorMiquel Lionel <lionelmiquel@sfr.fr>2021-02-18 17:25:32 +0100
committerMiquel Lionel <lionel@les-miquelots.net>2021-02-18 17:25:32 +0100
commit4e513641d311f1a3895a13efb45179e7b88e5b6d (patch)
tree6f9bdd76b46072f7a2fbe42ce5f4cbbd8491a561 /v0.9.5/views/i18n/honkform.html
parentc9129233298e6586e2242fd6892cd84531390b83 (diff)
downloadhonk_custom-4e513641d311f1a3895a13efb45179e7b88e5b6d.tar.gz
honk_custom-4e513641d311f1a3895a13efb45179e7b88e5b6d.zip
now this branch will work on tip
Diffstat (limited to 'v0.9.5/views/i18n/honkform.html')
-rw-r--r--v0.9.5/views/i18n/honkform.html49
1 files changed, 0 insertions, 49 deletions
diff --git a/v0.9.5/views/i18n/honkform.html b/v0.9.5/views/i18n/honkform.html
deleted file mode 100644
index ce17fca..0000000
--- a/v0.9.5/views/i18n/honkform.html
+++ /dev/null
@@ -1,49 +0,0 @@
-<p id="honkformhost">
-<button id="honkingtime" onclick="return showhonkform();" {{ if .IsPreview }}style="display:none"{{ end }}><a href="/newhonk">{{ .i18n.HonkingTime }}</a></button>
-<form id="honkform" action="/honk" method="POST" enctype="multipart/form-data" {{ if not .IsPreview }}style="display: none"{{ end }}>
-<input type="hidden" name="CSRF" value="{{ .HonkCSRF }}">
-<input type="hidden" name="updatexid" id="updatexidinput" value = "{{ .UpdateXID }}">
-<input type="hidden" name="rid" id="ridinput" value="{{ .InReplyTo }}">
-<h3>{{ .i18n.MakeNoise }}</h3>
-<p>
-<details>
-<summary>{{ .i18n.MoreOptions }}</summary>
-<p>
-<label class=button id="donker">{{ .i18n.Attach }}: <input onchange="updatedonker();" type="file" name="donk"><span>{{ .SavedFile }}</span></label>
-<input type="hidden" id="saveddonkxid" name="donkxid" value="{{ .SavedFile }}">
-<p id="donkdescriptor"><label for=donkdesc>{{ .i18n.Description }}:</label><br>
-<input type="text" name="donkdesc" value="{{ .DonkDesc }}" autocomplete=off>
-{{ with .SavedPlace }}
-<p><button id=checkinbutton type=button onclick="fillcheckin()">{{ .i18n.Checkin }}</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 }}">
- <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 onclick="fillcheckin()">{{ .i18n.Checkin }}</button>
-<div id=placedescriptor style="display: none">
-<p><label>{{ .i18n.Location }}:</label><br><input type="text" name="placename" id=placenameinput value="">
-<p><label>url:</label><br><input type="text" name="placeurl" id=placeurlinput value="">
-<p><label>lat: </label><input type="text" size=9 name="placelat" id=placelatinput value="">
-<label>lon: </label><input type="text" size=9 name="placelong" id=placelonginput value="">
-</div>
-{{ end }}
-<p><button id=addtimebutton type=button
-onclick="showelement('timedescriptor')">{{ .i18n.AddTime }}</button>
-<div id=timedescriptor style="{{ or .ShowTime "display: none" }}">
-<p><label for=timestart>{{ .i18n.Start }}:</label><br>
-<input type="text" name="timestart" value="{{ .StartTime }}">
-<p><label for=timeend>{{ .i18n.Duration }}:</label><br>
-<input type="text" name="timeend" value="{{ .Duration }}">
-</div>
-</details>
-<p>
-<textarea name="noise" id="honknoise">{{ .Noise }}</textarea>
-<p class="buttonarray">
-<button>{{ .i18n.GonBHonked }}</button>
-<button name="preview" value="preview">{{ .i18n.Preview }}</button>
-<button type=button name="cancel" value="cancel"
-onclick="cancelhonking()">{{ .i18n.Cancel }}</button>
-</form>