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.

13 lines
610 B

6 years ago
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. characters=log.characters
  9. name=(log.title || (log.channelName + " - " + moment(log.date).format("MMMM D, YYYY")))
  10. tags=[{kind: "Location", name: log.channelName}, {kind: "Event", name: log.event}]
  11. enableAllTags=true
  12. createdDate=log.date />
  13. </content-list>