mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2025-05-10 22:08:45 +00:00
update README and hardcode poll options to 20
This commit is contained in:
parent
8dcd6cfdd7
commit
4c0c1c40a8
7 changed files with 76 additions and 2 deletions
|
@ -51,6 +51,21 @@
|
|||
<input id="lang-code" name="lang-code" placeholder="lang" title="Post language (ISO 639) [en, ru, etc..] Default: none" size="4" value="{{if .ReplyContext}}{{.ReplyContext.ReplyLanguage}}{{end}}">
|
||||
<input type="number" id="expires-in" name="expires-in" title="Post autodeleted after hour(s)" min="0" value="0" size="4">
|
||||
<input type="datetime-local" id="scheduled" name="scheduled" step=300 title="Schedule your status (timezone UTC+0)">
|
||||
<details><summary>Poll</summary>
|
||||
<div>
|
||||
<input type="number" id="poll-expires-in" name="poll-expires-in" min="1" value="300">
|
||||
<label for="poll-expires-in"> Expires in (secs) </label>
|
||||
</div>
|
||||
<div>
|
||||
<input type="checkbox" id="poll-hide-totals" name="poll-hide-totals" value="true">
|
||||
<label for="poll-hide-totals"> Hide vote counts? </label>
|
||||
</div>
|
||||
<div>
|
||||
<input type="checkbox" id="poll-is-multiple" name="poll-is-multiple" value="true">
|
||||
<label for="poll-is_multiple "> Allow multiple choice? </label>
|
||||
</div>
|
||||
<div>{{GeneratePollOptions | Raw}}</div>
|
||||
</details>
|
||||
</form>
|
||||
{{end}}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue