From 778e6f9c89821663d4ea6c5ec9e389ed495f8c8d Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 12 Feb 2020 21:35:18 +0100 Subject: [PATCH] plugins/carddav: add view to edit contacts --- go.mod | 2 + plugins/carddav/public/address-object.html | 6 +++ plugins/carddav/routes.go | 59 ++++++++++++++++++---- themes/sourcehut/address-object.html | 7 ++- 4 files changed, 62 insertions(+), 12 deletions(-) diff --git a/go.mod b/go.mod index 2dc7ba1..f8c0c35 100644 --- a/go.mod +++ b/go.mod @@ -26,3 +26,5 @@ require ( golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4 // indirect layeh.com/gopher-luar v1.0.7 ) + +replace github.com/emersion/go-webdav => ../go-webdav diff --git a/plugins/carddav/public/address-object.html b/plugins/carddav/public/address-object.html index 2c96fd4..1d564ee 100644 --- a/plugins/carddav/public/address-object.html +++ b/plugins/carddav/public/address-object.html @@ -10,6 +10,12 @@

Contact: {{$fn}}

+

+ + Edit + +

+