v0.16.0 924eaca

home.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>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<div class="hdr-acts">
37<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">
38<span class="ico i-search" aria-hidden="true">
39</span>
40<span class="search-label">Go to…</span>
41<kbd aria-hidden="true">ctrl k</kbd>
42</button>
43<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>
44</div>
45</div>
46</header>
47<div class="work">
48<main id="main" tabindex="-1">
49<div class="filter">
50<label for="home-filter" class="sr">filter</label>
51<input id="home-filter" type="search" data-filter="#repo-rows > tr" placeholder="Filter repositories…" autocomplete="off" hx-on:input="ermite.filter(this)">
52</div>
53<table class="list home" aria-label="Repositories">
54<thead>
55<tr>
56<th class="cur">
57</th>
58<th class="c-name" aria-sort="none">
59<a href="/?sort=name&amp;dir=asc">name </a>
60</th>
61<th class="c-desc" aria-sort="none">
62<a href="/?sort=desc&amp;dir=asc">description </a>
63</th>
64<th class="c-when" aria-sort="descending">
65<a href="/?sort=push&amp;dir=asc">last push <span aria-hidden="true">▼</span>
66</a>
67</th>
68<th class="c-ref" aria-sort="none">
69<a href="/?sort=branch&amp;dir=asc">branch </a>
70</th>
71</tr>
72</thead>
73<tbody id="repo-rows" data-rows>
74<tr id="repo-demo" data-cursor>
75<td class="cur" aria-hidden="true">
76</td>
77<td class="c-name">
78<a href="/demo">demo</a>
79</td>
80<td class="c-desc dim">A demo repository</td>
81<td class="c-when nowrap">
82<time datetime="STAMP">AGO</time>
83</td>
84<td class="c-ref">main</td>
85</tr>
86<tr id="repo-quiet">
87<td class="cur" aria-hidden="true">
88</td>
89<td class="c-name">
90<a href="/quiet">quiet</a>
91</td>
92<td class="c-desc dim">
93</td>
94<td class="c-when nowrap">
95<time>never</time>
96</td>
97<td class="c-ref">main</td>
98</tr>
99</tbody>
100</table>
101</main>
102</div>
103<footer class="foot">
104<span>ermite devel</span>
105<a href="http://example.test/ermite" rel="noopener" title="source of this version (AGPL-3.0-or-later)">source</a>
106<span class="foot-keys">
107<kbd>?</kbd> keyboard shortcuts</span>
108</footer>
109<div class="hint" role="status" aria-live="polite">
110<span class="hint-nav" :text="document.body.dataset.nav || ''">
111</span>
112<span class="hint-sel" :text="document.body.dataset.sel ? document.body.dataset.sel + ' · y permalink' : ''">
113</span>
114<span class="hint-flash" :text="document.body.dataset.flash || ''">
115</span>
116<span class="hint-live" data-state="connecting" hx-sse:connect="/-/events?topic=home" hx-swap="none" :text="data.state === 'offline' ? 'live updates paused' : ''" hx-on="htmx:sse:after:connection -> data.state = 'live';
117           htmx:sse:close, htmx:sse:error -> data.state = 'offline';
118           htmx:sse:error -> ermiteLive.error(event.detail.status);
119           htmx:sse:before:connection -> ermiteLive.gate(event);
120           home-list, repo-last-push, refs-list, commits-head, mr-notice, ci-run, ci-job -> ermiteLive.swap(event.detail.data);
121           gap -> ermiteLive.reload()">
122</span>
123</div>
124<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()">
125<div class="panel-head">
126<h2>Keyboard shortcuts</h2>
127<button type="button" class="panel-x" aria-label="Close" hx-on:click="closest('dialog').close()">
128<kbd>esc</kbd> close</button>
129</div>
130<dl class="keys">
131<div>
132<dt>
133<kbd>ctrl k</kbd>
134<kbd>:</kbd>
135</dt>
136<dd>go to a section, branch, tag, file or repository</dd>
137</div>
138<div>
139<dt>
140<kbd>?</kbd>
141</dt>
142<dd>this list</dd>
143</div>
144<div>
145<dt>
146<kbd>j</kbd>
147<kbd>k</kbd>
148</dt>
149<dd>move the row cursor down / up</dd>
150</div>
151<div>
152<dt>
153<kbd>enter</kbd>
154</dt>
155<dd>open the row under the cursor</dd>
156</div>
157<div>
158<dt>
159<kbd>g g</kbd>
160<kbd>G</kbd>
161</dt>
162<dd>first / last row</dd>
163</div>
164<div>
165<dt>
166<kbd>/</kbd>
167</dt>
168<dd>filter the list; on Files, find a file in the repository</dd>
169</div>
170<div>
171<dt>
172<kbd>b</kbd>
173</dt>
174<dd>switch branch or tag</dd>
175</div>
176<div>
177<dt>
178<kbd>s</kbd>
179<kbd>t</kbd>
180<kbd>c</kbd>
181<kbd>r</kbd>
182<kbd>m</kbd>
183</dt>
184<dd>tabs: summary, files, commits, branches &amp; tags, merge requests</dd>
185</div>
186<div>
187<dt>
188<kbd>g h</kbd>
189</dt>
190<dd>home</dd>
191</div>
192<div>
193<dt>
194<kbd>y</kbd>
195</dt>
196<dd>copy a permalink pinned to the commit</dd>
197</div>
198<div>
199<dt>
200<kbd>d</kbd>
201<kbd>u</kbd>
202<kbd>x</kbd>
203</dt>
204<dd>diff: split / unified / collapse or expand all</dd>
205</div>
206<div>
207<dt>
208<kbd>n</kbd>
209</dt>
210<dd>merge request: next note in the diff</dd>
211</div>
212<div>
213<dt>
214<kbd>esc</kbd>
215</dt>
216<dd>close a dialog, leave a field</dd>
217</div>
218</dl>
219</dialog>
220<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()">
221<div class="panel-head">
222<label for="cmd-q" class="sr">go to</label>
223<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)">
224<button type="button" class="panel-x" aria-label="Close" hx-on:click="closest('dialog').close()">
225<kbd>esc</kbd>
226</button>
227</div>
228<ul id="cmd-list" class="cmd-list" aria-label="Targets">
229<li data-k="go home" data-cursor>
230<a href="/" tabindex="-1">
231<span class="lbl">home</span>
232<span class="k">go</span>
233</a>
234</li>
235<li data-k="repo demo">
236<a href="/demo" tabindex="-1">
237<span class="lbl">demo</span>
238<span class="k">repo</span>
239</a>
240</li>
241<li data-k="repo quiet">
242<a href="/quiet" tabindex="-1">
243<span class="lbl">quiet</span>
244<span class="k">repo</span>
245</a>
246</li>
247</ul>
248<p class="panel-foot">
249<span>
250<kbd>↑</kbd>
251<kbd>↓</kbd> move</span>
252<span>
253<kbd>enter</kbd> open</span>
254<span>
255<kbd>esc</kbd> close</span>
256</p>
257</dialog>
258<div id="keys" hidden hx-on="k-j from:body -> ermite.move(1);
259         k-k from:body -> ermite.move(-1);
260         k-top from:body -> ermite.edge(false);
261         k-bottom from:body -> ermite.edge(true);
262         k-open from:body -> ermite.open();
263         k-esc from:body -> ermite.closeDialogs();
264         k-help from:body -> ermite.dialog('panel-help');
265         k-refs from:body -> ermite.dialog('panel-refs', 'refs-filter');
266         k-cmd from:body -> ermite.dialog('panel-cmd', 'cmd-q'); ermiteFinder.load();
267         k-filter from:body -> ermite.focusFilter();
268         k-gh from:body -> ermite.go('.brand');
269         k-s from:body -> ermite.tab('s');
270         k-t from:body -> ermite.tab('t');
271         k-c from:body -> ermite.tab('c');
272         k-r from:body -> ermite.tab('r');
273         k-m from:body -> ermite.tab('m');
274         k-next from:body -> ermite.nextNote();
275         k-split from:body -> ermite.layout('split');
276         k-unified from:body -> ermite.layout('unified');
277         k-collapse from:body -> ermite.collapse();
278         k-permalink from:body -> ermite.permalink()">
279</div>
280</body>
281</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