trilium/src/views/desktop.ejs

91 lines
3.2 KiB
Text
Raw Normal View History

<!DOCTYPE html>
<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">
<title>Trilium Notes</title>
2018-12-23 17:57:40 +08:00
</head>
2020-03-01 05:13:54 +08:00
<body class="desktop theme-<%= theme %>" style="display: none; --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>
2020-04-01 02:52:41 +08:00
<%- 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/';
window.device = "desktop";
2018-12-23 17:57:40 +08:00
window.glob = {
activeDialog: null,
sourceId: '<%= sourceId %>',
maxSyncIdAtLoad: <%= maxSyncIdAtLoad %>,
instanceName: '<%= instanceName %>',
csrfToken: '<%= csrfToken %>',
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
<link href="libraries/ckeditor/ckeditor-content.css" rel="stylesheet">
2018-12-23 17:57:40 +08:00
<!-- Include Fancytree skin and library -->
2020-04-01 02:52:41 +08:00
<link href="libraries/fancytree/skin-win8/ui.fancytree.min.css" rel="stylesheet">
<script src="libraries/fancytree/jquery.fancytree-all-deps.min.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>
<script src="libraries/dayjs.min.js"></script>
<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">
<link href="stylesheets/detail.css" rel="stylesheet">
2017-10-16 07:10:36 +08:00
<script src="javascripts/desktop.js" crossorigin type="module"></script>
2018-03-24 23:18:46 +08:00
<link rel="stylesheet" type="text/css" href="libraries/boxicons/css/boxicons.min.css">
2020-03-01 05:13:54 +08:00
<script>
$("body").show();
</script>
2018-12-23 17:57:40 +08:00
</body>
</html>