summaryrefslogtreecommitdiff
path: root/src/main/resources/templates/benki
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-02-12 05:54:53 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-02-12 05:54:53 +0100
commit22f623c810297467da2d8662c5d4b90ae8e84dae (patch)
tree5ae88d8279a0c389305a6f06e69139a749e9b0d0 /src/main/resources/templates/benki
parent8b7cfaaac98a815195a17b5e28111a65be0791ab (diff)
Bookmark submission: Automatically fetch title after URI input.
Change-Id: Ieea258e076d1dbaeba2520e583b590822dfdcab8
Diffstat (limited to 'src/main/resources/templates/benki')
-rw-r--r--src/main/resources/templates/benki/bookmarks/bookmarkList.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/resources/templates/benki/bookmarks/bookmarkList.html b/src/main/resources/templates/benki/bookmarks/bookmarkList.html
index 9f7b402..2c35249 100644
--- a/src/main/resources/templates/benki/bookmarks/bookmarkList.html
+++ b/src/main/resources/templates/benki/bookmarks/bookmarkList.html
@@ -13,7 +13,10 @@
{! #if authenticated !}
<script type="module" src="/web_modules/elix/define/ExpandableSection.js"></script>
+ <script type="module" src="/web_modules/elix/define/ProgressSpinner.js"></script>
+
<script type="module" src="/bookmarks/bookmarkList.js" defer></script>
+
<elix-expandable-section id="bookmark-submission-pane">
<h2 slot="header" class="small-title"><button class="pure-button">Create New Bookmark</button></h2>
<section id="bookmark-submission">
@@ -24,6 +27,7 @@
<div class="pure-control-group">
<label for="uri-input">URI:</label>
<input name="uri" id="uri-input" type="text" placeholder="URI" required/>
+ <elix-progress-spinner id="uri-spinner" hidden></elix-progress-spinner>
</div>
<div class="pure-control-group">