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 21:20:51 +08:00
|
|
|
{{ if .}} {{range .Tasks}}
|
2015-11-18 00:58:03 +08:00
|
|
|
<div class="note">
|
|
|
|
<p class="noteHeading">{{.Title}}</p>
|
|
|
|
<hr>
|
|
|
|
<p class="noteContent">{{.Content}}</p>
|
|
|
|
<span class="notefooter">
|
2015-11-14 18:56:53 +08:00
|
|
|
<ul class="menu">
|
|
|
|
<!-- <li role="presentation">
|
|
|
|
<a role="menuitem" tabindex="-1" href="/share/{{.Id}}">
|
2015-11-18 00:58:03 +08:00
|
|
|
<span class="glyphicon glyphicon-share"></span> Share</a>
|
|
|
|
</li>
|
|
|
|
<li role="presentation">
|
|
|
|
<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>
|
|
|
|
</li>!-->
|
|
|
|
<li role="presentation">
|
|
|
|
<a role="menuitem" tabindex="-1" href="/trash/{{.Id}}">
|
|
|
|
<span class="glyphicon glyphicon-trash"></span> Trash</a>
|
|
|
|
</li>
|
|
|
|
<!-- <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>
|
|
|
|
{{template "_footer.gtpl"}}
|
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>
|