diff --git a/miniflux/assets/css/app.css b/miniflux/assets/css/app.css index 21b3ca9..6f9848a 100644 --- a/miniflux/assets/css/app.css +++ b/miniflux/assets/css/app.css @@ -200,6 +200,11 @@ textarea.form-error { list-style-type: none; } +.form-help { + font-size: 0.9em; + color: brown; + display: inline; +} /* alerts */ .alert { @@ -310,10 +315,16 @@ nav .active a { color: #339966; } +.page-section { + margin-top: 30px; +} + +.page-section, .page-header { margin-bottom: 30px; } +.page-section h2, .page-header h2 { margin: 0; padding: 0; diff --git a/miniflux/index.php b/miniflux/index.php index 872e0cc..d198445 100644 --- a/miniflux/index.php +++ b/miniflux/index.php @@ -221,6 +221,13 @@ Router\post_action('add', function() { }); +Router\get_action('download-db', function() { + + Response\force_download('db.sqlite.gz'); + Response\binary(gzencode(file_get_contents('data/db.sqlite'))); +}); + + Router\get_action('export', function() { Response\force_download('feeds.opml'); diff --git a/miniflux/templates/app_header.php b/miniflux/templates/app_header.php index 343850e..2c03dec 100644 --- a/miniflux/templates/app_header.php +++ b/miniflux/templates/app_header.php @@ -4,7 +4,7 @@ miniflux - + diff --git a/miniflux/templates/config.php b/miniflux/templates/config.php index 5372a55..83c50a0 100644 --- a/miniflux/templates/config.php +++ b/miniflux/templates/config.php @@ -2,13 +2,14 @@

Preferences

-
+
-
+ + Don't use the same password everywhere!

@@ -16,4 +17,10 @@
-
\ No newline at end of file + + +
+

My data

+
+ +

Download the entire database (Gzip compressed Sqlite file).

\ No newline at end of file