diff options
author | Drew DeVault <sir@cmpwn.com> | 2020-05-13 14:47:56 -0400 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-05-13 20:52:06 +0200 |
commit | 7456c9574cfe5cffb26aa2c8abe72682308d5fd5 (patch) | |
tree | abe68459e0bda13d8eb8bef2210a659afddb80de /themes/alps/contacts-header.html | |
parent | dfb381058bca883561af4053074db560d34822d8 (diff) | |
download | alps-7456c9574cfe5cffb26aa2c8abe72682308d5fd5.tar.gz alps-7456c9574cfe5cffb26aa2c8abe72682308d5fd5.zip |
alps: theme contact list page
Diffstat (limited to 'themes/alps/contacts-header.html')
-rw-r--r-- | themes/alps/contacts-header.html | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/themes/alps/contacts-header.html b/themes/alps/contacts-header.html new file mode 100644 index 0000000..577aa31 --- /dev/null +++ b/themes/alps/contacts-header.html @@ -0,0 +1,33 @@ +<div class="message-list-checkbox"> + <input type="checkbox" id="action-checkbox-all"/> +</div> +<div class="actions-wrap"> + <div class="actions-contacts"> + <div class="action-group"> + <button form="address-book-form" formaction="TODO">Delete</button> + </div> + </div> + + <form method="get" class="actions-search action-group"> + <input + type="text" + name="query" + value="{{.Query}}" + placeholder="Search {{.AddressBook.Name}} contacts..."> + <button>Search</button> + </form> + + {{/* + {{if or (ge .PrevPage 0) (ge .NextPage 0) }} + <div class="actions-pagination"> + {{if ge .PrevPage 0}} + {{if ge .PrevPage 1}}<a href="?page=0" class="button-link">«</a>{{ end }} + <a href="?page={{.PrevPage}}" class="button-link">«</a> + {{end}} + {{if ge .NextPage 0}} + <a href="?page={{.NextPage}}" class="button-link">»</a> + {{end}} + </div> + {{ end }} + */}} +</div> |