update templates with new style ^^ #1

Merge aplicado
kio mesclou 4 commits from thermia/relay:main into main 2025-06-22 20:25:14 +00:00
2 arquivos alterados com 96 adições e 92 exclusões
Mostrando apenas as alterações do commit 5a5e1521ca - Mostrar todos os commits

fix instance overflow scroll
Algumas verificações falharam
/ clippy (pull_request) Has been cancelled
/ tests (pull_request) Has been cancelled
/ check (aarch64-unknown-linux-musl) (pull_request) Has been cancelled
/ check (armv7-unknown-linux-musleabihf) (pull_request) Has been cancelled
/ check (x86_64-unknown-linux-musl) (pull_request) Has been cancelled

thermia 2025-06-22 22:16:10 +02:00

Ver arquivo

@ -20,6 +20,10 @@ body {
padding: 2px; padding: 2px;
} }
} }
.node-list {
overflow-y: scroll;
max-height: 360px;
}
h1, h2, h3 { h1, h2, h3 {
margin: 4px 0px; margin: 4px 0px;
} }

Ver arquivo

@ -53,9 +53,9 @@ templates::{info_html, instance_html, statics::index_css},
<span> <span>
<h2>Connected Instances</h2> <h2>Connected Instances</h2>
<span class="subtitle">Currently, we're sitting at <i>@nodes.len()</i> members!</span> <span class="subtitle">Currently, we're sitting at <i>@nodes.len()</i> members!</span>
<span> </span>
</div> </div>
<section> <section class="node-list">
<ul> <ul>
@for node in nodes { @for node in nodes {
@if let Some(inst) = node.instance.as_ref() { @if let Some(inst) = node.instance.as_ref() {