|
|
@@ -326,6 +326,32 @@
|
|
|
</div>
|
|
|
</details>
|
|
|
|
|
|
+ <details {{ if .form.ReadeckEnabled }}open{{ end }}>
|
|
|
+ <summary>Readeck</summary>
|
|
|
+ <div class="form-section">
|
|
|
+ <label>
|
|
|
+ <input type="checkbox" name="readeck_enabled" value="1" {{ if .form.ReadeckEnabled }}checked{{ end }}> {{ t "form.integration.readeck_activate" }}
|
|
|
+ </label>
|
|
|
+
|
|
|
+ <label>
|
|
|
+ <input type="checkbox" name="readeck_only_url" value="1" {{ if .form.ReadeckOnlyURL }}checked{{ end }}> {{ t "form.integration.readeck_only_url" }}
|
|
|
+ </label>
|
|
|
+
|
|
|
+ <label for="form-readeck-url">{{ t "form.integration.readeck_endpoint" }}</label>
|
|
|
+ <input type="url" name="readeck_url" id="form-readeck-url" value="{{ .form.ReadeckURL }}" placeholder="https://readeck.com" spellcheck="false">
|
|
|
+
|
|
|
+ <label for="form-readeck-api-key">{{ t "form.integration.readeck_api_key" }}</label>
|
|
|
+ <input type="text" name="readeck_api_key" id="form-readeck-api-key" value="{{ .form.ReadeckAPIKey }}" spellcheck="false">
|
|
|
+
|
|
|
+ <label for="form-readeck-labels">{{ t "form.integration.readeck_labels" }}</label>
|
|
|
+ <input type="text" name="readeck_labels" id="form-readeck-labels" value="{{ .form.ReadeckLabels }}" 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.ReadwiseEnabled }}open{{ end }}>
|
|
|
<summary>Readwise Reader</summary>
|
|
|
<div class="form-section">
|
|
|
@@ -344,18 +370,15 @@
|
|
|
</div>
|
|
|
</details>
|
|
|
|
|
|
- <details {{ if .form.ShaarliEnabled }}open{{ end }}>
|
|
|
- <summary>Shaarli</summary>
|
|
|
+ <details {{ if .form.RSSBridgeEnabled }}open{{ end }}>
|
|
|
+ <summary>RSS-Bridge</summary>
|
|
|
<div class="form-section">
|
|
|
<label>
|
|
|
- <input type="checkbox" name="shaarli_enabled" value="1" {{ if .form.ShaarliEnabled }}checked{{ end }}> {{ t "form.integration.shaarli_activate" }}
|
|
|
+ <input type="checkbox" name="rssbridge_enabled" value="1" {{ if .form.RSSBridgeEnabled }}checked{{ end }}> {{ t "form.integration.rssbridge_activate" }}
|
|
|
</label>
|
|
|
|
|
|
- <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">
|
|
|
+ <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>
|
|
|
@@ -363,25 +386,18 @@
|
|
|
</div>
|
|
|
</details>
|
|
|
|
|
|
- <details {{ if .form.ReadeckEnabled }}open{{ end }}>
|
|
|
- <summary>Readeck</summary>
|
|
|
+ <details {{ if .form.ShaarliEnabled }}open{{ end }}>
|
|
|
+ <summary>Shaarli</summary>
|
|
|
<div class="form-section">
|
|
|
<label>
|
|
|
- <input type="checkbox" name="readeck_enabled" value="1" {{ if .form.ReadeckEnabled }}checked{{ end }}> {{ t "form.integration.readeck_activate" }}
|
|
|
- </label>
|
|
|
-
|
|
|
- <label>
|
|
|
- <input type="checkbox" name="readeck_only_url" value="1" {{ if .form.ReadeckOnlyURL }}checked{{ end }}> {{ t "form.integration.readeck_only_url" }}
|
|
|
+ <input type="checkbox" name="shaarli_enabled" value="1" {{ if .form.ShaarliEnabled }}checked{{ end }}> {{ t "form.integration.shaarli_activate" }}
|
|
|
</label>
|
|
|
|
|
|
- <label for="form-readeck-url">{{ t "form.integration.readeck_endpoint" }}</label>
|
|
|
- <input type="url" name="readeck_url" id="form-readeck-url" value="{{ .form.ReadeckURL }}" placeholder="https://readeck.com" spellcheck="false">
|
|
|
-
|
|
|
- <label for="form-readeck-api-key">{{ t "form.integration.readeck_api_key" }}</label>
|
|
|
- <input type="text" name="readeck_api_key" id="form-readeck-api-key" value="{{ .form.ReadeckAPIKey }}" spellcheck="false">
|
|
|
+ <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-readeck-labels">{{ t "form.integration.readeck_labels" }}</label>
|
|
|
- <input type="text" name="readeck_labels" id="form-readeck-labels" value="{{ .form.ReadeckLabels }}" 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">
|
|
|
|
|
|
<div class="buttons">
|
|
|
<button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button>
|
|
|
@@ -497,22 +513,6 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</details>
|
|
|
-
|
|
|
- <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>
|
|
|
</form>
|
|
|
|
|
|
<h3>{{ t "page.integration.bookmarklet" }}</h3>
|