файл пакета→ .shtukbase/packages/layout-basic/shell.html
shell.html
44 строки, 2.0 КБ.
Файл как есть в пакете: код и комментарии в нём не переводятся.
- <!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>
- // Theme before the first paint: the same keys as kit-style page.js.
- (function () {
- var t = null;
- try { t = localStorage.getItem('lx-theme'); } catch (e) {}
- if (!t && window.matchMedia && matchMedia('(prefers-color-scheme: dark)').matches) t = 'dark';
- if (t === 'dark') document.documentElement.setAttribute('data-theme', 'dark');
- // The skin: Desktop by default, Calm when chosen (the lx-skin key of kit-style page.js).
- var k = null; try { k = localStorage.getItem('lx-skin'); } catch (e) {}
- if (k === 'calm' || k === 'desktop') document.documentElement.setAttribute('data-skin', k);
- })();
- </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-basic/shell.css">
- <link rel="preload" as="script" href="/_pkg/layout-basic/lens.js">
- </head>
- <body>
- <div class="lx-app ls-app">
- <header class="lx-top ls-top">
- <div class="lx-crumbs" id="crumbs">
- <span class="lx-crumb ls-space"><span class="t" id="space-name"> </span></span>
- </div>
- <div class="ls-tabs" id="tabs" role="tablist"></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 ls-body">
- <nav class="ls-side" id="side" aria-label="Пространство"></nav>
- <main class="ls-main" id="stage"><div class="ls-empty" id="empty"></div></main>
- <aside class="ls-panel" id="panel" hidden></aside>
- </div>
- </div>
- <script src="/_pkg/layout-basic/shell.js"></script>
- </body>
- </html>