From 67690fed0c05a6cf9e5e8eb2d52b185e00b4d291 Mon Sep 17 00:00:00 2001 From: kasunben Date: Sun, 30 Nov 2025 02:03:37 +0100 Subject: [PATCH 1/2] add mobile responsive support (poc) --- platform/src/public/css/sv_styled.css | 13 + platform/src/views/index.html | 307 ++++++++++++++++++ platform/src/views/layouts/custom/index.html | 274 ++++++++++++++++ platform/src/views/layouts/spa/index.html | 273 ++++++++++++++++ platform/src/views/security.html | 317 +++++++++++++++++++ plugins/users/views/users/index.html | 2 + 6 files changed, 1186 insertions(+) diff --git a/platform/src/public/css/sv_styled.css b/platform/src/public/css/sv_styled.css index 7d549ad..2335eba 100644 --- a/platform/src/public/css/sv_styled.css +++ b/platform/src/public/css/sv_styled.css @@ -239,6 +239,11 @@ border-radius: 8px; } } + @media (max-width: 768px) { + .sv-page--users .sv-sidebar { + display: none; + } + } } @layer platform.header { @@ -384,6 +389,14 @@ .sv-plugin-banner__actions:empty { display: none; } + @media (max-width: 768px) { + .sv-page--users .sv-header { + display: none; + } + .sv-page--users .sv-header__user-greeting { + display: none; + } + } } @layer platform.components.share { diff --git a/platform/src/views/index.html b/platform/src/views/index.html index 3c2f0d8..1c3503f 100644 --- a/platform/src/views/index.html +++ b/platform/src/views/index.html @@ -3,6 +3,152 @@ {{> layout/head}} + @@ -11,6 +157,44 @@ {{#if showSidebar}} {{> sidebar}} {{/if}}
{{#if showHeader}} {{> header}} {{/if}} +
+

Projects

+
+ + + + + +
+
@@ -47,8 +231,131 @@

Projects

+ +
+ + +
+
+ diff --git a/platform/src/views/layouts/custom/index.html b/platform/src/views/layouts/custom/index.html index 37984ee..a3a97a0 100644 --- a/platform/src/views/layouts/custom/index.html +++ b/platform/src/views/layouts/custom/index.html @@ -2,6 +2,154 @@ {{> layout/head}} + @@ -10,10 +158,136 @@ {{#if showSidebar}} {{> sidebar}} {{/if}}
{{#if showHeader}} {{> header}} {{/if}} +
+

+
+ + + + + +
+
{{{body}}}
+ +
+ + +
+
{{#if scripts}} {{#each scripts}} {{/each}} {{/if}} {{#if inlineScripts}} {{{inlineScripts}}} {{/if}} + diff --git a/platform/src/views/layouts/spa/index.html b/platform/src/views/layouts/spa/index.html index f051988..5d0912b 100644 --- a/platform/src/views/layouts/spa/index.html +++ b/platform/src/views/layouts/spa/index.html @@ -2,6 +2,154 @@ {{> layout/head}} + @@ -15,6 +163,44 @@ {{/if}} {{> modal/account-settings}} {{#if showHeader}} {{> header}} {{/if}} +
+

+
+ + + + + +
+
Loading plugin… {{/if}}
+ +
+ + +
+
{{#if scripts}} {{#each scripts}} {{/each}} {{/if}} {{#if inlineScripts}} {{{inlineScripts}}} {{/if}} + diff --git a/platform/src/views/security.html b/platform/src/views/security.html index 9e07356..a935ec9 100644 --- a/platform/src/views/security.html +++ b/platform/src/views/security.html @@ -3,12 +3,193 @@ {{> layout/head}} + {{#if showSidebar}} {{> sidebar}} {{/if}}
{{#if showHeader}} {{> header}} {{/if}} +
+

Security

+
+ + + + + +
+
@@ -178,6 +359,109 @@

Passkeys

+ +
+ + +
+
{{#if passkeys_enabled}} {{/if}} + diff --git a/plugins/users/views/users/index.html b/plugins/users/views/users/index.html index 9af0358..1428243 100644 --- a/plugins/users/views/users/index.html +++ b/plugins/users/views/users/index.html @@ -52,6 +52,8 @@ grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } } + @media (max-width: 768px) { + } @media (max-width: 700px) { .sv-stats { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); From 98fad63a37b998993332648799c80aca13001242 Mon Sep 17 00:00:00 2001 From: kasunben Date: Thu, 18 Dec 2025 01:36:37 +0100 Subject: [PATCH 2/2] test: SSH-signed (CLI)