From 8408da48d4f05aadae4a7eaa56b2350315059fe3 Mon Sep 17 00:00:00 2001 From: Chris Sexton Date: Sat, 9 Jan 2021 16:14:57 -0500 Subject: [PATCH] meme: add config and delete This updates the web view to provide a screen to edit any particular config in a text area, update the image URL, and remove a meme. fixes #330 --- plugins/meme/web.go | 188 +++++++++++++++++++++++++++++++------------- 1 file changed, 132 insertions(+), 56 deletions(-) diff --git a/plugins/meme/web.go b/plugins/meme/web.go index 0585a0e..de3abf8 100644 --- a/plugins/meme/web.go +++ b/plugins/meme/web.go @@ -35,7 +35,51 @@ var memeIndex = ` @dismissed="err = ''"> {{ err }} - + + + + + Name: + + + {{ editConfig.name }} + + + + + Image: + + + + + + + + URL: + + + + + + + + Config: + + + + + + + + Save +   + Delete +   + Cancel + + + + @@ -58,7 +102,8 @@ var memeIndex = ` :items="results" :fields="fields">