Added environment variables APP_NAME and LOGO_PATH to make the application
branding configurable:
- APP_NAME (default: 'BalanceBoard'): Sets the application name
- LOGO_PATH (default: 'logo.png'): Sets the logo file path
Changes:
- Added configuration variables to app.py
- Updated logo serving route to support custom paths
- Added template context processor to inject APP_NAME
- Updated all templates to use {{ APP_NAME }} instead of hardcoded 'BalanceBoard'
- Updated navigation and branding to use configurable values
Users can now customize their installation by setting:
export APP_NAME="My Custom Board"
export LOGO_PATH="/path/to/my/logo.png"
Fixes #22
~claude
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
58 lines
1.7 KiB
HTML
58 lines
1.7 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Page Not Found - {{ APP_NAME }}</title>
|
|
<link rel="stylesheet" href="{{ url_for('serve_theme', filename='modern-card-ui/styles.css') }}">
|
|
<style>
|
|
.error-container {
|
|
max-width: 600px;
|
|
margin: 100px auto;
|
|
text-align: center;
|
|
padding: 40px;
|
|
}
|
|
.error-code {
|
|
font-size: 6rem;
|
|
font-weight: 700;
|
|
color: var(--primary-color);
|
|
margin-bottom: 20px;
|
|
}
|
|
.error-message {
|
|
font-size: 1.5rem;
|
|
color: var(--text-primary);
|
|
margin-bottom: 30px;
|
|
}
|
|
.error-description {
|
|
color: var(--text-secondary);
|
|
margin-bottom: 40px;
|
|
line-height: 1.6;
|
|
}
|
|
.btn-home {
|
|
display: inline-block;
|
|
padding: 12px 24px;
|
|
background: var(--primary-color);
|
|
color: white;
|
|
text-decoration: none;
|
|
border-radius: 8px;
|
|
font-weight: 500;
|
|
transition: background-color 0.2s;
|
|
}
|
|
.btn-home:hover {
|
|
background: var(--primary-hover);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="error-container">
|
|
<div class="error-code">404</div>
|
|
<h1 class="error-message">Page Not Found</h1>
|
|
<p class="error-description">
|
|
Sorry, the page you're looking for doesn't exist or has been moved.
|
|
The content you're trying to access might not be available yet.
|
|
</p>
|
|
<a href="{{ url_for('index') }}" class="btn-home">Go Home</a>
|
|
</div>
|
|
</body>
|
|
</html>
|