The frontend/UI server, written in JS using the MarkoJS library
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
646 B

  1. <modal class="modal color-text nolabel" key="modal" enabled=(input.enabled) closable on-close("close") on-open("open") >
  2. <h1>Create Chapter</h1>
  3. <p key="error" class="color-error">${state.error}</p>
  4. <input key="title" placeholder="Title (Optional)" class="big" on-change("change", "title") value=state.values.title />
  5. <input key="icdate" placeholder="IC Date (Optional)" on-change("change", "fictionalDate") value=state.values.fictionalDate />
  6. <textarea key="source" placeholder="Content" class="tall" on-change("change", "source") value=state.values.source />
  7. <button disabled=state.loading on-click("save")>Save</button>
  8. </modal>