2015-05-10 21:55:21 +00:00
|
|
|
{{define "body"}}
|
2015-05-22 01:34:14 +00:00
|
|
|
<h2 class="list-heading">List</h2>
|
2015-05-10 21:55:21 +00:00
|
|
|
{{template "flashes" .}}
|
|
|
|
|
2015-09-24 04:12:57 +00:00
|
|
|
<textarea class="form-control" name="template" placeholder="Template" rows="16" cols="80">{{.template}}</textarea>
|
2015-05-14 06:12:39 +00:00
|
|
|
|
2015-09-24 04:12:57 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-2">
|
2015-11-11 17:28:07 +00: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 04:12:57 +00:00
|
|
|
</div>
|
2015-05-14 15:29:01 +00:00
|
|
|
|
2015-09-24 04:12:57 +00: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 05:50:09 +00:00
|
|
|
|
|
|
|
|
2015-05-16 19:48:42 +00:00
|
|
|
</div>
|
2015-05-14 06:12:39 +00:00
|
|
|
{{end}}
|
|
|
|
|