Cosmetic changes.

This commit is contained in:
etc404
2026-03-11 19:21:29 -06:00
parent 0a593c0491
commit 738c6970dd
5 changed files with 37 additions and 41 deletions
@@ -18,7 +18,7 @@ public class SecurityConfig {
public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception {
http
.authorizeHttpRequests(auth -> auth
.requestMatchers("/login", "/register", "/css/**").permitAll()
.requestMatchers("/login", "/register", "/css/**", "/images/**").permitAll()
.anyRequest().authenticated()
)
.formLogin(form -> form
@@ -74,7 +74,7 @@ body, html {
}
.login-box rows {
.login-box .rows {
display: flex;
gap: 10px;
align-items: center;
@@ -1,50 +1,46 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Create Thyme Crunch Account</title>
<link rel="stylesheet" th:href="@{css/create-account.css}">
<meta charset="UTF-8">
<title>Create Thyme Crunch Account</title>
<link rel="stylesheet" th:href="@{css/create-account.css}">
</head>
<body>
<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>
<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 class="main-content">
<div class="login-box">
<!-- Main Content -->
<main class="main-content">
<div class="login-box">
<h2>Create Account</h2>
<form id="createUserForm">
<form id="createUserForm">
<div class="rows">
<label for="username">Username</label>
<input type="text" id="username" required>
</div>
<div class="rows">
<label for="email">Email</label>
<input type="email" id="email" required>
</div>
<div class="rows">
<label for="password">Password</label>
<input type="password" id="password" required>
</div>
<div class="rows">
<label for="confirmPassword">Confirm Password</label>
<input type="password" id="confirmPassword" required>
</div>
<p id="passwordError"></p>
<div class="rows">
<label for="username">Username</label>
<input type="text" id="username" required>
</div>
<div class="rows">
<label for="email">Email</label>
<input type="email" id="email" required>
</div>
<div class="rows">
<label for="password">Password</label>
<input type="password" id="password" required>
</div>
<div class="rows">
<label for="confirmPassword">Confirm Password</label>
<input type="password" id="confirmPassword" required>
</div>
<p id="passwordError"></p>
<button type="submit">Create</button>
</form>
</div>
</main>
</div>
<button type="submit">Create</button>
</form>
</div>
</main>
</body>
</html>
+2 -2
View File
@@ -8,9 +8,9 @@
<body>
<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>
<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>
<div class="container">
+2 -2
View File
@@ -8,9 +8,9 @@
<body>
<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>
<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>