MVP done
This commit is contained in:
parent
c1729a629d
commit
ac53f04e0a
27 changed files with 3019 additions and 88 deletions
94
src/main/resources/templates/settings.html
Normal file
94
src/main/resources/templates/settings.html
Normal file
|
|
@ -0,0 +1,94 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en"
|
||||
xmlns:th="http://www.thymeleaf.org"
|
||||
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
|
||||
layout:decorate="~{layout}">
|
||||
|
||||
<head>
|
||||
<title>Settings</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div layout:fragment="content">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-8">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h4 class="mb-0">
|
||||
<i class="bi bi-gear"></i> Settings
|
||||
</h4>
|
||||
</div>
|
||||
<div class="card-body" id="settingsContent">
|
||||
<p class="text-muted">Settings page - Coming soon!</p>
|
||||
|
||||
<div class="list-group mt-4">
|
||||
<a href="/profile/edit" class="list-group-item list-group-item-action">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">
|
||||
<i class="bi bi-person"></i> Edit Profile
|
||||
</h5>
|
||||
<small><i class="bi bi-chevron-right"></i></small>
|
||||
</div>
|
||||
<p class="mb-1">Update your display name, bio, and avatar</p>
|
||||
</a>
|
||||
|
||||
<div class="list-group-item list-group-item-action disabled">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">
|
||||
<i class="bi bi-shield-lock"></i> Privacy Settings
|
||||
</h5>
|
||||
<small class="text-muted">Coming soon</small>
|
||||
</div>
|
||||
<p class="mb-1 text-muted">Manage your privacy and data preferences</p>
|
||||
</div>
|
||||
|
||||
<div class="list-group-item list-group-item-action disabled">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">
|
||||
<i class="bi bi-key"></i> Change Password
|
||||
</h5>
|
||||
<small class="text-muted">Coming soon</small>
|
||||
</div>
|
||||
<p class="mb-1 text-muted">Update your account password</p>
|
||||
</div>
|
||||
|
||||
<div class="list-group-item list-group-item-action disabled">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">
|
||||
<i class="bi bi-bell"></i> Notifications
|
||||
</h5>
|
||||
<small class="text-muted">Coming soon</small>
|
||||
</div>
|
||||
<p class="mb-1 text-muted">Configure notification preferences</p>
|
||||
</div>
|
||||
|
||||
<div class="list-group-item list-group-item-action disabled">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">
|
||||
<i class="bi bi-download"></i> Export Data
|
||||
</h5>
|
||||
<small class="text-muted">Coming soon</small>
|
||||
</div>
|
||||
<p class="mb-1 text-muted">Download your activities and data</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Custom Scripts -->
|
||||
<th:block layout:fragment="scripts">
|
||||
<script th:inline="javascript">
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
// Redirect to login if not authenticated
|
||||
if (!FitPubAuth.isAuthenticated()) {
|
||||
window.location.href = '/login';
|
||||
return;
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</th:block>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue