2015-11-21 21:20:51 +08:00
|
|
|
{{template "_head.html" .}}
|
2015-11-14 18:56:53 +08:00
|
|
|
|
2016-02-06 14:55:31 +08:00
|
|
|
<div class="timeline">
|
2016-02-29 10:05:15 +08:00
|
|
|
{{ if .Tasks}} {{range $key, $value := .Tasks}}
|
2015-11-18 00:58:03 +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>
|
2016-12-21 00:33:29 +08:00
|
|
|
<span class="noteContent">{{$value.ContentHTML}}</span>
|
2016-02-06 14:55:31 +08:00
|
|
|
<span class="notefooter">
|
2016-02-29 10:05:15 +08:00
|
|
|
<ul class="menu">
|
|
|
|
<li role="presentation">Priority: {{$value.Priority}}</li>
|
|
|
|
<li role="presentation">
|
|
|
|
<span class="glyphicon glyphicon-time"></span> {{$value.Created}}</li>
|
|
|
|
<li role="presentation">
|
|
|
|
<a role="menuitem" tabindex="-1" href="/trash/{{.Id}}">
|
|
|
|
<span class="glyphicon glyphicon-trash"></span></a>
|
|
|
|
</li>
|
|
|
|
<li role="presentation">
|
|
|
|
<a role="menuitem" tabindex="-1" href="/incomplete/{{.Id}}">
|
|
|
|
<span class="glyphicon glyphicon-eye-close"></span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li role="presentation">
|
|
|
|
<a href="/category/{{$value.Category}}"> {{$value.Category}}</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2016-02-06 14:55:31 +08:00
|
|
|
</span>
|
2015-11-18 00:58:03 +08:00
|
|
|
</div>
|
|
|
|
{{end}} {{else}}
|
2015-11-21 18:42:14 +08:00
|
|
|
<div class="note">
|
2016-02-06 14:55:31 +08:00
|
|
|
<p class="noteHeading">No Tasks here</p>
|
|
|
|
<p class="notefooter">Go to home page <a href="/">here</a> </p>
|
2015-11-21 18:42:14 +08:00
|
|
|
</div>
|
2015-11-18 00:58:03 +08:00
|
|
|
{{end}}
|
2016-02-06 14:55:31 +08:00
|
|
|
</div>
|
|
|
|
{{template "_footer.html"}}
|
2015-11-14 18:56:53 +08:00
|
|
|
|
2015-11-18 00:58:03 +08:00
|
|
|
</body>
|
2015-11-14 18:56:53 +08:00
|
|
|
|
2016-12-21 00:33:29 +08:00
|
|
|
</html>
|