asw-v01: archive deferred content (packs, site, lab, legacy examples)
- 2.1: packs/ -> archive/packs/ - 2.2: site/ -> archive/site/ - 2.3: src/lab/ -> archive/lab/ - 2.4: examples/ -> archive/examples-legacy/ (SSI-based)
This commit is contained in:
parent
416fe2f180
commit
e47a9f4401
173 changed files with 11 additions and 5 deletions
49
archive/packs/apache/autoindex-header.html
Normal file
49
archive/packs/apache/autoindex-header.html
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="/asw/asw.css">
|
||||
<title>Directory Listing</title>
|
||||
<style>
|
||||
body { display: flex; flex-direction: column; min-height: 100vh; }
|
||||
main { flex: 1; padding: 2rem; max-width: 80ch; margin: 0 auto; width: 100%; }
|
||||
|
||||
/* Apache autoindex outputs a <table> — style it to match ASW */
|
||||
table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
font-family: var(--asw-font-mono);
|
||||
font-size: var(--asw-text-sm);
|
||||
}
|
||||
table th {
|
||||
text-align: left;
|
||||
padding: 0.5rem 0.75rem;
|
||||
border-bottom: 1px solid var(--asw-border);
|
||||
color: var(--asw-text-muted);
|
||||
font-weight: 500;
|
||||
font-size: var(--asw-text-xs);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.06em;
|
||||
}
|
||||
table td {
|
||||
padding: 0.4rem 0.75rem;
|
||||
border-bottom: 1px solid var(--asw-border-subtle);
|
||||
color: var(--asw-text-secondary);
|
||||
}
|
||||
table tr:hover td { background: var(--asw-bg-hover); }
|
||||
table td:first-child a {
|
||||
color: var(--asw-accent);
|
||||
text-decoration: none;
|
||||
}
|
||||
table td:first-child a:hover { text-decoration: underline; }
|
||||
/* parent directory link */
|
||||
table td img { display: none; } /* hide Apache's default icons */
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<nav>
|
||||
<ul><li><a href="/"><strong>Home</strong></a></li></ul>
|
||||
</nav>
|
||||
<main>
|
||||
<h1>Directory listing</h1>
|
||||
Loading…
Add table
Add a link
Reference in a new issue