mirror of
https://github.com/zadam/trilium.git
synced 2024-11-17 21:21:40 +08:00
84 lines
3 KiB
Text
84 lines
3 KiB
Text
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<link rel="shortcut icon" href="favicon.ico">
|
|
<title>Trilium Notes</title>
|
|
</head>
|
|
<body class="desktop theme-<%= theme %>" style="--main-font-size: <%= mainFontSize %>%; --tree-font-size: <%= treeFontSize %>%; --detail-font-size: <%= detailFontSize %>%;">
|
|
<noscript>Trilium requires JavaScript to be enabled.</noscript>
|
|
|
|
<div id="toast-container" class="d-flex flex-column justify-content-center align-items-center"></div>
|
|
|
|
<div class="dropdown-menu dropdown-menu-sm" id="context-menu-container"></div>
|
|
|
|
<% include dialogs/about.ejs %>
|
|
<% include dialogs/add_link.ejs %>
|
|
<% include dialogs/attributes.ejs %>
|
|
<% include dialogs/branch_prefix.ejs %>
|
|
<% include dialogs/export.ejs %>
|
|
<% include dialogs/import.ejs %>
|
|
<% include dialogs/jump_to_note.ejs %>
|
|
<% include dialogs/markdown_import.ejs %>
|
|
<% include dialogs/note_revisions.ejs %>
|
|
<% include dialogs/note_source.ejs %>
|
|
<% include dialogs/options.ejs %>
|
|
<% include dialogs/protected_session_password.ejs %>
|
|
<% include dialogs/recent_changes.ejs %>
|
|
<% include dialogs/sql_console.ejs %>
|
|
<% include dialogs/info.ejs %>
|
|
<% include dialogs/prompt.ejs %>
|
|
<% include dialogs/confirm.ejs %>
|
|
<% include dialogs/help.ejs %>
|
|
<% include dialogs/note_info.ejs %>
|
|
<% include dialogs/link_map.ejs %>
|
|
<% include dialogs/clone_to.ejs %>
|
|
<% include dialogs/move_to.ejs %>
|
|
<% include dialogs/backend_log.ejs %>
|
|
<% include dialogs/include_note.ejs %>
|
|
|
|
<script type="text/javascript">
|
|
window.baseApiUrl = 'api/';
|
|
window.device = "desktop";
|
|
window.glob = {
|
|
activeDialog: null,
|
|
sourceId: '<%= sourceId %>',
|
|
maxSyncIdAtLoad: <%= maxSyncIdAtLoad %>,
|
|
instanceName: '<%= instanceName %>',
|
|
csrfToken: '<%= csrfToken %>',
|
|
isDev: '<%= isDev %>',
|
|
appCssNoteIds: <%- JSON.stringify(appCssNoteIds) %>
|
|
};
|
|
</script>
|
|
|
|
<!-- Required for correct loading of scripts in Electron -->
|
|
<script>if (typeof module === 'object') {window.module = module; module = undefined;}</script>
|
|
|
|
<script src="libraries/jquery.min.js"></script>
|
|
|
|
<link href="libraries/bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
|
<script src="libraries/bootstrap/js/bootstrap.bundle.min.js"></script>
|
|
|
|
<!-- Include Fancytree skin and library -->
|
|
<link href="libraries/fancytree/skin-win8/ui.fancytree.css" rel="stylesheet">
|
|
<script src="libraries/fancytree/jquery.fancytree-all-deps.js"></script>
|
|
|
|
<script src="libraries/jquery.hotkeys.js"></script>
|
|
<script src="libraries/jquery.fancytree.hotkeys.js"></script>
|
|
|
|
<script src="libraries/autocomplete.jquery.min.js"></script>
|
|
|
|
<script src="libraries/dayjs.min.js"></script>
|
|
|
|
<script src="libraries/split.min.js"></script>
|
|
|
|
<link href="stylesheets/themes.css" rel="stylesheet">
|
|
<link href="stylesheets/style.css" rel="stylesheet">
|
|
<link href="stylesheets/desktop.css" rel="stylesheet">
|
|
|
|
<script src="javascripts/desktop.js" crossorigin type="module"></script>
|
|
|
|
<link rel="stylesheet" type="text/css" href="libraries/boxicons/css/boxicons.min.css">
|
|
|
|
</body>
|
|
</html>
|