Compare commits

..

2 Commits

Author SHA1 Message Date
65a3137a40 minor graphic changes to the login screen 2026-05-17 21:59:16 +02:00
6a8680b5ed show hostname if available 2026-05-17 21:29:54 +02:00
3 changed files with 16 additions and 14 deletions

View File

@@ -280,10 +280,10 @@ class serverOverviewBuilder
}
if (is_null($server['server_vm_host_name'])) {
$hostname = $server['server_hostname'];
} else {
if (is_null($server['server_hostname'])) {
$hostname = $server['server_vm_host_name'];
} else {
$hostname = $server['server_hostname'];
}
$mem = isset($server['server_memory']) ? (float)$server['server_memory'] : 0;

View File

@@ -79,9 +79,9 @@
--cui-body-font-size: 1rem;
--cui-body-font-weight: 400;
--cui-body-line-height: 1.5;
--cui-body-color: #212529;
--cui-body-color: #fbf1c7;
--cui-body-color-rgb: 33, 37, 41;
--cui-body-bg: #fbf1c7;
--cui-body-bg: #282828;
--cui-body-bg-rgb: 255, 255, 255;
--cui-emphasis-color: #282828;
--cui-emphasis-color-rgb: 0, 0, 0;
@@ -124,23 +124,25 @@
--cui-form-valid-border-color: #198754;
--cui-form-invalid-color: #dc3545;
--cui-form-invalid-border-color: #dc3545;
--cui-input-placeholder-color: #a89984;
--cui-input-group-addon-color: #282828;
}
[data-coreui-theme=dark] {
color-scheme: dark;
--cui-body-color: #212529;
--cui-body-color: #fbf1c7;
--cui-body-color-rgb: 33, 37, 41;
--cui-body-bg: #fbf1c7;
--cui-body-bg: #282828;
--cui-body-bg-rgb: 255, 255, 255;
--cui-emphasis-color: #282828;
--cui-emphasis-color-rgb: 0, 0, 0;
--cui-secondary-color: rgb(40, 40, 40);
--cui-secondary-color-rgb: 33, 37, 41;
--cui-secondary-bg: #bdae93;
--cui-secondary-bg-rgb: 233, 236, 239;
--cui-secondary-bg-rgb: 168, 153, 132;
--cui-tertiary-color: rgba(33, 37, 41, 0.5);
--cui-tertiary-color-rgb: 33, 37, 41;
--cui-tertiary-bg: #d5c4a1;
--cui-tertiary-bg: #A89984;
--cui-tertiary-bg-rgb: 40, 40, 40;
--cui-high-emphasis: rgba(255, 255, 255, 0.87);
--cui-medium-emphasis: rgba(255, 255, 255, 0.6);
@@ -194,7 +196,7 @@
--cui-danger-border-subtle: #d3869b;
--cui-light-border-subtle: #ebdbb2;
--cui-dark-border-subtle: #928374;
--cui-heading-color: inherit;
--cui-heading-color: #fbf1c7;
--cui-link-color: #458588;
--cui-link-hover-color: #83a598;
--cui-link-color-rgb: 13, 110, 253;
@@ -203,7 +205,7 @@
--cui-highlight-color: rgba(255, 255, 255, 0.87);
--cui-highlight-bg: #664d03;
--cui-border-color: #323a49;
--cui-border-color-translucent: rgba(255, 255, 255, 0.1);
--cui-border-color-translucent: rgba(213, 196, 161, 2);
--cui-form-valid-color: #75b798;
--cui-form-valid-border-color: #75b798;
--cui-form-invalid-color: #ea868f;
@@ -8784,7 +8786,7 @@ textarea.form-control-lg {
}
.sidebar-dark {
--cui-body-color: rgba(255, 255, 255, 0.87);
--cui-body-color: rgba(40, 40, 40, 0.87);
--cui-body-bg: #212631;
--cui-emphasis-color: #fff;
--cui-secondary-color: rgba(255, 255, 255, 0.6);

View File

@@ -70,7 +70,7 @@ if ($loginAttemptCount = checkLoginAttempts() > 3) {
<div class="row justify-content-center">
<div class="col-lg-8 col-md-8 col-12 d-flex align-items-center justify-content-center">
<div class="card-group d-block d-md-flex row">
<div class="card col-md-7 mb-0">
<div class="card col-md-7 mb-0 border-0">
<div class="card-body p-3">
<?php if (isset($_COOKIE['loggedout'])) { ?>
<div class="row mt-0 pt-0">
@@ -148,7 +148,7 @@ if ($loginAttemptCount = checkLoginAttempts() > 3) {
<?php } ?>
</div>
</div>
<div class="card col-md-5 text-white bg-transparent py-5">
<div class="card col-md-5 text-white bg-transparent py-5 border-0">
<div class="card-body text-center pt-3">
<div>
<img class="pt-3 w-100 portal-image" alt="portal-image" src="/src/images/logo-login-dark.webp" width="500" height="265" style="height: auto;">