mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-09 17:52:32 +08:00
77 lines
3.1 KiB
Plaintext
77 lines
3.1 KiB
Plaintext
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<link rel="shortcut icon" href="favicon.ico">
|
|
<meta name="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>
|
|
</head>
|
|
<body class="desktop heading-style-<%= headingStyle %> layout-<%= layoutOrientation %> platform-<%= platform %> <%= isElectron ? 'electron' : '' %> <%= hasNativeTitleBar ? 'native-titlebar' : '' %> <%= hasBackgroundEffects ? 'background-effects' : '' %>">
|
|
<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) %>
|
|
|
|
<style>
|
|
.note-split {
|
|
max-width: <%= maxContentWidth %>px;
|
|
}
|
|
</style>
|
|
|
|
<!-- Required for correct loading of scripts in Electron -->
|
|
<script>if (typeof module === 'object') {window.module = module; module = undefined;}</script>
|
|
|
|
<script src="<%= assetPath %>/node_modules/jquery/dist/jquery.min.js"></script>
|
|
|
|
<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>
|
|
|
|
<!-- Include Fancytree library and skip -->
|
|
<link href="<%= assetPath %>/stylesheets/tree.css" rel="stylesheet">
|
|
<script src="<%= assetPath %>/node_modules/jquery.fancytree/dist/jquery.fancytree-all-deps.min.js"></script>
|
|
|
|
<script src="<%= assetPath %>/node_modules/jquery-hotkeys/jquery-hotkeys.js"></script>
|
|
|
|
<script src="<%= assetPath %>/node_modules/autocomplete.js/dist/autocomplete.jquery.min.js"></script>
|
|
|
|
<script src="<%= assetPath %>/node_modules/dayjs/dayjs.min.js"></script>
|
|
|
|
<script src="<%= assetPath %>/node_modules/split.js/dist/split.min.js"></script>
|
|
|
|
<link href="<%= assetPath %>/stylesheets/ckeditor-theme.css" rel="stylesheet">
|
|
<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">
|
|
<link href="<%= assetPath %>/stylesheets/print.css" rel="stylesheet" media="print">
|
|
|
|
<script>
|
|
$("body").show();
|
|
</script>
|
|
|
|
<script src="<%= appPath %>/desktop.js" crossorigin type="module"></script>
|
|
|
|
<link rel="stylesheet" type="text/css" href="<%= assetPath %>/node_modules/boxicons/css/boxicons.min.css">
|
|
|
|
</>
|
|
</html>
|