diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2020-03-26 07:19:45 +0100 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2020-03-26 07:19:45 +0100 |
commit | 12c7cac4bd9abf55f379cbe7d9cf59b518052e51 (patch) | |
tree | 9b25dda95b09e40cb4beb9c034780270516a69b1 /src/main/resources/templates/benki/posts | |
parent | e31da4f1523e0e5bfbc9ef1ae0378b90ef530400 (diff) |
Enable lazy chat message submission.
Change-Id: I9e9060e29bb63a78591f618cc54acdfb5b49575f
Diffstat (limited to 'src/main/resources/templates/benki/posts')
-rw-r--r-- | src/main/resources/templates/benki/posts/postList.html | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/main/resources/templates/benki/posts/postList.html b/src/main/resources/templates/benki/posts/postList.html index b68f796..a29d886 100644 --- a/src/main/resources/templates/benki/posts/postList.html +++ b/src/main/resources/templates/benki/posts/postList.html @@ -19,7 +19,8 @@ <script type="module" src="/web_modules/elix/define/ExpandableSection.js"></script> <script type="module" src="/bookmarks/MlkBookmarkSubmissionForm.js"></script> - <script type="module" src="/bookmarks/bookmarkList.js" defer></script> + <script type="module" src="/lazychat/MlkLazychatSubmissionForm.js"></script> + <script type="module" src="/posts/postList.js" defer></script> {/head} {#body} @@ -33,6 +34,15 @@ </elix-expandable-section> {/if} +{#if showLazychatForm} + <elix-expandable-section id="lazychat-submission-pane"> + <h2 slot="header" class="small-title expandable-section-title"><button class="pure-button">Post Message</button></h2> + <section id="lazychat-submission"> + <mlk-lazychat-submission-form id="lazychat-submission-form"></mlk-lazychat-submission-form> + </section> + </elix-expandable-section> +{/if} + <div class="paging"> {#if hasPreviousPage}<a href="?i={previousCursor}&n={pageSize}" class="pure-button">⇠ previous page</a>{/if} <span class="filler"></span> |