From c444b39f8a8b55e7f56b0d084f976cc918c301e4 Mon Sep 17 00:00:00 2001 From: qypol342 Date: Sun, 15 Sep 2024 23:10:41 +0200 Subject: [PATCH] finish html page rework --- main.go | 2 +- static/index.html | 66 ++++++++++++++++++++++++++++++++++++++++------- static/styles.css | 24 +++++++++++++++++ 3 files changed, 81 insertions(+), 11 deletions(-) diff --git a/main.go b/main.go index f37ffd4..ccf8555 100644 --- a/main.go +++ b/main.go @@ -35,7 +35,7 @@ func main() { r.HandleFunc("/your-cpe-calendar.ics", handlers.GenerateICSHandler).Methods("GET") //validate route - r.HandleFunc("/validate", handlers.ValidateHandler).Methods("POST") + r.HandleFunc("/validate", handlers.ValidateHandler).Methods("GET") // Use the router in the http server log.Fatal(http.ListenAndServe(":8080", r)) diff --git a/static/index.html b/static/index.html index bd25d18..536fdd9 100644 --- a/static/index.html +++ b/static/index.html @@ -54,8 +54,16 @@

Obtenez votre calendrier

- + +
+

Votre lien de connexion est copié dans le presse-papier.

+ + +
@@ -103,41 +111,79 @@

Affiliation