From c8adff3d9076e1f3e9c8f491f616052d76519a6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Vo=C5=99=C3=AD=C5=A1ek?= Date: Wed, 5 Oct 2022 23:49:16 +0200 Subject: [PATCH] Remove self closing HTML5 slash (#103) --- .github/workflows/test-unit.yml | 2 +- template/login.html | 24 ++++++++++++++++++------ template/login.pug | 12 ++++++------ 3 files changed, 25 insertions(+), 13 deletions(-) diff --git a/.github/workflows/test-unit.yml b/.github/workflows/test-unit.yml index d02c8701..b3872208 100644 --- a/.github/workflows/test-unit.yml +++ b/.github/workflows/test-unit.yml @@ -303,7 +303,7 @@ jobs: run: | cp -r template template.orig find template -not -type d -not -name '*.pug' -delete - (cd template && pug --silent --pretty .) + (cd template && pug --doctype html --pretty --silent .) diff -ru template.orig template rm -r template.orig diff --git a/template/login.html b/template/login.html index 6315b062..78fcfbd9 100644 --- a/template/login.html +++ b/template/login.html @@ -6,11 +6,15 @@

{title}Welcome back! {/}

-
+
+ +
-
+
+ +
@@ -25,7 +29,9 @@

Forgot your password?

-
+
+ +
@@ -39,15 +45,21 @@

Sign up

-
+
+ +
-
+
+ +
-
+
+ +
diff --git a/template/login.pug b/template/login.pug index 18dfccfb..db80661f 100644 --- a/template/login.pug +++ b/template/login.pug @@ -6,13 +6,13 @@ section.ui.segments .field label Email .ui.input - + input(type='email') .field label a(href='javascript:void(0)' style='float:right;') Forgot? | Password .ui.input - + input(type='password') button.ui.right.labeled.large.fluid.primary.icon.button i.right.arrow.icon | Sign in @@ -28,7 +28,7 @@ section.ui.segments .field label Email .ui.input - + input(type='email') button.ui.right.labeled.large.fluid.primary.icon.button i.right.arrow.icon | Send recovery code @@ -43,15 +43,15 @@ section.ui.segments .field label Email .ui.input - + input(type='email') .field label Password .ui.input - + input(type='password') .field label Repeat password .ui.input - + input(type='password') button.ui.right.labeled.large.fluid.primary.icon.button i.right.arrow.icon | Sign in