Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e5e30c977c |
No files matched your search
@@ -230,7 +230,7 @@ def notes(tag, sha, files):
|
|||||||
)
|
)
|
||||||
head = f"Changes since {prev}:" if prev else "Commits in this first release:"
|
head = f"Changes since {prev}:" if prev else "Commits in this first release:"
|
||||||
held = (
|
held = (
|
||||||
f"`{WEB}` holds the server `bin/visa`; cnx01 installs it as visa.buildfor.life only with "
|
f"`{WEB}` holds the server `bin/visa`; cnx01 installs it as lannadesk.com only with "
|
||||||
"its signature beside it (`release/allowed-signers`)."
|
"its signature beside it (`release/allowed-signers`)."
|
||||||
)
|
)
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -221,7 +221,7 @@ class ReleaseTest(unittest.TestCase):
|
|||||||
self.assertIn("Commits in this first release:", rel["body"])
|
self.assertIn("Commits in this first release:", rel["body"])
|
||||||
self.assertIn("- first commit (", rel["body"])
|
self.assertIn("- first commit (", rel["body"])
|
||||||
self.assertIn(release.hashlib.sha256(b"web").hexdigest(), rel["body"])
|
self.assertIn(release.hashlib.sha256(b"web").hexdigest(), rel["body"])
|
||||||
self.assertIn("cnx01 installs it as visa.buildfor.life only with its signature", rel["body"])
|
self.assertIn("cnx01 installs it as lannadesk.com only with its signature", rel["body"])
|
||||||
self.assertIn("| `visa-linux-x86_64.tar.gz.sig` | the server's signature", rel["body"])
|
self.assertIn("| `visa-linux-x86_64.tar.gz.sig` | the server's signature", rel["body"])
|
||||||
self.assertIn("November 16, 2026", rel["body"])
|
self.assertIn("November 16, 2026", rel["body"])
|
||||||
self.assertNotIn("ci-run", rel["body"])
|
self.assertNotIn("ci-run", rel["body"])
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Working on this repository (for agents and people)
|
# Working on this repository (for agents and people)
|
||||||
|
|
||||||
visa.buildfor.life holds passport data of real people. Read this file and
|
Lanna Desk (lannadesk.com, the app `visa`) holds passport data of real people. Read this file and
|
||||||
[docs/PLAN.md](docs/PLAN.md) before changing anything.
|
[docs/PLAN.md](docs/PLAN.md) before changing anything.
|
||||||
|
|
||||||
## Rules
|
## Rules
|
||||||
|
|||||||
+1
-1
@@ -3,7 +3,7 @@ name = "visa"
|
|||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
rust-version = "1.95"
|
rust-version = "1.95"
|
||||||
description = "visa.buildfor.life: immigration records, deadlines and extension packs for foreigners in Thailand"
|
description = "Lanna Desk (lannadesk.com): immigration records, deadlines and extension packs for foreigners in Thailand"
|
||||||
publish = false
|
publish = false
|
||||||
# Integration tests are one binary: tests/main.rs declares every tests/*.rs
|
# Integration tests are one binary: tests/main.rs declares every tests/*.rs
|
||||||
# as a module, so the suite links once.
|
# as a module, so the suite links once.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# visa.buildfor.life
|
# Lanna Desk (lannadesk.com)
|
||||||
|
|
||||||
visa.buildfor.life keeps the immigration records of the foreigners that B4L
|
Lanna Desk, the app `visa`, keeps the immigration records of the foreigners that B4L
|
||||||
looks after in Thailand: their passports, addresses and TM.30 receipts,
|
looks after in Thailand: their passports, addresses and TM.30 receipts,
|
||||||
visas, arrivals with the TDAC, extensions of stay, re-entry permits, 90-day
|
visas, arrivals with the TDAC, extensions of stay, re-entry permits, 90-day
|
||||||
reports and work permits, and the companies that employ them. From those
|
reports and work permits, and the companies that employ them. From those
|
||||||
@@ -137,7 +137,7 @@ files or systemd credentials and never from a variable's value.
|
|||||||
| Variable | Meaning |
|
| Variable | Meaning |
|
||||||
| -------------------------------- | --------------------------------------------------------------- |
|
| -------------------------------- | --------------------------------------------------------------- |
|
||||||
| `VISA_LISTEN` | address to listen on, default `127.0.0.1:8040` |
|
| `VISA_LISTEN` | address to listen on, default `127.0.0.1:8040` |
|
||||||
| `VISA_PUBLIC_URL` | `https://visa.buildfor.life`, for the login's redirect |
|
| `VISA_PUBLIC_URL` | `https://lannadesk.com`, for the login's redirect |
|
||||||
| `VISA_DATABASE_URL` | `postgres://visa@host/visa` |
|
| `VISA_DATABASE_URL` | `postgres://visa@host/visa` |
|
||||||
| `VISA_DATABASE_PASSWORD_FILE` | the role's password; else the credential `db-password` |
|
| `VISA_DATABASE_PASSWORD_FILE` | the role's password; else the credential `db-password` |
|
||||||
| `VISA_OIDC_ISSUER` | `https://id.cnx.network/oauth2/openid/visa-web` |
|
| `VISA_OIDC_ISSUER` | `https://id.cnx.network/oauth2/openid/visa-web` |
|
||||||
@@ -174,7 +174,8 @@ from that directory.
|
|||||||
Since November 17, 2026 the app runs on cnx01 in the office, like proplan and
|
Since November 17, 2026 the app runs on cnx01 in the office, like proplan and
|
||||||
lampbench-web: the database `visa` on cnx01's PostgreSQL, the documents in the
|
lampbench-web: the database `visa` on cnx01's PostgreSQL, the documents in the
|
||||||
bucket `visa-documents` of cnx01's Garage, backups by borg, and bkk01
|
bucket `visa-documents` of cnx01's Garage, backups by borg, and bkk01
|
||||||
publishing https://visa.buildfor.life. Passport data stays on B4L's own
|
publishing https://lannadesk.com (its first name, visa.buildfor.life,
|
||||||
|
redirects there with the path). Passport data stays on B4L's own
|
||||||
servers. The fleet's module is `modules/visa` in cnx-network-clan, with its
|
servers. The fleet's module is `modules/visa` in cnx-network-clan, with its
|
||||||
runbook in `docs/src/visa.md` there. Only members of the Kanidm group `visa`
|
runbook in `docs/src/visa.md` there. Only members of the Kanidm group `visa`
|
||||||
get in; members are set in the fleet's `identity/people.nix`.
|
get in; members are set in the fleet's `identity/people.nix`.
|
||||||
@@ -193,8 +194,8 @@ fake provider, adds a person and checks the audit log on the real
|
|||||||
PostgreSQL module.
|
PostgreSQL module.
|
||||||
|
|
||||||
Which commit runs: every page's footer names it, with a link to it, and
|
Which commit runs: every page's footer names it, with a link to it, and
|
||||||
https://visa.buildfor.life/version answers with the full hash, without a
|
https://lannadesk.com/version answers with the full hash, without a
|
||||||
login, so `curl https://visa.buildfor.life/version` tells whether a release
|
login, so `curl https://lannadesk.com/version` tells whether a release
|
||||||
is live, and `visa --version` prints the release and the commit. A Nix
|
is live, and `visa --version` prints the release and the commit. A Nix
|
||||||
build takes the commit from the flake's source, CI from `VISA_COMMIT`, a
|
build takes the commit from the flake's source, CI from `VISA_COMMIT`, a
|
||||||
build in a checkout from git.
|
build in a checkout from git.
|
||||||
+7
-4
@@ -1,4 +1,4 @@
|
|||||||
# visa.buildfor.life: plan
|
# Lanna Desk (lannadesk.com, the app visa): plan
|
||||||
|
|
||||||
> Phases 1 to 3 built on November 17, 2026, phases 4 and 5 on November 18,
|
> Phases 1 to 3 built on November 17, 2026, phases 4 and 5 on November 18,
|
||||||
> 2026, all live at https://visa.buildfor.life. On November 19, 2026 the move
|
> 2026, all live at https://visa.buildfor.life. On November 19, 2026 the move
|
||||||
@@ -9,9 +9,12 @@
|
|||||||
> 2026, the same day every push to main became a signed release that cnx01
|
> 2026, the same day every push to main became a signed release that cnx01
|
||||||
> installs by itself. Task 7.6, the agreements the client signs, followed the
|
> installs by itself. Task 7.6, the agreements the client signs, followed the
|
||||||
> same day; B4L's real text goes in under Agreements once the lawyers send
|
> same day; B4L's real text goes in under Agreements once the lawyers send
|
||||||
> it. **Resume here: phase 8, reminders.**
|
> it. On November 21, 2026 the app took the name Lanna Desk and moved to
|
||||||
|
> https://lannadesk.com, B4L's name for an agency that also takes on legal
|
||||||
|
> work and artists' contracts; visa.buildfor.life redirects there with the
|
||||||
|
> path. **Resume here: phase 8, reminders.**
|
||||||
|
|
||||||
visa.buildfor.life keeps the immigration records of the foreigners that B4L
|
Lanna Desk keeps the immigration records of the foreigners that B4L
|
||||||
looks after: their passports, addresses in Thailand, arrivals with the Thailand
|
looks after: their passports, addresses in Thailand, arrivals with the Thailand
|
||||||
Digital Arrival Card (TDAC), visas, extensions of stay, re-entry permits,
|
Digital Arrival Card (TDAC), visas, extensions of stay, re-entry permits,
|
||||||
90-day reports and work permits. From those records it works out every
|
90-day reports and work permits. From those records it works out every
|
||||||
@@ -33,7 +36,7 @@ The first round of questions was answered on November 17, 2026.
|
|||||||
| Where it runs | cnx01, installed on the host like proplan and lampbench: database `visa` on cnx01's PostgreSQL, documents in its Garage, encrypted by the app, borg backups to juliet |
|
| Where it runs | cnx01, installed on the host like proplan and lampbench: database `visa` on cnx01's PostgreSQL, documents in its Garage, encrypted by the app, borg backups to juliet |
|
||||||
| Releases (Nov 20) | as thukthuk and lampbench-web: every push to main that passes CI becomes a signed release (CalVer), which cnx01 fetches and restarts on within 15 minutes; no fleet PR per release |
|
| Releases (Nov 20) | as thukthuk and lampbench-web: every push to main that passes CI becomes a signed release (CalVer), which cnx01 fetches and restarts on within 15 minutes; no fleet PR per release |
|
||||||
| Documents in Garage | bucket `visa-documents` on cnx01's Garage, 10 GB (Nov 19, 2026); the app encrypts each file before it leaves the app, so Garage holds no key; Garage's SSE-C is off |
|
| Documents in Garage | bucket `visa-documents` on cnx01's Garage, 10 GB (Nov 19, 2026); the app encrypts each file before it leaves the app, so Garage holds no key; Garage's SSE-C is off |
|
||||||
| How it is published | bkk01 publishes `visa.buildfor.life` through a `modules/web-sites` app entry |
|
| How it is published | bkk01 publishes `lannadesk.com` through a `modules/web-sites` app entry; `visa.buildfor.life` redirects there |
|
||||||
| Login | Kanidm at id.cnx.network, OAuth2 client `visa-web`, group `visa` with grabowski and oltmanns |
|
| Login | Kanidm at id.cnx.network, OAuth2 client `visa-web`, group `visa` with grabowski and oltmanns |
|
||||||
| Who sees what | every member of `visa` sees and edits every record, as agency staff would; a view for clients comes later |
|
| Who sees what | every member of `visa` sees and edits every record, as agency staff would; a view for clients comes later |
|
||||||
| First extension pack | Non-B with a work permit, employer B4L, at Chiang Mai Immigration |
|
| First extension pack | Non-B with a work permit, employer B4L, at Chiang Mai Immigration |
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ pub struct Signed<'a> {
|
|||||||
pub record: &'a str,
|
pub record: &'a str,
|
||||||
/// "Nov 20, 2026, 14:05 (Chiang Mai time)"
|
/// "Nov 20, 2026, 14:05 (Chiang Mai time)"
|
||||||
pub at: &'a str,
|
pub at: &'a str,
|
||||||
/// "client link 12 at https://visa.buildfor.life"
|
/// "client link 12 at https://lannadesk.com"
|
||||||
pub through: &'a str,
|
pub through: &'a str,
|
||||||
pub ip: &'a str,
|
pub ip: &'a str,
|
||||||
pub user_agent: &'a str,
|
pub user_agent: &'a str,
|
||||||
@@ -267,7 +267,7 @@ pub fn render(s: &Signed<'_>, blocks: &[Block]) -> Result<Vec<u8>> {
|
|||||||
doc.set_metadata(
|
doc.set_metadata(
|
||||||
Metadata::new()
|
Metadata::new()
|
||||||
.title(format!("{}, version {}", s.title, s.version))
|
.title(format!("{}, version {}", s.title, s.version))
|
||||||
.creator("visa.buildfor.life".to_string()),
|
.creator("Lanna Desk (lannadesk.com)".to_string()),
|
||||||
);
|
);
|
||||||
for (i, ops) in l.pages.iter().enumerate() {
|
for (i, ops) in l.pages.iter().enumerate() {
|
||||||
let mut page = doc.start_page_with(PageSettings::from_wh(W, H).expect("A4"));
|
let mut page = doc.start_page_with(PageSettings::from_wh(W, H).expect("A4"));
|
||||||
|
|||||||
+1
-1
@@ -4,7 +4,7 @@
|
|||||||
//! | Variable | Meaning |
|
//! | Variable | Meaning |
|
||||||
//! | -------------------------------- | ------------------------------------------------ |
|
//! | -------------------------------- | ------------------------------------------------ |
|
||||||
//! | `VISA_LISTEN` | address to listen on, default 127.0.0.1:8040 |
|
//! | `VISA_LISTEN` | address to listen on, default 127.0.0.1:8040 |
|
||||||
//! | `VISA_PUBLIC_URL` | https://visa.buildfor.life (login redirects) |
|
//! | `VISA_PUBLIC_URL` | https://lannadesk.com (login redirects) |
|
||||||
//! | `VISA_DATABASE_URL` | postgres://user@host/db |
|
//! | `VISA_DATABASE_URL` | postgres://user@host/db |
|
||||||
//! | `VISA_DATABASE_PASSWORD_FILE` | the role's password (else credential `db-password`) |
|
//! | `VISA_DATABASE_PASSWORD_FILE` | the role's password (else credential `db-password`) |
|
||||||
//! | `VISA_OIDC_ISSUER` | https://id.cnx.network/oauth2/openid/visa-web |
|
//! | `VISA_OIDC_ISSUER` | https://id.cnx.network/oauth2/openid/visa-web |
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
//! visa.buildfor.life: immigration records, deadlines and extension packs
|
//! Lanna Desk (lannadesk.com): immigration records, deadlines and extension packs
|
||||||
//! for foreigners in Thailand (docs/PLAN.md).
|
//! for foreigners in Thailand (docs/PLAN.md).
|
||||||
|
|
||||||
pub mod agreements;
|
pub mod agreements;
|
||||||
|
|||||||
+1
-1
@@ -12,7 +12,7 @@ use visa::files::{self, Store};
|
|||||||
use visa::{dates, db, documents, seed, web};
|
use visa::{dates, db, documents, seed, web};
|
||||||
|
|
||||||
const USAGE: &str = "\
|
const USAGE: &str = "\
|
||||||
visa: immigration records, deadlines and extension packs (visa.buildfor.life)
|
visa: immigration records, deadlines and extension packs (Lanna Desk, lannadesk.com)
|
||||||
|
|
||||||
Usage: visa [COMMAND]
|
Usage: visa [COMMAND]
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -334,7 +334,7 @@ fn build(
|
|||||||
doc.set_metadata(
|
doc.set_metadata(
|
||||||
Metadata::new()
|
Metadata::new()
|
||||||
.title(cover.title.clone())
|
.title(cover.title.clone())
|
||||||
.creator("visa.buildfor.life".to_string()),
|
.creator("Lanna Desk (lannadesk.com)".to_string()),
|
||||||
);
|
);
|
||||||
let top = |page: usize| XyzDestination::new(page, Point::from_xy(0.0, 0.0));
|
let top = |page: usize| XyzDestination::new(page, Point::from_xy(0.0, 0.0));
|
||||||
let mut outline = Outline::new();
|
let mut outline = Outline::new();
|
||||||
|
|||||||
+1
-1
@@ -461,7 +461,7 @@ pub fn render(papers: &[Paper], v: &Values, title: &str) -> Result<Vec<u8>> {
|
|||||||
doc.set_metadata(
|
doc.set_metadata(
|
||||||
Metadata::new()
|
Metadata::new()
|
||||||
.title(title.to_string())
|
.title(title.to_string())
|
||||||
.creator("visa.buildfor.life".to_string()),
|
.creator("Lanna Desk (lannadesk.com)".to_string()),
|
||||||
);
|
);
|
||||||
for &paper in papers {
|
for &paper in papers {
|
||||||
add_form(&mut doc, &pen, paper, v)?;
|
add_form(&mut doc, &pen, paper, v)?;
|
||||||
|
|||||||
+2
-2
@@ -15,8 +15,8 @@ use sqlx::PgPool;
|
|||||||
|
|
||||||
use crate::oidc::random_token;
|
use crate::oidc::random_token;
|
||||||
|
|
||||||
/// `__Host-`: Secure, Path=/ and no Domain, so no other name under
|
/// `__Host-`: Secure, Path=/ and no Domain, so no other name under the
|
||||||
/// buildfor.life can set or read it.
|
/// app's domain can set or read it.
|
||||||
pub const SESSION_COOKIE: &str = "__Host-visa";
|
pub const SESSION_COOKIE: &str = "__Host-visa";
|
||||||
/// Binds a login in progress to the browser that started it.
|
/// Binds a login in progress to the browser that started it.
|
||||||
pub const FLOW_COOKIE: &str = "__Host-visa-login";
|
pub const FLOW_COOKIE: &str = "__Host-visa-login";
|
||||||
|
|||||||
+2
-2
@@ -38,7 +38,7 @@ pub async fn login(
|
|||||||
&st,
|
&st,
|
||||||
StatusCode::SERVICE_UNAVAILABLE,
|
StatusCode::SERVICE_UNAVAILABLE,
|
||||||
"The login service is not reachable yet",
|
"The login service is not reachable yet",
|
||||||
"visa.buildfor.life fetches id.cnx.network's settings when it starts and keeps \
|
"Lanna Desk fetches id.cnx.network's settings when it starts and keeps \
|
||||||
trying. Try again in a minute.",
|
trying. Try again in a minute.",
|
||||||
("/", "Try again"),
|
("/", "Try again"),
|
||||||
);
|
);
|
||||||
@@ -247,7 +247,7 @@ pub async fn signed_out(State(st): State<Arc<AppState>>) -> Response {
|
|||||||
&st,
|
&st,
|
||||||
StatusCode::OK,
|
StatusCode::OK,
|
||||||
"Signed out",
|
"Signed out",
|
||||||
"You are signed out of visa.buildfor.life. Your session at id.cnx.network stays open \
|
"You are signed out of Lanna Desk. Your session at id.cnx.network stays open \
|
||||||
until you sign out there.",
|
until you sign out there.",
|
||||||
("/", "Sign in again"),
|
("/", "Sign in again"),
|
||||||
)
|
)
|
||||||
|
|||||||
+1
-1
@@ -454,7 +454,7 @@ async fn forms_guard(State(st): State<Arc<AppState>>, req: Request, next: Next)
|
|||||||
&st,
|
&st,
|
||||||
StatusCode::FORBIDDEN,
|
StatusCode::FORBIDDEN,
|
||||||
"Refused",
|
"Refused",
|
||||||
"This form was sent from another site. Open visa.buildfor.life and try again there.",
|
"This form was sent from another site. Open lannadesk.com and try again there.",
|
||||||
("/", "Open the app"),
|
("/", "Open the app"),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -276,7 +276,7 @@ pub async fn pdf(
|
|||||||
person: whose.clone(),
|
person: whose.clone(),
|
||||||
lines,
|
lines,
|
||||||
made: format!(
|
made: format!(
|
||||||
"Put together by visa.buildfor.life for {} on {}.",
|
"Put together by Lanna Desk (lannadesk.com) for {} on {}.",
|
||||||
user.login,
|
user.login,
|
||||||
dates::fmt_datetime(Utc::now())
|
dates::fmt_datetime(Utc::now())
|
||||||
),
|
),
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
/* visa.buildfor.life: the buildfor.life colors, navy #071323 and gold
|
/* Lanna Desk (lannadesk.com): the buildfor.life colors, navy #071323 and gold
|
||||||
#f5c000, with tints of both. Status colors (--ok, --warn, --bad) appear
|
#f5c000, with tints of both. Status colors (--ok, --warn, --bad) appear
|
||||||
only on chips and notes that carry a text label. No inline styles: the
|
only on chips and notes that carry a text label. No inline styles: the
|
||||||
Content Security Policy allows none. */
|
Content Security Policy allows none. */
|
||||||
|
|||||||
+4
-4
@@ -4,7 +4,7 @@
|
|||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<meta name="robots" content="noindex,nofollow">
|
<meta name="robots" content="noindex,nofollow">
|
||||||
<title>{{ title }} · visa.buildfor.life</title>
|
<title>{{ title }} · Lanna Desk</title>
|
||||||
<script src="/static/theme-init.js?v={{ v }}"></script>
|
<script src="/static/theme-init.js?v={{ v }}"></script>
|
||||||
<link rel="icon" href="/static/favicon.svg?v={{ v }}" type="image/svg+xml">
|
<link rel="icon" href="/static/favicon.svg?v={{ v }}" type="image/svg+xml">
|
||||||
<link rel="stylesheet" href="/static/app.css?v={{ v }}">
|
<link rel="stylesheet" href="/static/app.css?v={{ v }}">
|
||||||
@@ -12,9 +12,9 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header class="top">
|
<header class="top">
|
||||||
<a class="brand" href="/" aria-label="visa.buildfor.life, the deadlines">
|
<a class="brand" href="/" aria-label="Lanna Desk, the deadlines">
|
||||||
{% include "_mark.html" %}
|
{% include "_mark.html" %}
|
||||||
<span class="nm">Visa</span><span class="sub">buildfor.life</span>
|
<span class="nm">Lanna Desk</span><span class="sub">B4L</span>
|
||||||
</a>
|
</a>
|
||||||
<button type="button" class="ib" id="themeBtn" aria-label="Switch between light and dark" title="Switch between light and dark">◐</button>
|
<button type="button" class="ib" id="themeBtn" aria-label="Switch between light and dark" title="Switch between light and dark">◐</button>
|
||||||
</header>
|
</header>
|
||||||
@@ -42,7 +42,7 @@
|
|||||||
</aside>
|
</aside>
|
||||||
<main id="main">
|
<main id="main">
|
||||||
{% block main %}{% endblock %}
|
{% block main %}{% endblock %}
|
||||||
<footer class="ft">visa.buildfor.life {{ 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>
|
<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>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<meta name="robots" content="noindex,nofollow">
|
<meta name="robots" content="noindex,nofollow">
|
||||||
<meta name="referrer" content="no-referrer">
|
<meta name="referrer" content="no-referrer">
|
||||||
<title>{{ title }} · B4L</title>
|
<title>{{ title }} · Lanna Desk</title>
|
||||||
<script src="/static/theme-init.js?v={{ v }}"></script>
|
<script src="/static/theme-init.js?v={{ v }}"></script>
|
||||||
<link rel="icon" href="/static/favicon.svg?v={{ v }}" type="image/svg+xml">
|
<link rel="icon" href="/static/favicon.svg?v={{ v }}" type="image/svg+xml">
|
||||||
<link rel="stylesheet" href="/static/app.css?v={{ v }}">
|
<link rel="stylesheet" href="/static/app.css?v={{ v }}">
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
<header class="top">
|
<header class="top">
|
||||||
{% if base %}<a class="brand" href="{{ base }}" aria-label="Your details, the start">{% else %}<span class="brand">{% endif %}
|
{% if base %}<a class="brand" href="{{ base }}" aria-label="Your details, the start">{% else %}<span class="brand">{% endif %}
|
||||||
{% include "_mark.html" %}
|
{% include "_mark.html" %}
|
||||||
<span class="nm">Visa</span><span class="sub">B4L</span>
|
<span class="nm">Lanna Desk</span><span class="sub">B4L</span>
|
||||||
{% if base %}</a>{% else %}</span>{% endif %}
|
{% 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>
|
<button type="button" class="ib" id="themeBtn" aria-label="Switch between light and dark" title="Switch between light and dark">◐</button>
|
||||||
</header>
|
</header>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<meta name="robots" content="noindex,nofollow">
|
<meta name="robots" content="noindex,nofollow">
|
||||||
<title>{{ title }} · visa.buildfor.life</title>
|
<title>{{ title }} · Lanna Desk</title>
|
||||||
<script src="/static/theme-init.js?v={{ v }}"></script>
|
<script src="/static/theme-init.js?v={{ v }}"></script>
|
||||||
<link rel="icon" href="/static/favicon.svg?v={{ v }}" type="image/svg+xml">
|
<link rel="icon" href="/static/favicon.svg?v={{ v }}" type="image/svg+xml">
|
||||||
<link rel="stylesheet" href="/static/app.css?v={{ v }}">
|
<link rel="stylesheet" href="/static/app.css?v={{ v }}">
|
||||||
@@ -12,12 +12,12 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header class="top">
|
<header class="top">
|
||||||
<a class="brand" href="/">{% include "_mark.html" %}<span class="nm">Visa</span><span class="sub">buildfor.life</span></a>
|
<a class="brand" href="/">{% 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>
|
<button type="button" class="ib" id="themeBtn" aria-label="Switch between light and dark" title="Switch between light and dark">◐</button>
|
||||||
</header>
|
</header>
|
||||||
<main class="solo">
|
<main class="solo">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="eyebrow">visa.buildfor.life</div>
|
<div class="eyebrow">Lanna Desk</div>
|
||||||
<h1>{{ title }}</h1>
|
<h1>{{ title }}</h1>
|
||||||
<p>{{ text }}</p>
|
<p>{{ text }}</p>
|
||||||
<p><a class="btn pri" href="{{ href }}">{{ link }}</a></p>
|
<p><a class="btn pri" href="{{ href }}">{{ link }}</a></p>
|
||||||
|
|||||||
Reference in new issue
Block a user