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">
|
2015-11-21 22:12:20 +08:00
|
|
|
{{ if .Tasks}} {{range .Tasks}}
|
2015-11-18 00:58:03 +08:00
|
|
|
<div class="note">
|
2016-02-06 14:55:31 +08:00
|
|
|
<p class="noteHeading">{{.Title}}</p> <span class="toggle glyphicon glyphicon-resize-full"></span>
|
|
|
|
<span class="noteContent">{{.Content}}</span>
|
|
|
|
<span class="notefooter">
|
2015-11-14 18:56:53 +08:00
|
|
|
<ul class="menu">
|
2016-01-23 21:47:34 +08:00
|
|
|
<li role="presentation">Priority: {{.Priority}}</li>
|
2016-01-09 13:03:35 +08:00
|
|
|
<li role="presentation">
|
|
|
|
<a role="menuitem" tabindex="-1" href="/incomplete/{{.Id}}">
|
2016-01-18 09:02:37 +08:00
|
|
|
<span class="glyphicon glyphicon-eye-close"></span></a>
|
2016-02-06 14:55:31 +08:00
|
|
|
</li>
|
|
|
|
<li role="presentation">
|
|
|
|
<a role="menuitem" tabindex="-1" href="/trash/{{.Id}}">
|
|
|
|
<span class="glyphicon glyphicon-trash"></span></a>
|
|
|
|
</li>
|
|
|
|
<!--<li role="presentation">
|
2015-11-18 00:58:03 +08:00
|
|
|
<a role="menuitem" tabindex="-1" href="/mask/{{.Id}}">
|
|
|
|
<span class="glyphicon glyphicon-lock"></span> Mask</a>
|
|
|
|
</li>
|
|
|
|
<li role="presentation">
|
|
|
|
<a role="menuitem" tabindex="-1" href="/archive/{{.Id}}">
|
|
|
|
<span class="glyphicon glyphicon-inbox"></span> Edit</a>
|
2015-11-21 22:12:20 +08:00
|
|
|
</li>
|
2015-11-18 00:58:03 +08:00
|
|
|
<!-- <li role="presentation"><a role="menuitem" tabindex="-1" href="/restore/{{.Id}}">
|
2015-11-14 18:56:53 +08:00
|
|
|
<span class="glyphicon glyphicon-inbox"></span> Restore</a></li> -->
|
2016-02-06 14:55:31 +08:00
|
|
|
</ul>
|
|
|
|
</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-02-06 14:55:31 +08:00
|
|
|
</html>
|