forked from rosa/hakurei
cmd/pkgserver: add noscript warning to test web UI
This commit is contained in:
@@ -7,6 +7,13 @@
|
|||||||
<title>PkgServer Tests</title>
|
<title>PkgServer Tests</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<noscript>
|
||||||
|
I hate JavaScript as much as you, but this page runs tests written in
|
||||||
|
JavaScript to test the functionality of code written in JavaScript, so it
|
||||||
|
wouldn't make sense for it to work without JavaScript. <strong>Please turn
|
||||||
|
JavaScript on!</strong>
|
||||||
|
</noscript>
|
||||||
|
|
||||||
<h1>PkgServer Tests</h1>
|
<h1>PkgServer Tests</h1>
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
|
|||||||
@@ -15,10 +15,14 @@ html {
|
|||||||
color: var(--fg);
|
color: var(--fg);
|
||||||
}
|
}
|
||||||
|
|
||||||
h1, p, summary {
|
h1, p, summary, noscript {
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
noscript {
|
||||||
|
font-size: 16pt;
|
||||||
|
}
|
||||||
|
|
||||||
.root {
|
.root {
|
||||||
margin: 1rem 0;
|
margin: 1rem 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user