mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
notecase webapp renamed to trilium
This commit is contained in:
parent
c9322465a5
commit
fb28111288
@ -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
|
|
||||||
);
|
|
@ -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">
|
||||||
|
@ -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">
|
||||||
|
@ -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();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user