2017-10-14 23:31:44 -04:00
|
|
|
<!DOCTYPE html>
|
2019-01-13 21:16:51 +01:00
|
|
|
<html lang="en">
|
2018-12-23 10:57:40 +01:00
|
|
|
<head>
|
2017-10-15 19:10:36 -04:00
|
|
|
<meta charset="utf-8">
|
2019-12-03 19:31:58 +01:00
|
|
|
<link rel="shortcut icon" href="favicon.ico">
|
2017-12-26 12:55:40 -05:00
|
|
|
<title>Trilium Notes</title>
|
2018-12-23 10:57:40 +01:00
|
|
|
</head>
|
2021-09-27 21:01:56 +02:00
|
|
|
<body class="desktop heading-style-<%= headingStyle %>">
|
2019-04-15 21:30:26 +02:00
|
|
|
<noscript>Trilium requires JavaScript to be enabled.</noscript>
|
2019-10-17 20:03:05 +02:00
|
|
|
|
2020-05-21 09:42:25 +02:00
|
|
|
<script>
|
|
|
|
// hide body to reduce flickering on the startup. This is done through JS and not CSS to not hide <noscript>
|
|
|
|
document.getElementsByTagName("body")[0].style.display = "none";
|
|
|
|
</script>
|
|
|
|
|
2019-10-17 20:03:05 +02:00
|
|
|
<div id="toast-container" class="d-flex flex-column justify-content-center align-items-center"></div>
|
|
|
|
|
2020-02-06 21:16:02 +01:00
|
|
|
<div class="dropdown-menu dropdown-menu-sm" id="context-menu-container"></div>
|
|
|
|
|
2020-03-31 20:52:41 +02:00
|
|
|
<%- include('dialogs/about.ejs') %>
|
|
|
|
<%- include('dialogs/add_link.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/info.ejs') %>
|
|
|
|
<%- include('dialogs/prompt.ejs') %>
|
|
|
|
<%- include('dialogs/confirm.ejs') %>
|
|
|
|
<%- include('dialogs/help.ejs') %>
|
|
|
|
<%- include('dialogs/clone_to.ejs') %>
|
|
|
|
<%- include('dialogs/move_to.ejs') %>
|
|
|
|
<%- include('dialogs/backend_log.ejs') %>
|
|
|
|
<%- include('dialogs/include_note.ejs') %>
|
2021-02-25 22:26:46 +01:00
|
|
|
<%- include('dialogs/sort_child_notes.ejs') %>
|
2021-03-14 19:54:40 +01:00
|
|
|
<%- include('dialogs/delete_notes.ejs') %>
|
2018-12-23 10:57:40 +01:00
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
window.baseApiUrl = 'api/';
|
2018-12-24 10:10:36 +01:00
|
|
|
window.device = "desktop";
|
2018-12-23 10:57:40 +01:00
|
|
|
window.glob = {
|
|
|
|
activeDialog: null,
|
|
|
|
sourceId: '<%= sourceId %>',
|
2020-08-02 23:27:48 +02:00
|
|
|
maxEntityChangeIdAtLoad: <%= maxEntityChangeIdAtLoad %>,
|
2021-03-21 22:43:41 +01:00
|
|
|
maxEntityChangeSyncIdAtLoad: <%= maxEntityChangeSyncIdAtLoad %>,
|
2019-03-24 22:41:53 +01:00
|
|
|
instanceName: '<%= instanceName %>',
|
2019-12-29 23:46:40 +01:00
|
|
|
csrfToken: '<%= csrfToken %>',
|
2020-04-25 23:52:13 +02:00
|
|
|
isDev: <%= isDev %>,
|
|
|
|
appCssNoteIds: <%- JSON.stringify(appCssNoteIds) %>,
|
2021-02-07 21:27:09 +01:00
|
|
|
isMainWindow: <%= isMainWindow %>,
|
|
|
|
extraHoistedNoteId: '<%= extraHoistedNoteId %>',
|
2021-05-07 22:23:49 +02:00
|
|
|
isProtectedSessionAvailable: <%= isProtectedSessionAvailable %>,
|
2021-11-14 21:52:18 +01:00
|
|
|
triliumVersion: "<%= triliumVersion %>"
|
2018-12-23 10:57:40 +01:00
|
|
|
};
|
|
|
|
</script>
|
2017-10-15 19:10:36 -04:00
|
|
|
|
2021-10-31 21:55:11 +01:00
|
|
|
<style>
|
|
|
|
.note-split {
|
|
|
|
max-width: <%= maxContentWidth %>px;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
|
2018-12-23 10:57:40 +01:00
|
|
|
<!-- Required for correct loading of scripts in Electron -->
|
|
|
|
<script>if (typeof module === 'object') {window.module = module; module = undefined;}</script>
|
2017-10-20 23:43:20 -04:00
|
|
|
|
2018-12-23 10:57:40 +01:00
|
|
|
<script src="libraries/jquery.min.js"></script>
|
2017-10-15 19:10:36 -04:00
|
|
|
|
2018-12-23 10:57:40 +01:00
|
|
|
<link href="libraries/bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
|
|
|
<script src="libraries/bootstrap/js/bootstrap.bundle.min.js"></script>
|
2017-10-15 19:10:36 -04:00
|
|
|
|
2021-05-23 20:26:54 +02:00
|
|
|
<!-- Include Fancytree library and skip -->
|
|
|
|
<link href="stylesheets/tree.css" rel="stylesheet">
|
2020-05-02 00:28:40 +02:00
|
|
|
<script src="libraries/fancytree/jquery.fancytree-all-deps.min.js"></script>
|
2017-10-15 19:10:36 -04:00
|
|
|
|
2018-12-23 10:57:40 +01:00
|
|
|
<script src="libraries/jquery.hotkeys.js"></script>
|
2017-10-15 19:10:36 -04:00
|
|
|
|
2018-12-23 10:57:40 +01:00
|
|
|
<script src="libraries/autocomplete.jquery.min.js"></script>
|
2018-11-07 00:23:50 +01:00
|
|
|
|
2019-03-13 22:43:59 +01:00
|
|
|
<script src="libraries/dayjs.min.js"></script>
|
|
|
|
|
2019-12-23 11:52:45 +01:00
|
|
|
<script src="libraries/split.min.js"></script>
|
|
|
|
|
2021-09-26 15:24:37 +02:00
|
|
|
<link href="stylesheets/ckeditor-theme.css" rel="stylesheet">
|
2021-09-27 21:01:56 +02:00
|
|
|
<link href="api/fonts" rel="stylesheet">
|
2021-09-26 15:24:37 +02:00
|
|
|
<link href="stylesheets/theme-light.css" rel="stylesheet">
|
|
|
|
|
|
|
|
<% if (themeCssUrl) { %>
|
|
|
|
<link href="<%= themeCssUrl %>" rel="stylesheet">
|
|
|
|
<% } %>
|
|
|
|
|
2018-12-23 10:57:40 +01:00
|
|
|
<link href="stylesheets/style.css" rel="stylesheet">
|
2017-10-15 19:10:36 -04:00
|
|
|
|
2020-05-21 09:42:25 +02:00
|
|
|
<script>
|
|
|
|
$("body").show();
|
|
|
|
</script>
|
|
|
|
|
2020-04-14 21:57:42 +02:00
|
|
|
<script src="app/desktop.js" crossorigin type="module"></script>
|
2018-03-24 11:18:46 -04:00
|
|
|
|
2019-11-02 12:17:00 +01:00
|
|
|
<link rel="stylesheet" type="text/css" href="libraries/boxicons/css/boxicons.min.css">
|
2018-11-09 11:57:52 +01:00
|
|
|
|
2018-12-23 10:57:40 +01:00
|
|
|
</body>
|
2018-12-01 23:15:36 +01:00
|
|
|
</html>
|