Tasks/public/templates/deleted.html

52 lines
1.5 KiB
HTML
Raw Normal View History

2015-11-21 12:31:14 +08:00
{{template "_head.html"}}
<!--end mainHeader -->
{{if .}}
<a href="/delete/all">
<button class="btn-danger btn glyphicon glyphicon-trash floating-action-icon"></button>
</a>
{{end}}
<div class="timeline">
{{ if .}} {{range .}}
<div class="note">
<p class="noteHeading">{{.Title}}</p>
<hr>
<p class="noteContent">{{.Content}}</p>
<span class="notefooter">
2015-11-21 18:42:14 +08:00
<ul class="menu">
<!-- <li role="presentation">
<a role="menuitem" tabindex="-1" href="/share/{{.Id}}">
<span class="glyphicon glyphicon-share"></span> Share</a>
2015-11-21 12:31:14 +08:00
</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="/delete/{{.Id}}">
<span class="glyphicon glyphicon-trash"></span> Delete</a>
</li>
<li role="presentation">
<a role="menuitem" tabindex="-1" href="/restore/{{.Id}}">
<span class="glyphicon glyphicon-inbox"></span> Restore</a>
</li>
</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-21 12:31:14 +08:00
{{end}}
</div>
{{template "footer.gtpl"}}
</body>
</html>