all templates now look the same
This commit is contained in:
parent
49c91632e0
commit
3d83dcd080
|
@ -1,33 +1,28 @@
|
||||||
{{template "_head.html" .}}
|
{{template "_head.html" .}}
|
||||||
|
|
||||||
<div class="timeline">
|
<div class="timeline">
|
||||||
{{ if .Tasks}}
|
{{ if .Tasks}} {{range $key, $value := .Tasks}}
|
||||||
{{range .Tasks}}
|
|
||||||
<div class="note">
|
<div class="note">
|
||||||
<p class="noteHeading">{{.Title}}</p> <span class="toggle glyphicon glyphicon-resize-full"></span>
|
<p class="noteHeading">{{$value.Title}}</p> <span class="toggle glyphicon glyphicon-resize-full"></span>
|
||||||
<span class="noteContent">{{.Content}}</span>
|
<span class="noteContent">{{$value.Content}}</span>
|
||||||
<span class="notefooter">
|
<span class="notefooter">
|
||||||
<ul class="menu">
|
<ul class="menu">
|
||||||
<li role="presentation">Priority: {{.Priority}}</li>
|
<li role="presentation">Priority: {{$value.Priority}}</li>
|
||||||
<li role="presentation">
|
<li role="presentation">
|
||||||
<a role="menuitem" tabindex="-1" href="/incomplete/{{.Id}}">
|
<span class="glyphicon glyphicon-time"></span> {{$value.Created}}</li>
|
||||||
<span class="glyphicon glyphicon-eye-close"></span></a>
|
<li role="presentation">
|
||||||
</li>
|
<a role="menuitem" tabindex="-1" href="/trash/{{.Id}}">
|
||||||
<li role="presentation">
|
<span class="glyphicon glyphicon-trash"></span></a>
|
||||||
<a role="menuitem" tabindex="-1" href="/trash/{{.Id}}">
|
</li>
|
||||||
<span class="glyphicon glyphicon-trash"></span></a>
|
<li role="presentation">
|
||||||
</li>
|
<a role="menuitem" tabindex="-1" href="/incomplete/{{.Id}}">
|
||||||
<!--<li role="presentation">
|
<span class="glyphicon glyphicon-eye-close"></span>
|
||||||
<a role="menuitem" tabindex="-1" href="/mask/{{.Id}}">
|
</a>
|
||||||
<span class="glyphicon glyphicon-lock"></span> Mask</a>
|
</li>
|
||||||
</li>
|
<li role="presentation">
|
||||||
<li role="presentation">
|
<a href="/category/{{$value.Category}}"> {{$value.Category}}</a>
|
||||||
<a role="menuitem" tabindex="-1" href="/archive/{{.Id}}">
|
</li>
|
||||||
<span class="glyphicon glyphicon-inbox"></span> Edit</a>
|
</ul>
|
||||||
</li>
|
|
||||||
<!-- <li role="presentation"><a role="menuitem" tabindex="-1" href="/restore/{{.Id}}">
|
|
||||||
<span class="glyphicon glyphicon-inbox"></span> Restore</a></li> -->
|
|
||||||
</ul>
|
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
{{end}} {{else}}
|
{{end}} {{else}}
|
||||||
|
|
|
@ -7,34 +7,28 @@
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
||||||
<div class="timeline">
|
<div class="timeline">
|
||||||
{{ if .Tasks}}
|
{{ if .Tasks}} {{range $key, $value := .Tasks}}
|
||||||
{{range .Tasks}}
|
|
||||||
<div class="note">
|
<div class="note">
|
||||||
<p class="noteHeading">{{.Title}}</p> <span class="toggle glyphicon glyphicon-resize-full"></span>
|
<p class="noteHeading">{{$value.Title}}</p> <span class="toggle glyphicon glyphicon-resize-full"></span>
|
||||||
<span class="noteContent">{{.Content}}</span>
|
<span class="noteContent">{{$value.Content}}</span>
|
||||||
<span class="notefooter">
|
<span class="notefooter">
|
||||||
<ul class="menu">
|
<ul class="menu">
|
||||||
<!-- <li role="presentation">
|
<li role="presentation"> <a role="menuitem" tabindex="-1" href="/delete/{{.Id}}">
|
||||||
<a role="menuitem" tabindex="-1" href="/share/{{.Id}}">
|
|
||||||
<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">Priority: {{.Priority}}</li>
|
|
||||||
<li role="presentation">
|
|
||||||
<a role="menuitem" tabindex="-1" href="/delete/{{.Id}}">
|
|
||||||
<span class="glyphicon glyphicon-trash"></span></a>
|
<span class="glyphicon glyphicon-trash"></span></a>
|
||||||
</li>
|
</li>
|
||||||
<li role="presentation">
|
<li role="presentation">
|
||||||
<a role="menuitem" tabindex="-1" href="/restore/{{.Id}}">
|
<a role="menuitem" tabindex="-1" href="/restore/{{.Id}}">
|
||||||
<span class="glyphicon glyphicon-inbox"></span></a>
|
<span class="glyphicon glyphicon-inbox"></span></a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
<li role="presentation">Priority: {{$value.Priority}}</li>
|
||||||
|
|
||||||
|
<li role="presentation">
|
||||||
|
<span class="glyphicon glyphicon-time"></span> {{$value.Created}}</li>
|
||||||
|
<li role="presentation">
|
||||||
|
<a href="/category/{{$value.Category}}"> {{$value.Category}}</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue