2017-10-15 11:31:44 +08:00
|
|
|
<!DOCTYPE html>
|
2019-01-14 04:16:51 +08:00
|
|
|
<html lang="en">
|
2018-12-23 17:57:40 +08:00
|
|
|
<head>
|
2017-10-16 07:10:36 +08:00
|
|
|
<meta charset="utf-8">
|
2019-12-04 02:31:58 +08:00
|
|
|
<link rel="shortcut icon" href="favicon.ico">
|
2017-12-27 01:55:40 +08:00
|
|
|
<title>Trilium Notes</title>
|
2018-12-23 17:57:40 +08:00
|
|
|
</head>
|
2019-01-14 04:27:32 +08:00
|
|
|
<body class="desktop theme-<%= theme %>" style="--main-font-size: <%= mainFontSize %>%; --tree-font-size: <%= treeFontSize %>%; --detail-font-size: <%= detailFontSize %>%;">
|
2019-04-16 03:30:26 +08:00
|
|
|
<noscript>Trilium requires JavaScript to be enabled.</noscript>
|
2019-10-18 02:03:05 +08:00
|
|
|
|
|
|
|
<div id="toast-container" class="d-flex flex-column justify-content-center align-items-center"></div>
|
|
|
|
|
2020-02-07 04:16:02 +08:00
|
|
|
<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 %>
|
2018-12-23 17:57:40 +08:00
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
window.baseApiUrl = 'api/';
|
2018-12-24 17:10:36 +08:00
|
|
|
window.device = "desktop";
|
2018-12-23 17:57:40 +08:00
|
|
|
window.glob = {
|
|
|
|
activeDialog: null,
|
|
|
|
sourceId: '<%= sourceId %>',
|
|
|
|
maxSyncIdAtLoad: <%= maxSyncIdAtLoad %>,
|
2019-03-25 05:41:53 +08:00
|
|
|
instanceName: '<%= instanceName %>',
|
2019-12-30 06:46:40 +08:00
|
|
|
csrfToken: '<%= csrfToken %>',
|
2020-02-25 18:02:59 +08:00
|
|
|
isDev: '<%= isDev %>',
|
|
|
|
appCssNoteIds: <%- JSON.stringify(appCssNoteIds) %>
|
2018-12-23 17:57:40 +08:00
|
|
|
};
|
|
|
|
</script>
|
2017-10-16 07:10:36 +08:00
|
|
|
|
2018-12-23 17:57:40 +08:00
|
|
|
<!-- Required for correct loading of scripts in Electron -->
|
|
|
|
<script>if (typeof module === 'object') {window.module = module; module = undefined;}</script>
|
2017-10-21 11:43:20 +08:00
|
|
|
|
2018-12-23 17:57:40 +08:00
|
|
|
<script src="libraries/jquery.min.js"></script>
|
2017-10-16 07:10:36 +08:00
|
|
|
|
2018-12-23 17:57:40 +08:00
|
|
|
<link href="libraries/bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
|
|
|
<script src="libraries/bootstrap/js/bootstrap.bundle.min.js"></script>
|
2017-10-16 07:10:36 +08:00
|
|
|
|
2018-12-23 17:57:40 +08:00
|
|
|
<!-- Include Fancytree skin and library -->
|
|
|
|
<link href="libraries/fancytree/skin-win8/ui.fancytree.css" rel="stylesheet">
|
2019-06-16 15:44:23 +08:00
|
|
|
<script src="libraries/fancytree/jquery.fancytree-all-deps.js"></script>
|
2017-10-16 07:10:36 +08:00
|
|
|
|
2018-12-23 17:57:40 +08:00
|
|
|
<script src="libraries/jquery.hotkeys.js"></script>
|
|
|
|
<script src="libraries/jquery.fancytree.hotkeys.js"></script>
|
2017-10-16 07:10:36 +08:00
|
|
|
|
2018-12-23 17:57:40 +08:00
|
|
|
<script src="libraries/autocomplete.jquery.min.js"></script>
|
2018-11-07 07:23:50 +08:00
|
|
|
|
2019-03-14 05:43:59 +08:00
|
|
|
<script src="libraries/dayjs.min.js"></script>
|
|
|
|
|
2019-12-23 18:52:45 +08:00
|
|
|
<script src="libraries/split.min.js"></script>
|
|
|
|
|
2019-05-01 14:57:44 +08:00
|
|
|
<link href="stylesheets/themes.css" rel="stylesheet">
|
2018-12-23 17:57:40 +08:00
|
|
|
<link href="stylesheets/style.css" rel="stylesheet">
|
2018-12-29 02:47:02 +08:00
|
|
|
<link href="stylesheets/desktop.css" rel="stylesheet">
|
2017-10-16 07:10:36 +08:00
|
|
|
|
2018-12-29 17:04:59 +08:00
|
|
|
<script src="javascripts/desktop.js" crossorigin type="module"></script>
|
2018-03-24 23:18:46 +08:00
|
|
|
|
2019-11-02 19:17:00 +08:00
|
|
|
<link rel="stylesheet" type="text/css" href="libraries/boxicons/css/boxicons.min.css">
|
2018-11-09 18:57:52 +08:00
|
|
|
|
2018-12-23 17:57:40 +08:00
|
|
|
</body>
|
2018-12-02 06:15:36 +08:00
|
|
|
</html>
|