2015-05-10 23:55:21 +02:00
|
|
|
{{define "body"}}
|
2015-05-22 03:34:14 +02:00
|
|
|
<h2 class="list-heading">List</h2>
|
2015-05-10 23:55:21 +02:00
|
|
|
{{template "flashes" .}}
|
|
|
|
|
2015-09-24 06:12:57 +02:00
|
|
|
<textarea class="form-control" name="template" placeholder="Template" rows="16" cols="80">{{.template}}</textarea>
|
2015-05-14 08:12:39 +02:00
|
|
|
|
2015-09-24 06:12:57 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-2">
|
2015-11-11 18:28:07 +01:00
|
|
|
<form method="POST" action="/news/export" class="confirm-export">
|
|
|
|
{{ .csrfField }}
|
|
|
|
<input class="btn btn-lg btn-primary btn-block" type="submit" value="Export" />
|
|
|
|
</form>
|
2015-09-24 06:12:57 +02:00
|
|
|
</div>
|
2015-05-14 17:29:01 +02:00
|
|
|
|
2015-09-24 06:12:57 +02:00
|
|
|
<div class="col-xs-6">
|
|
|
|
Click this to mark the current queue of news items as exported (clearing them)
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-2"></div>
|
|
|
|
<div class="col-xs-2"><b>{{.count}}</b> news items</div>
|
2015-05-12 07:50:09 +02:00
|
|
|
|
|
|
|
|
2015-05-16 21:48:42 +02:00
|
|
|
</div>
|
2015-05-14 08:12:39 +02:00
|
|
|
{{end}}
|
|
|
|
|