blob: c392e65ecef1c75e7037d4b7eb5c122f01080b4e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
|
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>9web — files</title>
<link rel="stylesheet" href="/_cloud9/style.css">
<script type="module" src="/_cloud9/app.mjs"></script>
</head>
<body>
<header>
<a class="brand" href="/" data-path="/">9web</a>
<div class="description">A web interface to your file server.</div>
</header>
<nav class="toolbar" id="views" aria-label="Views">
<a class="selected" id="view-files" href="/" data-view="files" aria-current="page">files</a>
<a id="view-sites" href="/?view=sites" data-view="sites" hidden>sites</a>
<a id="view-services" href="/?view=services" data-view="services" hidden>services</a>
</nav>
<div id="files-view">
<nav class="toolbar file-tools" aria-label="File actions">
<button id="reload" type="button">reload</button>
<button id="newfile" type="button">new file</button>
<button id="newdir" type="button">new folder</button>
<button id="rename" type="button">rename</button>
<button id="delete" type="button">delete</button>
<button id="upload" type="button">upload</button>
<input id="upload-input" type="file" hidden>
<form id="path-form">
<label for="path">path</label>
<input id="path" name="path" value="/" aria-label="Path" autocomplete="off" spellcheck="false">
<button id="go">go</button>
</form>
</nav>
<div class="layout">
<main>
<nav id="breadcrumbs" aria-label="Breadcrumb"><a href="/" data-path="/">root</a></nav>
<div class="summary">
<p id="status" role="status" aria-live="polite">Loading files…</p>
<a id="up" href="/" data-path="/" hidden>parent directory</a>
</div>
<section id="directory" aria-label="Directory">
<table>
<thead><tr><th scope="col">Mode</th><th scope="col">Name</th><th scope="col" class="size">Size</th></tr></thead>
<tbody id="entries"></tbody>
</table>
<p id="empty" hidden>This directory is empty.</p>
</section>
<section id="file" hidden>
<div class="file-heading">
<h1 id="filename"></h1>
<span id="file-mode"></span><span id="file-size"></span>
<button id="follow" type="button">follow</button>
<button id="download" type="button">download</button>
</div>
<textarea id="editor" aria-label="File contents" spellcheck="false"></textarea>
<pre id="stream" hidden aria-label="Live stream"></pre>
<p id="binary" hidden>Binary file. Download to view its contents.</p>
<div id="edit-actions" class="actions">
<button id="save" type="button">save changes</button>
<span id="edit-status">No unsaved changes.</span>
</div>
</section>
<section id="stat-panel" aria-label="Stat" hidden>
<h2>stat</h2>
<dl id="stat"></dl>
</section>
</main>
</div>
</div>
<main id="sites-view" class="catalog-view" aria-label="Sites" hidden>
<div class="summary">
<p id="sites-status" role="status" aria-live="polite">Loading sites…</p>
<button id="sites-reload" type="button">reload</button>
</div>
<div class="table-scroll">
<table>
<thead><tr><th scope="col">Site</th><th scope="col">Status</th><th scope="col">Last build</th><th scope="col">Actions</th></tr></thead>
<tbody id="sites-entries"></tbody>
</table>
</div>
<p id="sites-empty" class="muted" hidden>No sites configured.</p>
</main>
<main id="services-view" class="catalog-view" aria-label="Services" hidden>
<div class="summary">
<p id="services-status" role="status" aria-live="polite">Loading services…</p>
<button id="services-reload" type="button">reload</button>
</div>
<p class="muted">Listeners identified from process metadata, without endpoint probes. Local-only links work on this computer.</p>
<div class="table-scroll">
<table>
<thead><tr><th scope="col">Service</th><th scope="col">Address</th><th scope="col">Process</th><th scope="col">Evidence</th></tr></thead>
<tbody id="services-entries"></tbody>
</table>
</div>
<p id="services-empty" class="muted" hidden>No HTTP services identified.</p>
<details id="other-listeners">
<summary id="other-listeners-title">Other listeners</summary>
<div class="table-scroll"><table>
<thead><tr><th scope="col">Process</th><th scope="col">Address</th><th scope="col">PID</th><th scope="col">Evidence</th></tr></thead>
<tbody id="other-listeners-entries"></tbody>
</table></div>
</details>
</main>
<footer>served by 9web</footer>
</body>
</html>
|