diff options
Diffstat (limited to 'server/template/html/import.html')
-rw-r--r-- | server/template/html/import.html | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/server/template/html/import.html b/server/template/html/import.html deleted file mode 100644 index dbdb9b0..0000000 --- a/server/template/html/import.html +++ /dev/null @@ -1,34 +0,0 @@ -{{ define "title"}}{{ t "Import" }}{{ end }} - -{{ define "content"}} -<section class="page-header"> - <h1>{{ t "Import" }}</h1> - <ul> - <li> - <a href="{{ route "feeds" }}">{{ t "Feeds" }}</a> - </li> - <li> - <a href="{{ route "addSubscription" }}">{{ t "Add subscription" }}</a> - </li> - <li> - <a href="{{ route "export" }}">{{ t "Export" }}</a> - </li> - </ul> -</section> - -<form action="{{ route "uploadOPML" }}" method="post" enctype="multipart/form-data"> - <input type="hidden" name="csrf" value="{{ .csrf }}"> - - {{ if .errorMessage }} - <div class="alert alert-error">{{ t .errorMessage }}</div> - {{ end }} - - <label for="form-file">{{ t "OPML file" }}</label> - <input type="file" name="file" id="form-file"> - - <div class="buttons"> - <button type="submit" class="button button-primary" data-label-loading="{{ t "Loading..." }}">{{ t "Import" }}</button> - </div> -</form> - -{{ end }} |