56 lines
2.0 KiB
HTML
56 lines
2.0 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>
|
|
<script defer src="https://umami.woodburn.au/script.js" data-website-id="6dbfb2ba-48f6-4758-988f-4fab40645d34"></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>
|