The header (staff pages, messages and the client link), page titles, footer, messages, the pack's cover line and the PDFs' creator now say Lanna Desk (lannadesk.com) instead of visa.buildfor.life. The company named in the client's texts and agreements stays B4L. Nothing depends on the name the app is reached under: VISA_PUBLIC_URL comes from the fleet, which moves it to https://lannadesk.com and redirects visa.buildfor.life there with the path, so links already sent keep working. README, AGENTS, PLAN and the release notes name the new address. Checks: fmt, clippy, 108 unit and 57 integration tests; the header at 360 and 390 px and on a desktop.
50 lines
2.3 KiB
HTML
50 lines
2.3 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta name="robots" content="noindex,nofollow">
|
|
<title>{{ title }} · Lanna Desk</title>
|
|
<script src="/static/theme-init.js?v={{ v }}"></script>
|
|
<link rel="icon" href="/static/favicon.svg?v={{ v }}" type="image/svg+xml">
|
|
<link rel="stylesheet" href="/static/app.css?v={{ v }}">
|
|
<script src="/static/app.js?v={{ v }}" defer></script>
|
|
</head>
|
|
<body>
|
|
<header class="top">
|
|
<a class="brand" href="/" aria-label="Lanna Desk, the deadlines">
|
|
{% include "_mark.html" %}
|
|
<span class="nm">Lanna Desk</span><span class="sub">B4L</span>
|
|
</a>
|
|
<button type="button" class="ib" id="themeBtn" aria-label="Switch between light and dark" title="Switch between light and dark">◐</button>
|
|
</header>
|
|
<div class="app">
|
|
<aside class="side">
|
|
<nav class="nav" aria-label="Sections">
|
|
<a href="/"{% if nav == "deadlines" %} class="on" aria-current="page"{% endif %}>Deadlines</a>
|
|
<a href="/people"{% if nav == "people" %} class="on" aria-current="page"{% endif %}>People</a>
|
|
<a href="/companies"{% if nav == "companies" %} class="on" aria-current="page"{% endif %}>Companies</a>
|
|
<a href="/agreements"{% if nav == "agreements" %} class="on" aria-current="page"{% endif %}>Agreements</a>
|
|
<a href="/activity"{% if nav == "activity" %} class="on" aria-current="page"{% endif %}>Activity</a>
|
|
</nav>
|
|
<div class="who">
|
|
{% if user.local %}
|
|
<span class="k">Local development</span>
|
|
<b>No login</b>
|
|
<p>VISA_INSECURE_NO_LOGIN is set; this only runs on a loopback address.</p>
|
|
{% else %}
|
|
<span class="k">Signed in as</span>
|
|
<b>{{ user.name }}</b>
|
|
<p>{{ user.login }} at id.cnx.network</p>
|
|
<form method="post" action="/logout" class="inline-form"><input type="hidden" name="csrf" value="{{ csrf }}"><button type="submit" class="btn sm ghost">Sign out</button></form>
|
|
{% endif %}
|
|
</div>
|
|
</aside>
|
|
<main id="main">
|
|
{% block main %}{% endblock %}
|
|
<footer class="ft">Lanna Desk {{ version }}{% if commit %}, commit {% if commit_url %}<a href="{{ commit_url }}">{{ commit }}</a>{% else %}{{ commit }}{% endif %}{% endif %}. Every view and change of a person's record is written to the Activity log. Dates are in Chiang Mai time.</footer>
|
|
</main>
|
|
</div>
|
|
</body>
|
|
</html>
|