v0.26.1 dfd6f0b

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<meta name="theme-color" media="(prefers-color-scheme: light)" content="#ffffff">
9<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#0c0c0c">
10<meta name="apple-mobile-web-app-title" content="ermite">
11<link rel="icon" type="image/svg+xml" href="/-/static/img/icon.HASH.svg">
12<link rel="apple-touch-icon" href="/-/static/app/apple-touch-icon.HASH.png">
13<link rel="manifest" href="/-/static/app/manifest.HASH.webmanifest">
14<link rel="preload" href="/-/static/fonts/atkinson-next.HASH.woff2" as="font" type="font/woff2" crossorigin>
15<link rel="stylesheet" href="/-/static/css/ermite.HASH.css">
16<meta name="htmx-config" content='{"history":false,"includeIndicatorCSS":false,"extensions":"sse, hx-live"}'>
17<script src="/-/static/js/htmx.min.HASH.js" defer>
18</script>
19<script src="/-/static/js/hx-live.min.HASH.js" defer>
20</script>
21<script src="/-/static/js/hx-sse.min.HASH.js" defer>
22</script>
23<script src="/-/static/js/store.HASH.js" defer>
24</script>
25<script src="/-/static/js/ermite.HASH.js" defer>
26</script>
27<script src="/-/static/js/files.HASH.js" defer>
28</script>
29<script src="/-/static/js/passkey.HASH.js" defer>
30</script>
31<script src="/-/static/js/log.HASH.js" defer>
32</script>
33</head>
34<body data-ref="" data-sha="" data-sel="" data-nav="">
35<a class="skip" href="#main">skip to content</a>
36<header class="hdr">
37<div class="hdr-top">
38<a class="brand" href="/" data-g="h" aria-label="home" title="home (g h)">
39<span class="brand-mark" aria-hidden="true">
40</span>
41</a>
42<div class="hdr-acts">
43<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">
44<span class="ico i-search" aria-hidden="true">
45</span>
46<span class="search-label">Go to…</span>
47<kbd aria-hidden="true">ctrl k</kbd>
48</button>
49</div>
50</div>
51</header>
52<div class="work">
53<main id="main" tabindex="-1">
54<h1 class="sr">Repositories</h1>
55<div class="home" data-layout="cards">
56<section class="home-repos" aria-label="Repositories">
57<div class="home-bar">
58<div class="filter">
59<label for="home-filter" class="sr">filter</label>
60<input id="home-filter" type="search" data-filter="#repo-rows > li" placeholder="Filter repositories…" autocomplete="off" hx-on:input="ermite.filter(this)">
61</div>
62<nav class="sort" aria-label="Sort repositories">
63<span class="mute">sort</span>
64<a href="/?sort=push&amp;dir=asc" aria-current="true">last push <span aria-hidden="true">▼</span>
65<span class="sr">, descending, select for ascending</span>
66</a>
67<a href="/?sort=name&amp;dir=asc">name </a>
68</nav>
69<div class="layout-switch" role="group" aria-label="Layout" data-js>
70<button type="button" class="btn icon" data-set-layout="cards" aria-pressed="true" title="Cards" aria-label="Cards">
71<span class="ico i-cards" aria-hidden="true">
72</span>
73</button>
74<button type="button" class="btn icon" data-set-layout="split" aria-pressed="false" title="Two columns" aria-label="Two columns">
75<span class="ico i-split" aria-hidden="true">
76</span>
77</button>
78<button type="button" class="btn icon" data-set-layout="compact" aria-pressed="false" title="Compact list" aria-label="Compact list">
79<span class="ico i-compact" aria-hidden="true">
80</span>
81</button>
82</div>
83</div>
84<ul class="repos" id="repo-rows" data-rows>
85<li id="repo-demo" class="repo" data-cursor>
86<div class="repo-main">
87<h2 class="repo-name">
88<a href="/demo">demo</a>
89</h2>
90<p class="repo-desc">A demo repository</p>
91<div class="repo-topics" aria-hidden="true">
92</div>
93<figure class="repo-pulse">
94<svg viewBox="0 0 600 64" role="img" aria-label="Activity: 0 commits in the last 90 days" focusable="false">
95<defs>
96<linearGradient id="hb-demo" x1="0" y1="0" x2="0" y2="1">
97<stop class="pulse-stop-top" offset="0">
98</stop>
99<stop class="pulse-stop-bottom" offset="1">
100</stop>
101</linearGradient>
102</defs>
103<path class="pulse-grid" d="M0 21.5 H600 M0 42.5 H600 M0 63.5 H600" vector-effect="non-scaling-stroke">
104</path>
105<path class="pulse-area" d="M0 58 C98.3 58 491.7 58 590 58 L590 64 L0 64 Z" fill="url(#hb-demo)">
106</path>
107<path class="pulse-line" d="M0 58 C98.3 58 491.7 58 590 58" vector-effect="non-scaling-stroke">
108</path>
109<circle class="pulse-dot" cx="590" cy="58" r="3.5">
110</circle>
111</svg>
112</figure>
113</div>
114<div class="repo-head">
115<dl class="repo-stats" aria-label="Figures of demo">
116<div>
117<dt>commits</dt>
118<dd>2</dd>
119</div>
120<div>
121<dt>last 30 days</dt>
122<dd>0</dd>
123</div>
124<div class="rs-active">
125<dt>last activity</dt>
126<dd>
127<time datetime="STAMP" title="STAMP">AGO</time>
128</dd>
129</div>
130<div class="rs-tag">
131<dt>last tag</dt>
132<dd>
133<a href="/demo/tree/SHA40" title="v0.2.0 · made AGO">v0.2.0</a>
134</dd>
135</div>
136</dl>
137</div>
138<ul class="repo-commits" aria-label="Recent commits of demo">
139<li>
140<a class="rc-sha" href="/demo/commit/SHA40">SHA7</a>
141<span class="rc-subject" title="add main.go">add main.go</span>
142<time class="dim" datetime="STAMP" title="STAMP">AGO</time>
143</li>
144<li>
145<a class="rc-sha" href="/demo/commit/SHA40">SHA7</a>
146<span class="rc-subject" title="first commit">first commit</span>
147<time class="dim" datetime="STAMP" title="STAMP">AGO</time>
148</li>
149</ul>
150</li>
151<li id="repo-quiet" class="repo">
152<div class="repo-main">
153<h2 class="repo-name">
154<a href="/quiet">quiet</a>
155</h2>
156<p class="repo-desc mute">no description</p>
157<div class="repo-topics" aria-hidden="true">
158</div>
159<div class="repo-pulse" aria-hidden="true">
160</div>
161</div>
162<div class="repo-head">
163<dl class="repo-stats" aria-label="Figures of quiet">
164<div class="rs-active">
165<dt>last activity</dt>
166<dd class="mute">never</dd>
167</div>
168</dl>
169</div>
170<p class="repo-commits mute">no commits yet</p>
171</li>
172</ul>
173</section>
174</div>
175</main>
176</div>
177<footer class="foot">
178<span>ermite devel</span>
179<a href="http://example.test/ermite" rel="noopener" title="source of this version (AGPL-3.0-or-later)">source</a>
180<button type="button" class="foot-keys" data-js data-fire="help" aria-haspopup="dialog" aria-controls="panel-help" aria-keyshortcuts="?">
181<kbd aria-hidden="true">?</kbd> keyboard shortcuts</button>
182</footer>
183<div class="hint" role="status" aria-live="polite">
184<span class="hint-nav" :text="document.body.dataset.nav || ''">
185</span>
186<span class="hint-sel" :text="document.body.dataset.sel ? document.body.dataset.sel + ' · y permalink' : ''">
187</span>
188<span class="hint-flash" :text="document.body.dataset.flash || ''">
189</span>
190<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 -> ermiteLive.back();
191           htmx:sse:close, htmx:sse:error -> ermiteLive.lost();
192           htmx:sse:error -> ermiteLive.error(event.detail.status);
193           htmx:sse:before:connection -> ermiteLive.gate(event);
194           home-list, repo-last-push, refs-list, commits-head, mr-notice, ci-run, ci-job -> ermiteLive.swap(event.detail.data);
195           gap -> ermiteLive.reload()">
196</span>
197</div>
198<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()">
199<div class="panel-head">
200<h2>Keyboard shortcuts</h2>
201<button type="button" class="panel-x" aria-label="Close" hx-on:click="closest('dialog').close()">
202<kbd>esc</kbd> close</button>
203</div>
204<div class="keys-pref">
205<label>
206<input type="checkbox" id="keys-off" aria-describedby="keys-note" hx-on:change="ermite.setKeysOff(this.checked)"> Turn off single-key shortcuts</label>
207<p id="keys-note" class="dim">Single-key shortcuts are on. ctrl k and esc work whatever this says.</p>
208</div>
209<dl class="keys">
210<div>
211<dt>
212<kbd>ctrl k</kbd>
213<kbd>:</kbd>
214</dt>
215<dd>go to a section, branch, tag, file or repository</dd>
216</div>
217<div>
218<dt>
219<kbd>?</kbd>
220</dt>
221<dd>this list</dd>
222</div>
223<div>
224<dt>
225<kbd>j</kbd>
226<kbd>k</kbd>
227</dt>
228<dd>move the row cursor down / up</dd>
229</div>
230<div>
231<dt>
232<kbd>enter</kbd>
233</dt>
234<dd>open the row under the cursor; on Files, a directory opens or closes in place</dd>
235</div>
236<div>
237<dt>
238<kbd>↑</kbd>
239<kbd>↓</kbd>
240<kbd>←</kbd>
241<kbd>→</kbd>
242<kbd>home</kbd>
243<kbd>end</kbd>
244</dt>
245<dd>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</dd>
246</div>
247<div>
248<dt>
249<kbd>l</kbd>
250<kbd>h</kbd>
251</dt>
252<dd>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</dd>
253</div>
254<div>
255<dt>
256<kbd>g g</kbd>
257<kbd>G</kbd>
258</dt>
259<dd>first / last row</dd>
260</div>
261<div>
262<dt>
263<kbd>/</kbd>
264</dt>
265<dd>filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)</dd>
266</div>
267<div>
268<dt>
269<kbd>b</kbd>
270</dt>
271<dd>switch branch or tag</dd>
272</div>
273<div>
274<dt>
275<kbd>s</kbd>
276<kbd>t</kbd>
277<kbd>c</kbd>
278<kbd>r</kbd>
279<kbd>m</kbd>
280</dt>
281<dd>tabs: summary, files, commits, branches &amp; tags, merge requests</dd>
282</div>
283<div>
284<dt>
285<kbd>g h</kbd>
286</dt>
287<dd>home</dd>
288</div>
289<div>
290<dt>
291<kbd>y</kbd>
292</dt>
293<dd>copy a permalink pinned to the commit</dd>
294</div>
295<div>
296<dt>
297<kbd>d</kbd>
298<kbd>u</kbd>
299<kbd>x</kbd>
300</dt>
301<dd>diff: split / unified / collapse or expand all</dd>
302</div>
303<div>
304<dt>
305<kbd>e</kbd>
306<kbd>E</kbd>
307</dt>
308<dd>diff: the whole file in view / every file, with the lines the hunks hide</dd>
309</div>
310<div>
311<dt>
312<kbd>n</kbd>
313</dt>
314<dd>merge request: next note in the diff</dd>
315</div>
316<div>
317<dt>
318<kbd>esc</kbd>
319</dt>
320<dd>close a dialog, leave a field</dd>
321</div>
322</dl>
323</dialog>
324<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()">
325<div class="panel-head">
326<label for="cmd-q" class="sr">go to</label>
327<input id="cmd-q" type="search" placeholder="Go to a section, branch, tag, file or repository…" autocomplete="off" spellcheck="false" role="combobox" aria-autocomplete="list" aria-expanded="true" aria-controls="cmd-list" aria-activedescendant="cmd-o0" hx-on:input="ermite.cmdFilter(this); ermiteFinder.palette(this)" hx-on:keydown="ermite.cmdKey(event)">
328<button type="button" class="panel-x" aria-label="Close" hx-on:click="closest('dialog').close()">
329<kbd>esc</kbd>
330</button>
331</div>
332<ul id="cmd-list" class="cmd-list" role="listbox" aria-label="Targets">
333<li id="cmd-o0" role="option" aria-selected="true" data-k="go home" data-cursor>
334<a href="/" tabindex="-1">
335<span class="lbl">home</span>
336<span class="k">go</span>
337</a>
338</li>
339<li id="cmd-o1" role="option" aria-selected="false" data-k="repo demo">
340<a href="/demo" tabindex="-1">
341<span class="lbl">demo</span>
342<span class="k">repo</span>
343</a>
344</li>
345<li id="cmd-o2" role="option" aria-selected="false" data-k="repo quiet">
346<a href="/quiet" tabindex="-1">
347<span class="lbl">quiet</span>
348<span class="k">repo</span>
349</a>
350</li>
351<li id="cmd-o3" role="option" aria-selected="false" data-k="action turn single-key shortcuts on off keyboard">
352<a href="#" data-fire="keys" tabindex="-1">
353<span class="lbl">turn single-key shortcuts off</span>
354<span class="k">action</span>
355</a>
356</li>
357</ul>
358<p class="panel-foot">
359<span>
360<kbd>↑</kbd>
361<kbd>↓</kbd> move</span>
362<span>
363<kbd>enter</kbd> open</span>
364<span>
365<kbd>esc</kbd> close</span>
366</p>
367</dialog>
368<div id="keys" hidden hx-on="k-j from:body -> ermite.move(1);
369         k-k from:body -> ermite.move(-1);
370         k-top from:body -> ermite.edge(false);
371         k-bottom from:body -> ermite.edge(true);
372         k-open from:body -> ermite.open();
373         k-right from:body -> ermite.rail(true);
374         k-left from:body -> ermite.rail(false);
375         k-esc from:body -> ermite.closeDialogs();
376         k-help from:body -> ermite.dialog('panel-help');
377         k-refs from:body -> ermite.dialog('panel-refs', 'refs-filter');
378         k-cmd from:body -> ermite.dialog('panel-cmd', 'cmd-q'); ermiteFinder.load();
379         k-filter from:body -> ermite.focusFilter();
380         k-gh from:body -> ermite.go('.brand');
381         k-s from:body -> ermite.tab('s');
382         k-t from:body -> ermite.tab('t');
383         k-c from:body -> ermite.tab('c');
384         k-r from:body -> ermite.tab('r');
385         k-m from:body -> ermite.tab('m');
386         k-next from:body -> ermite.nextNote();
387         k-split from:body -> ermite.layout('split');
388         k-unified from:body -> ermite.layout('unified');
389         k-collapse from:body -> ermite.collapse();
390         k-expand from:body -> ermite.expandFile();
391         k-expandAll from:body -> ermite.expandAll();
392         k-permalink from:body -> ermite.permalink();
393         k-merge from:body -> window.ermiteMR?.openMerge();
394         k-read from:body -> window.ermiteMR?.markRead();
395         k-gf from:body -> window.ermiteMR?.focusFiles();
396         k-keys from:body -> ermite.toggleKeys()">
397</div>
398</body>
399</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