Files
Gnuboard7/templates/_bundled/gnuboard7-hello_admin_template/layouts/admin_dashboard.json
T
2026-07-01 10:30:32 +09:00

55 lines
1.4 KiB
JSON

{
"version": "1.0.0",
"layout_name": "admin_dashboard",
"extends": "_admin_base",
"meta": {
"title": "$t:admin.dashboard.title",
"auth_required": true
},
"slots": {
"content": [
{
"id": "dashboard_content",
"type": "basic",
"name": "Div",
"props": {
"className": "p-8"
},
"children": [
{
"id": "welcome_card",
"type": "basic",
"name": "Div",
"props": {
"className": "bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 p-8 max-w-2xl",
"data-testid": "welcome-card"
},
"children": [
{
"id": "welcome_title",
"type": "basic",
"name": "H1",
"props": {
"className": "text-page-heading mb-2",
"data-testid": "welcome-title"
},
"text": "$t:admin.dashboard.welcome_title"
},
{
"id": "welcome_message",
"type": "basic",
"name": "Span",
"props": {
"className": "text-secondary text-sm",
"data-testid": "welcome-message"
},
"text": "$t:admin.dashboard.welcome_message"
}
]
}
]
}
]
}
}