2018-12-24 05:28:57 +08:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
2019-12-06 04:25:36 +08:00
|
|
|
<link rel="shortcut icon" href="favicon.ico">
|
2018-12-31 02:02:42 +08:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
2018-12-24 05:28:57 +08:00
|
|
|
<title>Trilium Notes</title>
|
2019-10-18 03:11:35 +08:00
|
|
|
<link rel="apple-touch-icon" sizes="180x180" href="images/app-icons/ios/apple-touch-icon.png">
|
2018-12-24 05:28:57 +08:00
|
|
|
</head>
|
2018-12-25 17:58:40 +08:00
|
|
|
<body class="mobile">
|
2019-04-16 03:30:26 +08:00
|
|
|
<noscript>Trilium requires JavaScript to be enabled.</noscript>
|
2019-10-18 02:44:51 +08:00
|
|
|
|
|
|
|
<div id="toast-container" class="d-flex flex-column justify-content-center align-items-center"></div>
|
|
|
|
|
2018-12-29 03:36:18 +08:00
|
|
|
<div class="row" id="container-row" style="display: none;">
|
2018-12-24 05:28:57 +08:00
|
|
|
|
2018-12-29 03:36:18 +08:00
|
|
|
<div id="left-pane" class="d-sm-flex d-md-flex d-lg-flex d-xl-flex col-12 col-sm-5 col-md-4 col-lg-4 col-xl-4">
|
2018-12-29 02:47:02 +08:00
|
|
|
<div id="global-buttons">
|
2019-11-02 19:17:00 +08:00
|
|
|
<a id="create-top-level-note-button" title="Create new top level note" class="icon-action bx bx-folder-plus"></a>
|
2018-12-29 02:47:02 +08:00
|
|
|
|
2019-11-24 17:14:30 +08:00
|
|
|
<a id="collapse-tree-button" title="Collapse note tree" class="icon-action bx bx-layer-minus"></a>
|
2018-12-29 02:47:02 +08:00
|
|
|
|
2019-11-24 17:14:30 +08:00
|
|
|
<a id="scroll-to-active-note-button" title="Scroll to active note" class="icon-action bx bx-crosshair"></a>
|
2018-12-29 06:57:11 +08:00
|
|
|
|
2018-12-29 16:13:52 +08:00
|
|
|
<div class="dropdown">
|
2019-11-02 19:17:00 +08:00
|
|
|
<a id="global-actions-button" title="Global actions" class="icon-action bx bx-cog dropdown-toggle" data-toggle="dropdown"></a>
|
2018-12-29 16:13:52 +08:00
|
|
|
|
|
|
|
<div class="dropdown-menu dropdown-menu-right">
|
2019-11-02 19:17:00 +08:00
|
|
|
<a class="dropdown-item" id="switch-to-desktop-button"><span class="bx bx-laptop"></span> Switch to desktop version</a>
|
|
|
|
<a class="dropdown-item" id="log-out-button"><span class="bx bx-log-out"></span> Logout</a>
|
2018-12-29 16:13:52 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-12-29 02:47:02 +08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="tree"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="detail" class="d-none d-sm-flex d-md-flex d-lg-flex d-xl-flex col-12 col-sm-7 col-md-8 col-lg-8">
|
2019-05-14 05:08:59 +08:00
|
|
|
<div class="note-tab-row">
|
|
|
|
<div class="note-tab-row-content"></div>
|
|
|
|
</div>
|
2018-12-25 05:39:17 +08:00
|
|
|
|
2019-05-14 05:08:59 +08:00
|
|
|
<div id="note-tab-container">
|
|
|
|
<div class="note-tab-content note-tab-content-template">
|
2019-09-10 03:31:50 +08:00
|
|
|
<div class="note-detail-content" style="width: 100%">
|
|
|
|
<div class="note-title-row">
|
2019-11-02 19:17:00 +08:00
|
|
|
<button type="button" class="note-menu-button action-button bx bx-menu"></button>
|
2018-12-24 05:28:57 +08:00
|
|
|
|
2019-09-10 03:31:50 +08:00
|
|
|
<input autocomplete="off" value="" class="form-control note-title" tabindex="1">
|
2018-12-24 19:49:27 +08:00
|
|
|
|
2019-09-10 03:31:50 +08:00
|
|
|
<button type="button" class="close-detail-button action-button d-sm-none d-md-none d-lg-none d-xl-none" aria-label="Close">
|
|
|
|
<span aria-hidden="true">×</span>
|
|
|
|
</button>
|
2019-07-01 02:14:57 +08:00
|
|
|
</div>
|
2018-12-24 19:49:27 +08:00
|
|
|
|
2019-09-10 03:31:50 +08:00
|
|
|
<div class="note-detail-component-wrapper">
|
|
|
|
<div class="note-detail-text note-detail-component" tabindex="10000">
|
|
|
|
<div class="note-detail-text-editor"></div>
|
|
|
|
</div>
|
2018-12-24 19:49:27 +08:00
|
|
|
|
2019-09-10 03:31:50 +08:00
|
|
|
<div class="note-detail-code note-detail-component">
|
|
|
|
<div class="note-detail-code-editor"></div>
|
|
|
|
</div>
|
2018-12-24 19:49:27 +08:00
|
|
|
|
2019-09-10 03:31:50 +08:00
|
|
|
<% include details/search.ejs %>
|
2018-12-24 19:49:27 +08:00
|
|
|
|
2019-09-10 03:31:50 +08:00
|
|
|
<% include details/render.ejs %>
|
2018-12-24 19:49:27 +08:00
|
|
|
|
2019-09-10 03:31:50 +08:00
|
|
|
<% include details/file.ejs %>
|
2018-12-24 19:49:27 +08:00
|
|
|
|
2019-09-10 03:31:50 +08:00
|
|
|
<% include details/image.ejs %>
|
2018-12-28 03:22:33 +08:00
|
|
|
|
2019-09-10 03:31:50 +08:00
|
|
|
<% include details/relation_map.ejs %>
|
|
|
|
|
|
|
|
<% include details/protected_session_password.ejs %>
|
|
|
|
</div>
|
2019-05-14 05:08:59 +08:00
|
|
|
</div>
|
2018-12-29 16:13:52 +08:00
|
|
|
</div>
|
2018-12-24 19:49:27 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-12-25 17:58:40 +08:00
|
|
|
|
|
|
|
<% include dialogs/protected_session_password.ejs %>
|
2019-11-08 02:58:40 +08:00
|
|
|
<% include dialogs/confirm.ejs %>
|
2018-12-29 05:05:04 +08:00
|
|
|
|
|
|
|
<div class="dropdown-menu dropdown-menu-sm" id="context-menu-container"></div>
|
2018-12-29 06:57:11 +08:00
|
|
|
|
2019-03-25 05:41:53 +08:00
|
|
|
<form action="logout" id="logout-form" method="POST" style="display: none;">
|
|
|
|
<input type="hidden" name="_csrf" value="<%= csrfToken %>"/>
|
|
|
|
</form>
|
2018-12-24 19:49:27 +08:00
|
|
|
</div>
|
|
|
|
|
2018-12-24 05:28:57 +08:00
|
|
|
<script type="text/javascript">
|
|
|
|
window.baseApiUrl = 'api/';
|
2018-12-24 17:10:36 +08:00
|
|
|
window.device = "mobile";
|
2018-12-24 05:28:57 +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 %>',
|
|
|
|
isDev: '<%= isDev %>'
|
2018-12-24 05:28:57 +08:00
|
|
|
};
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<script src="libraries/jquery.min.js"></script>
|
|
|
|
|
2019-03-14 05:43:59 +08:00
|
|
|
<script src="libraries/dayjs.min.js"></script>
|
|
|
|
|
2018-12-24 05:28:57 +08:00
|
|
|
<link href="libraries/fancytree/skin-win8/ui.fancytree.css" rel="stylesheet">
|
|
|
|
<script src="libraries/fancytree/jquery.fancytree-all-deps.min.js"></script>
|
|
|
|
|
|
|
|
<link href="libraries/bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
2018-12-24 19:49:27 +08:00
|
|
|
<script src="libraries/bootstrap/js/bootstrap.bundle.min.js"></script>
|
|
|
|
|
2018-12-29 17:04:59 +08:00
|
|
|
<script src="javascripts/mobile.js" crossorigin type="module"></script>
|
2018-12-24 05:28:57 +08:00
|
|
|
|
2019-05-01 14:57:44 +08:00
|
|
|
<link href="stylesheets/themes.css" rel="stylesheet">
|
2018-12-24 05:28:57 +08:00
|
|
|
<link href="stylesheets/style.css" rel="stylesheet">
|
|
|
|
<link href="stylesheets/mobile.css" rel="stylesheet">
|
|
|
|
|
2019-11-02 19:17:00 +08:00
|
|
|
<link rel="stylesheet" type="text/css" href="libraries/boxicons/css/boxicons.min.css">
|
2018-12-29 03:36:18 +08:00
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
// we hide container initally because otherwise it is rendered first without CSS and then flickers into
|
|
|
|
// final form which is pretty ugly.
|
2019-03-14 05:43:59 +08:00
|
|
|
$("#container-row").show();
|
|
|
|
</script>
|
|
|
|
</body>
|
2018-12-24 05:28:57 +08:00
|
|
|
</html>
|