From f40b986b59d4c8fa89ab4745731bf366f8619976 Mon Sep 17 00:00:00 2001 From: slawkens Date: Sun, 6 Apr 2025 17:00:59 +0200 Subject: [PATCH] Small changes in account.login.html.twig * change inputs width to 100% * fix form closing * formatting --- templates/tibiacom/account.login.html.twig | 89 +++++++++++++--------- templates/tibiacom/basic.css | 6 ++ 2 files changed, 58 insertions(+), 37 deletions(-) diff --git a/templates/tibiacom/account.login.html.twig b/templates/tibiacom/account.login.html.twig index 9e9b65c2..8aeba805 100644 --- a/templates/tibiacom/account.login.html.twig +++ b/templates/tibiacom/account.login.html.twig @@ -4,24 +4,25 @@ {% endif %}
- -
-
- - - - -
Account Login
- - - - -
+
+
+ + + + +
Account Login
+ + + +
+
+
+ +
@@ -30,20 +31,21 @@
+ + +
- +
{{ hook('HOOK_ACCOUNT_LOGIN_BEFORE_ACCOUNT') }} - + {{ hook('HOOK_ACCOUNT_LOGIN_AFTER_ACCOUNT') }} - + {{ hook('HOOK_ACCOUNT_LOGIN_AFTER_PASSWORD') }} @@ -53,17 +55,19 @@ {{ hook('HOOK_ACCOUNT_LOGIN_AFTER_REMEMBER_ME') }}
{{ account_login_by }}:
Password:
-
- +
+
{{ include('buttons.login.html.twig') }} -
-
- {{ include('buttons.account_lost.html.twig') }} -
-
+ + {% set noSubmit = true %} + {{ include('buttons.account_lost.html.twig') }} + +
@@ -75,35 +79,40 @@
+
+

New to {{ config.lua.serverName }}?

- -
-
- - - - -
New Player
- - - - -
+
+
+ + + + +
New Player
+ + + +
+
+
+ +
+ +
@@ -112,6 +121,7 @@
+ + +
@@ -129,9 +139,12 @@

... where hardcore gaming meets fantasy.

... where friendships last a lifetime.

-

... unites adventurers since 2017!

+

... unites adventurers since 1997!

+
@@ -143,10 +156,12 @@
{{ hook('HOOK_ACCOUNT_LOGIN_AFTER_PAGE') }} diff --git a/templates/tibiacom/basic.css b/templates/tibiacom/basic.css index 3d260a97..4633c5ed 100644 --- a/templates/tibiacom/basic.css +++ b/templates/tibiacom/basic.css @@ -36,6 +36,12 @@ img { width: expression(document.body.clientWidth > 1200? "1200px": "100%" ); } +#LoginFormButtonCell { + width: 145px; + vertical-align: top; + padding-right: 10px; +} + #ContentRow { position: relative; top: 155px;