From d7adaeb38d5d1c9932a05f70cd4890d073defd05 Mon Sep 17 00:00:00 2001
From: asonix
Date: Wed, 23 Nov 2022 11:52:05 -0600
Subject: [PATCH] Move joining instructions before server list
---
templates/index.rs.html | 42 ++++++++++++++++++++---------------------
1 file changed, 21 insertions(+), 21 deletions(-)
diff --git a/templates/index.rs.html b/templates/index.rs.html
index 9f03c22..b7c39f6 100644
--- a/templates/index.rs.html
+++ b/templates/index.rs.html
@@ -54,27 +54,6 @@ templates::{info, instance, statics::index_css},
}
}
- @if !nodes.is_empty() {
-
- @nodes.len() Connected Servers
-
- @for node in nodes {
- @if let Some(inst) = node.instance.as_ref() {
- -
- @:instance(inst, node.info.as_ref().map(|info| { info.software.as_ref() }), node.contact.as_ref(),
- &node.base)
-
- } else {
- @if let Some(inf) = node.info.as_ref() {
- -
- @:info(inf, &node.base)
-
- }
- }
- }
-
-
- }
Joining
@@ -111,6 +90,27 @@ templates::{info, instance, statics::index_css},
+ @if !nodes.is_empty() {
+
+ @nodes.len() Connected Servers
+
+ @for node in nodes {
+ @if let Some(inst) = node.instance.as_ref() {
+ -
+ @:instance(inst, node.info.as_ref().map(|info| { info.software.as_ref() }), node.contact.as_ref(),
+ &node.base)
+
+ } else {
+ @if let Some(inf) = node.info.as_ref() {
+ -
+ @:info(inf, &node.base)
+
+ }
+ }
+ }
+
+
+ }