TaskFlow/templates/search.html

44 lines
1.5 KiB
HTML
Raw Normal View History

2015-11-21 21:20:51 +08:00
{{template "_head.html" .}}
2015-11-13 17:04:42 +08:00
<div class="timeline">
2015-11-21 22:12:44 +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">
2016-01-23 21:47:34 +08:00
<ul class="menu">
<li role="presentation">Priority: {{.Priority}}</li>
<li role="presentation">
<span class="glyphicon glyphicon-time"></span> {{.Created}}</li>
2015-11-21 19:03:34 +08:00
<!-- <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="/trash/{{.Id}}">
2016-01-18 09:02:37 +08:00
<span class="glyphicon glyphicon-trash"></span></a>
2015-11-18 00:58:03 +08:00
</li>
<li role="presentation">
2015-11-21 19:03:34 +08:00
<a role="menuitem" tabindex="-1" href="/complete/{{.Id}}">
2016-01-18 09:02:37 +08:00
<span class="glyphicon glyphicon-check"></span></a>
2015-11-21 19:03:34 +08:00
</li>
2015-11-18 00:58:03 +08:00
<li role="presentation">
<a role="menuitem" tabindex="-1" href="/edit/{{.Id}}">
2016-01-18 09:02:37 +08:00
<span class="glyphicon glyphicon-pencil"></span></a>
2015-11-18 00:58:03 +08:00
</li>
2015-11-21 19:03:34 +08:00
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 results found</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-18 00:58:03 +08:00
2015-11-13 17:04:42 +08:00
2015-11-18 00:58:03 +08:00
</body>
2015-11-13 17:04:42 +08:00
</html>