1
0
forked from rosa/hakurei

2 Commits

Author SHA1 Message Date
Kat
2e7d16c1fb TODO: actually write tests lol 2026-03-24 02:55:37 +11:00
Kat
c15a47acab cmd/pkgserver: add noscript warning to test web UI 2026-03-24 02:55:37 +11:00
2 changed files with 12 additions and 1 deletions

View File

@@ -7,6 +7,13 @@
<title>PkgServer Tests</title>
</head>
<body>
<noscript>
I hate JavaScript as much as you, but this page runs tests written in
JavaScript to test the functionality of JavaScript, so it wouldn't make
sense for it to work without JavaScript. <strong>Please turn JavaScript
on!</strong>
</noscript>
<h1>PkgServer Tests</h1>
<main>

View File

@@ -15,10 +15,14 @@ html {
color: var(--fg);
}
h1, p, summary {
h1, p, summary, noscript {
font-family: sans-serif;
}
noscript {
font-size: 16pt;
}
.root {
margin: 1rem 0;
}