diff --git a/main.py b/main.py index 4efc216..ac1a151 100755 --- a/main.py +++ b/main.py @@ -47,7 +47,7 @@ NAMESPACE = k8s.NAMESPACE SERVERS = list() BROKEN_SERVERS = list() CLIENTS = dict() -VERSION = '7' +VERSION = '8' SECRET_LINK_LENGTH = 8 SECRET_LINK_PREFIX = '$2b$12$' SS_PREFIX = "\u0005\u00DC\u005F\u00E0\u0001\u0020" diff --git a/static/layout.css b/static/layout.css index 477b42d..7fa6628 100755 --- a/static/layout.css +++ b/static/layout.css @@ -383,6 +383,7 @@ a { "menu entety-menu content"; height: var(--app-h); justify-content: left; + overflow: hidden; } #menu { @@ -402,9 +403,19 @@ a { #content { grid-area: content; height: 100%; + overflow: auto; } +.srcollable-list-content { + overflow-y: auto; +} @media (max-width: 60em) { + #entety-menu { + width: 200px; + } +} + +@media (max-width: 40em) { #layout { display: grid; grid-template-areas: @@ -423,4 +434,42 @@ a { width: 100vw; height: initial; } + + .srcollable-list-content{ + display: flex; + overflow-y: auto; + scroll-snap-type: x mandatory; + column-gap: var(--app-space-1); + } + + .srcollable-list-content > * { + scroll-snap-align: start; + flex-grow: 0; + flex-shrink: 0; + flex-basis: 250px; + } + +} + +.hidden { + display: none; +} + +.server-checkbox { + display: flex; + +} + +.server-checkbox input { + margin-right: 8px; +} + +.pure-form-message { + padding: 0.2em; +} +#search-form { + padding: var(--app-space-1); +} +#entety-menu-search { + width: 100%; } \ No newline at end of file diff --git a/templates/base.html b/templates/base.html index 1c4acea..8e2970e 100644 --- a/templates/base.html +++ b/templates/base.html @@ -120,6 +120,33 @@ document.addEventListener('click', handleEvent); }); + + + {% if nt %}