From fde0fdb7fa54bde68cd6739aabb74591ee342e55 Mon Sep 17 00:00:00 2001 From: vinchent Date: Sun, 11 Aug 2024 22:58:06 +0200 Subject: [PATCH] Working on js for plans --- cmd/web/templates/bronze-plan.page.gohtml | 10 ++++-- cmd/web/templates/buy-once.page.gohtml | 1 - cmd/web/templates/terminal.page.gohtml | 1 - static/js/stripe-plan.js | 40 +++++++++++++++++++++++ 4 files changed, 48 insertions(+), 4 deletions(-) create mode 100644 static/js/stripe-plan.js diff --git a/cmd/web/templates/bronze-plan.page.gohtml b/cmd/web/templates/bronze-plan.page.gohtml index ad4082f..85a2f4e 100644 --- a/cmd/web/templates/bronze-plan.page.gohtml +++ b/cmd/web/templates/bronze-plan.page.gohtml @@ -91,6 +91,12 @@ Bronze Plan {{ end }} {{ define "js" }} - - + {{ end }} diff --git a/cmd/web/templates/buy-once.page.gohtml b/cmd/web/templates/buy-once.page.gohtml index c719620..c28e915 100644 --- a/cmd/web/templates/buy-once.page.gohtml +++ b/cmd/web/templates/buy-once.page.gohtml @@ -92,7 +92,6 @@ Buy one widget {{ end }} {{ define "js" }} - -