miniflux-v2/template/html/import.html

35 lines
1.0 KiB
HTML
Raw Normal View History

{{ define "title"}}{{ t "page.import.title" }}{{ end }}
2017-11-20 06:10:04 +01:00
{{ define "content"}}
<section class="page-header">
<h1>{{ t "page.import.title" }}</h1>
2017-11-20 06:10:04 +01:00
<ul>
<li>
<a href="{{ route "feeds" }}">{{ t "menu.feeds" }}</a>
2017-11-20 06:10:04 +01:00
</li>
<li>
<a href="{{ route "addSubscription" }}">{{ t "menu.add_feed" }}</a>
2017-11-20 06:10:04 +01:00
</li>
<li>
<a href="{{ route "export" }}">{{ t "menu.export" }}</a>
2017-11-20 06:10:04 +01:00
</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 "form.import.label.file" }}</label>
2017-11-20 06:10:04 +01:00
<input type="file" name="file" id="form-file">
<div class="buttons">
<button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.import" }}</button>
2017-11-20 06:10:04 +01:00
</div>
</form>
{{ end }}