ShtukbaseStandard
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.

  1. <!doctype html>
  2. <html lang="ru" data-skin="desktop">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <title>Shtukbase</title>
  7. <script>
  8. // Before the first paint: the theme (kit-style page.js keys) and the remembered widths.
  9. (function () {
  10. var r = document.documentElement, t = null, w = null, s = null;
  11. try { t = localStorage.getItem('lx-theme'); w = localStorage.getItem('studio.panelWidth'); s = localStorage.getItem('studio.sidebarWidth'); } catch (e) {}
  12. if (!t && window.matchMedia && matchMedia('(prefers-color-scheme: dark)').matches) t = 'dark';
  13. if (t === 'dark') r.setAttribute('data-theme', 'dark');
  14. var k = null; try { k = localStorage.getItem('lx-skin'); } catch (e) {}
  15. if (k === 'calm' || k === 'desktop') r.setAttribute('data-skin', k); // Desktop by default, Calm when chosen
  16. if (w && +w > 0) r.style.setProperty('--st-panel-w', (+w) + 'px');
  17. if (s) r.setAttribute('data-side', s);
  18. })();
  19. </script>
  20. <link rel="stylesheet" href="/_kit/kit.css">
  21. <link rel="stylesheet" href="/_kit/skins/calm.css">
  22. <link rel="stylesheet" href="/_kit/skins/desktop.css">
  23. <link rel="stylesheet" href="/_pkg/layout-studio/shell.css">
  24. <link rel="preload" as="script" href="/_pkg/layout-basic/lens.js">
  25. </head>
  26. <body>
  27. <div class="lx-app st-app" id="app">
  28. <header class="lx-top st-top">
  29. <div class="lx-crumbs" id="crumbs">
  30. <span class="lx-crumb st-space"><span class="t" id="space-name">&nbsp;</span></span>
  31. </div>
  32. <div class="st-lenses" id="lenses" role="tablist" aria-label="Линзы"></div>
  33. <button class="lx-btn icon" id="split" title="Разделить (Alt-клик в дереве)" aria-label="Разделить">
  34. <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>
  35. </button>
  36. <button class="lx-btn icon" id="panel-btn" title="Правая панель" aria-label="Правая панель">
  37. <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>
  38. </button>
  39. <div class="st-settings-wrap">
  40. <button class="lx-btn icon" id="settings-btn" title="Настройки вида" aria-label="Настройки вида" aria-haspopup="true" aria-expanded="false">
  41. <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>
  42. </button>
  43. <div class="st-pop" id="settings" hidden></div>
  44. </div>
  45. <button class="lx-btn icon" id="theme" title="Тема" aria-label="Тема">
  46. <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>
  47. </button>
  48. </header>
  49. <div class="lx-body st-body">
  50. <nav class="st-side" id="side" aria-label="Пространство"></nav>
  51. <main class="st-main" id="main">
  52. <div class="st-strip" id="strip">
  53. <div class="st-tabs" id="tabs" role="tablist" aria-label="Открытые страницы"></div>
  54. <div class="st-splithead" id="splithead"></div>
  55. </div>
  56. <div class="st-stage" id="stage"><div class="st-empty" id="empty"></div></div>
  57. </main>
  58. <div class="st-handle" id="handle" role="separator" aria-orientation="vertical" aria-label="Ширина правой панели" tabindex="0"></div>
  59. <aside class="st-panel" id="panel">
  60. <div class="st-ptabs" id="ptabs" role="tablist" aria-label="Панель"></div>
  61. <div class="st-pstage" id="pstage"><div class="st-empty" id="pempty"></div></div>
  62. </aside>
  63. </div>
  64. </div>
  65. <script src="/_pkg/layout-studio/shell.js"></script>
  66. </body>
  67. </html>