Notes/src/views/desktop.ejs

76 lines
3.0 KiB
Plaintext
Raw Normal View History

<!DOCTYPE html>
<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">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, viewport-fit=cover" />
<link rel="manifest" crossorigin="use-credentials" href="manifest.webmanifest">
<title>TriliumNext Notes</title>
2018-12-23 10:57:40 +01:00
</head>
2024-12-09 21:54:11 +02:00
<body class="desktop heading-style-<%= headingStyle %> layout-<%= layoutOrientation %> platform-<%= platform %> <%= isElectron ? 'electron' : '' %> <%= hasNativeTitleBar ? 'native-titlebar' : '' %> <%= hasBackgroundEffects ? 'background-effects' : '' %>">
2024-09-08 18:55:11 +03:00
<noscript><%= t("javascript-required") %></noscript>
<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>
<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("./partials/windowGlobal.ejs", locals) %>
2017-10-15 19:10:36 -04: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
2023-11-22 20:11:41 +01:00
<script src="<%= assetPath %>/node_modules/jquery/dist/jquery.min.js"></script>
2017-10-15 19:10:36 -04:00
2024-08-11 01:59:50 +02:00
<link href="<%= assetPath %>/node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
<script src="<%= assetPath %>/node_modules/bootstrap/dist/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="<%= assetPath %>/stylesheets/tree.css" rel="stylesheet">
2024-08-11 01:59:50 +02:00
<script src="<%= assetPath %>/node_modules/jquery.fancytree/dist/jquery.fancytree-all-deps.min.js"></script>
2017-10-15 19:10:36 -04:00
2023-11-22 20:15:21 +01:00
<script src="<%= assetPath %>/node_modules/jquery-hotkeys/jquery-hotkeys.js"></script>
2017-10-15 19:10:36 -04:00
<script src="<%= assetPath %>/node_modules/autocomplete.js/dist/autocomplete.jquery.min.js"></script>
2023-11-22 19:58:54 +01:00
<script src="<%= assetPath %>/node_modules/dayjs/dayjs.min.js"></script>
2023-11-22 20:26:20 +01:00
<script src="<%= assetPath %>/node_modules/split.js/dist/split.min.js"></script>
<link href="<%= assetPath %>/stylesheets/ckeditor-theme.css" rel="stylesheet">
2021-09-27 21:01:56 +02:00
<link href="api/fonts" rel="stylesheet">
<link href="<%= assetPath %>/stylesheets/theme-light.css" rel="stylesheet">
<% if (themeCssUrl) { %>
<link href="<%= themeCssUrl %>" rel="stylesheet">
<% } %>
<% if (themeUseNextAsBase) { %>
<link href="<%= assetPath %>/stylesheets/theme-next.css" rel="stylesheet">
<% } %>
<link href="<%= assetPath %>/stylesheets/style.css" rel="stylesheet">
2017-10-15 19:10:36 -04:00
<script>
$("body").show();
</script>
<script src="<%= appPath %>/desktop.js" crossorigin type="module"></script>
2018-03-24 11:18:46 -04:00
2023-11-22 20:06:44 +01:00
<link rel="stylesheet" type="text/css" href="<%= assetPath %>/node_modules/boxicons/css/boxicons.min.css">
</>
</html>