aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/template/html/integrations.html
diff options
context:
space:
mode:
Diffstat (limited to 'server/template/html/integrations.html')
-rw-r--r--server/template/html/integrations.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/server/template/html/integrations.html b/server/template/html/integrations.html
index 75ffbc9..8e3f872 100644
--- a/server/template/html/integrations.html
+++ b/server/template/html/integrations.html
@@ -21,6 +21,33 @@
</ul>
</section>
+<form method="post" autocomplete="off" action="{{ route "updateIntegration" }}">
+ <input type="hidden" name="csrf" value="{{ .csrf }}">
+
+ {{ if .errorMessage }}
+ <div class="alert alert-error">{{ t .errorMessage }}</div>
+ {{ end }}
+
+ <h3>Pinboard</h3>
+ <label>
+ <input type="checkbox" name="pinboard_enabled" value="1" {{ if .form.PinboardEnabled }}checked{{ end }}> {{ t "Enable Pinboard" }}
+ </label>
+
+ <label for="form-pinboard-token">{{ t "Pinboard API Token" }}</label>
+ <input type="password" name="pinboard_token" id="form-pinboard-token" value="{{ .form.PinboardToken }}">
+
+ <label for="form-pinboard-tags">{{ t "Pinboard Tags" }}</label>
+ <input type="text" name="pinboard_tags" id="form-pinboard-tags" value="{{ .form.PinboardTags }}">
+
+ <label>
+ <input type="checkbox" name="pinboard_mark_as_unread" value="1" {{ if .form.PinboardMarkAsUnread }}checked{{ end }}> {{ t "Mark bookmark as unread" }}
+ </label>
+
+ <div class="buttons">
+ <button type="submit" class="button button-primary" data-label-loading="{{ t "Loading..." }}">{{ t "Update" }}</button>
+ </div>
+</form>
+
<div class="panel">
<h3>{{ t "Bookmarklet" }}</h3>
<p>{{ t "This special link allows you to subscribe to a website directly by using a bookmark in your web browser." }}</p>