From fb281112884075add7c0a1dc2fcc927f09314057 Mon Sep 17 00:00:00 2001 From: azivner Date: Tue, 10 Oct 2017 19:47:46 -0400 Subject: [PATCH] notecase webapp renamed to trilium --- history.sql | 6 ------ src/templates/app.html | 2 +- src/templates/login.html | 2 +- static/js/note.js | 4 ++-- 4 files changed, 4 insertions(+), 10 deletions(-) delete mode 100644 history.sql diff --git a/history.sql b/history.sql deleted file mode 100644 index 4f453a813..000000000 --- a/history.sql +++ /dev/null @@ -1,6 +0,0 @@ -CREATE TABLE `notes_history` ( - `id` INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, - `note_id` INTEGER NOT NULL, - `note_text` TEXT NOT NULL, - `date_modified` INTEGER NOT NULL -); \ No newline at end of file diff --git a/src/templates/app.html b/src/templates/app.html index 5e4b863a2..0346f6ff9 100644 --- a/src/templates/app.html +++ b/src/templates/app.html @@ -2,7 +2,7 @@ - Notecase web app + Trilium
diff --git a/src/templates/login.html b/src/templates/login.html index f5c8c8ab1..bfd5e8c36 100644 --- a/src/templates/login.html +++ b/src/templates/login.html @@ -8,7 +8,7 @@
-

Notecase login

+

Trilium login

{% if failedAuth %}
diff --git a/static/js/note.js b/static/js/note.js index 8557722b6..966628f44 100644 --- a/static/js/note.js +++ b/static/js/note.js @@ -58,7 +58,7 @@ $(document).ready(() => { $(".note-editable").attr("tabindex", 2); }); -function html2notecase(contents, note) { +function parseHtml(contents, note) { note.formatting = []; note.links = []; note.images = []; @@ -83,7 +83,7 @@ function html2notecase(contents, note) { function updateNoteFromInputs(note) { let contents = $('#noteDetail').summernote('code'); - html2notecase(contents, note); + parseHtml(contents, note); let title = $('#noteTitle').val();