Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

vole
Clone

Read only, no credentials:

https://rodent.software/git/vole.git

Write over SSH with a registered key:

git clone ssh://git@0.0.0.0:2222/vole.git

A free and open-source forge that lives in your Git repo.

Unify the web UI's empty states

c7b9094f5cc912efc16e337123d32d51fe99e1d6 · Keenan Nemetz · 1d ago · parent 6ce635a8

Unify the web UI's empty states

Use one .empty-state shape for lists and panes that have nothing to show,
and keep .muted for the compact lines inside sidebars, cards, trees, and
table cells so the page does not fill with dashed boxes.

Drop the CLI command from an empty discussion: the composer is on the page,
so the reader does not need a clone to comment. Remove empty-state links
that repeated the filter row above them, including the merged/closed change
links, the closed-issue link, the clear-filter buttons, the users' "Show
everyone" link, and the signed-out home page's duplicate sign-in buttons.

server/web/templates/admin_users.html +3−3

@@ -91,9 +91,9 @@
91 91 </table>
92 92 </div>
93 93 {{else if .Account.Bot}}
94 <p class="muted">No SSH keys. This bot cannot act until a key is added.</p>
94 <div class="empty-state"><p>No SSH keys. This bot cannot act until a key is added.</p></div>
95 95 {{else}}
96 <p class="muted">No SSH keys. This account can sign in with a passkey only.</p>
96 <div class="empty-state"><p>No SSH keys. This account can sign in with a passkey only.</p></div>
97 97 {{end}}
98 98
99 99 <div class="with-more">
@@ -122,7 +122,7 @@
122 122 </table>
123 123 </div>
124 124 {{else}}
125 <p class="muted">No browser sessions.</p>
125 <div class="empty-state"><p>No browser sessions.</p></div>
126 126 {{end}}
127 127
128 128 <h2>Danger zone</h2>