| 1 |
{{ define "title"}}{{ t "page.integrations.title" }}{{ end }} |
| 2 |
|
| 3 |
{{ define "page_header"}} |
| 4 |
<section class="page-header" aria-labelledby="page-header-title"> |
| 5 |
<h1 id="page-header-title">{{ t "page.integrations.title" }}</h1> |
| 6 |
{{ template "settings_menu" dict "user" .user }} |
| 7 |
</section> |
| 8 |
{{ end }} |
| 9 |
|
| 10 |
{{ define "content"}} |
| 11 |
<form method="post" autocomplete="off" action="{{ routePath "/integration" }}" class="integration-form"> |
| 12 |
<input type="hidden" name="csrf" value="{{ .csrf }}"> |
| 13 |
|
| 14 |
{{ if .errorMessage }} |
| 15 |
<div role="alert" class="alert alert-error">{{ .errorMessage }}</div> |
| 16 |
{{ end }} |
| 17 |
|
| 18 |
<details {{ if .form.ArchiveorgEnabled }}open{{ end }}> |
| 19 |
<summary>Archive.org</summary> |
| 20 |
<div class="form-section"> |
| 21 |
<label> |
| 22 |
<input type="checkbox" name="archiveorg_enabled" value="1" {{ if .form.ArchiveorgEnabled }}checked{{ end }}> {{ t "form.integration.archiveorg_activate" }} |
| 23 |
</label> |
| 24 |
<div class="buttons"> |
| 25 |
<button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button> |
| 26 |
</div> |
| 27 |
</div> |
| 28 |
</details> |
| 29 |
|
| 30 |
<details {{ if .form.AppriseEnabled }}open{{ end }}> |
| 31 |
<summary>Apprise</summary> |
| 32 |
<div class="form-section"> |
| 33 |
<label> |
| 34 |
<input type="checkbox" name="apprise_enabled" value="1" {{ if .form.AppriseEnabled }}checked{{ end }}> {{ t "form.integration.apprise_activate" }} |
| 35 |
</label> |
| 36 |
|
| 37 |
<label for="form-apprise-url">{{ t "form.integration.apprise_url" }}</label> |
| 38 |
<input type="url" name="apprise_url" id="form-apprise-url" value="{{ .form.AppriseURL }}" placeholder="http://apprise:8080" spellcheck="false"> |
| 39 |
|
| 40 |
<label for="form-apprise-services-urls">{{ t "form.integration.apprise_services_url" }} |
| 41 |
<a href="https://github.com/caronc/apprise/wiki" {{ if $.user.OpenExternalLinksInNewTab }}target="_blank"{{ end }}> |
| 42 |
{{ icon "external-link" }} |
| 43 |
</a> |
| 44 |
</label> |
| 45 |
<input type="text" name="apprise_services_url" id="form-apprise-services-urls" value="{{ .form.AppriseServicesURL }}" placeholder="tgram://<token>/<chat_id>/,matrix://" spellcheck="false"> |
| 46 |
|
| 47 |
<div class="buttons"> |
| 48 |
<button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button> |
| 49 |
</div> |
| 50 |
</div> |
| 51 |
</details> |
| 52 |
|
| 53 |
<details {{ if .form.BetulaEnabled }}open{{ end }}> |
| 54 |
<summary>Betula</summary> |
| 55 |
<div class="form-section"> |
| 56 |
<label> |
| 57 |
<input type="checkbox" name="betula_enabled" value="1" {{ if .form.BetulaEnabled }}checked{{ end }}> {{ t "form.integration.betula_activate" }} |
| 58 |
</label> |
| 59 |
|
| 60 |
<label for="form-betula-url">{{ t "form.integration.betula_url" }}</label> |
| 61 |
<input type="url" name="betula_url" id="form-betula-url" value="{{ .form.BetulaURL }}" placeholder="http://links.bouncepaw.com" spellcheck="false"> |
| 62 |
|
| 63 |
<label for="form-betula-token">{{ t "form.integration.betula_token" }}</label> |
| 64 |
<input type="text" name="betula_token" id="form-betula-token" value="{{ .form.BetulaToken }}" spellcheck="false"> |
| 65 |
|
| 66 |
<div class="buttons"> |
| 67 |
<button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button> |
| 68 |
</div> |
| 69 |
</div> |
| 70 |
</details> |
| 71 |
|
| 72 |
<details {{ if .form.CuboxEnabled }}open{{ end }}> |
| 73 |
<summary>Cubox</summary> |
| 74 |
<div class="form-section"> |
| 75 |
<label> |
| 76 |
<input type="checkbox" name="cubox_enabled" value="1" {{ if .form.CuboxEnabled }}checked{{ end }}> {{ t "form.integration.cubox_activate" }} |
| 77 |
</label> |
| 78 |
|
| 79 |
<label for="form-cubox-api-link">{{ t "form.integration.cubox_api_link" }}</label> |
| 80 |
<input type="url" name="cubox_api_link" id="form-cubox-api-link" value="{{ .form.CuboxAPILink }}" placeholder="https://cubox.pro/c/api/save/xxx" spellcheck="false"> |
| 81 |
|
| 82 |
<div class="buttons"> |
| 83 |
<button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button> |
| 84 |
</div> |
| 85 |
</div> |
| 86 |
</details> |
| 87 |
|
| 88 |
<details {{ if .form.DiscordEnabled }}open{{ end }}> |
| 89 |
<summary>Discord</summary> |
| 90 |
<div class="form-section"> |
| 91 |
<label> |
| 92 |
<input type="checkbox" name="discord_enabled" value="1" {{ if .form.DiscordEnabled }}checked{{ end }}> {{ t "form.integration.discord_activate" }} |
| 93 |
</label> |
| 94 |
|
| 95 |
<label for="form-discord-webhook-link">{{ t "form.integration.discord_webhook_link" }}</label> |
| 96 |
<input type="url" name="discord_webhook_link" id="form-discord-webhook-link" value="{{ .form.DiscordWebhookLink }}" placeholder="https://discord.com/api/webhooks/xxx/xxx" spellcheck="false"> |
| 97 |
|
| 98 |
<div class="buttons"> |
| 99 |
<button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button> |
| 100 |
</div> |
| 101 |
</div> |
| 102 |
</details> |
| 103 |
|
| 104 |
<details {{ if .form.EspialEnabled }}open{{ end }}> |
| 105 |
<summary>Espial</summary> |
| 106 |
<div class="form-section"> |
| 107 |
<label> |
| 108 |
<input type="checkbox" name="espial_enabled" value="1" {{ if .form.EspialEnabled }}checked{{ end }}> {{ t "form.integration.espial_activate" }} |
| 109 |
</label> |
| 110 |
|
| 111 |
<label for="form-espial-url">{{ t "form.integration.espial_endpoint" }}</label> |
| 112 |
<input type="url" name="espial_url" id="form-espial-url" value="{{ .form.EspialURL }}" placeholder="https://esp.ae8.org" spellcheck="false"> |
| 113 |
|
| 114 |
<label for="form-espial-api-key">{{ t "form.integration.espial_api_key" }}</label> |
| 115 |
<input type="text" name="espial_api_key" id="form-espial-api-key" value="{{ .form.EspialAPIKey }}" spellcheck="false"> |
| 116 |
|
| 117 |
<label for="form-espial-tags">{{ t "form.integration.espial_tags" }}</label> |
| 118 |
<input type="text" name="espial_tags" id="form-espial-tags" value="{{ .form.EspialTags }}" spellcheck="false"> |
| 119 |
|
| 120 |
<div class="buttons"> |
| 121 |
<button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button> |
| 122 |
</div> |
| 123 |
</div> |
| 124 |
</details> |
| 125 |
|
| 126 |
<details {{ if .form.FeverEnabled }}open{{ end }}> |
| 127 |
<summary>Fever</summary> |
| 128 |
<div class="form-section"> |
| 129 |
<label> |
| 130 |
<input type="checkbox" name="fever_enabled" value="1" {{ if .form.FeverEnabled }}checked{{ end }}> {{ t "form.integration.fever_activate" }} |
| 131 |
</label> |
| 132 |
|
| 133 |
<label for="form-fever-username">{{ t "form.integration.fever_username" }}</label> |
| 134 |
<input type="text" name="fever_username" id="form-fever-username" value="{{ .form.FeverUsername }}" autocomplete="username" spellcheck="false"> |
| 135 |
|
| 136 |
<label for="form-fever-password">{{ t "form.integration.fever_password" }}</label> |
| 137 |
<input type="password" name="fever_password" id="form-fever-password" value="{{ .form.FeverPassword }}" autocomplete="new-password"> |
| 138 |
|
| 139 |
<p>{{ t "form.integration.fever_endpoint" }} <strong>{{ rootURL }}{{ routePath "/fever/" }}</strong></p> |
| 140 |
|
| 141 |
<div class="buttons"> |
| 142 |
<button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button> |
| 143 |
</div> |
| 144 |
</div> |
| 145 |
</details> |
| 146 |
|
| 147 |
<details {{ if .form.GoogleReaderEnabled }}open{{ end }}> |
| 148 |
<summary>Google Reader</summary> |
| 149 |
<div class="form-section"> |
| 150 |
<label> |
| 151 |
<input type="checkbox" name="googlereader_enabled" value="1" {{ if .form.GoogleReaderEnabled }}checked{{ end }}> {{ t "form.integration.googlereader_activate" }} |
| 152 |
</label> |
| 153 |
|
| 154 |
<label for="form-googlereader-username">{{ t "form.integration.googlereader_username" }}</label> |
| 155 |
<input type="text" name="googlereader_username" id="form-googlereader-username" value="{{ .form.GoogleReaderUsername }}" autocomplete="username" spellcheck="false"> |
| 156 |
|
| 157 |
<label for="form-googlereader-password">{{ t "form.integration.googlereader_password" }}</label> |
| 158 |
<input type="password" name="googlereader_password" id="form-googlereader-password" value="{{ .form.GoogleReaderPassword }}" autocomplete="new-password"> |
| 159 |
|
| 160 |
<p>{{ t "form.integration.googlereader_endpoint" }} <strong>{{ rootURL }}{{ routePath "/" }}</strong></p> |
| 161 |
|
| 162 |
<div class="buttons"> |
| 163 |
<button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button> |
| 164 |
</div> |
| 165 |
</div> |
| 166 |
</details> |
| 167 |
|
| 168 |
<details {{ if .form.InstapaperEnabled }}open{{ end }}> |
| 169 |
<summary>Instapaper</summary> |
| 170 |
<div class="form-section"> |
| 171 |
<label> |
| 172 |
<input type="checkbox" name="instapaper_enabled" value="1" {{ if .form.InstapaperEnabled }}checked{{ end }}> {{ t "form.integration.instapaper_activate" }} |
| 173 |
</label> |
| 174 |
|
| 175 |
<label for="form-instapaper-username">{{ t "form.integration.instapaper_username" }}</label> |
| 176 |
<input type="text" name="instapaper_username" id="form-instapaper-username" value="{{ .form.InstapaperUsername }}" spellcheck="false"> |
| 177 |
|
| 178 |
<label for="form-instapaper-password">{{ t "form.integration.instapaper_password" }}</label> |
| 179 |
<input type="password" name="instapaper_password" id="form-instapaper-password" value="{{ .form.InstapaperPassword }}" autocomplete="new-password"> |
| 180 |
|
| 181 |
<div class="buttons"> |
| 182 |
<button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button> |
| 183 |
</div> |
| 184 |
</div> |
| 185 |
</details> |
| 186 |
|
| 187 |
<details {{ if .form.LinkAceEnabled }}open{{ end }}> |
| 188 |
<summary>LinkAce</summary> |
| 189 |
<div class="form-section"> |
| 190 |
<label> |
| 191 |
<input type="checkbox" name="linkace_enabled" value="1" {{ if .form.LinkAceEnabled }}checked{{ end }}> {{ t "form.integration.linkace_activate" }} |
| 192 |
</label> |
| 193 |
|
| 194 |
<label for="form-linkace-url">{{ t "form.integration.linkace_endpoint" }}</label> |
| 195 |
<input type="url" name="linkace_url" id="form-linkace-url" value="{{ .form.LinkAceURL }}" placeholder="http://linkace-url:port" spellcheck="false"> |
| 196 |
|
| 197 |
<label for="form-linkace-api-key">{{ t "form.integration.linkace_api_key" }}</label> |
| 198 |
<input type="text" name="linkace_api_key" id="form-linkace-api-key" value="{{ .form.LinkAceAPIKey }}" spellcheck="false"> |
| 199 |
|
| 200 |
<label for="form-linkace-tags">{{ t "form.integration.linkace_tags" }}</label> |
| 201 |
<input type="text" name="linkace_tags" id="form-linkace-tags" value="{{ .form.LinkAceTags }}" spellcheck="false"> |
| 202 |
|
| 203 |
<label> |
| 204 |
<input type="checkbox" name="linkace_is_private" value="1" {{ if .form.LinkAcePrivate }}checked{{ end }}> {{ t "form.integration.linkace_is_private" }} |
| 205 |
</label> |
| 206 |
|
| 207 |
<label> |
| 208 |
<input type="checkbox" name="linkace_check_disabled" value="1" {{ if .form.LinkAceCheckDisabled }}checked{{ end }}> {{ t "form.integration.linkace_check_disabled" }} |
| 209 |
</label> |
| 210 |
|
| 211 |
<div class="buttons"> |
| 212 |
<button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button> |
| 213 |
</div> |
| 214 |
</div> |
| 215 |
</details> |
| 216 |
|
| 217 |
<details {{ if .form.LinkdingEnabled }}open{{ end }}> |
| 218 |
<summary>Linkding</summary> |
| 219 |
<div class="form-section"> |
| 220 |
<label> |
| 221 |
<input type="checkbox" name="linkding_enabled" value="1" {{ if .form.LinkdingEnabled }}checked{{ end }}> {{ t "form.integration.linkding_activate" }} |
| 222 |
</label> |
| 223 |
|
| 224 |
<label for="form-linkding-url">{{ t "form.integration.linkding_endpoint" }}</label> |
| 225 |
<input type="url" name="linkding_url" id="form-linkding-url" value="{{ .form.LinkdingURL }}" placeholder="https://linkding.com" spellcheck="false"> |
| 226 |
|
| 227 |
<label for="form-linkding-api-key">{{ t "form.integration.linkding_api_key" }}</label> |
| 228 |
<input type="text" name="linkding_api_key" id="form-linkding-api-key" value="{{ .form.LinkdingAPIKey }}" spellcheck="false"> |
| 229 |
|
| 230 |
<label for="form-linkding-tags">{{ t "form.integration.linkding_tags" }}</label> |
| 231 |
<input type="text" name="linkding_tags" id="form-linkding-tags" value="{{ .form.LinkdingTags }}" spellcheck="false"> |
| 232 |
|
| 233 |
<label> |
| 234 |
<input type="checkbox" name="linkding_mark_as_unread" value="1" {{ if .form.LinkdingMarkAsUnread }}checked{{ end }}> {{ t "form.integration.linkding_bookmark" }} |
| 235 |
</label> |
| 236 |
|
| 237 |
<div class="buttons"> |
| 238 |
<button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button> |
| 239 |
</div> |
| 240 |
</div> |
| 241 |
</details> |
| 242 |
|
| 243 |
<details {{ if .form.LinktacoEnabled }}open{{ end }}> |
| 244 |
<summary>LinkTaco</summary> |
| 245 |
<div class="form-section"> |
| 246 |
<label> |
| 247 |
<input type="checkbox" name="linktaco_enabled" value="1" {{ if .form.LinktacoEnabled }}checked{{ end }}> {{ t "form.integration.linktaco_activate" }} |
| 248 |
</label> |
| 249 |
|
| 250 |
<label for="form-linktaco-api-token">{{ t "form.integration.linktaco_api_token" }}</label> |
| 251 |
<input type="password" name="linktaco_api_token" id="form-linktaco-api-token" value="{{ .form.LinktacoAPIToken }}" spellcheck="false"> |
| 252 |
<p class="hint">{{ t "form.integration.linktaco_api_token_hint" }} <a href="https://linktaco.com/oauth2/personal" target="_blank" rel="noopener noreferrer">https://linktaco.com/oauth2/personal</a></p> |
| 253 |
|
| 254 |
<label for="form-linktaco-org-slug">{{ t "form.integration.linktaco_org_slug" }}</label> |
| 255 |
<input type="text" name="linktaco_org_slug" id="form-linktaco-org-slug" value="{{ .form.LinktacoOrgSlug }}" placeholder="my-organization" spellcheck="false"> |
| 256 |
|
| 257 |
<label for="form-linktaco-tags">{{ t "form.integration.linktaco_tags" }}</label> |
| 258 |
<input type="text" name="linktaco_tags" id="form-linktaco-tags" value="{{ .form.LinktacoTags }}" placeholder="miniflux, bookmarks" spellcheck="false"> |
| 259 |
<p class="hint">{{ t "form.integration.linktaco_tags_hint" }}</p> |
| 260 |
|
| 261 |
<label for="form-linktaco-visibility">{{ t "form.integration.linktaco_visibility" }}</label> |
| 262 |
<select name="linktaco_visibility" id="form-linktaco-visibility"> |
| 263 |
<option value="PUBLIC" {{ if eq .form.LinktacoVisibility "PUBLIC" }}selected{{ end }}>{{ t "form.integration.linktaco_visibility_public" }}</option> |
| 264 |
<option value="PRIVATE" {{ if eq .form.LinktacoVisibility "PRIVATE" }}selected{{ end }}>{{ t "form.integration.linktaco_visibility_private" }}</option> |
| 265 |
</select> |
| 266 |
<p class="hint">{{ t "form.integration.linktaco_visibility_hint" }}</p> |
| 267 |
|
| 268 |
<div class="buttons"> |
| 269 |
<button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button> |
| 270 |
</div> |
| 271 |
</div> |
| 272 |
</details> |
| 273 |
|
| 274 |
<details {{ if .form.LinkwardenEnabled }}open{{ end }}> |
| 275 |
<summary>Linkwarden</summary> |
| 276 |
<div class="form-section"> |
| 277 |
<label> |
| 278 |
<input type="checkbox" name="linkwarden_enabled" value="1" {{ if .form.LinkwardenEnabled }}checked{{ end }}> {{ t "form.integration.linkwarden_activate" }} |
| 279 |
</label> |
| 280 |
|
| 281 |
<label for="form-linkwarden-url">{{ t "form.integration.linkwarden_endpoint" }}</label> |
| 282 |
<input type="url" name="linkwarden_url" id="form-linkwarden-url" value="{{ .form.LinkwardenURL }}" placeholder="https://linkwarden.app" spellcheck="false"> |
| 283 |
|
| 284 |
<label for="form-linkwarden-api-key">{{ t "form.integration.linkwarden_api_key" }}</label> |
| 285 |
<input type="text" name="linkwarden_api_key" id="form-linkwarden-api-key" value="{{ .form.LinkwardenAPIKey }}" spellcheck="false"> |
| 286 |
|
| 287 |
<label for="form-linkwarden-collection-id">{{ t "form.integration.linkwarden_collection_id" }}</label> |
| 288 |
<input type="number" name="linkwarden_collection_id" id="form-linkwarden-collection-id" {{ if .form.LinkwardenCollectionID }}value="{{ .form.LinkwardenCollectionID }}"{{ end }} spellcheck="false"> |
| 289 |
|
| 290 |
<div class="buttons"> |
| 291 |
<button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button> |
| 292 |
</div> |
| 293 |
</div> |
| 294 |
</details> |
| 295 |
|
| 296 |
<details {{ if .form.MatrixBotEnabled }}open{{ end }}> |
| 297 |
<summary>Matrix Bot</summary> |
| 298 |
<div class="form-section"> |
| 299 |
<label> |
| 300 |
<input type="checkbox" name="matrix_bot_enabled" value="1" {{ if .form.MatrixBotEnabled }}checked{{ end }}> {{ t "form.integration.matrix_bot_activate" }} |
| 301 |
</label> |
| 302 |
|
| 303 |
<label for="form-matrix-bot-user">{{ t "form.integration.matrix_bot_user" }}</label> |
| 304 |
<input type="text" name="matrix_bot_user" id="form-matrix-bot-user" value="{{ .form.MatrixBotUser }}" spellcheck="false"> |
| 305 |
|
| 306 |
<label for="form-matrix-password">{{ t "form.integration.matrix_bot_password" }}</label> |
| 307 |
<input type="password" name="matrix_bot_password" id="form-matrix-password" value="{{ .form.MatrixBotPassword }}" spellcheck="false"> |
| 308 |
|
| 309 |
<label for="form-matrix-url">{{ t "form.integration.matrix_bot_url" }}</label> |
| 310 |
<input type="url" name="matrix_bot_url" id="form-matrix-url" value="{{ .form.MatrixBotURL }}" spellcheck="false"> |
| 311 |
|
| 312 |
<label for="form-matrix-chat-id">{{ t "form.integration.matrix_bot_chat_id" }}</label> |
| 313 |
<input type="text" name="matrix_bot_chat_id" id="form-matrix-chat-id" value="{{ .form.MatrixBotChatID }}" spellcheck="false"> |
| 314 |
|
| 315 |
<div class="buttons"> |
| 316 |
<button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button> |
| 317 |
</div> |
| 318 |
</div> |
| 319 |
</details> |
| 320 |
|
| 321 |
<details {{ if .form.NotionEnabled }}open{{ end }}> |
| 322 |
<summary>Notion</summary> |
| 323 |
<div class="form-section"> |
| 324 |
<label> |
| 325 |
<input type="checkbox" name="notion_enabled" value="1" {{ if .form.NotionEnabled }}checked{{ end }}> {{ t "form.integration.notion_activate" }} |
| 326 |
</label> |
| 327 |
|
| 328 |
<label for="form-notion-token">{{ t "form.integration.notion_token" }}</label> |
| 329 |
<input type="password" name="notion_token" id="form-notion-token" value="{{ .form.NotionToken }}" spellcheck="false"> |
| 330 |
|
| 331 |
<label for="form-notion-page-id">{{ t "form.integration.notion_page_id" }}</label> |
| 332 |
<input type="text" name="notion_page_id" id="form-notion-page-id" value="{{ .form.NotionPageID }}" spellcheck="false"> |
| 333 |
|
| 334 |
<div class="buttons"> |
| 335 |
<button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button> |
| 336 |
</div> |
| 337 |
</div> |
| 338 |
</details> |
| 339 |
|
| 340 |
<details {{ if .form.NtfyEnabled }}open{{ end }}> |
| 341 |
<summary>Ntfy</summary> |
| 342 |
<div class="form-section"> |
| 343 |
<label> |
| 344 |
<input type="checkbox" name="ntfy_enabled" value="1" {{ if .form.NtfyEnabled }}checked{{ end }}> {{ t "form.integration.ntfy_activate" }} |
| 345 |
</label> |
| 346 |
|
| 347 |
<label for="form-ntfy-topic">{{ t "form.integration.ntfy_topic" }}</label> |
| 348 |
<input type="text" name="ntfy_topic" id="form-ntfy-topic" value="{{ .form.NtfyTopic }}" spellcheck="false"> |
| 349 |
|
| 350 |
<label for="form-ntfy-url">{{ t "form.integration.ntfy_url" }}</label> |
| 351 |
<input type="url" name="ntfy_url" id="form-ntfy-url" value="{{ .form.NtfyURL }}" placeholder="https://ntfy.sh" spellcheck="false"> |
| 352 |
|
| 353 |
<label for="form-ntfy-api-token">{{ t "form.integration.ntfy_api_token" }}</label> |
| 354 |
<input type="text" name="ntfy_api_token" id="form-ntfy-api-token" value="{{ .form.NtfyAPIToken }}" spellcheck="false"> |
| 355 |
|
| 356 |
<label for="form-ntfy-username">{{ t "form.integration.ntfy_username" }}</label> |
| 357 |
<input type="text" name="ntfy_username" id="form-ntfy-username" value="{{ .form.NtfyUsername }}" spellcheck="false"> |
| 358 |
|
| 359 |
<label for="form-ntfy-password">{{ t "form.integration.ntfy_password" }}</label> |
| 360 |
<input type="text" name="ntfy_password" id="form-ntfy-password" value="{{ .form.NtfyPassword }}" spellcheck="false"> |
| 361 |
|
| 362 |
<label for="form-ntfy-icon-url">{{ t "form.integration.ntfy_icon_url" }}</label> |
| 363 |
<input type="url" name="ntfy_icon_url" id="form-ntfy-icon-url" value="{{ .form.NtfyIconURL }}" spellcheck="false"> |
| 364 |
|
| 365 |
<label> |
| 366 |
<input type="checkbox" name="ntfy_internal_links" value="1" {{ if .form.NtfyInternalLinks }}checked{{ end }}> {{ t "form.integration.ntfy_internal_links" }} |
| 367 |
</label> |
| 368 |
|
| 369 |
<div class="buttons"> |
| 370 |
<button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button> |
| 371 |
</div> |
| 372 |
</div> |
| 373 |
</details> |
| 374 |
|
| 375 |
<details {{ if .form.NunuxKeeperEnabled }}open{{ end }}> |
| 376 |
<summary>Nunux Keeper</summary> |
| 377 |
<div class="form-section"> |
| 378 |
<label> |
| 379 |
<input type="checkbox" name="nunux_keeper_enabled" value="1" {{ if .form.NunuxKeeperEnabled }}checked{{ end }}> {{ t "form.integration.nunux_keeper_activate" }} |
| 380 |
</label> |
| 381 |
|
| 382 |
<label for="form-nunux-keeper-url">{{ t "form.integration.nunux_keeper_endpoint" }}</label> |
| 383 |
<input type="url" name="nunux_keeper_url" id="form-nunux-keeper-url" value="{{ .form.NunuxKeeperURL }}" placeholder="https://api.nunux.org/keeper" spellcheck="false"> |
| 384 |
|
| 385 |
<label for="form-nunux-keeper-api-key">{{ t "form.integration.nunux_keeper_api_key" }}</label> |
| 386 |
<input type="text" name="nunux_keeper_api_key" id="form-nunux-keeper-api-key" value="{{ .form.NunuxKeeperAPIKey }}" spellcheck="false"> |
| 387 |
|
| 388 |
<div class="buttons"> |
| 389 |
<button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button> |
| 390 |
</div> |
| 391 |
</div> |
| 392 |
</details> |
| 393 |
|
| 394 |
<details {{ if .form.OmnivoreEnabled }}open{{ end }}> |
| 395 |
<summary>Omnivore</summary> |
| 396 |
<div class="form-section"> |
| 397 |
<label> |
| 398 |
<input type="checkbox" name="omnivore_enabled" value="1" {{ if .form.OmnivoreEnabled }}checked{{ end }}> {{ t "form.integration.omnivore_activate" }} |
| 399 |
</label> |
| 400 |
|
| 401 |
<label for="form-omnivore-api-key">{{ t "form.integration.omnivore_api_key" }}</label> |
| 402 |
<input type="text" name="omnivore_api_key" id="form-omnivore-api-key" value="{{ .form.OmnivoreAPIKey }}" spellcheck="false"> |
| 403 |
|
| 404 |
<label for="form-omnivore-url">{{ t "form.integration.omnivore_url" }}</label> |
| 405 |
<input type="url" name="omnivore_url" id="form-omnivore-url" value="{{ .form.OmnivoreURL }}" placeholder="https://api-prod.omnivore.app/api/graphql" spellcheck="false"> |
| 406 |
|
| 407 |
<div class="buttons"> |
| 408 |
<button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button> |
| 409 |
</div> |
| 410 |
</div> |
| 411 |
</details> |
| 412 |
|
| 413 |
<details {{ if .form.KarakeepEnabled }}open{{ end }}> |
| 414 |
<summary>Karakeep</summary> |
| 415 |
<div class="form-section"> |
| 416 |
<label> |
| 417 |
<input type="checkbox" name="karakeep_enabled" value="1" {{ if .form.KarakeepEnabled }}checked{{ end }}> {{ t "form.integration.karakeep_activate" }} |
| 418 |
</label> |
| 419 |
|
| 420 |
<label for="form-karakeep-api-key">{{ t "form.integration.karakeep_api_key" }}</label> |
| 421 |
<input type="text" name="karakeep_api_key" id="form-karakeep-api-key" value="{{ .form.KarakeepAPIKey }}" spellcheck="false"> |
| 422 |
|
| 423 |
<label for="form-karakeep-url">{{ t "form.integration.karakeep_url" }}</label> |
| 424 |
<input type="url" name="karakeep_url" id="form-karakeep-url" value="{{ .form.KarakeepURL }}" placeholder="https://try.karakeep.app/api/v1/bookmarks" spellcheck="false"> |
| 425 |
|
| 426 |
<label for="form-karakeep-tags">{{ t "form.integration.karakeep_tags" }}</label> |
| 427 |
<input type="text" name="karakeep_tags" id="form-karakeep-tags" value="{{ .form.KarakeepTags }}" placeholder="miniflux, new" spellcheck="false"> |
| 428 |
|
| 429 |
<div class="buttons"> |
| 430 |
<button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button> |
| 431 |
</div> |
| 432 |
</div> |
| 433 |
</details> |
| 434 |
|
| 435 |
<details {{ if .form.PinboardEnabled }}open{{ end }}> |
| 436 |
<summary>Pinboard</summary> |
| 437 |
<div class="form-section"> |
| 438 |
<label> |
| 439 |
<input type="checkbox" name="pinboard_enabled" value="1" {{ if .form.PinboardEnabled }}checked{{ end }}> {{ t "form.integration.pinboard_activate" }} |
| 440 |
</label> |
| 441 |
|
| 442 |
<label for="form-pinboard-token">{{ t "form.integration.pinboard_token" }}</label> |
| 443 |
<input type="password" name="pinboard_token" id="form-pinboard-token" value="{{ .form.PinboardToken }}" autocomplete="new-password"> |
| 444 |
|
| 445 |
<label for="form-pinboard-tags">{{ t "form.integration.pinboard_tags" }}</label> |
| 446 |
<input type="text" name="pinboard_tags" id="form-pinboard-tags" value="{{ .form.PinboardTags }}" spellcheck="false"> |
| 447 |
|
| 448 |
<label> |
| 449 |
<input type="checkbox" name="pinboard_mark_as_unread" value="1" {{ if .form.PinboardMarkAsUnread }}checked{{ end }}> {{ t "form.integration.pinboard_bookmark" }} |
| 450 |
</label> |
| 451 |
|
| 452 |
<div class="buttons"> |
| 453 |
<button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button> |
| 454 |
</div> |
| 455 |
</div> |
| 456 |
</details> |
| 457 |
|
| 458 |
<details {{ if .form.PushoverEnabled }}open{{ end }}> |
| 459 |
<summary>Pushover</summary> |
| 460 |
<div class="form-section"> |
| 461 |
<label> |
| 462 |
<input type="checkbox" name="pushover_enabled" value="1" {{ if .form.PushoverEnabled }}checked{{ end }}> {{ t "form.integration.pushover_activate" }} |
| 463 |
</label> |
| 464 |
|
| 465 |
<label for="form-pushover-token">{{ t "form.integration.pushover_token" }}</label> |
| 466 |
<input type="text" name="pushover_token" id="form-pushover-token" value="{{ .form.PushoverToken }}" spellcheck="false"> |
| 467 |
|
| 468 |
<label for="form-pushover-user">{{ t "form.integration.pushover_user" }}</label> |
| 469 |
<input type="text" name="pushover_user" id="form-pushover-user" value="{{ .form.PushoverUser }}" spellcheck="false"> |
| 470 |
|
| 471 |
<label for="form-pushover-device">{{ t "form.integration.pushover_device" }}</label> |
| 472 |
<input type="text" name="pushover_device" id="form-pushover-device" value="{{ .form.PushoverDevice }}" spellcheck="false"> |
| 473 |
|
| 474 |
<label for="form-pushover-prefix">{{ t "form.integration.pushover_prefix" }}</label> |
| 475 |
<input type="text" name="pushover_prefix" id="form-pushover-prefix" value="{{ .form.PushoverPrefix }}" spellcheck="false" placeholder="https://api.pushover.net"> |
| 476 |
|
| 477 |
<div class="buttons"> |
| 478 |
<button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button> |
| 479 |
</div> |
| 480 |
</div> |
| 481 |
</details> |
| 482 |
|
| 483 |
<details {{ if .form.RaindropEnabled }}open{{ end }}> |
| 484 |
<summary>Raindrop</summary> |
| 485 |
<div class="form-section"> |
| 486 |
<label> |
| 487 |
<input type="checkbox" name="raindrop_enabled" value="1" {{ if .form.RaindropEnabled }}checked{{ end }}> {{ t "form.integration.raindrop_activate" }} |
| 488 |
</label> |
| 489 |
|
| 490 |
<label for="form-raindrop-token">{{ t "form.integration.raindrop_token" }}</label> |
| 491 |
<input type="text" name="raindrop_token" id="form-raindrop-token" value="{{ .form.RaindropToken }}" spellcheck="false"> |
| 492 |
|
| 493 |
<label for="form-raindrop-collection-id">{{ t "form.integration.raindrop_collection_id" }}</label> |
| 494 |
<input type="text" name="raindrop_collection_id" id="form-raindrop-collection-id" value="{{ .form.RaindropCollectionID }}" spellcheck="false"> |
| 495 |
|
| 496 |
<label for="form-raindrop-tags">{{ t "form.integration.raindrop_tags" }}</label> |
| 497 |
<input type="text" name="raindrop_tags" id="form-raindrop-tags" value="{{ .form.RaindropTags }}" spellcheck="false"> |
| 498 |
|
| 499 |
<div class="buttons"> |
| 500 |
<button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button> |
| 501 |
</div> |
| 502 |
</div> |
| 503 |
</details> |
| 504 |
|
| 505 |
<details {{ if .form.ReadeckEnabled }}open{{ end }}> |
| 506 |
<summary>Readeck</summary> |
| 507 |
<div class="form-section"> |
| 508 |
<label> |
| 509 |
<input type="checkbox" name="readeck_enabled" value="1" {{ if .form.ReadeckEnabled }}checked{{ end }}> {{ t "form.integration.readeck_activate" }} |
| 510 |
</label> |
| 511 |
|
| 512 |
<label> |
| 513 |
<input type="checkbox" name="readeck_push_enabled" value="1" {{ if .form.ReadeckPushEnabled }}checked{{ end }}> {{ t "form.integration.readeck_push_activate" }} |
| 514 |
</label> |
| 515 |
|
| 516 |
<label> |
| 517 |
<input type="checkbox" name="readeck_only_url" value="1" {{ if .form.ReadeckOnlyURL }}checked{{ end }}> {{ t "form.integration.readeck_only_url" }} |
| 518 |
</label> |
| 519 |
|
| 520 |
<label for="form-readeck-url">{{ t "form.integration.readeck_endpoint" }}</label> |
| 521 |
<input type="url" name="readeck_url" id="form-readeck-url" value="{{ .form.ReadeckURL }}" placeholder="https://readeck.com" spellcheck="false"> |
| 522 |
|
| 523 |
<label for="form-readeck-api-key">{{ t "form.integration.readeck_api_key" }}</label> |
| 524 |
<input type="text" name="readeck_api_key" id="form-readeck-api-key" value="{{ .form.ReadeckAPIKey }}" spellcheck="false"> |
| 525 |
|
| 526 |
<label for="form-readeck-labels">{{ t "form.integration.readeck_labels" }}</label> |
| 527 |
<input type="text" name="readeck_labels" id="form-readeck-labels" value="{{ .form.ReadeckLabels }}" spellcheck="false"> |
| 528 |
|
| 529 |
<div class="buttons"> |
| 530 |
<button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button> |
| 531 |
</div> |
| 532 |
</div> |
| 533 |
</details> |
| 534 |
|
| 535 |
<details {{ if .form.ReadwiseEnabled }}open{{ end }}> |
| 536 |
<summary>Readwise Reader</summary> |
| 537 |
<div class="form-section"> |
| 538 |
<label> |
| 539 |
<input type="checkbox" name="readwise_enabled" value="1" {{ if .form.ReadwiseEnabled }}checked{{ end }}> {{ t "form.integration.readwise_activate" }} |
| 540 |
</label> |
| 541 |
|
| 542 |
<label for="form-readwise-api-key">{{ t "form.integration.readwise_api_key" }}</label> |
| 543 |
<input type="text" name="readwise_api_key" id="form-readwise-api-key" value="{{ .form.ReadwiseAPIKey }}" spellcheck="false"> |
| 544 |
|
| 545 |
<p><a href="https://readwise.io/access_token" {{ if $.user.OpenExternalLinksInNewTab }}target="_blank"{{ end }}>{{ t "form.integration.readwise_api_key_link" }}</a></p> |
| 546 |
|
| 547 |
<div class="buttons"> |
| 548 |
<button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button> |
| 549 |
</div> |
| 550 |
</div> |
| 551 |
</details> |
| 552 |
|
| 553 |
<details {{ if .form.RSSBridgeEnabled }}open{{ end }}> |
| 554 |
<summary>RSS-Bridge</summary> |
| 555 |
<div class="form-section"> |
| 556 |
<label> |
| 557 |
<input type="checkbox" name="rssbridge_enabled" value="1" {{ if .form.RSSBridgeEnabled }}checked{{ end }}> {{ t "form.integration.rssbridge_activate" }} |
| 558 |
</label> |
| 559 |
|
| 560 |
<label for="form-rssbridge-url">{{ t "form.integration.rssbridge_url" }}</label> |
| 561 |
<input type="url" name="rssbridge_url" id="form-rssbridge-url" value="{{ .form.RSSBridgeURL }}" spellcheck="false"> |
| 562 |
|
| 563 |
<label for="form-rssbridge-token">{{ t "form.integration.rssbridge_token" }}</label> |
| 564 |
<input type="password" name="rssbridge_token" id="form-rssbridge-token" value="{{ .form.RSSBridgeToken }}" spellcheck="false"> |
| 565 |
|
| 566 |
<div class="buttons"> |
| 567 |
<button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button> |
| 568 |
</div> |
| 569 |
</div> |
| 570 |
</details> |
| 571 |
|
| 572 |
<details {{ if .form.ShaarliEnabled }}open{{ end }}> |
| 573 |
<summary>Shaarli</summary> |
| 574 |
<div class="form-section"> |
| 575 |
<label> |
| 576 |
<input type="checkbox" name="shaarli_enabled" value="1" {{ if .form.ShaarliEnabled }}checked{{ end }}> {{ t "form.integration.shaarli_activate" }} |
| 577 |
</label> |
| 578 |
|
| 579 |
<label for="form-shaarli-url">{{ t "form.integration.shaarli_endpoint" }}</label> |
| 580 |
<input type="url" name="shaarli_url" id="form-shaarli-url" value="{{ .form.ShaarliURL }}" placeholder="https://shaarli.example.org" spellcheck="false"> |
| 581 |
|
| 582 |
<label for="form-shaarli-api-secret">{{ t "form.integration.shaarli_api_secret" }}</label> |
| 583 |
<input type="password" name="shaarli_api_secret" id="form-shaarli-api-secret" value="{{ .form.ShaarliAPISecret }}" autocomplete="new-password"> |
| 584 |
|
| 585 |
<div class="buttons"> |
| 586 |
<button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button> |
| 587 |
</div> |
| 588 |
</div> |
| 589 |
</details> |
| 590 |
|
| 591 |
<details {{ if .form.ShioriEnabled }}open{{ end }}> |
| 592 |
<summary>Shiori</summary> |
| 593 |
<div class="form-section"> |
| 594 |
<label> |
| 595 |
<input type="checkbox" name="shiori_enabled" value="1" {{ if .form.ShioriEnabled }}checked{{ end }}> {{ t "form.integration.shiori_activate" }} |
| 596 |
</label> |
| 597 |
|
| 598 |
<label for="form-shiori-url">{{ t "form.integration.shiori_endpoint" }}</label> |
| 599 |
<input type="url" name="shiori_url" id="form-shiori-url" value="{{ .form.ShioriURL }}" placeholder="https://shiori.example.org" spellcheck="false"> |
| 600 |
|
| 601 |
<label for="form-shiori-username">{{ t "form.integration.shiori_username" }}</label> |
| 602 |
<input type="text" name="shiori_username" id="form-shiori-username" value="{{ .form.ShioriUsername }}" spellcheck="false"> |
| 603 |
|
| 604 |
<label for="form-shiori-password">{{ t "form.integration.shiori_password" }}</label> |
| 605 |
<input type="password" name="shiori_password" id="form-shiori-password" value="{{ .form.ShioriPassword }}" autocomplete="new-password"> |
| 606 |
|
| 607 |
<div class="buttons"> |
| 608 |
<button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button> |
| 609 |
</div> |
| 610 |
</div> |
| 611 |
</details> |
| 612 |
|
| 613 |
<details {{ if .form.SlackEnabled }}open{{ end }}> |
| 614 |
<summary>Slack</summary> |
| 615 |
<div class="form-section"> |
| 616 |
<label> |
| 617 |
<input type="checkbox" name="slack_enabled" value="1" {{ if .form.SlackEnabled }}checked{{ end }}> {{ t "form.integration.slack_activate" }} |
| 618 |
</label> |
| 619 |
|
| 620 |
<label for="form-slack-webhook-link">{{ t "form.integration.slack_webhook_link" }}</label> |
| 621 |
<input type="url" name="slack_webhook_link" id="form-slack-webhook-link" value="{{ .form.SlackWebhookLink }}" placeholder="https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX" spellcheck="false"> |
| 622 |
|
| 623 |
<div class="buttons"> |
| 624 |
<button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button> |
| 625 |
</div> |
| 626 |
</div> |
| 627 |
</details> |
| 628 |
|
| 629 |
<details {{ if .form.TelegramBotEnabled }}open{{ end }}> |
| 630 |
<summary>Telegram Bot</summary> |
| 631 |
<div class="form-section"> |
| 632 |
<label> |
| 633 |
<input type="checkbox" name="telegram_bot_enabled" value="1" {{ if .form.TelegramBotEnabled }}checked{{ end }}> {{ t "form.integration.telegram_bot_activate" }} |
| 634 |
</label> |
| 635 |
|
| 636 |
<label for="form-telegram-bot-token">{{ t "form.integration.telegram_bot_token" }}</label> |
| 637 |
<input type="text" name="telegram_bot_token" id="form-telegram-bot-token" value="{{ .form.TelegramBotToken }}" placeholder="bot123456:Abcdefg" spellcheck="false"> |
| 638 |
|
| 639 |
<label for="form-telegram-chat-id">{{ t "form.integration.telegram_chat_id" }}</label> |
| 640 |
<input type="text" name="telegram_bot_chat_id" id="form-telegram-chat-id" value="{{ .form.TelegramBotChatID }}" spellcheck="false"> |
| 641 |
|
| 642 |
<label for="form-telegram-topic-id">{{ t "form.integration.telegram_topic_id" }}</label> |
| 643 |
<input type="number" name="telegram_bot_topic_id" id="form-telegram-topic-id" {{ if .form.TelegramBotTopicID }}value="{{ .form.TelegramBotTopicID }}"{{ end }}> |
| 644 |
|
| 645 |
<label> |
| 646 |
<input type="checkbox" name="telegram_bot_disable_web_page_preview" value="1" {{ if .form.TelegramBotDisableWebPagePreview }}checked{{ end }}> {{ t "form.integration.telegram_bot_disable_web_page_preview" }} |
| 647 |
</label> |
| 648 |
|
| 649 |
<label> |
| 650 |
<input type="checkbox" name="telegram_bot_disable_notification" value="1" {{ if .form.TelegramBotDisableNotification }}checked{{ end }}> {{ t "form.integration.telegram_bot_disable_notification" }} |
| 651 |
</label> |
| 652 |
|
| 653 |
<label> |
| 654 |
<input type="checkbox" name="telegram_bot_disable_buttons" value="1" {{ if .form.TelegramBotDisableButtons }}checked{{ end }}> {{ t "form.integration.telegram_bot_disable_buttons" }} |
| 655 |
</label> |
| 656 |
|
| 657 |
<div class="buttons"> |
| 658 |
<button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button> |
| 659 |
</div> |
| 660 |
</div> |
| 661 |
</details> |
| 662 |
|
| 663 |
<details {{ if .form.WallabagEnabled }}open{{ end }}> |
| 664 |
<summary>Wallabag</summary> |
| 665 |
<div class="form-section"> |
| 666 |
<label> |
| 667 |
<input type="checkbox" name="wallabag_enabled" value="1" {{ if .form.WallabagEnabled }}checked{{ end }}> {{ t "form.integration.wallabag_activate" }} |
| 668 |
</label> |
| 669 |
|
| 670 |
<label> |
| 671 |
<input type="checkbox" name="wallabag_only_url" value="1" {{ if .form.WallabagOnlyURL }}checked{{ end }}> {{ t "form.integration.wallabag_only_url" }} |
| 672 |
</label> |
| 673 |
|
| 674 |
<label for="form-wallabag-url">{{ t "form.integration.wallabag_endpoint" }}</label> |
| 675 |
<input type="url" name="wallabag_url" id="form-wallabag-url" value="{{ .form.WallabagURL }}" spellcheck="false"> |
| 676 |
|
| 677 |
<label for="form-wallabag-client-id">{{ t "form.integration.wallabag_client_id" }}</label> |
| 678 |
<input type="text" name="wallabag_client_id" id="form-wallabag-client-id" value="{{ .form.WallabagClientID }}" spellcheck="false"> |
| 679 |
|
| 680 |
<label for="form-wallabag-client-secret">{{ t "form.integration.wallabag_client_secret" }}</label> |
| 681 |
<input type="password" name="wallabag_client_secret" id="form-wallabag-client-secret" value="{{ .form.WallabagClientSecret }}" autocomplete="new-password"> |
| 682 |
|
| 683 |
<label for="form-wallabag-username">{{ t "form.integration.wallabag_username" }}</label> |
| 684 |
<input type="text" name="wallabag_username" id="form-wallabag-username" value="{{ .form.WallabagUsername }}" spellcheck="false"> |
| 685 |
|
| 686 |
<label for="form-wallabag-password">{{ t "form.integration.wallabag_password" }}</label> |
| 687 |
<input type="password" name="wallabag_password" id="form-wallabag-password" value="{{ .form.WallabagPassword }}" autocomplete="new-password"> |
| 688 |
|
| 689 |
<label for="form-wallabag-tags">{{ t "form.integration.wallabag_tags" }}</label> |
| 690 |
<input type="text" name="wallabag_tags" id="form-wallabag-tags" value="{{ .form.WallabagTags }}" spellcheck="false"> |
| 691 |
|
| 692 |
<div class="buttons"> |
| 693 |
<button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button> |
| 694 |
</div> |
| 695 |
</div> |
| 696 |
</details> |
| 697 |
|
| 698 |
<details {{ if .form.WebhookEnabled }}open{{ end }}> |
| 699 |
<summary>Webhook</summary> |
| 700 |
<div class="form-section"> |
| 701 |
<label> |
| 702 |
<input type="checkbox" name="webhook_enabled" value="1" {{ if .form.WebhookEnabled }}checked{{ end }}> {{ t "form.integration.webhook_activate" }} |
| 703 |
</label> |
| 704 |
|
| 705 |
<label for="form-webhook-url">{{ t "form.integration.webhook_url" }}</label> |
| 706 |
<input type="url" name="webhook_url" id="form-webhook-url" value="{{ .form.WebhookURL }}" placeholder="https://username:[email protected]" spellcheck="false"> |
| 707 |
|
| 708 |
{{ if .form.WebhookSecret }} |
| 709 |
<label for="form-webhook-secret">{{ t "form.integration.webhook_secret" }}</label> |
| 710 |
<input type="text" name="webhook_secret" id="form-webhook-secret" value="{{ .form.WebhookSecret }}" spellcheck="false" readonly> |
| 711 |
{{ end }} |
| 712 |
|
| 713 |
<div class="buttons"> |
| 714 |
<button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button> |
| 715 |
</div> |
| 716 |
</div> |
| 717 |
</details> |
| 718 |
</form> |
| 719 |
|
| 720 |
<h3>{{ t "page.integration.bookmarklet" }}</h3> |
| 721 |
<div class="panel"> |
| 722 |
<p>{{ t "page.integration.bookmarklet.help" }}</p> |
| 723 |
|
| 724 |
<div class="bookmarklet"> |
| 725 |
<a href="javascript:location.href='{{ rootURL }}{{ routePath "/bookmarklet" }}?uri='+encodeURIComponent(window.location.href)">{{ t "page.integration.bookmarklet.name" }}</a> |
| 726 |
</div> |
| 727 |
|
| 728 |
<p>{{ t "page.integration.bookmarklet.instructions" }}</p> |
| 729 |
</div> |
| 730 |
|
| 731 |
{{ end }} |