| … | … | @@ -4,65 +4,9 @@ |
| 4 | 4 | <meta charset="utf-8"> |
| 5 | 5 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
| 6 | 6 | <title>Hypernote</title> |
| 7 | | <script>document.documentElement.setAttribute('data-theme',localStorage.getItem('hn-theme')||'dark')</script> |
| 8 | | <link rel="stylesheet" href="web/css/app.css?v=24"> |
| 7 | <script src="web/js/theme.js"></script> |
| 8 | <link rel="stylesheet" href="web/css/app.css?v=23"> |
| 9 | 9 | <link rel="stylesheet" href="web/vendor/toastui-editor.min.css"> |
| 10 | | <link rel="stylesheet" href="web/vendor/jsuites.css"> |
| 11 | | <link rel="stylesheet" href="web/vendor/jspreadsheet.css"> |
| 12 | | <style> |
| 13 | | .notebook-readme { |
| 14 | | background: var(--bg-secondary, #1e1e2e); |
| 15 | | border: 1px solid var(--border-color, #333); |
| 16 | | border-radius: 8px; |
| 17 | | padding: 16px; |
| 18 | | margin-bottom: 20px; |
| 19 | | } |
| 20 | | .readme-header { |
| 21 | | display: flex; |
| 22 | | align-items: center; |
| 23 | | justify-content: space-between; |
| 24 | | margin-bottom: 12px; |
| 25 | | } |
| 26 | | .readme-label { |
| 27 | | font-weight: bold; |
| 28 | | font-size: 0.85rem; |
| 29 | | text-transform: uppercase; |
| 30 | | letter-spacing: 0.5px; |
| 31 | | color: var(--text-muted, #888); |
| 32 | | } |
| 33 | | .readme-actions { |
| 34 | | display: flex; |
| 35 | | gap: 6px; |
| 36 | | } |
| 37 | | .readme-body { |
| 38 | | font-size: 0.95rem; |
| 39 | | line-height: 1.6; |
| 40 | | } |
| 41 | | .readme-body h1 { font-size: 1.4rem; margin-top: 0; } |
| 42 | | .readme-body h2 { font-size: 1.1rem; } |
| 43 | | .readme-body ul { padding-left: 20px; } |
| 44 | | .readme-body a { color: var(--color-primary, #6c9eff); } |
| 45 | | .readme-body a:hover { text-decoration: underline; } |
| 46 | | #editor-type { |
| 47 | | padding: 6px 10px; |
| 48 | | border: 1px solid var(--border-color, #333); |
| 49 | | border-radius: 4px; |
| 50 | | background: var(--bg-secondary, #1e1e2e); |
| 51 | | color: var(--text-color, #ccc); |
| 52 | | font-size: 0.85rem; |
| 53 | | } |
| 54 | | #spreadsheet-container { |
| 55 | | border: 1px solid var(--border-color, #333); |
| 56 | | border-radius: 4px; |
| 57 | | overflow: auto; |
| 58 | | } |
| 59 | | #note-spreadsheet-view { |
| 60 | | border: 1px solid var(--border-color, #333); |
| 61 | | border-radius: 4px; |
| 62 | | overflow: auto; |
| 63 | | margin-top: 12px; |
| 64 | | } |
| 65 | | </style> |
| 66 | 10 | </head> |
| 67 | 11 | <body> |
| 68 | 12 | <div id="app"> |
| … | … | @@ -129,17 +73,12 @@ |
| 129 | 73 | <div class="editor-toolbar"> |
| 130 | 74 | <input type="text" id="editor-title" placeholder="Note title"> |
| 131 | 75 | <input type="text" id="editor-tags" placeholder="Tags (comma-separated)"> |
| 132 | | <select id="editor-type" title="Note type"> |
| 133 | | <option value="markdown">Markdown</option> |
| 134 | | <option value="spreadsheet">Spreadsheet</option> |
| 135 | | </select> |
| 136 | 76 | <div class="editor-actions"> |
| 137 | 77 | <button id="btn-save-note" class="btn-primary">Save</button> |
| 138 | 78 | <button id="btn-cancel-edit">Cancel</button> |
| 139 | 79 | </div> |
| 140 | 80 | </div> |
| 141 | 81 | <div id="editor-container"></div> |
| 142 | | <div id="spreadsheet-container" style="display:none"></div> |
| 143 | 82 | </div> |
| 144 | 83 | |
| 145 | 84 | <div id="view-search" class="view" style="display:none"> |
| … | … | @@ -177,11 +116,9 @@ |
| 177 | 116 | </div> |
| 178 | 117 | |
| 179 | 118 | <script src="web/vendor/toastui-editor-all.min.js"></script> |
| 180 | | <script src="web/vendor/jsuites.js"></script> |
| 181 | | <script src="web/vendor/jspreadsheet.js"></script> |
| 182 | | <script src="web/js/identity.js?v=27"></script> |
| 183 | | <script src="web/js/api.js?v=28"></script> |
| 119 | <script src="web/js/identity.js?v=25"></script> |
| 120 | <script src="web/js/api.js?v=23"></script> |
| 184 | 121 | <script src="web/js/markdown.js?v=23"></script> |
| 185 | | <script src="web/js/app.js?v=29"></script> |
| 122 | <script src="web/js/app.js?v=23"></script> |
| 186 | 123 | </body> |
| 187 | 124 | </html> |