Back office in the website's style; People as record cards
The back office now looks like lannadesk.com: - Light theme as a printed letterhead (warm paper, navy ink, thin gold rules, a gold line across the top), and the default; the dark theme is the same navy and gold and stays a click away. - Trirong for headings and names, Sarabun for text: the website's fonts, self-hosted in static/fonts/ (latin and Thai subsets, OFL), since the CSP allows fonts from this origin only. - The header reads "Lanna Desk, back office"; primary buttons are navy on paper and gold on navy; corners are squarer. People are record cards, like the example record on the website: a monogram, the name in Trirong, nationality and province, the most urgent deadline's chip, the stay today, the next four dated deadlines with how far away they are, the passport and the employer. The filter works on the cards; "Table" shows the table as before (?view=table), and the switch keeps the employer and archive filters. Checks: fmt, clippy, 109 unit and 57 integration tests (the cards show the stay, the next dates and the monogram; the table view and the switch keep their filters); screenshots of People (light, dark, phone), a person, the deadlines and a client link.
This commit is contained in:
1 parent
39980694f6
commit
3d2d8fa30b
29 files changed
+496
-53
No files matched your search
@@ -8,6 +8,7 @@
|
||||
<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/fonts.css?v={{ v }}">
|
||||
<link rel="stylesheet" href="/static/app.css?v={{ v }}">
|
||||
<script src="/static/app.js?v={{ v }}" defer></script>
|
||||
</head>
|
||||
@@ -17,7 +18,7 @@
|
||||
<header class="top">
|
||||
{% if base %}<a class="brand" href="{{ base }}" aria-label="Your details, the start">{% else %}<span class="brand">{% endif %}
|
||||
{% include "_mark.html" %}
|
||||
<span class="nm">Lanna Desk</span><span class="sub">B4L</span>
|
||||
<span class="nm">Lanna Desk</span>
|
||||
{% if base %}</a>{% else %}</span>{% endif %}
|
||||
<button type="button" class="ib" id="themeBtn" aria-label="Switch between light and dark" title="Switch between light and dark">◐</button>
|
||||
</header>
|
||||
|
||||
Reference in new issue
Block a user