Updates
This commit is contained in:
@ -8,6 +8,12 @@
|
||||
<link href='/theme/assets/css/jquery-ui.structure.css' rel='stylesheet' />
|
||||
<link href='/css/style.css' rel='stylesheet' />
|
||||
<link href='//cdn.datatables.net/2.0.8/css/dataTables.dataTables.min.css' rel='stylesheet' />
|
||||
<style>
|
||||
#notes,
|
||||
#notePreview {
|
||||
font-size: {{ meta.noteTextSize }}pt;
|
||||
}
|
||||
</style>
|
||||
{% endblock %}
|
||||
|
||||
{% block javascripts %}
|
||||
@ -20,6 +26,12 @@
|
||||
<script src='//momentjs.com/downloads/moment-with-locales.js'></script>
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/markdown-it/13.0.2/markdown-it.min.js" integrity="sha512-ohlWmsCxOu0bph1om5eDL0jm/83eH09fvqLDhiEdiqfDeJbEvz4FSbeY0gLJSVJwQAp0laRhTXbUQG+ZUuifUQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
|
||||
<script src='//cdn.datatables.net/2.0.8/js/dataTables.min.js'></script>
|
||||
<script>
|
||||
let saveInterval = ({{ meta.saveInterval }} * 1000);
|
||||
let saveTimeout = ({{ meta.saveTimeout }} * 1000);
|
||||
const SAVE_FAILURE_LIMIT = {{ meta.saveFailureCount }};
|
||||
let saveFailureCount = {{ meta.saveFailureCount }};
|
||||
</script>
|
||||
<script src='/js/script.js'></script>
|
||||
{% endblock %}
|
||||
|
||||
@ -50,11 +62,6 @@
|
||||
<th>Date</th>
|
||||
</tr>
|
||||
</thead>
|
||||
{#<tbody>
|
||||
{% for n in reverseNoteSort %}
|
||||
{{ n.toTableRow()|raw }}
|
||||
{% endfor %}
|
||||
</tbody>#}
|
||||
</table>
|
||||
</div>
|
||||
</section>
|
||||
@ -62,10 +69,10 @@
|
||||
<section class="notes">
|
||||
<div id='note-header-left'>
|
||||
<h2>Notes</h2>
|
||||
<i id='save-check' class='fa fa-check'></i>
|
||||
<i id='save-check' class='fa fa-save'></i>
|
||||
</div>
|
||||
<div id='note-header-right'>
|
||||
<select id='template' onchange="retrieveTemplate('template','notes')">
|
||||
<select id='template' onchange="retrieveTemplate('template','notes')" style='width:200px;'>
|
||||
<option value=0>-- Template --</option>
|
||||
{% for t in app.user.templates %}
|
||||
<option value="{{ t.id }}">{{ t.name }}</option>
|
||||
|
Reference in New Issue
Block a user