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.

15 lines
721 B

  1. <modal class="modal color-text nolabel" key="modal" enabled=(input.enabled) closable on-close("close") on-open("open") >
  2. <h1>Edit Character</h1>
  3. <p class="color-error">${state.error}</p>
  4. <label>Full Name</label>
  5. <input key="name" autofocus placeholder="" class="big" on-change("change", "name") value=state.values.name />
  6. <label>Short Name</label>
  7. <input key="shortName" placeholder="E.g. first/given name" on-change("change", "shortName") value=state.values.shortName />
  8. <label>Description</label>
  9. <textarea key="description" placeholder="Description" on-change("change", "description") value=state.values.description />
  10. <button disabled=state.loading on-click("save")>Save</button>
  11. </modal>