From b8dc4dac5615ae1343ded002911f9c79f23c0a82 Mon Sep 17 00:00:00 2001 From: xRealNeon Date: Tue, 11 Jan 2022 19:07:53 +0100 Subject: [PATCH] Change table order --- src/instances/views/index.ecr | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/instances/views/index.ecr b/src/instances/views/index.ecr index 1dc3ee7..4618cd7 100644 --- a/src/instances/views/index.ecr +++ b/src/instances/views/index.ecr @@ -101,13 +101,13 @@ ">version ">type ">users - ">cors - ">api ">signup ">location ">
healthUptime / Downtime displayed in percentage
+ ">cors + ">api @@ -119,11 +119,11 @@ <%= instance[:stats]?.try &.["software"]?.try &.["version"] || "-" %> <%= instance[:type] %> <%= instance[:stats]?.try &.["usage"]?.try &.["users"]["total"] || "-" %> - <%= instance[:cors] == nil ? "-" : instance[:cors] ? "✔" : "❌" %> - <%= instance[:api] == nil ? "-" : instance[:api] ? "✔" : "❌" %> <%= instance[:stats]?.try &.["openRegistrations"]?.try { |bool| bool.as_bool ? "✔" : "❌" } || "-" %> <%= instance[:flag]? ? "#{instance[:flag]} #{instance[:region]}" : "-" %> <%= instance[:monitor]?.try &.["30dRatio"]["ratio"] || "-" %> + <%= instance[:cors] == nil ? "-" : instance[:cors] ? "✔" : "❌" %> + <%= instance[:api] == nil ? "-" : instance[:api] ? "✔" : "❌" %> <% end %>