summaryrefslogtreecommitdiff
path: root/src/main/resources/templates
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-06-14 19:27:42 +0200
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-06-14 20:50:35 +0200
commit813e5971c52df6961fe28569597144332e12984b (patch)
tree38fa09b4253a2160ffa4e812199f84f34424ccde /src/main/resources/templates
parent96ed854c16164c6e3fc269923f0e5dc9ae9287c9 (diff)
Add Parcel bundler to build process.
Change-Id: Iade8364efa0d2ce9443b67e20bf09ea93a3d7bcd
Diffstat (limited to 'src/main/resources/templates')
-rw-r--r--src/main/resources/templates/base.html2
-rw-r--r--src/main/resources/templates/benki/bookmarks/newBookmark.html3
-rw-r--r--src/main/resources/templates/benki/posts/postList.html7
-rw-r--r--src/main/resources/templates/benki/wiki/wikiPage.html2
4 files changed, 4 insertions, 10 deletions
diff --git a/src/main/resources/templates/base.html b/src/main/resources/templates/base.html
index 9a1ba04..45a2356 100644
--- a/src/main/resources/templates/base.html
+++ b/src/main/resources/templates/base.html
@@ -6,7 +6,7 @@
<title>{#insert title}{/}</title>
- <link rel="stylesheet" type="text/css" href="/cms2/base.css" />
+ <link rel="stylesheet" type="text/css" href="/lib.css" />
<script type="importmap" src="/web_modules/import-map.json"></script>
{#insert head}{/}
diff --git a/src/main/resources/templates/benki/bookmarks/newBookmark.html b/src/main/resources/templates/benki/bookmarks/newBookmark.html
index e52ce30..d6a868c 100644
--- a/src/main/resources/templates/benki/bookmarks/newBookmark.html
+++ b/src/main/resources/templates/benki/bookmarks/newBookmark.html
@@ -11,8 +11,7 @@
{#body}
-<script type="module" src="/bookmarks/MlkBookmarkSubmissionForm.js"></script>
-<script type="module" src="/bookmarks/newBookmark.js" defer></script>
+<script type="module" src="/lib.js"></script>
<mlk-bookmark-submission-form
id="bookmark-submission-form"
diff --git a/src/main/resources/templates/benki/posts/postList.html b/src/main/resources/templates/benki/posts/postList.html
index bf4061a..deccfcd 100644
--- a/src/main/resources/templates/benki/posts/postList.html
+++ b/src/main/resources/templates/benki/posts/postList.html
@@ -18,12 +18,7 @@
<link href="{feedUri}" rel="alternate" type="application/atom+xml" />
{#if showBookmarkForm || showLazychatForm}
- <script type="module" src="/web_modules/elix/define/Button.js"></script>
- <script type="module" src="/web_modules/elix/define/ExpandablePanel.js"></script>
- <script type="module" src="/web_modules/elix/define/ExpandableSection.js"></script>
- <script type="module" src="/bookmarks/MlkBookmarkSubmissionForm.js"></script>
- <script type="module" src="/lazychat/MlkLazychatSubmissionForm.js"></script>
- <script type="module" src="/posts/postList.js" defer></script>
+ <script type="module" src="/lib.js"></script>
{/if}
{/head}
diff --git a/src/main/resources/templates/benki/wiki/wikiPage.html b/src/main/resources/templates/benki/wiki/wikiPage.html
index 782e7cc..048c9b3 100644
--- a/src/main/resources/templates/benki/wiki/wikiPage.html
+++ b/src/main/resources/templates/benki/wiki/wikiPage.html
@@ -10,7 +10,7 @@
{#head}
<link rel="stylesheet" type="text/css" href="/web_modules/ContentTools/build/content-tools.min.css" />
-<script type="module" src="/web_modules/elix/define/ExpandablePanel.js" defer></script>
+<script type="module" src="/lib.js" defer></script>
<style type="text/css">
#warning-panel {