notecase webapp renamed to trilium

This commit is contained in:
azivner 2017-10-10 19:47:46 -04:00
parent c9322465a5
commit fb28111288
4 changed files with 4 additions and 10 deletions

View File

@ -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
);

View File

@ -2,7 +2,7 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>Notecase web app</title> <title>Trilium</title>
</head> </head>
<body> <body>
<div id="container"> <div id="container">

View File

@ -8,7 +8,7 @@
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-md-4 col-md-offset-4"> <div class="col-md-4 col-md-offset-4">
<h1>Notecase login</h1> <h1>Trilium login</h1>
{% if failedAuth %} {% if failedAuth %}
<div class="alert alert-warning"> <div class="alert alert-warning">

View File

@ -58,7 +58,7 @@ $(document).ready(() => {
$(".note-editable").attr("tabindex", 2); $(".note-editable").attr("tabindex", 2);
}); });
function html2notecase(contents, note) { function parseHtml(contents, note) {
note.formatting = []; note.formatting = [];
note.links = []; note.links = [];
note.images = []; note.images = [];
@ -83,7 +83,7 @@ function html2notecase(contents, note) {
function updateNoteFromInputs(note) { function updateNoteFromInputs(note) {
let contents = $('#noteDetail').summernote('code'); let contents = $('#noteDetail').summernote('code');
html2notecase(contents, note); parseHtml(contents, note);
let title = $('#noteTitle').val(); let title = $('#noteTitle').val();