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.

8 lines
358 B

  1. <modal class="modal color-text nolabel" key="modal" enabled=(input.enabled) notification closable on-close("close") >
  2. <h1>Delete Comment</h1>
  3. <p class="color-error">${state.error}</p>
  4. <p class="color-danger">This is irreversible!</p>
  5. <button disabled=state.loading on-click("doIt")>${Math.random() > 0.99 ? "Deleet" : "Delete"}</button>
  6. </modal>