Mini fixes

This commit is contained in:
Maxime Augier 2022-11-28 09:14:46 +01:00
parent e89ee20d38
commit 41034f7334
2 changed files with 3 additions and 4 deletions

2
.env
View File

@ -1,5 +1,5 @@
HOSTNAME=localhost:8079 HOSTNAME=localhost:8079
PORT=8079 PORT=8079
RESTRICTED_MODE=true RESTRICTED_MODE=true
API_TOKEN=somesecretpassword API_TOKEN=kjsdhfkwjenrkajhsdakjsnd
# OPENTELEMETRY_URL=http://localhost:4317 # OPENTELEMETRY_URL=http://localhost:4317

View File

@ -25,8 +25,7 @@ templates::{info, instance, statics::index_css},
</header> </header>
<main> <main>
<section> <section>
<h3>@nodes.len() instances fédérées</h3> <h3>@nodes.len() instances fédérées.</h3>
<h3>@nodes.len() Connected Servers</h3>
@if nodes.is_empty() { @if nodes.is_empty() {
<p>Aucune instance fédérée en ce moment.</p> <p>Aucune instance fédérée en ce moment.</p>
} else { } else {
@ -48,7 +47,7 @@ templates::{info, instance, statics::index_css},
} }
</section> </section>
<section> <section>
<h3>Rejoindre</h3> <a name="#joining"><h3>Rejoindre</h3></a>
<article class="joining"> <article class="joining">
@if config.restricted_mode() { @if config.restricted_mode() {
<h4> <h4>