diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-05-27 17:18:59 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-05-27 17:18:59 +0200 |
commit | adcc7801eaa6a4f24f2c01596e82369cc7375b5e (patch) | |
tree | 0190c083ad8f508ff455037e6f632572864300f0 /pyaggr3g470r/templates | |
parent | Updated translations. (diff) | |
download | newspipe-adcc7801eaa6a4f24f2c01596e82369cc7375b5e.tar.gz newspipe-adcc7801eaa6a4f24f2c01596e82369cc7375b5e.tar.bz2 newspipe-adcc7801eaa6a4f24f2c01596e82369cc7375b5e.zip |
Updated JSON export.
Diffstat (limited to 'pyaggr3g470r/templates')
-rw-r--r-- | pyaggr3g470r/templates/management.html | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/pyaggr3g470r/templates/management.html b/pyaggr3g470r/templates/management.html index fb2b8601..afdad9b6 100644 --- a/pyaggr3g470r/templates/management.html +++ b/pyaggr3g470r/templates/management.html @@ -28,19 +28,24 @@ </div> </div> <div class="jumbotron"> - <h1>{{ _('Import/export feeds') }}</h1> - <h2 id="import-opml">{{ _('Import') }}</h2> + <h1 id="import-opml">{{ _('OPML import/export') }}</h1> <form action="" method="post" id="formImportOPML" enctype="multipart/form-data"> <span class="btn btn-default btn-file">{{ _('Batch import feeds from OPML') }} (<span class="text-info">*.xml {{ _('or') }} *.opml</span>)<input type="file" name="opmlfile" /></span> <button class="btn btn-default" type="submit">OK</button> </form> - <h2>{{ _('Export') }}</h2> + <br /> <a href="/export_opml/" class="btn btn-default">{{ _('Export feeds to OPML') }}</a> + <h1>{{ _('Data liberation') }}</h1> + <form action="" method="post" id="formImportJSON" enctype="multipart/form-data"> + <span class="btn btn-default btn-file">{{ _('Import account') }} (<span class="text-info">*.xml {{ _('or') }} *.opml</span>)<input type="file" name="jsonfile" /></span> + <button class="btn btn-default" type="submit">OK</button> + </form> + <br /> + <a href="/export/?format=JSON" class="btn btn-default">Export account to JSON</a> </div> <div class="jumbotron"> <h1>{{ _('Export articles') }}</h1> <a href="/export/?format=HTML" class="btn btn-default">HTML</a> - <a href="/export/?format=JSON" class="btn btn-default">JSON</a> </div> </div><!-- /.container --> {% endblock %} |