data, logs, logs-content, story, story-content: Fixed form inconsistencies.

This commit is contained in:
2018-10-13 11:13:27 +02:00
parent 35447b0569
commit 659bde02a0
16 changed files with 62 additions and 34 deletions
@@ -9,11 +9,12 @@ import moment from "moment"
<input key="title" placeholder=(input.log.channel.name + " – " + moment(input.log.date).format("MMMM D, YYYY")) class="big" on-change("change", "title") value=state.values.title />
<label>Event Name</label>
<input key="event" placeholder="(Optional)" class="big" on-change("change", "event") value=state.values.event />
<input key="event" placeholder="(Optional)" on-change("change", "event") value=state.values.event />
<label>Description</label>
<textarea key="description" placeholder="(Optional)" on-change("change", "description") value=state.values.description />
<label>Options</label>
<toggle value=state.values.open on="Open" off="Closed"
onDesc=("New posts in "+input.log.channel.name+" will end up here.")
offDesc="The logbot will not append to this log."
@@ -22,5 +22,5 @@
<label>Text</label>
<textarea key="text" placeholder="Text" class="tall" on-change("change", "text") value=state.values.text />
<button disabled=state.loading on-click("save")>Alter History</button>
<button disabled=state.loading on-click("save")>Alter history</button>
</modal>
@@ -5,5 +5,5 @@
<p class="color-danger">Removal is final!</p>
<button disabled=state.loading on-click("doIt")>I will destroy you!</button>
<button disabled=state.loading on-click("doIt")>Yes, I'm really doing it!</button>
</modal>
@@ -12,5 +12,5 @@
<p><b>Text</b>: ${input.post.text}</p>
</div>
<button disabled=state.loading on-click("doIt")>Yes, erase history!</button>
<button disabled=state.loading on-click("doIt")>Erase history</button>
</modal>