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.
 
 
 
 

16 lines
581 B

<modal class="modal color-text nolabel" key="modal" enabled=(input.enabled) closable on-close("close") on-open("open") >
<h1>Remove Post ${input.post.position}</h1>
<p class="color-error">${state.error}</p>
<p class="color-danger">Are you sure you got the right post?</p>
<div class="summary">
<p><b>Timestamp</b>: ${state.timestamp}</p>
<p><b>Kind</b>: ${input.post.kind}</p>
<p><b>Nick</b>: ${input.post.nick}</p>
<p><b>Text</b>: ${input.post.text}</p>
</div>
<button disabled=state.loading on-click("doIt")>Yes, erase history!</button>
</modal>