Files
woodburn/templates/index.html
Nathan Woodburn 5db23f0cd0
All checks were successful
Build Docker / BuildImage (push) Successful in 2m32s
Check Code Quality / RuffCheck (push) Successful in 2m38s
feat: Add nextcloud and immich api integration
2026-03-16 22:24:33 +11:00

55 lines
1.9 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Woodburn/</title>
<link rel="icon" href="/assets/img/favicon.png" type="image/png">
<link rel="stylesheet" href="/assets/css/index.css">
<script src="/assets/js/index.js" defer></script>
</head>
<body>
<div class="auth-status">
{% if user %}
<span>Hello, {{ user.preferred_username | title or user.name or user.email }}</span>
<a href="/logout" class="btn">Logout</a>
{% else %}
<a href="/login" class="btn">Login</a>
{% endif %}
</div>
<div class="centre">
<h1>Woodburn/</h1>
<span>{{ datetime }}</span>
</div>
<div class="container">
<h3 class="section-title">Services</h3>
<div class="services-grid">
{% for service in services.external %}
<a href="{{ service.url }}" class="service-card" target="_blank">
<img src="/services/external/{{ service.id }}.png" alt="{{ service.name }}" class="service-icon">
<h4 class="service-name">{{ service.name }}</h4>
<p class="service-desc">{{ service.description }}</p>
</a>
{% endfor %}
</div>
{% if user %}
<h3 class="section-title">Internal Services</h3>
<div class="services-grid">
{% for service in services.internal %}
<a href="{{ service.url }}" class="service-card" target="_blank" id="{{ service.id }}">
<img src="/services/internal/{{ service.id }}.png" alt="{{ service.name }}" class="service-icon">
<h4 class="service-name">{{ service.name }}</h4>
<p class="service-desc">{{ service.description }}</p>
</a>
{% endfor %}
</div>
{% endif %}
</div>
</body>
</html>