2015-11-21 21:20:51 +08:00
|
|
|
{{template "_head.html" .}}
|
2015-11-21 12:31:14 +08:00
|
|
|
<!--end mainHeader -->
|
|
|
|
{{if .}}
|
|
|
|
<a href="/delete/all">
|
2016-02-06 14:55:31 +08:00
|
|
|
<button class="btn-danger btn glyphicon glyphicon-trash floating-action-icon"></button>
|
2015-11-21 12:31:14 +08:00
|
|
|
</a>
|
|
|
|
{{end}}
|
|
|
|
|
|
|
|
<div class="timeline">
|
2016-02-29 10:05:15 +08:00
|
|
|
{{ if .Tasks}} {{range $key, $value := .Tasks}}
|
2016-02-06 14:55:31 +08:00
|
|
|
<div class="note">
|
2016-02-29 10:05:15 +08:00
|
|
|
<p class="noteHeading">{{$value.Title}}</p> <span class="toggle glyphicon glyphicon-resize-full"></span>
|
|
|
|
<span class="noteContent">{{$value.Content}}</span>
|
2016-02-06 14:55:31 +08:00
|
|
|
<span class="notefooter">
|
2015-11-21 18:42:14 +08:00
|
|
|
<ul class="menu">
|
2016-02-29 10:05:15 +08:00
|
|
|
<li role="presentation"> <a role="menuitem" tabindex="-1" href="/delete/{{.Id}}">
|
2016-02-06 14:55:31 +08:00
|
|
|
<span class="glyphicon glyphicon-trash"></span></a>
|
|
|
|
</li>
|
|
|
|
<li role="presentation">
|
|
|
|
<a role="menuitem" tabindex="-1" href="/restore/{{.Id}}">
|
|
|
|
<span class="glyphicon glyphicon-inbox"></span></a>
|
|
|
|
</li>
|
2016-02-29 10:05:15 +08:00
|
|
|
|
|
|
|
<li role="presentation">Priority: {{$value.Priority}}</li>
|
|
|
|
|
|
|
|
<li role="presentation">
|
|
|
|
<span class="glyphicon glyphicon-time"></span> {{$value.Created}}</li>
|
|
|
|
<li role="presentation">
|
|
|
|
<a href="/category/{{$value.Category}}"> {{$value.Category}}</a>
|
|
|
|
</li>
|
|
|
|
|
2016-02-06 14:55:31 +08:00
|
|
|
</ul>
|
|
|
|
</span>
|
2015-11-21 18:42:14 +08:00
|
|
|
</div>
|
2016-02-06 14:55:31 +08:00
|
|
|
{{end}} {{else}}
|
|
|
|
<div class="note">
|
|
|
|
<p class="noteHeading">No Tasks here</p>
|
|
|
|
<p class="notefooter">Go to home page <a href="/">here</a> </p>
|
|
|
|
</div>
|
|
|
|
{{end}}
|
2015-11-21 12:31:14 +08:00
|
|
|
</div>
|
2016-12-21 00:33:29 +08:00
|
|
|
{{template "_footer.html"}}
|
2015-11-21 12:31:14 +08:00
|
|
|
|
|
|
|
</body>
|
|
|
|
|
2016-12-21 00:33:29 +08:00
|
|
|
</html>
|