TreeNode.svelte: - Native HTML5 drag-and-drop with move effect - Lazy tree expand/collapse (arrow for container types only) - Drop validation: no self-drop, container-only, descendant check - 'case' icon kind added App.svelte: - toggleExpand loads children via ListChildren into tree - handleNodeDrop calls MoveNode(draggedId, targetId), refreshes tree - Root workspace area is a drop target (handleDropRoot) - Overview section shows nodeKindLabel instead of raw type enum - Context menu shows Create only for container types - Create modal title uses 'Создать элемент' - submitCreateNode expands parent after child creation TemplateIcon.svelte: added 'case' icon (folder-like with dividers) i18n: added nav.createNode key (ru+en)
26 lines
673 B
HTML
26 lines
673 B
HTML
<!DOCTYPE html>
|
|
<html lang="ru">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<link rel="icon" type="image/svg+xml" href="/wails.png" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Верстак</title>
|
|
<style>
|
|
/* Critical reset — no white borders, full viewport */
|
|
html, body, #app {
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
background: #13131f;
|
|
}
|
|
</style>
|
|
<script type="module" crossorigin src="/assets/main-CBFn_7kC.js"></script>
|
|
<link rel="stylesheet" crossorigin href="/assets/main-C49DuBq6.css">
|
|
</head>
|
|
<body>
|
|
<div id="app"></div>
|
|
</body>
|
|
</html>
|