From d15fb27fd1466da590d4bf40bffe7a83e5180ee3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Sedl=C3=A1k?= Date: Wed, 14 Oct 2026 23:28:04 +0200 Subject: [PATCH] oprava create button a uprava css --- Web/content/adminpanel.php | 7 +-- Web/content/changepassword.php | 7 +-- Web/content/css/adminpanel.css | 22 ++++++-- Web/content/ftp/css/index.css | 16 +++++- Web/content/ftp/index.php | 9 +++- Web/css/modern.css | 95 +++++++++++++++++++++++++++++++--- Web/index.php | 7 ++- 7 files changed, 141 insertions(+), 22 deletions(-) diff --git a/Web/content/adminpanel.php b/Web/content/adminpanel.php index e5b9f1e..ca4c2ba 100644 --- a/Web/content/adminpanel.php +++ b/Web/content/adminpanel.php @@ -141,6 +141,7 @@ function CheckPassword($password) { Admin Panel + @@ -160,7 +161,7 @@ function CheckPassword($password) { -
+

USB RAID Array

@@ -171,7 +172,7 @@ function CheckPassword($password) {
-
+

User Management

@@ -262,4 +263,4 @@ function CheckPassword($password) { close(); -?> \ No newline at end of file +?> diff --git a/Web/content/changepassword.php b/Web/content/changepassword.php index e2f0a16..db434bf 100644 --- a/Web/content/changepassword.php +++ b/Web/content/changepassword.php @@ -99,6 +99,7 @@ function CheckPassword($password) { + @@ -111,7 +112,7 @@ function CheckPassword($password) {
-
+

USB RAID Array

@@ -126,7 +127,7 @@ function CheckPassword($password) {
-
+

Change Password

@@ -170,4 +171,4 @@ function CheckPassword($password) {
- \ No newline at end of file + diff --git a/Web/content/css/adminpanel.css b/Web/content/css/adminpanel.css index a5d78ea..de6996f 100644 --- a/Web/content/css/adminpanel.css +++ b/Web/content/css/adminpanel.css @@ -10,6 +10,10 @@ html, body { max-width: 60%; margin: 0 auto; } +.custom-container.dark-box { + min-height: calc(100vh - 4rem); + width: min(60%, 1200px); +} section.row { flex: 1; } @@ -17,6 +21,19 @@ section.row { .custom-container { max-width: 90%; } + .custom-container.dark-box { + width: 90%; + } +} +@media (max-width: 700px) { + .custom-container.dark-box { + width: calc(100% - 2rem); + min-height: calc(100vh - 2rem); + margin: 1rem auto; + } + body { + min-width: 0; + } } .add-user-form { max-width: 400px; @@ -34,9 +51,6 @@ section.row { .form-check-label { margin-left: 0.5rem; } -body { - min-width: 800px; -} .hover-effect { transition: opacity 0.3s ease; } @@ -49,4 +63,4 @@ body { } .theme-dark .light-logo { display: none; -} \ No newline at end of file +} diff --git a/Web/content/ftp/css/index.css b/Web/content/ftp/css/index.css index ea18c88..00c079c 100644 --- a/Web/content/ftp/css/index.css +++ b/Web/content/ftp/css/index.css @@ -125,4 +125,18 @@ footer { padding: 20px; border-top: 1px solid #ddd; width: 100%; -} \ No newline at end of file +} + +/* Give the SFTP file browser its own surface, distinct from the outer page. */ +article.col-8 { + background: linear-gradient(145deg, var(--sftp-bg-start), var(--sftp-bg-end)); + border-color: rgba(77, 145, 255, 0.3) !important; + border-radius: 1rem !important; + box-shadow: 0 12px 32px rgba(3, 8, 18, 0.2); +} + +html[data-bs-theme="light"] article.col-8 { + background: linear-gradient(145deg, #ffffff, #edf3fb); + border-color: rgba(59, 130, 246, 0.4) !important; + box-shadow: 0 18px 48px rgba(31, 58, 92, 0.1); +} diff --git a/Web/content/ftp/index.php b/Web/content/ftp/index.php index ee6532f..1bb1bf2 100644 --- a/Web/content/ftp/index.php +++ b/Web/content/ftp/index.php @@ -319,6 +319,13 @@
+ @@ -34,13 +35,14 @@ if (empty($_SESSION)) {
+

USB RAID Array

-
+
@@ -73,7 +75,8 @@ if (empty($_SESSION)) {
+
- \ No newline at end of file +