mirror of
https://gitlab.com/etc404/software-engineering-project.git
synced 2026-05-10 20:52:58 +00:00
Cosmetic changes.
This commit is contained in:
@@ -18,7 +18,7 @@ public class SecurityConfig {
|
|||||||
public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception {
|
public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception {
|
||||||
http
|
http
|
||||||
.authorizeHttpRequests(auth -> auth
|
.authorizeHttpRequests(auth -> auth
|
||||||
.requestMatchers("/login", "/register", "/css/**").permitAll()
|
.requestMatchers("/login", "/register", "/css/**", "/images/**").permitAll()
|
||||||
.anyRequest().authenticated()
|
.anyRequest().authenticated()
|
||||||
)
|
)
|
||||||
.formLogin(form -> form
|
.formLogin(form -> form
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ body, html {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.login-box rows {
|
.login-box .rows {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|||||||
@@ -8,10 +8,9 @@
|
|||||||
<body>
|
<body>
|
||||||
|
|
||||||
<header class="top-header">
|
<header class="top-header">
|
||||||
<img src="images/header_left.png" alt="Violin f-hole shape to the left of header." class="swirl">
|
<img th:src="@{images/header_left.png}" alt="Violin f-hole shape to the left of header." class="swirl">
|
||||||
<h1 class="site-name">Thyme Crunch</h1>
|
<h1 class="site-name">Thyme Crunch</h1>
|
||||||
<img src="images/header_right.png" alt="Violin f-hole shape to the right of header." class="swirl">
|
<img th:src="@{images/header_right.png}" alt="Violin f-hole shape to the right of header." class="swirl">
|
||||||
|
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<!-- Main Content -->
|
<!-- Main Content -->
|
||||||
@@ -20,7 +19,6 @@
|
|||||||
<h2>Create Account</h2>
|
<h2>Create Account</h2>
|
||||||
|
|
||||||
<form id="createUserForm">
|
<form id="createUserForm">
|
||||||
|
|
||||||
<div class="rows">
|
<div class="rows">
|
||||||
<label for="username">Username</label>
|
<label for="username">Username</label>
|
||||||
<input type="text" id="username" required>
|
<input type="text" id="username" required>
|
||||||
@@ -40,11 +38,9 @@
|
|||||||
<p id="passwordError"></p>
|
<p id="passwordError"></p>
|
||||||
|
|
||||||
<button type="submit">Create</button>
|
<button type="submit">Create</button>
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
</div>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|||||||
@@ -8,9 +8,9 @@
|
|||||||
<body>
|
<body>
|
||||||
|
|
||||||
<header class="top-header">
|
<header class="top-header">
|
||||||
<img src="images/header_left.png" alt="Violin f-hole shape to the left of header." class="swirl">
|
<img th:src="@{images/header_left.png}" alt="Violin f-hole shape to the left of header." class="swirl">
|
||||||
<h1 class="site-name">Thyme Crunch</h1>
|
<h1 class="site-name">Thyme Crunch</h1>
|
||||||
<img src="images/header_right.png" alt="Violin f-hole shape to the right of header." class="swirl">
|
<img th:src="@{images/header_right.png}" alt="Violin f-hole shape to the right of header." class="swirl">
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|||||||
@@ -8,9 +8,9 @@
|
|||||||
<body>
|
<body>
|
||||||
|
|
||||||
<header class="top-header">
|
<header class="top-header">
|
||||||
<img src="images/header_left.png" alt="Violin f-hole shape to the left of header." class="swirl">
|
<img th:src="@{images/header_left.png}" alt="Violin f-hole shape to the left of header." class="swirl">
|
||||||
<h1 class="site-name">Thyme Crunch</h1>
|
<h1 class="site-name">Thyme Crunch</h1>
|
||||||
<img src="images/header_right.png" alt="Violin f-hole shape to the right of header." class="swirl">
|
<img th:src="@{images/header_right.png}" alt="Violin f-hole shape to the right of header." class="swirl">
|
||||||
|
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user