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.

14 lines
695 B

  1. import moment from "moment";
  2. <div class="change">
  3. <span class="change-id color-menu">[${moment(input.data.date).format("MMM D HH:mm:SS")}] * </span>
  4. <span class="author color-text">${input.data.author} </span>
  5. <span class="text color-text">${state.operation} </span>
  6. <span for(link in state.links | status-var=loop) key=link.href class="link">
  7. <a class="color-primary" href=link.href>${link.text}</a>
  8. <span if(loop.getIndex() < state.links.length - 1) class="comma">, </span>
  9. </span>
  10. <if (state.parentLink != null)>
  11. <span class="text"> ${state.parentLink.prefix} </span>
  12. <a class="color-primary" href=state.parentLink.href>${state.parentLink.text}</a>
  13. </if>
  14. </div>