diff options
author | Peter De Wachter <pdewacht@gmail.com> | 2019-08-15 09:48:07 +0200 |
---|---|---|
committer | Frédéric Guillot <fred@miniflux.net> | 2019-08-15 21:58:01 -0700 |
commit | d882bbca85b801ed408644800364ec0a5bdcffd4 (patch) | |
tree | 08f4c52970b13d6ca6ce23a694174ed61ada1d2e /template/html/import.html | |
parent | ac45307da63186fea074e8a5573af6d0dad0fd26 (diff) |
Import OPML from URL
Diffstat (limited to 'template/html/import.html')
-rw-r--r-- | template/html/import.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/template/html/import.html b/template/html/import.html index 0668f25..3a2b987 100644 --- a/template/html/import.html +++ b/template/html/import.html @@ -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 }} |