Skip to content

Commit 6eb2f8c

Browse files
committed
work
1 parent 4ad2335 commit 6eb2f8c

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

src/main/resources/templates/user/login/loginForm.html

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,24 @@
1010
<body th:replace="layout/page :: tw-page-body(twcontent=~{::mytwcontent},twtitle=~{::mytwtitle},scripts=~{})">
1111

1212
<div th:fragment="mytwtitle">
13-
<div class="row my-5 py-5">
14-
<div class="col-3"></div>
15-
<div class="col-6">
16-
<h1><span th:utext="#{user.loginForm.h1}">Welcome to SimpleWorklist</span></h1>
17-
<h2><span th:utext="#{user.loginForm.h2}">Your Todo-List for Getting Things Done&reg;</span></h2>
13+
<div class="container-md">
14+
<div class="row my-md-4 py-md-5">
15+
<div class="col-md-3"></div>
16+
<div class="col-md-6">
17+
<h1><strong th:utext="#{user.loginForm.h1}">Welcome to SimpleWorklist</strong></h1>
18+
<h2><small th:utext="#{user.loginForm.h2}">Your Todo-List for Getting Things Done&reg;</small></h2>
1819
</div>
19-
<div class="col-3"></div>
20+
<div class="col-md-3"></div>
21+
</div>
2022
</div>
2123
</div>
2224

2325
<div th:fragment="mytwcontent">
2426
<div class="row">
25-
<div class="col-3"></div>
26-
<div class="col-6">
27+
<div class="col-md-3"></div>
28+
<div class="col-md-6">
2729
<form id="user-login-form" th:action="@{/j_spring_security_check}" method="post">
28-
<div class="card my-5">
30+
<div class="card my-md-5 my-3">
2931
<div class="card-header">
3032
<span th:utext="#{user.loginForm.login}" class="m-1 p-1">Please login</span>
3133
</div>
@@ -48,7 +50,7 @@ <h2><span th:utext="#{user.loginForm.h2}">Your Todo-List for Getting Things Done
4850
</div>
4951
</div>
5052
<div class="card-footer">
51-
<div class="m-2 pe-3">
53+
<div class="m-md-2 pe-md-3 m-2 pe-2">
5254
<button id="loginButton" type="submit" class="btn btn-block btn-primary">
5355
<i class="fas fa-sign-in-alt"></i>
5456
<span th:utext="#{user.loginForm.loginButton}"></span>
@@ -57,20 +59,18 @@ <h2><span th:utext="#{user.loginForm.h2}">Your Todo-List for Getting Things Done
5759
</div>
5860
</div>
5961
<div class="row">
60-
<div class="col-1 text-left m-2 p-1">
61-
</div>
62-
<div class="col-5 text-left m-2 p-1">
63-
<a id="registerButton" th:href="@{/user/register/}" class="link-ssecondary">
62+
<span class="col-md-4 col-4 text-left">
63+
<a id="registerButton" th:href="@{/user/register/}"
64+
class="link-secondary text-left ms-md-1 my-md-1 ms-1 my-1 ps-md-4 py-md-2 ps-4 py-2">
6465
<i class="fas fa-user"></i><span th:utext="#{user.loginForm.register}"></span>
6566
</a>
66-
</div>
67-
<div class="col-5 text-right m-2 p-1">
68-
<a id="passwordResetButton" th:href="@{/user/resetPassword}" class="link-secondary">
67+
</span>
68+
<span class="col-md-8 col-8 text-right">
69+
<a id="passwordResetButton" th:href="@{/user/resetPassword}"
70+
class="link-secondary text-right me-md-1 my-md-1 me-1 my-1 pe-md-4 py-md-2 pe-4 py-2">
6971
<i class="fas fa-question-circle"></i><span th:utext="#{user.loginForm.passwordReset}"></span>
7072
</a>
71-
</div>
72-
<div class="col-1 text-right m-2 p-1">
73-
</div>
73+
</span>
7474
</div>
7575
</form>
7676
</div>

0 commit comments

Comments
 (0)