From 94b5e7b4c85a4bde4848bf3d85c1adc7cd73acc6 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Sun, 9 Feb 2020 20:02:20 +0100 Subject: Lafargue: Implement basic viewer. Change-Id: If24f58aa069a14139454708d02ac40109c2181ef --- .../resources/META-INF/resources/cms2/base.css | 14 ++++++++++ .../templates/benki/lazychat/lazychatList.html | 32 ++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 src/main/resources/templates/benki/lazychat/lazychatList.html (limited to 'src/main/resources') diff --git a/src/main/resources/META-INF/resources/cms2/base.css b/src/main/resources/META-INF/resources/cms2/base.css index bb5d200..126be6d 100644 --- a/src/main/resources/META-INF/resources/cms2/base.css +++ b/src/main/resources/META-INF/resources/cms2/base.css @@ -145,3 +145,17 @@ article.bookmark { padding: 0.3em; background: #fee; } + +.lazychat-message-info { + font-style: italic; + font-size: smaller; + margin: 0; + padding: 0; +} + +article.lazychat-message { + margin: 0.5em 0; + border: 1px solid lightseagreen; + padding: 0.3em; + background: #efe; +} diff --git a/src/main/resources/templates/benki/lazychat/lazychatList.html b/src/main/resources/templates/benki/lazychat/lazychatList.html new file mode 100644 index 0000000..ecac7a7 --- /dev/null +++ b/src/main/resources/templates/benki/lazychat/lazychatList.html @@ -0,0 +1,32 @@ +{@java.util.List lazychatMessages} + +{#include base.html} + +{#title}Benki Lazychat{/title} +{#siteSection}Lazychat{/siteSection} +{#lazychatClass}this-page{/lazychatClass} + +{#head}{/head} + +{#body} + +{#for lazychatMessage in lazychatMessages} + {#with lazychatMessage} +
+
+
+ + {owner.firstName} {owner.lastName} +
+
+ +
+ {contentHtml.raw} +
+
+ {/with} +{/for} + +{/body} + +{/include} -- cgit v1.2.3