aboutsummaryrefslogtreecommitdiff
path: root/themes/sourcehut
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-01-10 19:37:56 +0100
committerSimon Ser <contact@emersion.fr>2020-02-05 12:21:54 +0100
commit6a6ece03e49f29de32c8e6d598871de764e07232 (patch)
tree6e1208ce6da995ffbd02593d7be230e5d1c54d7b /themes/sourcehut
parent6ea7cd9134318874a21aa08ea0d9feecadd8874d (diff)
downloadalps-6a6ece03e49f29de32c8e6d598871de764e07232.tar.gz
alps-6a6ece03e49f29de32c8e6d598871de764e07232.zip
plugins/carddav: new plugin
A new minimal CardDAV plugin is introduced. It injects a list of e-mail addresses in the e-mail compose view. References: https://todo.sr.ht/~sircmpwn/koushin/7
Diffstat (limited to 'themes/sourcehut')
-rw-r--r--themes/sourcehut/compose.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/themes/sourcehut/compose.html b/themes/sourcehut/compose.html
index e845423..a9f4c49 100644
--- a/themes/sourcehut/compose.html
+++ b/themes/sourcehut/compose.html
@@ -37,6 +37,7 @@
id="to"
class="form-control"
value="{{.Message.ToString}}"
+ list="emails"
multiple
{{ if not .Message.To }}
autofocus
@@ -73,6 +74,12 @@
class="btn btn-primary"
>Send email</button>
</div>
+
+ <datalist id="emails">
+ {{range .Extra.EmailSuggestions}}
+ <option value="{{.}}">
+ {{end}}
+ </datalist>
</form>
</div>