diff --git a/index.html b/index.html index ac95f2a..d824895 100644 --- a/index.html +++ b/index.html @@ -53,6 +53,7 @@ margin-bottom: 2vh; } + #searchButton, #resetButton { padding: 1.5vh 4vw; font-size: 1.5vw; @@ -97,6 +98,8 @@ font-weight: bold; } + + .checkbox-group input[type="checkbox"] { margin-right: 1vw; } @@ -318,7 +321,12 @@ <label for="reichelt">Reichelt</label><br> <input type="checkbox" id="kosatec" value="kosatec" class="elektronik-checkbox"> - <label for="kosatec">Kosatec</label> + <label for="kosatec">Kosatec</label><br> + + <input type="checkbox" id="schreiber" value="schreiber" class="elektronik-checkbox"> + <label for="schreiber">schreiber|electronics</label> + + </div> <div class="checkbox-group"> @@ -450,6 +458,12 @@ <input type="checkbox" id="vkfrenzel" value="vkfrenzel" class="sonstige-checkbox"> <label for="vkfrenzel">VKF Renzel</label><br> </div> + + <div> + <!-- Button für die Weiterleitung --> + <button class="koenig" onclick="window.open('https://ecommerce.koenig-ffm.com/', '_blank')"> + Zum Büroshop König + </button> </div> </div> diff --git a/main.go b/main.go index 17fea3c..2d8843a 100644 --- a/main.go +++ b/main.go @@ -104,9 +104,10 @@ func handlePopupInstructions(w http.ResponseWriter, r *http.Request) { func generateSearchUrl(website, query string) string { searchUrls := map[string]string{ // ----- Eletronik ---- - "conrad": fmt.Sprintf("https://www.conrad.de/de/search.html?search=%s", query), - "reichelt": fmt.Sprintf("https://www.reichelt.de/index.html?ACTION=446&SEARCH=%s", query), - "kosatec": fmt.Sprintf("https://shop.kosatec.de/search?search=%s", query), + "conrad": fmt.Sprintf("https://www.conrad.de/de/search.html?search=%s", query), + "reichelt": fmt.Sprintf("https://www.reichelt.de/index.html?ACTION=446&SEARCH=%s", query), + "kosatec": fmt.Sprintf("https://shop.kosatec.de/search?search=%s", query), + "schreiber": fmt.Sprintf("https://www.schreiber-electronics.de/search?sSearch=%s", query), // ----- Verpackungen ------ "papstar": fmt.Sprintf("https://www.papstar-shop.de/catalogsearch/result/?q=%s", query),