mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
client,server: Trilium Notes -> TriliumNext Notes (closes #195)
This commit is contained in:
parent
4862b324a5
commit
590442b0d5
@ -645,7 +645,7 @@ export default class TabManager extends Component {
|
|||||||
const titleFragments = [
|
const titleFragments = [
|
||||||
// it helps to navigate in history if note title is included in the title
|
// it helps to navigate in history if note title is included in the title
|
||||||
await activeNoteContext.getNavigationTitle(),
|
await activeNoteContext.getNavigationTitle(),
|
||||||
"Trilium Notes"
|
"TriliumNext Notes"
|
||||||
].filter(Boolean);
|
].filter(Boolean);
|
||||||
|
|
||||||
document.title = titleFragments.join(" - ");
|
document.title = titleFragments.join(" - ");
|
||||||
|
@ -204,7 +204,7 @@ const TPL = `
|
|||||||
|
|
||||||
<li class="dropdown-item show-about-dialog-button">
|
<li class="dropdown-item show-about-dialog-button">
|
||||||
<span class="bx bx-empty"></span>
|
<span class="bx bx-empty"></span>
|
||||||
About Trilium Notes
|
About TriliumNext Notes
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="dropdown-item update-to-latest-version-button" data-trigger-command="downloadLatestVersion">
|
<li class="dropdown-item update-to-latest-version-button" data-trigger-command="downloadLatestVersion">
|
||||||
|
@ -7,7 +7,7 @@ const TPL = `
|
|||||||
<div class="modal-dialog modal-lg" role="document">
|
<div class="modal-dialog modal-lg" role="document">
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<h5 class="modal-title mr-auto">About Trilium Notes</h5>
|
<h5 class="modal-title mr-auto">About TriliumNext Notes</h5>
|
||||||
|
|
||||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close" style="margin-left: 0;">
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close" style="margin-left: 0;">
|
||||||
<span aria-hidden="true">×</span>
|
<span aria-hidden="true">×</span>
|
||||||
|
@ -10,7 +10,7 @@ import utils = require('./utils');
|
|||||||
|
|
||||||
const template = `[Desktop Entry]
|
const template = `[Desktop Entry]
|
||||||
Type=Application
|
Type=Application
|
||||||
Name=Trilium Notes
|
Name=TriliumNext Notes
|
||||||
Icon=#APP_ROOT_DIR#/icon.png
|
Icon=#APP_ROOT_DIR#/icon.png
|
||||||
Exec=#EXE_PATH#
|
Exec=#EXE_PATH#
|
||||||
Categories=Office
|
Categories=Office
|
||||||
|
@ -98,7 +98,7 @@ function createTray() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
tray = new Tray(getIconPath());
|
tray = new Tray(getIconPath());
|
||||||
tray.setToolTip('Trilium Notes')
|
tray.setToolTip('TriliumNext Notes')
|
||||||
// Restore focus
|
// Restore focus
|
||||||
tray.on('click', changeVisibility)
|
tray.on('click', changeVisibility)
|
||||||
updateTrayMenu();
|
updateTrayMenu();
|
||||||
|
@ -22,7 +22,7 @@ async function createExtraWindow(extraWindowHash: string) {
|
|||||||
const win = new BrowserWindow({
|
const win = new BrowserWindow({
|
||||||
width: 1000,
|
width: 1000,
|
||||||
height: 800,
|
height: 800,
|
||||||
title: 'Trilium Notes',
|
title: 'TriliumNext Notes',
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
nodeIntegration: true,
|
nodeIntegration: true,
|
||||||
contextIsolation: false,
|
contextIsolation: false,
|
||||||
@ -60,7 +60,7 @@ async function createMainWindow(app: App) {
|
|||||||
y: mainWindowState.y,
|
y: mainWindowState.y,
|
||||||
width: mainWindowState.width,
|
width: mainWindowState.width,
|
||||||
height: mainWindowState.height,
|
height: mainWindowState.height,
|
||||||
title: 'Trilium Notes',
|
title: 'TriliumNext Notes',
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
nodeIntegration: true,
|
nodeIntegration: true,
|
||||||
contextIsolation: false,
|
contextIsolation: false,
|
||||||
@ -132,7 +132,7 @@ async function createSetupWindow() {
|
|||||||
setupWindow = new BrowserWindow({
|
setupWindow = new BrowserWindow({
|
||||||
width: 800,
|
width: 800,
|
||||||
height: 800,
|
height: 800,
|
||||||
title: 'Trilium Notes Setup',
|
title: 'TriliumNext Notes Setup',
|
||||||
icon: getIcon(),
|
icon: getIcon(),
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
// necessary for e.g. utils.isElectron()
|
// necessary for e.g. utils.isElectron()
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<link rel="shortcut icon" href="favicon.ico">
|
<link rel="shortcut icon" href="favicon.ico">
|
||||||
<link rel="manifest" crossorigin="use-credentials" href="manifest.webmanifest">
|
<link rel="manifest" crossorigin="use-credentials" href="manifest.webmanifest">
|
||||||
<title>Trilium Notes</title>
|
<title>TriliumNext Notes</title>
|
||||||
</head>
|
</head>
|
||||||
<body class="desktop heading-style-<%= headingStyle %>">
|
<body class="desktop heading-style-<%= headingStyle %>">
|
||||||
<noscript>Trilium requires JavaScript to be enabled.</noscript>
|
<noscript>Trilium requires JavaScript to be enabled.</noscript>
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<link rel="shortcut icon" href="favicon.ico">
|
<link rel="shortcut icon" href="favicon.ico">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||||
<meta name="theme-color" content="#fff">
|
<meta name="theme-color" content="#fff">
|
||||||
<title>Trilium Notes</title>
|
<title>TriliumNext Notes</title>
|
||||||
<link rel="manifest" crossorigin="use-credentials" href="manifest.webmanifest">
|
<link rel="manifest" crossorigin="use-credentials" href="manifest.webmanifest">
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
@ -47,7 +47,7 @@
|
|||||||
<noscript>Trilium requires JavaScript to be enabled.</noscript>
|
<noscript>Trilium requires JavaScript to be enabled.</noscript>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div id="setup-dialog" class="col-md-12 col-lg-8 col-xl-6 mx-auto" style="padding-top: 25px; font-size: larger; display: none;">
|
<div id="setup-dialog" class="col-md-12 col-lg-8 col-xl-6 mx-auto" style="padding-top: 25px; font-size: larger; display: none;">
|
||||||
<h1>Trilium Notes setup</h1>
|
<h1>TriliumNext Notes setup</h1>
|
||||||
|
|
||||||
<div class="alert alert-warning" id="alert" style="display: none;">
|
<div class="alert alert-warning" id="alert" style="display: none;">
|
||||||
</div>
|
</div>
|
||||||
@ -92,7 +92,7 @@
|
|||||||
<p>This setup needs to be initiated from the desktop instance:</p>
|
<p>This setup needs to be initiated from the desktop instance:</p>
|
||||||
|
|
||||||
<ol>
|
<ol>
|
||||||
<li>Open your desktop instance of Trilium Notes.</li>
|
<li>Open your desktop instance of TriliumNext Notes.</li>
|
||||||
<li>From the Trilium Menu, click Options.</li>
|
<li>From the Trilium Menu, click Options.</li>
|
||||||
<li>Click on Sync tab.</li>
|
<li>Click on Sync tab.</li>
|
||||||
<li>Change server instance address to: <span id="current-host"></span> and click save.</li>
|
<li>Change server instance address to: <span id="current-host"></span> and click save.</li>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user