diff options
author | Simon Ser <contact@emersion.fr> | 2019-12-16 14:36:43 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2019-12-16 14:36:43 +0100 |
commit | 1c5e17472d01be241ff80b062f77a88dafc51f17 (patch) | |
tree | d6eeed73925dc0f6e28eed0898c2e111c8ec6dd4 /plugins/base/public | |
parent | 1a658fc22c4a26c8e1b80cf08a165666c6facef5 (diff) | |
download | alps-1c5e17472d01be241ff80b062f77a88dafc51f17.tar.gz alps-1c5e17472d01be241ff80b062f77a88dafc51f17.zip |
Add basic search
Closes: https://todo.sr.ht/~sircmpwn/koushin/23
Diffstat (limited to 'plugins/base/public')
-rw-r--r-- | plugins/base/public/login.html | 2 | ||||
-rw-r--r-- | plugins/base/public/mailbox.html | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/plugins/base/public/login.html b/plugins/base/public/login.html index 8ce5f25..7378935 100644 --- a/plugins/base/public/login.html +++ b/plugins/base/public/login.html @@ -2,7 +2,7 @@ <h1>koushin</h1> -<form method="post" action="/login"> +<form method="post" action=""> <label for="username">Username:</label> <input type="text" name="username" id="username"/> <br><br> diff --git a/plugins/base/public/mailbox.html b/plugins/base/public/mailbox.html index ddd1260..53cf697 100644 --- a/plugins/base/public/mailbox.html +++ b/plugins/base/public/mailbox.html @@ -8,6 +8,11 @@ <h2>{{.Mailbox.Name}}</h2> +<form method="post" action=""> + <input type="search" name="query" value="{{.Query}}"> + <input type="submit" value="Search"> +</form> + <p>Mailboxes:</p> <ul> {{range .Mailboxes}} |