1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-07-27 17:28:38 +00:00

Import OPML from URL

This commit is contained in:
Peter De Wachter 2019-08-15 09:48:07 +02:00 committed by Frédéric Guillot
parent ac45307da6
commit d882bbca85
14 changed files with 95 additions and 10 deletions

View file

@ -31,4 +31,15 @@
</div>
</form>
<form action="{{ route "fetchOPML" }}" method="post" enctype="multipart/form-data">
<input type="hidden" name="csrf" value="{{ .csrf }}">
<label for="form-url">{{ t "form.import.label.url" }}</label>
<input type="url" name="url" id="form-url">
<div class="buttons">
<button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.import" }}</button>
</div>
</form>
{{ end }}