summaryrefslogtreecommitdiff
path: root/web/static/catalog.html
blob: 21606128c94a8ae76fe08c4c2bdfbfe8841112da (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!doctype html>
<html lang="en"><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<title>9web · local sites</title>
<style>
:root{color-scheme:light dark;font:16px/1.5 system-ui;background:#151917;color:#e3e9df}body{max-width:1100px;margin:3rem auto;padding:0 1.5rem}h1{font-size:2.5rem;margin-bottom:0}a{color:#b8dfa6}header p{color:#aab8a6}.sites{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:1rem}article{background:#212922;border:1px solid #3c4b3c;border-radius:10px;padding:1.2rem}article h2{margin:0 0 .6rem;font-size:1.3rem}code,pre{font:13px/1.5 monospace;overflow-wrap:anywhere}button{background:#324631;color:inherit;border:1px solid #61765a;border-radius:5px;padding:.4rem .7rem;cursor:pointer;margin:.4rem .3rem .1rem 0}button:disabled{opacity:.4}table{width:100%;border-collapse:collapse}td,th{text-align:left;border-bottom:1px solid #354234;padding:.6rem;overflow-wrap:anywhere}th{color:#aab8a6}pre{max-height:35rem;overflow:auto;background:#101410;padding:1rem;white-space:pre-wrap}small{color:#aab8a6}.error{color:#ffb4a9}.toolbar{display:flex;gap:1rem;align-items:center}dialog{width:min(850px,85vw);background:#212922;color:inherit;border:1px solid #61765a}#message{min-height:1.5em}details{margin-top:1.5rem}@media(max-width:650px){td,th{padding:.4rem;font-size:13px}.process{display:none}}
</style>
<header><h1>9web</h1><p>Local sites, builds, and listening services.</p></header>
<p id="message" role="status"></p><main><div id="sites" class="sites"></div>
<div class="toolbar"><h2>HTTP services</h2><a href="/fs/">9P tree</a></div>
<p><small>Identified from socket ownership and process arguments. No endpoint probing. Loopback links work only on this computer.</small></p>
<table><thead><tr><th>Service</th><th>Address</th><th class="process">Process</th><th>Evidence</th></tr></thead><tbody id="services"></tbody></table>
<details><summary id="unknown-title">Other listeners</summary><table><tbody id="unknown"></tbody></table></details></main>
<dialog id="logs"><button id="close-log">Close</button><h2 id="log-title"></h2><pre id="log-text"></pre></dialog>
<script src="/_cloud9/catalog.js"></script></html>