From 2211a35171ba47bc2c63c855eaf1aa04534f7537 Mon Sep 17 00:00:00 2001 From: Akhil Gupta Date: Sun, 21 Feb 2021 07:03:38 +0530 Subject: [PATCH] tags first level complete --- client/index.html | 254 ++++++++++++++++++++++++++++++++++++-- client/scripts.html | 18 +++ controllers/podcast.go | 77 ++++++++++++ db/dbfunctions.go | 21 +++- db/podcast.go | 2 +- main.go | 6 + model/errors.go | 8 ++ service/podcastService.go | 19 +++ 8 files changed, 390 insertions(+), 15 deletions(-) diff --git a/client/index.html b/client/index.html index 53f9aae..72b6a21 100644 --- a/client/index.html +++ b/client/index.html @@ -53,6 +53,15 @@ transition-timing-function: ease-in-out; } + .grid .tags{ + font-size: 0.85em; + padding-bottom: 10px; + display: inline-block; + } + + .mobile.tags{ + margin-bottom: 10px; + } .alignRight{ text-align: right; @@ -60,7 +69,38 @@ .alignLeft{ text-align: left; } - + .tag-editor{ + position: absolute; + border:1px solid; + padding: 10px; + width: 300px; + } + + .tag-editor a.pill{ + margin-right: 5px; + background: blue; + border-radius: 5px; + padding: 2px 5px; + text-decoration: none; + display: inline-block; + margin-bottom: 5px; + } + + a.pill i{ + background-color: inherit; + margin-right: 2px; + } + + .tag-editor .available a.pill{ + background: green; + } + .tag-editor .existing a.pill{ + background: palevioletred; + } + + .tag-editor>div{ + margin-bottom: 15px;; + } @@ -81,6 +121,14 @@ + +