reformatted no tasks message
This commit is contained in:
parent
dae331bdb3
commit
da17918742
|
@ -30,7 +30,10 @@
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
{{end}} {{else}}
|
{{end}} {{else}}
|
||||||
<p>No tasks here</p>
|
<div class="note">
|
||||||
|
<p class="noteHeading">No Tasks here</p>
|
||||||
|
<p class="notefooter">Go to home page <a href="/">here</a> </p>
|
||||||
|
</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
</div>
|
</div>
|
||||||
{{template "_footer.gtpl"}}
|
{{template "_footer.gtpl"}}
|
||||||
|
|
|
@ -6,49 +6,6 @@
|
||||||
</a>
|
</a>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
||||||
<!-- Add note modal -->
|
|
||||||
<div class="modal fade " id="addNoteModal" tabindex="-1" role="dialog" aria-labelledby="newNoteLabel" aria-hidden="true">
|
|
||||||
<div class="modal-dialog">
|
|
||||||
<div class="modal-content">
|
|
||||||
<div class="modal-header">
|
|
||||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
|
||||||
<h4 class="modal-title" id="newNoteLabel"><span class="glyphicon glyphicon-pencil"></span> New Task</h4>
|
|
||||||
</div>
|
|
||||||
<div class="modal-body">
|
|
||||||
<form>
|
|
||||||
<div class="form-group">
|
|
||||||
<!-- <label for="note-title" class="control-label">Title:</label> -->
|
|
||||||
<input type="text" class="form-control" id="add-note-title" placeholder="Title" style="border:none;border-bottom:1px solid gray; box-shadow:none;">
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<!-- <label for="note-content" class="control-label">Content:</label> -->
|
|
||||||
<textarea class="form-control" id="add-note-content" placeholder="Content" rows="10" style="border:none;border-bottom:1px solid gray; box-shadow:none;"></textarea>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
<div class="modal-footer">
|
|
||||||
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
|
||||||
<button type="button" class="btn btn-primary" id="addNoteModalSaveBtn">Save</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- modal for opening note -->
|
|
||||||
<div class="modal fade" id="openNoteModal" tabindex="-1" role="dialog" aria-hidden="true">
|
|
||||||
<div class="modal-dialog">
|
|
||||||
<div class="modal-content">
|
|
||||||
<div class="modal-header">
|
|
||||||
<button class="close" data-dismiss="modal"> ×</button>
|
|
||||||
<h4 class="modal-title"></h4>
|
|
||||||
</div>
|
|
||||||
<div class="modal-body">
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="timeline">
|
<div class="timeline">
|
||||||
{{ if .}} {{range .}}
|
{{ if .}} {{range .}}
|
||||||
<div class="note">
|
<div class="note">
|
||||||
|
@ -56,10 +13,10 @@
|
||||||
<hr>
|
<hr>
|
||||||
<p class="noteContent">{{.Content}}</p>
|
<p class="noteContent">{{.Content}}</p>
|
||||||
<span class="notefooter">
|
<span class="notefooter">
|
||||||
<ul class="menu">
|
<ul class="menu">
|
||||||
<!-- <li role="presentation">
|
<!-- <li role="presentation">
|
||||||
<a role="menuitem" tabindex="-1" href="/share/{{.Id}}">
|
<a role="menuitem" tabindex="-1" href="/share/{{.Id}}">
|
||||||
<span class="glyphicon glyphicon-share"></span> Share</a>
|
<span class="glyphicon glyphicon-share"></span> Share</a>
|
||||||
</li>
|
</li>
|
||||||
<li role="presentation">
|
<li role="presentation">
|
||||||
<a role="menuitem" tabindex="-1" href="/mask/{{.Id}}">
|
<a role="menuitem" tabindex="-1" href="/mask/{{.Id}}">
|
||||||
|
@ -81,7 +38,10 @@
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
{{end}} {{else}}
|
{{end}} {{else}}
|
||||||
<p>No tasks here</p>
|
<div class="note">
|
||||||
|
<p class="noteHeading">No Tasks here</p>
|
||||||
|
<p class="notefooter">Go to home page <a href="/">here</a> </p>
|
||||||
|
</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
</div>
|
</div>
|
||||||
{{template "footer.gtpl"}}
|
{{template "footer.gtpl"}}
|
||||||
|
|
|
@ -40,7 +40,6 @@
|
||||||
<span class="notefooter">
|
<span class="notefooter">
|
||||||
<ul class="menu">
|
<ul class="menu">
|
||||||
<li role="presentation">
|
<li role="presentation">
|
||||||
<!-- <a role="menuitem" tabindex="-1" href="/share/{{.Id}}"> </a>-->
|
|
||||||
<span class="glyphicon glyphicon-time"></span> {{.Created}}</li>
|
<span class="glyphicon glyphicon-time"></span> {{.Created}}</li>
|
||||||
<!-- <li role="presentation">
|
<!-- <li role="presentation">
|
||||||
<a role="menuitem" tabindex="-1" href="/mask/{{.Id}}">
|
<a role="menuitem" tabindex="-1" href="/mask/{{.Id}}">
|
||||||
|
@ -62,7 +61,10 @@
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
{{end}} {{else}}
|
{{end}} {{else}}
|
||||||
<p>No tasks here</p>
|
<div class="note">
|
||||||
|
<p class="noteHeading">No Tasks here</p>
|
||||||
|
<p class="notefooter">Create new task<button class="floating-action-icon-add" style="border:none;border-bottom:1px solid gray; box-shadow:none;"> here </button> </p>
|
||||||
|
</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
</div>
|
</div>
|
||||||
{{template "footer.gtpl"}}
|
{{template "footer.gtpl"}}
|
||||||
|
|
|
@ -10,10 +10,10 @@
|
||||||
<hr>
|
<hr>
|
||||||
<p class="noteContent">{{.Content}}</p>
|
<p class="noteContent">{{.Content}}</p>
|
||||||
<span class="notefooter">
|
<span class="notefooter">
|
||||||
<ul class="menu">
|
<ul class="menu">
|
||||||
<!-- <li role="presentation">
|
<!-- <li role="presentation">
|
||||||
<a role="menuitem" tabindex="-1" href="/share/{{.Id}}">
|
<a role="menuitem" tabindex="-1" href="/share/{{.Id}}">
|
||||||
<span class="glyphicon glyphicon-share"></span> Share</a>
|
<span class="glyphicon glyphicon-share"></span> Share</a>
|
||||||
</li>
|
</li>
|
||||||
<li role="presentation">
|
<li role="presentation">
|
||||||
<a role="menuitem" tabindex="-1" href="/mask/{{.Id}}">
|
<a role="menuitem" tabindex="-1" href="/mask/{{.Id}}">
|
||||||
|
@ -35,7 +35,10 @@
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
{{end}} {{else}}
|
{{end}} {{else}}
|
||||||
<p>No match found</p>
|
<div class="note">
|
||||||
|
<p class="noteHeading">No results found</p>
|
||||||
|
<p class="notefooter">Go to home page <a href="/">here</a> </p>
|
||||||
|
</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
</div>
|
</div>
|
||||||
{{template "_footer.gtpl"}}
|
{{template "_footer.gtpl"}}
|
||||||
|
|
Loading…
Reference in New Issue