diff --git a/admin.php b/admin.php
index a984c3c..7382b7f 100644
--- a/admin.php
+++ b/admin.php
@@ -72,7 +72,6 @@ switch ($namepage){
$groups = array();
}
renderPage('a_newserver.twig',array('mode' => 'new'));
-
break;
case 'deleteserver':
diff --git a/assets/html/index.twig b/assets/html/index.twig
index 9651029..2f75014 100644
--- a/assets/html/index.twig
+++ b/assets/html/index.twig
@@ -73,7 +73,7 @@
{% for server in servers %}
+ {% if server.Enabled == 1 %} {% if server.Online == 1 %} class="bgcolor-ok" {% endif %}{% elseif server.Enabled == 0 %} class="bgcolor-secondary"{% endif %}>
{{server.Name}} {% if server.Online == 0 and server.Enabled == 1 %} Offline{%endif%}{% if server.Enabled == 0 %} Deshabilitado{%endif%} |
@@ -85,7 +85,7 @@
{% if server.BadCreds == 0 %} {{server.Uptime}} {% endif %} |
{% if server.Enabled == 1 %}
- -1 %}class="bgcolor-ok">On {% else %}class="bgcolor-warn">Off{% endif %} |
+ -1 %} class="bgcolor-ok">On {% else %} class="bgcolor-warn">Off{% endif %} |
{% else %}
|
{% endif %}
diff --git a/index.php b/index.php
index e57288f..b6ce86f 100644
--- a/index.php
+++ b/index.php
@@ -1,7 +1,7 @@