From fcafaf975d30ba2fbf4ccf918369d41a43ac3304 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Wed, 4 Mar 2020 08:26:25 +0100 Subject: Improved user management page. --- newspipe/web/static/css/custom.css | 1 + newspipe/web/templates/management.html | 34 ++++++++++++++++++++++++++-------- package-lock.json | 6 +++--- 3 files changed, 30 insertions(+), 11 deletions(-) diff --git a/newspipe/web/static/css/custom.css b/newspipe/web/static/css/custom.css index 01befb3e..c85cc8a1 100644 --- a/newspipe/web/static/css/custom.css +++ b/newspipe/web/static/css/custom.css @@ -39,6 +39,7 @@ a { } .btn-primary { background-color: #0082c9; + opacity: 1; color: white; } diff --git a/newspipe/web/templates/management.html b/newspipe/web/templates/management.html index a6a7d57c..6cd6ec97 100644 --- a/newspipe/web/templates/management.html +++ b/newspipe/web/templates/management.html @@ -31,25 +31,42 @@

{{ _('Articles') }}

+
+
+
+
{{ _('Import') }}
+

{{ _('Import a Newspipe account') }} (*.json)

- {{ _('Import a Newspipe account') }} (*.json) +
-
+
+
{{ _('Export') }}
- {{ _('Export your Newspipe account to JSON') }} +

{{ _('Export your newspipe account to JSON.') }}

+ {{ _('Export') }} +
+
+
+
+
+

{{ _('Feeds') }}

+
+
-

{{ _('OPML') }}

{{ _('Import') }}
+

{{ _('Batch import feeds from OPML') }} (*.xml {{ _('or') }} *.opml).

- {{ _('Batch import feeds from OPML') }} (*.xml {{ _('or') }} *.opml) +
-
+
+
{{ _('Export') }}
-
+

{{ _('Export your feeds to OPML.') }}

+
@@ -64,10 +81,11 @@
- +
+

diff --git a/package-lock.json b/package-lock.json index 106e200a..f17279a2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ "resolved": "https://registry.npmjs.org/datatables/-/datatables-1.10.18.tgz", "integrity": "sha512-ntatMgS9NN6UMpwbmO+QkYJuKlVeMA2Mi0Gu/QxyIh+dW7ZjLSDhPT2tWlzjpIWEkDYgieDzS9Nu7bdQCW0sbQ==", "requires": { - "jquery": "3.4.1" + "jquery": ">=1.7" } }, "datatables.net": { @@ -22,7 +22,7 @@ "resolved": "https://registry.npmjs.org/datatables.net/-/datatables.net-1.10.20.tgz", "integrity": "sha512-4E4S7tTU607N3h0fZPkGmAtr9mwy462u+VJ6gxYZ8MxcRIjZqHy3Dv1GNry7i3zQCktTdWbULVKBbkAJkuHEnQ==", "requires": { - "jquery": "3.4.1" + "jquery": ">=1.7" } }, "datatables.net-bs4": { @@ -31,7 +31,7 @@ "integrity": "sha512-kQmMUMsHMOlAW96ztdoFqjSbLnlGZQ63iIM82kHbmldsfYdzuyhbb4hTx6YNBi481WCO3iPSvI6YodNec46ZAw==", "requires": { "datatables.net": "1.10.20", - "jquery": "3.4.1" + "jquery": ">=1.7" } }, "fork-awesome": { -- cgit