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.

12 lines
563 B

6 years ago
  1. import moment from "moment"
  2. <content-list>
  3. <content-list-item for(log in input.logs)
  4. key=log.shortId
  5. icon="L"
  6. link=("/logs/" + log.id)
  7. description=log.description
  8. name=(log.title || (log.channelName + " - " + moment(log.date).format("MMMM D, YYYY")))
  9. tags=[{kind: "Location", name: log.channelName}, {kind: "Event", name: log.event}]
  10. enableAllTags=true
  11. createdDate=log.date />
  12. </content-list>