From 2d4f92ef2685da8f43c970345513ec9d0107dffc Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Sun, 9 Feb 2020 16:15:07 +0100 Subject: Book Marx: Implement basic viewer. Change-Id: I5a878ca82d8489c6a87c86f66a49a085f168f86c --- .../resources/META-INF/resources/cms2/base.css | 4 +++ .../templates/benki/bookmarks/bookmarkList.html | 33 ++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 src/main/resources/templates/benki/bookmarks/bookmarkList.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 6e3b1b6..e09262f 100644 --- a/src/main/resources/META-INF/resources/cms2/base.css +++ b/src/main/resources/META-INF/resources/cms2/base.css @@ -123,4 +123,8 @@ body > footer { padding: 0.5em 0.5em; border-top: lightgray solid 1px; +} + +h1.bookmark-title { + font-size: 1em; } \ No newline at end of file diff --git a/src/main/resources/templates/benki/bookmarks/bookmarkList.html b/src/main/resources/templates/benki/bookmarks/bookmarkList.html new file mode 100644 index 0000000..4ad97fd --- /dev/null +++ b/src/main/resources/templates/benki/bookmarks/bookmarkList.html @@ -0,0 +1,33 @@ +{@java.util.List bookmarks} + +{#include base.html} + +{#title}Benki Bookmarks{/title} +{#siteSection}Bookmarks{/siteSection} +{#bookmarksClass}this-page{/bookmarksClass} + +{#head}{/head} + +{#body} + +{#for bookmark in bookmarks} + {#with bookmark} +
+
+

{title}

+
+ + {owner.firstName} {owner.lastName} +
+
+ +
+ {description} +
+
+ {/with} +{/for} + +{/body} + +{/include} -- cgit v1.2.3