From 57eb8f6712361a3bf75983ce153fac4846dc0273 Mon Sep 17 00:00:00 2001 From: Vikas Kushwaha Date: Tue, 11 Feb 2025 16:31:08 +0530 Subject: Initial commit --- cmd/web/templates/sign-in/htmx-sign-in-page.tmpl | 3 +++ cmd/web/templates/sign-in/index.tmpl | 23 ++++++++++++++++++ .../templates/sign-in/partials/sign-in-form.tmpl | 27 ++++++++++++++++++++++ 3 files changed, 53 insertions(+) create mode 100644 cmd/web/templates/sign-in/htmx-sign-in-page.tmpl create mode 100644 cmd/web/templates/sign-in/index.tmpl create mode 100644 cmd/web/templates/sign-in/partials/sign-in-form.tmpl (limited to 'cmd/web/templates/sign-in') diff --git a/cmd/web/templates/sign-in/htmx-sign-in-page.tmpl b/cmd/web/templates/sign-in/htmx-sign-in-page.tmpl new file mode 100644 index 0000000..3201ee8 --- /dev/null +++ b/cmd/web/templates/sign-in/htmx-sign-in-page.tmpl @@ -0,0 +1,3 @@ +{{ template "sign-in/index" . }} +{{ template "components/navbar" . }} +{{ template "components/head" . }} \ No newline at end of file diff --git a/cmd/web/templates/sign-in/index.tmpl b/cmd/web/templates/sign-in/index.tmpl new file mode 100644 index 0000000..8f6806d --- /dev/null +++ b/cmd/web/templates/sign-in/index.tmpl @@ -0,0 +1,23 @@ +
+
+
+ +
+

Sign in

+

+ + Need an account? + +

+ + {{ template "sign-in/partials/sign-in-form" }} +
+ +
+
+
\ No newline at end of file diff --git a/cmd/web/templates/sign-in/partials/sign-in-form.tmpl b/cmd/web/templates/sign-in/partials/sign-in-form.tmpl new file mode 100644 index 0000000..21f2c84 --- /dev/null +++ b/cmd/web/templates/sign-in/partials/sign-in-form.tmpl @@ -0,0 +1,27 @@ +
+ {{ if .Errors }} +
+
    + {{ range $error := .Errors }} +
  • {{ $error }}
  • + {{ end }} +
+
+ {{ end }} +
+ +
+
+ +
+
+ +
+ +
\ No newline at end of file -- cgit v1.2.3