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/vole.git

Write over SSH with a registered key:

git clone ssh://git@rodent.software: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/status.html +5−5

@@ -49,7 +49,7 @@
49 49 </div>
50 50 <p class="muted"><a href="/admin?tab=audit">Read the full audit log</a></p>
51 51 {{else if not .RecentAudit.Err}}
52 <p class="muted">No privileged actions have been recorded yet.</p>
52 <div class="empty-state"><p>No privileged actions have been recorded yet.</p></div>
53 53 {{end}}
54 54
55 55 {{if .ConfigWarnings}}
@@ -148,9 +148,9 @@
148 148 </table>
149 149 </div>
150 150 {{else}}
151 <p class="muted">No runner is connected: none has been seen in the last {{.RunnerWindow}}. Start one
152 with <code>vole runner --remote ssh://git@&lt;host&gt;</code>. If a job asks for a machine with
153 <code>runs-on</code>, the runner has to carry that label with <code>--label</code>.</p>
151 <div class="empty-state">
152 <p>No runner is connected: none has been seen in the last {{.RunnerWindow}}. Start one with <code>vole runner --remote ssh://git@&lt;host&gt;</code>. If a job asks for a machine with <code>runs-on</code>, the runner has to carry that label with <code>--label</code>.</p>
153 </div>
154 154 {{end}}
155 155
156 156 <h3>Queue</h3>
@@ -170,7 +170,7 @@ with <code>vole runner --remote ssh://git@&lt;host&gt;</code>. If a job asks for
170 170 </table>
171 171 </div>
172 172 {{else}}
173 <p class="muted">Nothing is waiting and nothing is running.</p>
173 <div class="empty-state"><p>Nothing is waiting and nothing is running.</p></div>
174 174 {{end}}
175 175 {{end}}
176 176