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
575 B

  1. <modal class="modal color-text nolabel" key="modal" enabled=(input.enabled) closable on-close("close") on-open("open") >
  2. <h1>Remove Post ${input.post.position}</h1>
  3. <p class="color-error">${state.error}</p>
  4. <p class="color-danger">Are you sure you got the right post?</p>
  5. <div class="summary">
  6. <p><b>Timestamp</b>: ${state.timestamp}</p>
  7. <p><b>Kind</b>: ${input.post.kind}</p>
  8. <p><b>Nick</b>: ${input.post.nick}</p>
  9. <p><b>Text</b>: ${input.post.text}</p>
  10. </div>
  11. <button disabled=state.loading on-click("doIt")>Erase history</button>
  12. </modal>