asw/packs/apache/autoindex-header.html
Ludo 86464f3e21
feat: legacy import — packs, examples, lab, themes, docs, lineage
Import from agentic-semantic-web/ into restructured repo:
- 7 packs (apache, caddy, flask, hugo, nginx, pandoc, python)
- shared error pages (403-503)
- 17 lab experiments (boilerplate, charts, misc)
- 31 example pages (charts, components, content, layout, vault)
- 2 themes (garden, trentuna stub)
- 4 docs (llms.txt, vocabulary, philosophy, agent-directive)
- lineage.md (Pico/Open Props/Charts.css history)
- Hugo mounts for lab/ and examples/

All agentic.css references updated to asw.css.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 16:57:39 +02:00

49 lines
1.5 KiB
HTML

<!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>