From c65dfd1f2cd92c902a35e3a2b71b6c47442fd136 Mon Sep 17 00:00:00 2001 From: Puqns67 Date: Mon, 18 Sep 2023 22:15:16 +0800 Subject: [PATCH] fix error page display error, stop using javascript at some page Signed-off-by: Puqns67 --- src/main/resources/static/styles/remove.css | 9 ------- src/main/resources/static/styles/update.css | 27 ------------------- src/main/resources/templates/account.mustache | 1 - src/main/resources/templates/cart.mustache | 1 - src/main/resources/templates/editor.mustache | 1 - src/main/resources/templates/error.mustache | 8 ++---- src/main/resources/templates/item.mustache | 1 - src/main/resources/templates/items.mustache | 1 - src/main/resources/templates/login.mustache | 3 --- .../resources/templates/register.mustache | 3 --- 10 files changed, 2 insertions(+), 53 deletions(-) delete mode 100644 src/main/resources/static/styles/remove.css delete mode 100644 src/main/resources/static/styles/update.css diff --git a/src/main/resources/static/styles/remove.css b/src/main/resources/static/styles/remove.css deleted file mode 100644 index 6efcfdf..0000000 --- a/src/main/resources/static/styles/remove.css +++ /dev/null @@ -1,9 +0,0 @@ -@font-face { - font-family: "Normal"; - src: url("../fonts/华文圆体-Regular.ttf") format("ttf"); -} - -h3, p { - font: "Normal"; - color: wheat; -} diff --git a/src/main/resources/static/styles/update.css b/src/main/resources/static/styles/update.css deleted file mode 100644 index bc96dd9..0000000 --- a/src/main/resources/static/styles/update.css +++ /dev/null @@ -1,27 +0,0 @@ -h3, label { - color: wheat; -} - -form { - display: flex; - flex-direction: column; -} - -form > div { - margin-top: 5px; - margin-bottom: 5px; -} - -.i { - display: flex; - justify-content: space-between; -} - -.i > input, select { - width: 200px; -} - -.formButton { - display: flex; - flex-direction: column; -} diff --git a/src/main/resources/templates/account.mustache b/src/main/resources/templates/account.mustache index 0adbccb..53cbfa8 100644 --- a/src/main/resources/templates/account.mustache +++ b/src/main/resources/templates/account.mustache @@ -6,7 +6,6 @@ - diff --git a/src/main/resources/templates/cart.mustache b/src/main/resources/templates/cart.mustache index 4c51639..7344a82 100644 --- a/src/main/resources/templates/cart.mustache +++ b/src/main/resources/templates/cart.mustache @@ -6,7 +6,6 @@ - diff --git a/src/main/resources/templates/editor.mustache b/src/main/resources/templates/editor.mustache index 9872ff5..3051016 100644 --- a/src/main/resources/templates/editor.mustache +++ b/src/main/resources/templates/editor.mustache @@ -6,7 +6,6 @@ - diff --git a/src/main/resources/templates/error.mustache b/src/main/resources/templates/error.mustache index 3700ab1..970477c 100644 --- a/src/main/resources/templates/error.mustache +++ b/src/main/resources/templates/error.mustache @@ -6,19 +6,15 @@ - - - - + - - + diff --git a/src/main/resources/templates/item.mustache b/src/main/resources/templates/item.mustache index 7a88512..4385307 100644 --- a/src/main/resources/templates/item.mustache +++ b/src/main/resources/templates/item.mustache @@ -6,7 +6,6 @@ - diff --git a/src/main/resources/templates/items.mustache b/src/main/resources/templates/items.mustache index 4db3f1f..df8ee43 100644 --- a/src/main/resources/templates/items.mustache +++ b/src/main/resources/templates/items.mustache @@ -7,7 +7,6 @@ - diff --git a/src/main/resources/templates/login.mustache b/src/main/resources/templates/login.mustache index 41ed1e8..b80ab2e 100644 --- a/src/main/resources/templates/login.mustache +++ b/src/main/resources/templates/login.mustache @@ -6,9 +6,6 @@ - - - diff --git a/src/main/resources/templates/register.mustache b/src/main/resources/templates/register.mustache index f532205..48253a3 100644 --- a/src/main/resources/templates/register.mustache +++ b/src/main/resources/templates/register.mustache @@ -6,9 +6,6 @@ - - -