diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2020-03-23 06:21:25 +0100 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2020-03-23 06:21:25 +0100 |
commit | 371164a188b93b24f33cb5badb0362ac2544d33d (patch) | |
tree | 2b19582c04a50ecddc2357e2a895613f9d041519 /src/main/resources/templates/benki/lazychat | |
parent | 573f806676a7ebc2a62aa39d742127fbf74fbb3c (diff) |
Use generic page template for bookmark and lazy chat lists.
Change-Id: I86cc78c8164d6672d8b5cfbc2a3433954068967e
Diffstat (limited to 'src/main/resources/templates/benki/lazychat')
-rw-r--r-- | src/main/resources/templates/benki/lazychat/lazychatList.html | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/src/main/resources/templates/benki/lazychat/lazychatList.html b/src/main/resources/templates/benki/lazychat/lazychatList.html deleted file mode 100644 index b644662..0000000 --- a/src/main/resources/templates/benki/lazychat/lazychatList.html +++ /dev/null @@ -1,52 +0,0 @@ -{@java.util.List<eu.mulk.mulkcms2.benki.lazychat.LazychatMessage> posts} -{@java.lang.Boolean authenticated} -{@java.lang.Boolean hasPreviousPage} -{@java.lang.Boolean hasNextPage} -{@java.lang.Integer previousCursor} -{@java.lang.Integer nextCursor} -{@java.lang.Integer pageSize} - -{#include base.html} - -{#title}Benki Lazychat{/title} -{#siteSection}Lazychat{/siteSection} -{#lazychatClass}this-page{/lazychatClass} - -{#head}{/head} - -{#body} - -<div class="paging"> - {#if hasPreviousPage}<a href="?i={previousCursor}&n={pageSize}" class="pure-button">⇠ previous page</a>{/if} - <span class="filler"></span> - {#if hasNextPage}<a href="?i={nextCursor}&n={pageSize}" class="pure-button">next page ⇢</a>{/if} -</div> - -<section id="main-content"> - {#for post in posts} - {#with post} - <article class="lazychat-message"> - <header> - <div class="lazychat-message-info"> - <time datetime="{date.htmlDateTime}">{date.humanDateTime}</time> - <span class="lazychat-message-owner">{owner.firstName} {owner.lastName}</span> - </div> - </header> - - <section class="lazychat-message-content"> - {contentHtml.raw} - </section> - </article> - {/with} - {/for} -</section> - -<div class="paging"> - {#if hasPreviousPage}<a href="?i={previousCursor}&n={pageSize}" class="pure-button">⇠ previous page</a>{/if} - <span class="filler"></span> - {#if hasNextPage}<a href="?i={nextCursor}&n={pageSize}" class="pure-button">next page ⇢</a>{/if} -</div> - -{/body} - -{/include} |