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
@@ -18,5 +18,5 @@
<label>Description</label>
<textarea key="description" placeholder="Description" on-change("change", "description") value=state.values.description />
<button disabled=state.loading on-click("save")>Save character!</button>
<button disabled=state.loading on-click("save")>Save</button>
</modal>
@@ -3,3 +3,4 @@
<channel-list channels=state.channels on-edited("channelEdited") />
</main>
<add-channel-modal enabled=(state.modal === "channel.add") user=input.user on-added("channelAdded") on-close("close") />
<add-character-modal enabled=(state.modal === "character.add") user=input.user on-close("close") />
@@ -3,3 +3,4 @@
<character-list characters=state.characters on-removed("characterRemoved") on-edited("characterEdited") on-nicks("characterNicksChanged") />
</main>
<add-character-modal enabled=(state.modal === "character.add") user=input.user on-added("characterAdded") on-close("close") />
<add-channel-modal enabled=(state.modal === "channel.add") user=input.user on-close("close") />
@@ -5,5 +5,5 @@
<p class="color-danger">This is irreversible!</p>
<button disabled=state.loading on-click("doIt")>Yes, do it!</button>
<button disabled=state.loading on-click("doIt")>Remove</button>
</modal>