diff options
Diffstat (limited to 'pyaggr3g470r/templates/management.html')
-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 %} |