feat(demo): create top-level calendar root

This commit is contained in:
Elian Doran 2025-03-30 21:54:59 +03:00
parent 4605f9f38f
commit 743c053584
No known key found for this signature in database
5 changed files with 72 additions and 12 deletions

Binary file not shown.

View File

@ -20,6 +20,52 @@
"attachments": [],
"dirFileName": "User Guide",
"children": [
{
"isClone": false,
"noteId": "b2Cw0wRZwhGF",
"notePath": [
"demo",
"b2Cw0wRZwhGF"
],
"title": "Journal",
"notePosition": 10,
"prefix": null,
"isExpanded": true,
"type": "book",
"mime": "",
"attributes": [
{
"type": "label",
"name": "calendarRoot",
"value": "",
"isInheritable": false,
"position": 10
},
{
"type": "label",
"name": "iconClass",
"value": "bx bx-calendar",
"isInheritable": false,
"position": 20
},
{
"type": "label",
"name": "viewType",
"value": "calendar",
"isInheritable": false,
"position": 30
},
{
"type": "label",
"name": "calendar:view",
"value": "dayGridMonth",
"isInheritable": false,
"position": 40
}
],
"dataFileName": "Journal.dat",
"attachments": []
},
{
"isClone": false,
"noteId": "a7yCTKQIErXa",
@ -28,9 +74,9 @@
"a7yCTKQIErXa"
],
"title": "Trilium Demo",
"notePosition": 10,
"notePosition": 20,
"prefix": null,
"isExpanded": true,
"isExpanded": false,
"type": "text",
"mime": "text/html",
"attributes": [
@ -394,33 +440,26 @@
"type": "text",
"mime": "text/html",
"attributes": [
{
"type": "label",
"name": "calendarRoot",
"value": "",
"isInheritable": false,
"position": 10
},
{
"type": "label",
"name": "sorted",
"value": "",
"isInheritable": false,
"position": 20
"position": 10
},
{
"type": "relation",
"name": "child:child:child:template",
"value": "5eodYKrtOg6v",
"isInheritable": false,
"position": 30
"position": 20
},
{
"type": "label",
"name": "iconClass",
"value": "bx bx-calendar",
"isInheritable": false,
"position": 40
"position": 30
}
],
"format": "html",

View File

View File

@ -0,0 +1,19 @@
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../style.css">
<base target="_parent">
<title data-trilium-title>Journal</title>
</head>
<body>
<div class="content">
<h1 data-trilium-h1>Journal</h1>
<div class="ck-content"></div>
</div>
</body>
</html>

View File

@ -9,6 +9,8 @@
<ul>
<li><a href="User%20Guide.html" target="detail">User Guide</a>
<ul>
<li><a href="User%20Guide/Journal.dat" target="detail">Journal</a>
</li>
<li><a href="User%20Guide/Trilium%20Demo.html" target="detail">Trilium Demo</a>
<ul>
<li><a href="User%20Guide/Trilium%20Demo/Inbox.html" target="detail">Inbox</a>