v0.16.0 924eaca

not-found.html RawHistoryFolder

1<!doctype html>
2<html lang="en">
3<head>
4<meta charset="utf-8">
5<meta name="viewport" content="width=device-width, initial-scale=1">
6<meta name="color-scheme" content="light dark">
7<title>404 · example.test</title>
8<link rel="icon" type="image/svg+xml" href="/-/static/img/icon.HASH.svg">
9<link rel="preload" href="/-/static/fonts/atkinson-next.HASH.woff2" as="font" type="font/woff2" crossorigin>
10<link rel="stylesheet" href="/-/static/css/ermite.HASH.css">
11<meta name="htmx-config" content='{"history":false,"includeIndicatorCSS":false,"extensions":"sse, hx-live"}'>
12<script src="/-/static/js/htmx.min.HASH.js" defer>
13</script>
14<script src="/-/static/js/hx-live.min.HASH.js" defer>
15</script>
16<script src="/-/static/js/hx-sse.min.HASH.js" defer>
17</script>
18<script src="/-/static/js/ermite.HASH.js" defer>
19</script>
20<script src="/-/static/js/files.HASH.js" defer>
21</script>
22<script src="/-/static/js/passkey.HASH.js" defer>
23</script>
24<script src="/-/static/js/log.HASH.js" defer>
25</script>
26</head>
27<body data-ref="" data-sha="" data-sel="" data-nav="">
28<a class="skip" href="#main">skip to content</a>
29<header class="hdr">
30<div class="hdr-top">
31<a class="brand" href="/" data-g="h" title="home (g h)">
32<span class="brand-mark" aria-hidden="true">
33</span>
34<span class="brand-name">example.test</span>
35</a>
36<nav class="crumbs" aria-label="Path">
37<ol>
38<li>
39<span aria-current="page">not found</span>
40</li>
41</ol>
42</nav>
43<div class="hdr-acts">
44<button type="button" class="btn search" data-js aria-haspopup="dialog" aria-controls="panel-cmd" aria-keyshortcuts="Control+K :" title="go to a section, ref, file or repo (ctrl k or :)" data-fire="cmd">
45<span class="ico i-search" aria-hidden="true">
46</span>
47<span class="search-label">Go to…</span>
48<kbd aria-hidden="true">ctrl k</kbd>
49</button>
50<button type="button" class="btn icon" data-js data-fire="help" aria-haspopup="dialog" aria-controls="panel-help" aria-keyshortcuts="?" aria-label="Keyboard shortcuts" title="keyboard shortcuts (?)">?</button>
51</div>
52</div>
53</header>
54<div class="work">
55<main id="main" tabindex="-1">
56<section class="state" aria-labelledby="state-title">
57<p class="eyebrow">404</p>
58<h1 id="state-title">not found</h1>
59<p class="dim">no such page, ref or path.</p>
60<p class="dim">check the URL, or start from the repo list.</p>
61<p class="state-back">
62<a href="/">home</a>
63</p>
64</section>
65</main>
66</div>
67<footer class="foot">
68<span>ermite devel</span>
69<a href="http://example.test/ermite" rel="noopener" title="source of this version (AGPL-3.0-or-later)">source</a>
70<span class="foot-keys">
71<kbd>?</kbd> keyboard shortcuts</span>
72</footer>
73<div class="hint" role="status" aria-live="polite">
74<span class="hint-nav" :text="document.body.dataset.nav || ''">
75</span>
76<span class="hint-sel" :text="document.body.dataset.sel ? document.body.dataset.sel + ' · y permalink' : ''">
77</span>
78<span class="hint-flash" :text="document.body.dataset.flash || ''">
79</span>
80</div>
81<dialog id="panel-help" class="panel modal" aria-label="Keyboard shortcuts" hx-on:keydown="event.key === 'Escape' && (event.preventDefault(), this.close())" hx-on:click="event.target === this && this.close()">
82<div class="panel-head">
83<h2>Keyboard shortcuts</h2>
84<button type="button" class="panel-x" aria-label="Close" hx-on:click="closest('dialog').close()">
85<kbd>esc</kbd> close</button>
86</div>
87<dl class="keys">
88<div>
89<dt>
90<kbd>ctrl k</kbd>
91<kbd>:</kbd>
92</dt>
93<dd>go to a section, branch, tag, file or repository</dd>
94</div>
95<div>
96<dt>
97<kbd>?</kbd>
98</dt>
99<dd>this list</dd>
100</div>
101<div>
102<dt>
103<kbd>j</kbd>
104<kbd>k</kbd>
105</dt>
106<dd>move the row cursor down / up</dd>
107</div>
108<div>
109<dt>
110<kbd>enter</kbd>
111</dt>
112<dd>open the row under the cursor</dd>
113</div>
114<div>
115<dt>
116<kbd>g g</kbd>
117<kbd>G</kbd>
118</dt>
119<dd>first / last row</dd>
120</div>
121<div>
122<dt>
123<kbd>/</kbd>
124</dt>
125<dd>filter the list; on Files, find a file in the repository</dd>
126</div>
127<div>
128<dt>
129<kbd>b</kbd>
130</dt>
131<dd>switch branch or tag</dd>
132</div>
133<div>
134<dt>
135<kbd>s</kbd>
136<kbd>t</kbd>
137<kbd>c</kbd>
138<kbd>r</kbd>
139<kbd>m</kbd>
140</dt>
141<dd>tabs: summary, files, commits, branches &amp; tags, merge requests</dd>
142</div>
143<div>
144<dt>
145<kbd>g h</kbd>
146</dt>
147<dd>home</dd>
148</div>
149<div>
150<dt>
151<kbd>y</kbd>
152</dt>
153<dd>copy a permalink pinned to the commit</dd>
154</div>
155<div>
156<dt>
157<kbd>d</kbd>
158<kbd>u</kbd>
159<kbd>x</kbd>
160</dt>
161<dd>diff: split / unified / collapse or expand all</dd>
162</div>
163<div>
164<dt>
165<kbd>n</kbd>
166</dt>
167<dd>merge request: next note in the diff</dd>
168</div>
169<div>
170<dt>
171<kbd>esc</kbd>
172</dt>
173<dd>close a dialog, leave a field</dd>
174</div>
175</dl>
176</dialog>
177<dialog id="panel-cmd" class="panel modal" aria-label="Go to" hx-on:close="ermiteFinder.paletteClose()" hx-on:keydown="event.key === 'Escape' && (event.preventDefault(), this.close())" hx-on:click="event.target === this && this.close()">
178<div class="panel-head">
179<label for="cmd-q" class="sr">go to</label>
180<input id="cmd-q" type="search" placeholder="Go to a section, branch, tag, file or repository…" autocomplete="off" spellcheck="false" aria-controls="cmd-list" hx-on:input="ermite.cmdFilter(this); ermiteFinder.palette(this)" hx-on:keydown="ermite.cmdKey(event)">
181<button type="button" class="panel-x" aria-label="Close" hx-on:click="closest('dialog').close()">
182<kbd>esc</kbd>
183</button>
184</div>
185<ul id="cmd-list" class="cmd-list" aria-label="Targets">
186<li data-k="go home" data-cursor>
187<a href="/" tabindex="-1">
188<span class="lbl">home</span>
189<span class="k">go</span>
190</a>
191</li>
192</ul>
193<p class="panel-foot">
194<span>
195<kbd>↑</kbd>
196<kbd>↓</kbd> move</span>
197<span>
198<kbd>enter</kbd> open</span>
199<span>
200<kbd>esc</kbd> close</span>
201</p>
202</dialog>
203<div id="keys" hidden hx-on="k-j from:body -> ermite.move(1);
204         k-k from:body -> ermite.move(-1);
205         k-top from:body -> ermite.edge(false);
206         k-bottom from:body -> ermite.edge(true);
207         k-open from:body -> ermite.open();
208         k-esc from:body -> ermite.closeDialogs();
209         k-help from:body -> ermite.dialog('panel-help');
210         k-refs from:body -> ermite.dialog('panel-refs', 'refs-filter');
211         k-cmd from:body -> ermite.dialog('panel-cmd', 'cmd-q'); ermiteFinder.load();
212         k-filter from:body -> ermite.focusFilter();
213         k-gh from:body -> ermite.go('.brand');
214         k-s from:body -> ermite.tab('s');
215         k-t from:body -> ermite.tab('t');
216         k-c from:body -> ermite.tab('c');
217         k-r from:body -> ermite.tab('r');
218         k-m from:body -> ermite.tab('m');
219         k-next from:body -> ermite.nextNote();
220         k-split from:body -> ermite.layout('split');
221         k-unified from:body -> ermite.layout('unified');
222         k-collapse from:body -> ermite.collapse();
223         k-permalink from:body -> ermite.permalink()">
224</div>
225</body>
226</html>

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 2

Tags 45

↑↓ moveenter openesc close