mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 22:05:44 +01:00
basic functionality of history now working
This commit is contained in:
@@ -44,7 +44,7 @@ def updateNote(note_id):
|
||||
|
||||
now = math.floor(time.time())
|
||||
|
||||
history_cutoff = now - 3600
|
||||
history_cutoff = now - 600
|
||||
|
||||
history = getSingleResult("select id from notes_history where note_id = ? and date_modified >= ?", [note_id, history_cutoff])
|
||||
|
||||
|
||||
@@ -173,10 +173,13 @@
|
||||
|
||||
<div id="noteHistoryDialog" title="Note history" style="display: none;">
|
||||
<div style="display: flex;">
|
||||
<select id="noteHistoryList" size="25" style="flex-grow: 1;">
|
||||
<select id="noteHistoryList" size="25" style="flex-grow: 1; height: 630px;">
|
||||
</select>
|
||||
|
||||
<div id="noteHistoryContent" style="flex-grow: 3;">
|
||||
<div id="noteHistoryContentWrapper" style="flex-grow: 3; margin-left: 20px;">
|
||||
<h1 id="noteHistoryTitle" style="margin-top: 5px;"></h1>
|
||||
|
||||
<div id="noteHistoryContent"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user