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.
|
|
<modal class="modal color-text nolabel" key="modal" enabled=(input.enabled) closable on-close("close") on-open("open") > <h1>Edit ${input.channel.name}</h1>
<p class="color-error">${state.error}</p> <label>Event Name</label> <input key="eventName" placeholder="(None)" on-change("change", "eventName") value=state.values.eventName /> <label>Location Name</label> <input key="locationName" placeholder="(None)" on-change("change", "locationName") value=state.values.locationName /> <label>Logged</label> <toggle value=state.values.logged on="On" off="Off" onDesc="Log new posts in this channel." offDesc="The logbot will not monitor this channel." on-change("change", "logged") />
<p class="color-danger" if(state.values.logged)>The logbot is not yet available, so this does nothing right now.</p>
<button disabled=state.loading on-click("save")>Save</button> </modal>
|