137 lines
5.4 KiB
HTML
137 lines
5.4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<title>Blogging Desktop Server</title>
|
|
<link rel="stylesheet" href="./app.css" />
|
|
</head>
|
|
<body>
|
|
<div class="app" id="bds-shell-app">
|
|
<div class="window-titlebar" data-region="title-bar"></div>
|
|
<div class="app-main">
|
|
<aside class="activity-bar" data-region="activity-bar"></aside>
|
|
<section class="sidebar-shell" data-testid="sidebar-shell">
|
|
<div class="sidebar" data-region="sidebar"></div>
|
|
<div class="resizable-panel-divider sidebar-divider" data-resize="sidebar" data-role="resize-handle"></div>
|
|
</section>
|
|
<main class="app-content" data-region="content">
|
|
<div class="tab-bar" data-region="tab-bar"></div>
|
|
<section class="editor-shell" data-region="editor"></section>
|
|
<section class="panel-shell" data-region="panel"></section>
|
|
</main>
|
|
<section class="assistant-sidebar-shell" data-testid="assistant-shell">
|
|
<div class="resizable-panel-divider assistant-divider" data-resize="assistant" data-role="resize-handle"></div>
|
|
<aside class="assistant-sidebar" data-region="assistant-sidebar"></aside>
|
|
</section>
|
|
</div>
|
|
<footer class="status-bar" data-region="status-bar"></footer>
|
|
</div>
|
|
|
|
<script id="bds-shell-bootstrap" type="application/json">
|
|
{
|
|
"title": "Blogging Desktop Server",
|
|
"registry": {
|
|
"default_sidebar_view": "posts",
|
|
"sidebar_views": [
|
|
{ "id": "posts", "label": "Posts", "activity_group": "top", "editor_route": "post", "entity_tab": true, "singleton": false },
|
|
{ "id": "media", "label": "Media", "activity_group": "top", "editor_route": "media", "entity_tab": true, "singleton": false },
|
|
{ "id": "settings", "label": "Settings", "activity_group": "bottom", "editor_route": "settings", "entity_tab": false, "singleton": true }
|
|
],
|
|
"editor_routes": [
|
|
{ "id": "dashboard", "title": "Dashboard", "singleton": true, "entity_tab": false },
|
|
{ "id": "post", "title": "Post", "singleton": false, "entity_tab": true },
|
|
{ "id": "media", "title": "Media", "singleton": false, "entity_tab": true },
|
|
{ "id": "settings", "title": "Settings", "singleton": true, "entity_tab": false }
|
|
]
|
|
},
|
|
"menu_groups": [
|
|
{ "id": "app", "label": "App", "items": [{ "id": "about", "label": "About" }] },
|
|
{ "id": "view", "label": "View", "items": [{ "id": "toggle_sidebar", "label": "Toggle Sidebar" }] }
|
|
],
|
|
"session": {
|
|
"sidebar_visible": true,
|
|
"sidebar_width": 280,
|
|
"active_view": "posts",
|
|
"assistant_sidebar_visible": false,
|
|
"assistant_sidebar_width": 360,
|
|
"panel": { "visible": false, "active_tab": "tasks" },
|
|
"tabs": [],
|
|
"active_tab": null,
|
|
"dirty_tabs": []
|
|
},
|
|
"content": {
|
|
"sidebar": {
|
|
"posts": {
|
|
"title": "Posts",
|
|
"subtitle": "Drafts and publishing",
|
|
"sections": [
|
|
{
|
|
"title": "Drafts",
|
|
"items": [
|
|
{ "id": "post-welcome", "title": "Welcome to bDS2", "meta": "Updated today", "badge": "draft", "route": "post" }
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"media": {
|
|
"title": "Media",
|
|
"subtitle": "Images and files",
|
|
"sections": [
|
|
{
|
|
"title": "Media",
|
|
"items": [
|
|
{ "id": "media-hero", "title": "hero-shot.jpg", "meta": "Image asset", "route": "media" }
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"settings": {
|
|
"title": "Settings",
|
|
"subtitle": "Project preferences",
|
|
"sections": [
|
|
{
|
|
"title": "Settings",
|
|
"items": [
|
|
{ "id": "settings", "title": "Project", "meta": "Defaults and paths", "route": "settings" }
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"dashboard": {
|
|
"title": "Dashboard",
|
|
"subtitle": "Static shell bundle for direct inspection",
|
|
"summary_cards": [
|
|
{ "label": "Posts", "value": "42", "detail": "Drafts, published, archive" }
|
|
],
|
|
"checklist": [
|
|
"Static bundle is valid HTML",
|
|
"Shell assets render without duplicated bootstrap code"
|
|
]
|
|
},
|
|
"assistant_cards": [
|
|
{ "label": "Desktop Runtime", "text": "Static bundle mirrors the desktop shell layout." }
|
|
],
|
|
"editor_meta": {
|
|
"dashboard": [
|
|
{ "label": "Status", "value": "Ready" }
|
|
]
|
|
}
|
|
},
|
|
"status": {
|
|
"left": { "running_task_message": "Static preview", "running_task_overflow": 0 },
|
|
"right": {
|
|
"post_count": "42 posts",
|
|
"media_count": "18 media",
|
|
"theme_badge": "desktop-shell",
|
|
"offline_mode": true,
|
|
"ui_language": "en",
|
|
"brand": "bDS"
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
<script src="./app.js"></script>
|
|
</body>
|
|
</html> |