2018-09-22 03:53:29 +02:00
{{ define "title"}}{{ t "page.integrations.title" }}{{ end }}
2017-11-22 04:37:47 +01:00
2024-01-25 07:22:18 +01:00
{{ define "header"}}
< header class = "page-header" aria-labelledby = "page-header-title" >
< h1 id = "page-header-title" > {{ t "page.integrations.title" }}< / h1 >
2019-11-18 02:26:47 +01:00
{{ template "settings_menu" dict "user" .user }}
2024-01-25 07:22:18 +01:00
< / header >
{{ end }}
2017-11-22 04:37:47 +01:00
2024-01-25 07:22:18 +01:00
{{ define "content"}}
2023-08-01 06:34:13 +02:00
< form method = "post" autocomplete = "off" action = "{{ route " updateIntegration " } } " class = "integration-form" >
2017-12-03 04:32:14 +01:00
< input type = "hidden" name = "csrf" value = "{{ .csrf }}" >
{{ if .errorMessage }}
2023-10-22 04:50:29 +02:00
< div class = "alert alert-error" > {{ .errorMessage }}< / div >
2017-12-03 04:32:14 +01:00
{{ end }}
2023-09-09 07:45:17 +02:00
< details { { if . form . AppriseEnabled } } open { { end } } >
< summary > Apprise< / summary >
< div class = "form-section" >
< label >
< input type = "checkbox" name = "apprise_enabled" value = "1" { { if . form . AppriseEnabled } } checked { { end } } > {{ t "form.integration.apprise_activate" }}
< / label >
< label for = "form-apprise-url" > {{ t "form.integration.apprise_url" }}< / label >
< input type = "url" name = "apprise_url" id = "form-apprise-url" value = "{{ .form.AppriseURL }}" placeholder = "http://apprise:8080" spellcheck = "false" >
2024-01-25 05:14:27 +01:00
< label for = "form-apprise-services-urls" > {{ t "form.integration.apprise_services_url" }}
2023-09-09 07:45:17 +02:00
< a href = "https://github.com/caronc/apprise/wiki" target = "_blank" >
{{ icon "external-link" }}
< / a >
< / label >
< input type = "text" name = "apprise_services_url" id = "form-apprise-services-urls" value = "{{ .form.AppriseServicesURL }}" placeholder = "tgram://<token>/<chat_id>/,matrix://" spellcheck = "false" >
< div class = "buttons" >
< button type = "submit" class = "button button-primary" data-label-loading = "{{ t " form . submit . saving " } } " > {{ t "action.update" }}< / button >
< / div >
< / div >
< / details >
< details { { if . form . EspialEnabled } } open { { end } } >
< summary > Espial< / summary >
< div class = "form-section" >
< label >
< input type = "checkbox" name = "espial_enabled" value = "1" { { if . form . EspialEnabled } } checked { { end } } > {{ t "form.integration.espial_activate" }}
< / label >
< label for = "form-espial-url" > {{ t "form.integration.espial_endpoint" }}< / label >
< input type = "url" name = "espial_url" id = "form-espial-url" value = "{{ .form.EspialURL }}" placeholder = "https://esp.ae8.org" spellcheck = "false" >
< label for = "form-espial-api-key" > {{ t "form.integration.espial_api_key" }}< / label >
< input type = "text" name = "espial_api_key" id = "form-espial-api-key" value = "{{ .form.EspialAPIKey }}" spellcheck = "false" >
< label for = "form-espial-tags" > {{ t "form.integration.espial_tags" }}< / label >
< input type = "text" name = "espial_tags" id = "form-espial-tags" value = "{{ .form.EspialTags }}" spellcheck = "false" >
< div class = "buttons" >
< button type = "submit" class = "button button-primary" data-label-loading = "{{ t " form . submit . saving " } } " > {{ t "action.update" }}< / button >
< / div >
< / div >
< / details >
2023-08-01 06:34:13 +02:00
< details { { if . form . FeverEnabled } } open { { end } } >
< summary > Fever< / summary >
< div class = "form-section" >
< label >
< input type = "checkbox" name = "fever_enabled" value = "1" { { if . form . FeverEnabled } } checked { { end } } > {{ t "form.integration.fever_activate" }}
< / label >
2023-09-09 07:45:17 +02:00
2023-08-01 06:34:13 +02:00
< label for = "form-fever-username" > {{ t "form.integration.fever_username" }}< / label >
< input type = "text" name = "fever_username" id = "form-fever-username" value = "{{ .form.FeverUsername }}" autocomplete = "username" spellcheck = "false" >
2023-09-09 07:45:17 +02:00
2023-08-01 06:34:13 +02:00
< label for = "form-fever-password" > {{ t "form.integration.fever_password" }}< / label >
< input type = "password" name = "fever_password" id = "form-fever-password" value = "{{ .form.FeverPassword }}" autocomplete = "new-password" >
2023-09-09 07:45:17 +02:00
2023-08-01 06:34:13 +02:00
< p > {{ t "form.integration.fever_endpoint" }} < strong > {{ rootURL }}{{ route "feverEndpoint" }}< / strong > < / p >
2023-09-09 07:45:17 +02:00
2023-08-01 06:34:13 +02:00
< div class = "buttons" >
< button type = "submit" class = "button button-primary" data-label-loading = "{{ t " form . submit . saving " } } " > {{ t "action.update" }}< / button >
< / div >
2020-09-13 07:03:05 +02:00
< / div >
2023-08-01 06:34:13 +02:00
< / details >
< details { { if . form . GoogleReaderEnabled } } open { { end } } >
< summary > Google Reader< / summary >
< div class = "form-section" >
< label >
< input type = "checkbox" name = "googlereader_enabled" value = "1" { { if . form . GoogleReaderEnabled } } checked { { end } } > {{ t "form.integration.googlereader_activate" }}
< / label >
2023-09-09 07:45:17 +02:00
2023-08-01 06:34:13 +02:00
< label for = "form-googlereader-username" > {{ t "form.integration.googlereader_username" }}< / label >
< input type = "text" name = "googlereader_username" id = "form-googlereader-username" value = "{{ .form.GoogleReaderUsername }}" autocomplete = "username" spellcheck = "false" >
2023-09-09 07:45:17 +02:00
2023-08-01 06:34:13 +02:00
< label for = "form-googlereader-password" > {{ t "form.integration.googlereader_password" }}< / label >
< input type = "password" name = "googlereader_password" id = "form-googlereader-password" value = "{{ .form.GoogleReaderPassword }}" autocomplete = "new-password" >
2023-09-09 07:45:17 +02:00
2023-08-01 06:34:13 +02:00
< p > {{ t "form.integration.googlereader_endpoint" }} < strong > {{ rootURL }}{{ route "login" }}< / strong > < / p >
< div class = "buttons" >
< button type = "submit" class = "button button-primary" data-label-loading = "{{ t " form . submit . saving " } } " > {{ t "action.update" }}< / button >
< / div >
2020-09-13 07:03:05 +02:00
< / div >
2023-08-01 06:34:13 +02:00
< / details >
< details { { if . form . InstapaperEnabled } } open { { end } } >
< summary > Instapaper< / summary >
< div class = "form-section" >
< label >
< input type = "checkbox" name = "instapaper_enabled" value = "1" { { if . form . InstapaperEnabled } } checked { { end } } > {{ t "form.integration.instapaper_activate" }}
< / label >
2023-09-09 07:45:17 +02:00
2023-08-01 06:34:13 +02:00
< label for = "form-instapaper-username" > {{ t "form.integration.instapaper_username" }}< / label >
< input type = "text" name = "instapaper_username" id = "form-instapaper-username" value = "{{ .form.InstapaperUsername }}" spellcheck = "false" >
2023-09-09 07:45:17 +02:00
2023-08-01 06:34:13 +02:00
< label for = "form-instapaper-password" > {{ t "form.integration.instapaper_password" }}< / label >
< input type = "password" name = "instapaper_password" id = "form-instapaper-password" value = "{{ .form.InstapaperPassword }}" autocomplete = "new-password" >
2023-09-09 07:45:17 +02:00
2023-08-01 06:34:13 +02:00
< div class = "buttons" >
< button type = "submit" class = "button button-primary" data-label-loading = "{{ t " form . submit . saving " } } " > {{ t "action.update" }}< / button >
< / div >
2020-09-13 07:03:05 +02:00
< / div >
2023-08-01 06:34:13 +02:00
< / details >
2024-01-23 18:12:31 +01:00
< details { { if . form . LinkAceEnabled } } open { { end } } >
< summary > LinkAce< / summary >
< div class = "form-section" >
< label >
< input type = "checkbox" name = "linkace_enabled" value = "1" { { if . form . LinkAceEnabled } } checked { { end } } > {{ t "form.integration.linkace_activate" }}
< / label >
< label for = "form-linkace-url" > {{ t "form.integration.linkace_endpoint" }}< / label >
< input type = "url" name = "linkace_url" id = "form-linkace-url" value = "{{ .form.LinkAceURL }}" placeholder = "http://linkace-url:port" spellcheck = "false" >
< label for = "form-linkace-api-key" > {{ t "form.integration.linkace_api_key" }}< / label >
< input type = "text" name = "linkace_api_key" id = "form-linkace-api-key" value = "{{ .form.LinkAceAPIKey }}" spellcheck = "false" >
< label for = "form-linkace-tags" > {{ t "form.integration.linkace_tags" }}< / label >
< input type = "text" name = "linkace_tags" id = "form-linkace-tags" value = "{{ .form.LinkAceTags }}" spellcheck = "false" >
< label >
< input type = "checkbox" name = "linkace_is_private" value = "1" { { if . form . LinkAcePrivate } } checked { { end } } > {{ t "form.integration.linkace_is_private" }}
< / label >
< label >
< input type = "checkbox" name = "linkace_check_disabled" value = "1" { { if . form . LinkAceCheckDisabled } } checked { { end } } > {{ t "form.integration.linkace_check_disabled" }}
< / label >
< div class = "buttons" >
< button type = "submit" class = "button button-primary" data-label-loading = "{{ t " form . submit . saving " } } " > {{ t "action.update" }}< / button >
< / div >
< / div >
< / details >
2023-09-09 07:45:17 +02:00
< details { { if . form . LinkdingEnabled } } open { { end } } >
< summary > Linkding< / summary >
2023-08-01 06:34:13 +02:00
< div class = "form-section" >
< label >
2023-09-09 07:45:17 +02:00
< input type = "checkbox" name = "linkding_enabled" value = "1" { { if . form . LinkdingEnabled } } checked { { end } } > {{ t "form.integration.linkding_activate" }}
2023-08-01 06:34:13 +02:00
< / label >
2023-09-09 07:45:17 +02:00
< label for = "form-linkding-url" > {{ t "form.integration.linkding_endpoint" }}< / label >
< input type = "url" name = "linkding_url" id = "form-linkding-url" value = "{{ .form.LinkdingURL }}" placeholder = "https://linkding.com" spellcheck = "false" >
< label for = "form-linkding-api-key" > {{ t "form.integration.linkding_api_key" }}< / label >
< input type = "text" name = "linkding_api_key" id = "form-linkding-api-key" value = "{{ .form.LinkdingAPIKey }}" spellcheck = "false" >
< label for = "form-linkding-tags" > {{ t "form.integration.linkding_tags" }}< / label >
< input type = "text" name = "linkding_tags" id = "form-linkding-tags" value = "{{ .form.LinkdingTags }}" spellcheck = "false" >
< label >
< input type = "checkbox" name = "linkding_mark_as_unread" value = "1" { { if . form . LinkdingMarkAsUnread } } checked { { end } } > {{ t "form.integration.linkding_bookmark" }}
< / label >
2023-08-01 06:34:13 +02:00
< div class = "buttons" >
< button type = "submit" class = "button button-primary" data-label-loading = "{{ t " form . submit . saving " } } " > {{ t "action.update" }}< / button >
< / div >
2020-09-13 07:03:05 +02:00
< / div >
2023-08-01 06:34:13 +02:00
< / details >
2023-09-09 07:45:17 +02:00
< details { { if . form . MatrixBotEnabled } } open { { end } } >
< summary > Matrix Bot< / summary >
2023-08-01 06:34:13 +02:00
< div class = "form-section" >
< label >
2023-09-09 07:45:17 +02:00
< input type = "checkbox" name = "matrix_bot_enabled" value = "1" { { if . form . MatrixBotEnabled } } checked { { end } } > {{ t "form.integration.matrix_bot_activate" }}
2023-08-01 06:34:13 +02:00
< / label >
2023-09-09 07:45:17 +02:00
< label for = "form-matrix-bot-user" > {{ t "form.integration.matrix_bot_user" }}< / label >
< input type = "text" name = "matrix_bot_user" id = "form-matrix-bot-user" value = "{{ .form.MatrixBotUser }}" spellcheck = "false" >
2024-01-25 05:14:27 +01:00
< label for = "form-matrix-password" > {{ t "form.integration.matrix_bot_password" }}< / label >
2023-09-09 07:45:17 +02:00
< input type = "password" name = "matrix_bot_password" id = "form-matrix-password" value = "{{ .form.MatrixBotPassword }}" spellcheck = "false" >
< label for = "form-matrix-url" > {{ t "form.integration.matrix_bot_url" }}< / label >
< input type = "url" name = "matrix_bot_url" id = "form-matrix-url" value = "{{ .form.MatrixBotURL }}" spellcheck = "false" >
< label for = "form-matrix-chat-id" > {{ t "form.integration.matrix_bot_chat_id" }}< / label >
< input type = "text" name = "matrix_bot_chat_id" id = "form-matrix-chat-id" value = "{{ .form.MatrixBotChatID }}" spellcheck = "false" >
2023-08-01 06:34:13 +02:00
< div class = "buttons" >
< button type = "submit" class = "button button-primary" data-label-loading = "{{ t " form . submit . saving " } } " > {{ t "action.update" }}< / button >
< / div >
2020-09-13 07:03:05 +02:00
< / div >
2023-08-01 06:34:13 +02:00
< / details >
< details { { if . form . NotionEnabled } } open { { end } } >
< summary > Notion< / summary >
< div class = "form-section" >
< label >
< input type = "checkbox" name = "notion_enabled" value = "1" { { if . form . NotionEnabled } } checked { { end } } > {{ t "form.integration.notion_activate" }}
< / label >
2023-09-09 07:45:17 +02:00
2023-08-01 06:34:13 +02:00
< label for = "form-notion-token" > {{ t "form.integration.notion_token" }}< / label >
< input type = "password" name = "notion_token" id = "form-notion-token" value = "{{ .form.NotionToken }}" spellcheck = "false" >
2023-09-09 07:45:17 +02:00
2023-08-01 06:34:13 +02:00
< label for = "form-notion-page-id" > {{ t "form.integration.notion_page_id" }}< / label >
< input type = "text" name = "notion_page_id" id = "form-notion-page-id" value = "{{ .form.NotionPageID }}" spellcheck = "false" >
2023-09-09 07:45:17 +02:00
2023-08-01 06:34:13 +02:00
< div class = "buttons" >
< button type = "submit" class = "button button-primary" data-label-loading = "{{ t " form . submit . saving " } } " > {{ t "action.update" }}< / button >
< / div >
2023-07-08 00:20:14 +02:00
< / div >
2023-08-01 06:34:13 +02:00
< / details >
< details { { if . form . NunuxKeeperEnabled } } open { { end } } >
< summary > Nunux Keeper< / summary >
< div class = "form-section" >
< label >
< input type = "checkbox" name = "nunux_keeper_enabled" value = "1" { { if . form . NunuxKeeperEnabled } } checked { { end } } > {{ t "form.integration.nunux_keeper_activate" }}
< / label >
2023-09-09 07:45:17 +02:00
2023-08-01 06:34:13 +02:00
< label for = "form-nunux-keeper-url" > {{ t "form.integration.nunux_keeper_endpoint" }}< / label >
< input type = "url" name = "nunux_keeper_url" id = "form-nunux-keeper-url" value = "{{ .form.NunuxKeeperURL }}" placeholder = "https://api.nunux.org/keeper" spellcheck = "false" >
2023-09-09 07:45:17 +02:00
2023-08-01 06:34:13 +02:00
< label for = "form-nunux-keeper-api-key" > {{ t "form.integration.nunux_keeper_api_key" }}< / label >
< input type = "text" name = "nunux_keeper_api_key" id = "form-nunux-keeper-api-key" value = "{{ .form.NunuxKeeperAPIKey }}" spellcheck = "false" >
2023-09-09 07:45:17 +02:00
2023-08-01 06:34:13 +02:00
< div class = "buttons" >
< button type = "submit" class = "button button-primary" data-label-loading = "{{ t " form . submit . saving " } } " > {{ t "action.update" }}< / button >
< / div >
2020-09-13 07:03:05 +02:00
< / div >
2023-08-01 06:34:13 +02:00
< / details >
2023-12-05 05:05:04 +01:00
< details { { if . form . OmnivoreEnabled } } open { { end } } >
< summary > Omnivore< / summary >
< div class = "form-section" >
< label >
< input type = "checkbox" name = "omnivore_enabled" value = "1" { { if . form . OmnivoreEnabled } } checked { { end } } > {{ t "form.integration.omnivore_activate" }}
< / label >
< label for = "form-omnivore-api-key" > {{ t "form.integration.omnivore_api_key" }}< / label >
< input type = "text" name = "omnivore_api_key" id = "form-omnivore-api-key" value = "{{ .form.OmnivoreAPIKey }}" spellcheck = "false" >
< label for = "form-omnivore-url" > {{ t "form.integration.omnivore_url" }}< / label >
< input type = "url" name = "omnivore_url" id = "form-omnivore-url" value = "{{ .form.OmnivoreURL }}" placeholder = "https://api-prod.omnivore.app/api/graphql" spellcheck = "false" >
< div class = "buttons" >
< button type = "submit" class = "button button-primary" data-label-loading = "{{ t " form . submit . saving " } } " > {{ t "action.update" }}< / button >
< / div >
< / div >
< / details >
2023-09-09 07:45:17 +02:00
< details { { if . form . PinboardEnabled } } open { { end } } >
< summary > Pinboard< / summary >
2023-08-01 06:34:13 +02:00
< div class = "form-section" >
< label >
2023-09-09 07:45:17 +02:00
< input type = "checkbox" name = "pinboard_enabled" value = "1" { { if . form . PinboardEnabled } } checked { { end } } > {{ t "form.integration.pinboard_activate" }}
2023-08-01 06:34:13 +02:00
< / label >
2023-09-09 07:45:17 +02:00
< label for = "form-pinboard-token" > {{ t "form.integration.pinboard_token" }}< / label >
< input type = "password" name = "pinboard_token" id = "form-pinboard-token" value = "{{ .form.PinboardToken }}" autocomplete = "new-password" >
< label for = "form-pinboard-tags" > {{ t "form.integration.pinboard_tags" }}< / label >
< input type = "text" name = "pinboard_tags" id = "form-pinboard-tags" value = "{{ .form.PinboardTags }}" spellcheck = "false" >
< label >
< input type = "checkbox" name = "pinboard_mark_as_unread" value = "1" { { if . form . PinboardMarkAsUnread } } checked { { end } } > {{ t "form.integration.pinboard_bookmark" }}
< / label >
< div class = "buttons" >
< button type = "submit" class = "button button-primary" data-label-loading = "{{ t " form . submit . saving " } } " > {{ t "action.update" }}< / button >
< / div >
< / div >
< / details >
< details { { if . form . PocketEnabled } } open { { end } } >
< summary > Pocket< / summary >
< div class = "form-section" >
< label >
< input type = "checkbox" name = "pocket_enabled" value = "1" { { if . form . PocketEnabled } } checked { { end } } > {{ t "form.integration.pocket_activate" }}
< / label >
{{ if not .hasPocketConsumerKeyConfigured }}
< label for = "form-pocket-consumer-key" > {{ t "form.integration.pocket_consumer_key" }}< / label >
< input type = "text" name = "pocket_consumer_key" id = "form-pocket-consumer-key" value = "{{ .form.PocketConsumerKey }}" spellcheck = "false" >
{{ end }}
< label for = "form-pocket-access-token" > {{ t "form.integration.pocket_access_token" }}< / label >
< input type = "password" name = "pocket_access_token" id = "form-pocket-access-token" value = "{{ .form.PocketAccessToken }}" autocomplete = "new-password" >
{{ if not .form.PocketAccessToken }}
< p > < a href = "{{ route " pocketAuthorize " } } " > {{ t "form.integration.pocket_connect_link" }}< / a > < / p >
{{ end }}
2023-08-01 06:34:13 +02:00
< div class = "buttons" >
< button type = "submit" class = "button button-primary" data-label-loading = "{{ t " form . submit . saving " } } " > {{ t "action.update" }}< / button >
< / div >
2022-04-21 04:44:47 +02:00
< / div >
2023-08-01 06:34:13 +02:00
< / details >
< details { { if . form . ReadwiseEnabled } } open { { end } } >
< summary > Readwise Reader< / summary >
< div class = "form-section" >
< label >
< input type = "checkbox" name = "readwise_enabled" value = "1" { { if . form . ReadwiseEnabled } } checked { { end } } > {{ t "form.integration.readwise_activate" }}
< / label >
2023-09-09 07:45:17 +02:00
2023-08-01 06:34:13 +02:00
< label for = "form-readwise-api-key" > {{ t "form.integration.readwise_api_key" }}< / label >
< input type = "text" name = "readwise_api_key" id = "form-readwise-api-key" value = "{{ .form.ReadwiseAPIKey }}" spellcheck = "false" >
2023-09-09 07:45:17 +02:00
2023-08-01 06:34:13 +02:00
< p > < a href = "https://readwise.io/access_token" target = "_blank" > {{ t "form.integration.readwise_api_key_link" }}< / a > < / p >
2023-09-09 07:45:17 +02:00
2023-08-01 06:34:13 +02:00
< div class = "buttons" >
< button type = "submit" class = "button button-primary" data-label-loading = "{{ t " form . submit . saving " } } " > {{ t "action.update" }}< / button >
< / div >
2023-07-28 05:51:44 +02:00
< / div >
2023-08-01 06:34:13 +02:00
< / details >
2023-09-09 07:45:17 +02:00
< details { { if . form . ShaarliEnabled } } open { { end } } >
< summary > Shaarli< / summary >
2023-08-01 06:34:13 +02:00
< div class = "form-section" >
< label >
2023-09-09 07:45:17 +02:00
< input type = "checkbox" name = "shaarli_enabled" value = "1" { { if . form . ShaarliEnabled } } checked { { end } } > {{ t "form.integration.shaarli_activate" }}
2023-08-01 06:34:13 +02:00
< / label >
2023-09-09 07:45:17 +02:00
< label for = "form-shaarli-url" > {{ t "form.integration.shaarli_endpoint" }}< / label >
< input type = "url" name = "shaarli_url" id = "form-shaarli-url" value = "{{ .form.ShaarliURL }}" placeholder = "https://shaarli.example.org" spellcheck = "false" >
< label for = "form-shaarli-api-secret" > {{ t "form.integration.shaarli_api_secret" }}< / label >
< input type = "password" name = "shaarli_api_secret" id = "form-shaarli-api-secret" value = "{{ .form.ShaarliAPISecret }}" autocomplete = "new-password" >
2023-08-01 06:34:13 +02:00
< div class = "buttons" >
< button type = "submit" class = "button button-primary" data-label-loading = "{{ t " form . submit . saving " } } " > {{ t "action.update" }}< / button >
< / div >
2022-05-23 17:53:06 +02:00
< / div >
2023-08-01 06:34:13 +02:00
< / details >
2023-09-09 07:45:17 +02:00
< details { { if . form . ShioriEnabled } } open { { end } } >
< summary > Shiori< / summary >
2023-08-01 06:34:13 +02:00
< div class = "form-section" >
< label >
2023-09-09 07:45:17 +02:00
< input type = "checkbox" name = "shiori_enabled" value = "1" { { if . form . ShioriEnabled } } checked { { end } } > {{ t "form.integration.shiori_activate" }}
2023-08-01 06:34:13 +02:00
< / label >
2023-09-09 07:45:17 +02:00
< label for = "form-shiori-url" > {{ t "form.integration.shiori_endpoint" }}< / label >
< input type = "url" name = "shiori_url" id = "form-shiori-url" value = "{{ .form.ShioriURL }}" placeholder = "https://shiori.example.org" spellcheck = "false" >
< label for = "form-shiori-username" > {{ t "form.integration.shiori_username" }}< / label >
< input type = "text" name = "shiori_username" id = "form-shiori-username" value = "{{ .form.ShioriUsername }}" spellcheck = "false" >
< label for = "form-shiori-password" > {{ t "form.integration.shiori_password" }}< / label >
< input type = "password" name = "shiori_password" id = "form-shiori-password" value = "{{ .form.ShioriPassword }}" autocomplete = "new-password" >
2023-08-01 06:34:13 +02:00
< div class = "buttons" >
< button type = "submit" class = "button button-primary" data-label-loading = "{{ t " form . submit . saving " } } " > {{ t "action.update" }}< / button >
< / div >
2023-08-01 05:55:17 +02:00
< / div >
2023-08-01 06:34:13 +02:00
< / details >
< details { { if . form . TelegramBotEnabled } } open { { end } } >
< summary > Telegram Bot< / summary >
< div class = "form-section" >
< label >
< input type = "checkbox" name = "telegram_bot_enabled" value = "1" { { if . form . TelegramBotEnabled } } checked { { end } } > {{ t "form.integration.telegram_bot_activate" }}
< / label >
2023-09-09 07:45:17 +02:00
2023-08-01 06:34:13 +02:00
< label for = "form-telegram-bot-token" > {{ t "form.integration.telegram_bot_token" }}< / label >
< input type = "text" name = "telegram_bot_token" id = "form-telegram-bot-token" value = "{{ .form.TelegramBotToken }}" placeholder = "bot123456:Abcdefg" spellcheck = "false" >
2023-09-09 07:45:17 +02:00
2023-08-01 06:34:13 +02:00
< label for = "form-telegram-chat-id" > {{ t "form.integration.telegram_chat_id" }}< / label >
< input type = "text" name = "telegram_bot_chat_id" id = "form-telegram-chat-id" value = "{{ .form.TelegramBotChatID }}" spellcheck = "false" >
2023-09-09 07:45:17 +02:00
2023-09-10 20:22:32 +02:00
< label for = "form-telegram-topic-id" > {{ t "form.integration.telegram_topic_id" }}< / label >
< input type = "number" name = "telegram_bot_topic_id" id = "form-telegram-topic-id" { { if . form . TelegramBotTopicID } } value = "{{ .form.TelegramBotTopicID }}" { { end } } >
< label >
< 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" }}
< / label >
< label >
< input type = "checkbox" name = "telegram_bot_disable_notification" value = "1" { { if . form . TelegramBotDisableNotification } } checked { { end } } > {{ t "form.integration.telegram_bot_disable_notification" }}
< / label >
2023-09-28 05:02:22 +02:00
< label >
< input type = "checkbox" name = "telegram_bot_disable_buttons" value = "1" { { if . form . TelegramBotDisableButtons } } checked { { end } } > {{ t "form.integration.telegram_bot_disable_buttons" }}
< / label >
2023-08-01 06:34:13 +02:00
< div class = "buttons" >
< button type = "submit" class = "button button-primary" data-label-loading = "{{ t " form . submit . saving " } } " > {{ t "action.update" }}< / button >
< / div >
2021-09-08 05:04:22 +02:00
< / div >
2023-08-01 06:34:13 +02:00
< / details >
2023-09-09 07:45:17 +02:00
< details { { if . form . WallabagEnabled } } open { { end } } >
< summary > Wallabag< / summary >
2023-08-01 06:34:13 +02:00
< div class = "form-section" >
< label >
2023-09-09 07:45:17 +02:00
< input type = "checkbox" name = "wallabag_enabled" value = "1" { { if . form . WallabagEnabled } } checked { { end } } > {{ t "form.integration.wallabag_activate" }}
2023-08-01 06:34:13 +02:00
< / label >
2023-08-13 21:48:29 +02:00
2023-08-13 23:30:57 +02:00
< label >
2023-09-09 07:45:17 +02:00
< input type = "checkbox" name = "wallabag_only_url" value = "1" { { if . form . WallabagOnlyURL } } checked { { end } } > {{ t "form.integration.wallabag_only_url" }}
2023-08-13 23:30:57 +02:00
< / label >
2023-09-09 07:45:17 +02:00
< label for = "form-wallabag-url" > {{ t "form.integration.wallabag_endpoint" }}< / label >
< input type = "url" name = "wallabag_url" id = "form-wallabag-url" value = "{{ .form.WallabagURL }}" placeholder = "http://v2.wallabag.org/" spellcheck = "false" >
2023-08-13 23:30:57 +02:00
2023-09-09 07:45:17 +02:00
< label for = "form-wallabag-client-id" > {{ t "form.integration.wallabag_client_id" }}< / label >
< input type = "text" name = "wallabag_client_id" id = "form-wallabag-client-id" value = "{{ .form.WallabagClientID }}" spellcheck = "false" >
< label for = "form-wallabag-client-secret" > {{ t "form.integration.wallabag_client_secret" }}< / label >
< input type = "password" name = "wallabag_client_secret" id = "form-wallabag-client-secret" value = "{{ .form.WallabagClientSecret }}" autocomplete = "new-password" >
< label for = "form-wallabag-username" > {{ t "form.integration.wallabag_username" }}< / label >
< input type = "text" name = "wallabag_username" id = "form-wallabag-username" value = "{{ .form.WallabagUsername }}" spellcheck = "false" >
< label for = "form-wallabag-password" > {{ t "form.integration.wallabag_password" }}< / label >
< input type = "password" name = "wallabag_password" id = "form-wallabag-password" value = "{{ .form.WallabagPassword }}" autocomplete = "new-password" >
2023-08-13 23:30:57 +02:00
< div class = "buttons" >
< button type = "submit" class = "button button-primary" data-label-loading = "{{ t " form . submit . saving " } } " > {{ t "action.update" }}< / button >
< / div >
< / div >
< / details >
2023-09-09 07:45:17 +02:00
< details { { if . form . WebhookEnabled } } open { { end } } >
< summary > Webhook< / summary >
2023-08-13 21:48:29 +02:00
< div class = "form-section" >
< label >
2023-09-09 07:45:17 +02:00
< input type = "checkbox" name = "webhook_enabled" value = "1" { { if . form . WebhookEnabled } } checked { { end } } > {{ t "form.integration.webhook_activate" }}
2023-08-13 21:48:29 +02:00
< / label >
2023-09-09 07:45:17 +02:00
< label for = "form-webhook-url" > {{ t "form.integration.webhook_url" }}< / label >
< input type = "url" name = "webhook_url" id = "form-webhook-url" value = "{{ .form.WebhookURL }}" placeholder = "https://username:password@example.org" spellcheck = "false" >
2023-08-13 21:48:29 +02:00
2023-09-09 07:45:17 +02:00
{{ if .form.WebhookSecret }}
< label for = "form-webhook-secret" > {{ t "form.integration.webhook_secret" }}< / label >
< input type = "text" name = "webhook_secret" id = "form-webhook-secret" value = "{{ .form.WebhookSecret }}" spellcheck = "false" readonly >
{{ end }}
2023-08-13 21:48:29 +02:00
< div class = "buttons" >
< button type = "submit" class = "button button-primary" data-label-loading = "{{ t " form . submit . saving " } } " > {{ t "action.update" }}< / button >
< / div >
< / div >
< / details >
2023-10-22 20:10:56 +02:00
< details { { if . form . RSSBridgeEnabled } } open { { end } } >
< summary > RSS-Bridge< / summary >
< div class = "form-section" >
< label >
< input type = "checkbox" name = "rssbridge_enabled" value = "1" { { if . form . RSSBridgeEnabled } } checked { { end } } > {{ t "form.integration.rssbridge_activate" }}
< / label >
< label for = "form-rssbridge-url" > {{ t "form.integration.rssbridge_url" }}< / label >
< input type = "url" name = "rssbridge_url" id = "form-rssbridge-url" value = "{{ .form.RSSBridgeURL }}" spellcheck = "false" >
< div class = "buttons" >
< button type = "submit" class = "button button-primary" data-label-loading = "{{ t " form . submit . saving " } } " > {{ t "action.update" }}< / button >
< / div >
< / div >
< / details >
2017-12-03 04:32:14 +01:00
< / form >
2018-09-22 03:53:29 +02:00
< h3 > {{ t "page.integration.bookmarklet" }}< / h3 >
2017-11-22 04:37:47 +01:00
< div class = "panel" >
2018-09-22 03:53:29 +02:00
< p > {{ t "page.integration.bookmarklet.help" }}< / p >
2017-11-22 04:37:47 +01:00
< div class = "bookmarklet" >
2018-09-22 03:53:29 +02:00
< a href = "javascript:location.href='{{ rootURL }}{{ route " bookmarklet " } } ? uri = '+encodeURIComponent(window.location.href)" > {{ t "page.integration.bookmarklet.name" }}< / a >
2017-11-22 04:37:47 +01:00
< / div >
2018-09-22 03:53:29 +02:00
< p > {{ t "page.integration.bookmarklet.instructions" }}< / p >
2017-11-22 04:37:47 +01:00
< / div >
{{ end }}