Tasks/public/templates/completed.html

44 lines
1.7 KiB
HTML
Raw Normal View History

2015-11-21 21:20:51 +08:00
{{template "_head.html" .}}
2015-11-14 18:56:53 +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-01-18 09:02:37 +08:00
<p class="noteHeading">{{.Title}}</p> <span class="toggle glyphicon glyphicon-resize-full"></span>
2016-01-31 14:19:48 +08:00
<span class="noteContent">{{.Content}}</span>
2015-11-18 00:58:03 +08:00
<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-01-09 13:03:35 +08:00
</li>
<li role="presentation">
<a role="menuitem" tabindex="-1" href="/trash/{{.Id}}">
2016-01-18 09:02:37 +08:00
<span class="glyphicon glyphicon-trash"></span></a>
2016-01-09 13:03:35 +08:00
</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> -->
2015-11-18 00:58:03 +08:00
</ul>
</span>
</div>
{{end}} {{else}}
2015-11-21 18:42:14 +08:00
<div class="note">
<p class="noteHeading">No Tasks here</p>
<p class="notefooter">Go to home page <a href="/">here</a> </p>
</div>
2015-11-18 00:58:03 +08:00
{{end}}
</div>
2016-01-23 21:47:34 +08:00
{{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
</html>