archivo del paquete→ .shtukbase/packages/layout-studio/shell.html
shell.html
67 líneas, 4.0 KB.
El archivo tal como está en el paquete: el código y sus comentarios no se traducen.
- <!doctype html>
- <html lang="ru" data-skin="desktop">
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <title>Shtukbase</title>
- <script>
- // Before the first paint: the theme (kit-style page.js keys) and the remembered widths.
- (function () {
- var r = document.documentElement, t = null, w = null, s = null;
- try { t = localStorage.getItem('lx-theme'); w = localStorage.getItem('studio.panelWidth'); s = localStorage.getItem('studio.sidebarWidth'); } catch (e) {}
- if (!t && window.matchMedia && matchMedia('(prefers-color-scheme: dark)').matches) t = 'dark';
- if (t === 'dark') r.setAttribute('data-theme', 'dark');
- var k = null; try { k = localStorage.getItem('lx-skin'); } catch (e) {}
- if (k === 'calm' || k === 'desktop') r.setAttribute('data-skin', k); // Desktop by default, Calm when chosen
- if (w && +w > 0) r.style.setProperty('--st-panel-w', (+w) + 'px');
- if (s) r.setAttribute('data-side', s);
- })();
- </script>
- <link rel="stylesheet" href="/_kit/kit.css">
- <link rel="stylesheet" href="/_kit/skins/calm.css">
- <link rel="stylesheet" href="/_kit/skins/desktop.css">
- <link rel="stylesheet" href="/_pkg/layout-studio/shell.css">
- <link rel="preload" as="script" href="/_pkg/layout-basic/lens.js">
- </head>
- <body>
- <div class="lx-app st-app" id="app">
- <header class="lx-top st-top">
- <div class="lx-crumbs" id="crumbs">
- <span class="lx-crumb st-space"><span class="t" id="space-name"> </span></span>
- </div>
- <div class="st-lenses" id="lenses" role="tablist" aria-label="Линзы"></div>
- <button class="lx-btn icon" id="split" title="Разделить (Alt-клик в дереве)" aria-label="Разделить">
- <svg viewBox="0 0 16 16" width="16" height="16" aria-hidden="true"><path d="M2.5 2.5h11v11h-11zM8 2.5v11" fill="none" stroke="currentColor" stroke-width="1.2"/></svg>
- </button>
- <button class="lx-btn icon" id="panel-btn" title="Правая панель" aria-label="Правая панель">
- <svg viewBox="0 0 16 16" width="16" height="16" aria-hidden="true"><path d="M2.5 2.5h11v11h-11zM10 2.5v11" fill="none" stroke="currentColor" stroke-width="1.2"/></svg>
- </button>
- <div class="st-settings-wrap">
- <button class="lx-btn icon" id="settings-btn" title="Настройки вида" aria-label="Настройки вида" aria-haspopup="true" aria-expanded="false">
- <svg viewBox="0 0 16 16" width="16" height="16" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h10" fill="none" stroke="currentColor" stroke-width="1.2"/><circle cx="6" cy="4.5" r="1.4" fill="currentColor"/><circle cx="10.5" cy="8" r="1.4" fill="currentColor"/><circle cx="5" cy="11.5" r="1.4" fill="currentColor"/></svg>
- </button>
- <div class="st-pop" id="settings" hidden></div>
- </div>
- <button class="lx-btn icon" id="theme" title="Тема" aria-label="Тема">
- <svg viewBox="0 0 16 16" width="16" height="16" aria-hidden="true"><path d="M8 1.5a6.5 6.5 0 1 0 0 13a6.5 6.5 0 0 0 0-13zm0 1.5v10a5 5 0 0 1 0-10z" fill="currentColor"/></svg>
- </button>
- </header>
- <div class="lx-body st-body">
- <nav class="st-side" id="side" aria-label="Пространство"></nav>
- <main class="st-main" id="main">
- <div class="st-strip" id="strip">
- <div class="st-tabs" id="tabs" role="tablist" aria-label="Открытые страницы"></div>
- <div class="st-splithead" id="splithead"></div>
- </div>
- <div class="st-stage" id="stage"><div class="st-empty" id="empty"></div></div>
- </main>
- <div class="st-handle" id="handle" role="separator" aria-orientation="vertical" aria-label="Ширина правой панели" tabindex="0"></div>
- <aside class="st-panel" id="panel">
- <div class="st-ptabs" id="ptabs" role="tablist" aria-label="Панель"></div>
- <div class="st-pstage" id="pstage"><div class="st-empty" id="pempty"></div></div>
- </aside>
- </div>
- </div>
- <script src="/_pkg/layout-studio/shell.js"></script>
- </body>
- </html>