aboutsummaryrefslogtreecommitdiffhomepage
path: root/template
diff options
context:
space:
mode:
authorGravatar Nicolas Carlier <n.carlier@nunux.org>2018-02-25 19:49:08 +0000
committerGravatar fguillot <fred@miniflux.net>2018-02-25 11:49:08 -0800
commit34ce1142313b74e21a74c08c6dbd8d4312d7e336 (patch)
treee536c737e3f6d2512644a23bfead7ab5509aedaa /template
parent3030145b3048245405766c3a73a099af82ba9750 (diff)
Add Nunux Keeper integration
Diffstat (limited to 'template')
-rw-r--r--template/common.go2
-rw-r--r--template/html/integrations.html13
-rw-r--r--template/views.go17
3 files changed, 29 insertions, 3 deletions
diff --git a/template/common.go b/template/common.go
index 61661e8..8240b2d 100644
--- a/template/common.go
+++ b/template/common.go
@@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
-// 2018-02-04 14:28:15.225458631 -0800 PST m=+0.036040293
+// 2018-02-24 17:47:34.998457627 +0000 GMT
package template
diff --git a/template/html/integrations.html b/template/html/integrations.html
index 91f5b7a..7e3d2f4 100644
--- a/template/html/integrations.html
+++ b/template/html/integrations.html
@@ -94,6 +94,19 @@
<label for="form-wallabag-password">{{ t "Wallabag Password" }}</label>
<input type="password" name="wallabag_password" id="form-wallabag-password" value="{{ .form.WallabagPassword }}">
</div>
+
+ <h3>Nunux Keeper</h3>
+ <div class="form-section">
+ <label>
+ <input type="checkbox" name="nunux_keeper_enabled" value="1" {{ if .form.NunuxKeeperEnabled }}checked{{ end }}> {{ t "Save articles to Nunux Keeper" }}
+ </label>
+
+ <label for="form-nunux-keeper-url">{{ t "Nunux Keeper API Endpoint" }}</label>
+ <input type="url" name="nunux_keeper_url" id="form-nunux-keeper-url" value="{{ .form.NunuxKeeperURL }}" placeholder="https://api.nunux.org/keeper">
+
+ <label for="form-nunux-keeper-api-key">{{ t "Nunux Keeper API key" }}</label>
+ <input type="text" name="nunux_keeper_api_key" id="form-nunux-keeper-api-key" value="{{ .form.NunuxKeeperAPIKey }}">
+ </div>
<div class="buttons">
<button type="submit" class="button button-primary" data-label-loading="{{ t "Loading..." }}">{{ t "Update" }}</button>
diff --git a/template/views.go b/template/views.go
index 8bc6cdc..d4240a7 100644
--- a/template/views.go
+++ b/template/views.go
@@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
-// 2018-02-23 19:56:29.533376428 -0800 PST m=+0.007159374
+// 2018-02-24 17:47:34.996504904 +0000 GMT
package template
@@ -869,6 +869,19 @@ var templateViewsMap = map[string]string{
<label for="form-wallabag-password">{{ t "Wallabag Password" }}</label>
<input type="password" name="wallabag_password" id="form-wallabag-password" value="{{ .form.WallabagPassword }}">
</div>
+
+ <h3>Nunux Keeper</h3>
+ <div class="form-section">
+ <label>
+ <input type="checkbox" name="nunux_keeper_enabled" value="1" {{ if .form.NunuxKeeperEnabled }}checked{{ end }}> {{ t "Save articles to Nunux Keeper" }}
+ </label>
+
+ <label for="form-nunux-keeper-url">{{ t "Nunux Keeper API Endpoint" }}</label>
+ <input type="url" name="nunux_keeper_url" id="form-nunux-keeper-url" value="{{ .form.NunuxKeeperURL }}" placeholder="https://api.nunux.org/keeper">
+
+ <label for="form-nunux-keeper-api-key">{{ t "Nunux Keeper API key" }}</label>
+ <input type="text" name="nunux_keeper_api_key" id="form-nunux-keeper-api-key" value="{{ .form.NunuxKeeperAPIKey }}">
+ </div>
<div class="buttons">
<button type="submit" class="button button-primary" data-label-loading="{{ t "Loading..." }}">{{ t "Update" }}</button>
@@ -1225,7 +1238,7 @@ var templateViewsMapChecksums = map[string]string{
"feeds": "2a5abe37968ea34a0576dbef52341645cb1fc9562e351382fbf721491da6f4fa",
"history": "967bc95236269ab3a77455910aca1939f43f93171fe1af77eb3b1b4eac579e55",
"import": "73b5112e20bfd232bf73334544186ea419505936bc237d481517a8622901878f",
- "integrations": "958b73d632a3e2a79368bb1582efb8aabc438cef4fa6e8dc1aa4932494916aca",
+ "integrations": "979193f39c2a3b43cec192aa119713cc9cbe2d5fdaedf8d2b3573c752823446c",
"login": "7d83c3067c02f1f6aafdd8816c7f97a4eb5a5a4bdaaaa4cc1e2fbb9c17ea65e8",
"sessions": "3fa79031dd883847eba92fbafe5f535fa3a4e1614bb610f20588b6f8fc8b3624",
"settings": "ea2505b9d0a6d6bb594dba87a92079de19baa6d494f0651693a7685489fb7de9",