From bca94613c19acf02ea333d57090e535b28afd2b4 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Mon, 10 Feb 2020 20:58:13 +0100 Subject: Book Marx: Implement bookmark submission. Change-Id: Ieb1fef8565ed0e17de9590d5207ba11ebfe6f177 --- .../resources/META-INF/resources/cms2/base.css | 4 +++ .../templates/benki/bookmarks/bookmarkList.html | 39 ++++++++++++++++++++++ 2 files changed, 43 insertions(+) (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 e04e5d9..735b297 100644 --- a/src/main/resources/META-INF/resources/cms2/base.css +++ b/src/main/resources/META-INF/resources/cms2/base.css @@ -159,3 +159,7 @@ article.lazychat-message { padding: 0.3em; background: #f0f8f0; } + +#bookmark-submission textarea { + min-width: calc(100% - 12em); +} diff --git a/src/main/resources/templates/benki/bookmarks/bookmarkList.html b/src/main/resources/templates/benki/bookmarks/bookmarkList.html index 0d392c8..9d4c706 100644 --- a/src/main/resources/templates/benki/bookmarks/bookmarkList.html +++ b/src/main/resources/templates/benki/bookmarks/bookmarkList.html @@ -1,4 +1,5 @@ {@java.util.List bookmarks} +{@java.lang.Boolean authenticated} {#include base.html} @@ -10,6 +11,44 @@ {#body} +{#if authenticated} +
+
+
+ Submit Bookmark + +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ +
+
+
+
+{/if} + {#for bookmark in bookmarks} {#with bookmark}
-- cgit v1.2.3