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