add moment.js and datatables.js

This commit is contained in:
Ryan Prather 2024-05-29 00:37:12 -04:00
parent ea60cf2622
commit 14b4ca0545

View File

@ -7,17 +7,20 @@
<link href='/theme/assets/css/jquery-ui.theme.css' rel='stylesheet' /> <link href='/theme/assets/css/jquery-ui.theme.css' rel='stylesheet' />
<link href='/theme/assets/css/jquery-ui.structure.css' rel='stylesheet' /> <link href='/theme/assets/css/jquery-ui.structure.css' rel='stylesheet' />
<link href='/css/style.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' />
{% endblock %} {% endblock %}
{% block javascripts %} {% block javascripts %}
<script src='/js/script.js'></script>
<script src="/theme/assets/js/jquery.min.js"></script> <script src="/theme/assets/js/jquery.min.js"></script>
<script src='/theme/assets/js/jquery-ui.js'></script> <script src='/theme/assets/js/jquery-ui.js'></script>
<script src="/theme/assets/js/browser.min.js"></script> <script src="/theme/assets/js/browser.min.js"></script>
<script src="/theme/assets/js/breakpoints.min.js"></script> <script src="/theme/assets/js/breakpoints.min.js"></script>
<script src="/theme/assets/js/util.js"></script> <script src="/theme/assets/js/util.js"></script>
<script src="/theme/assets/js/main.js"></script> <script src="/theme/assets/js/main.js"></script>
<script src="https://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='//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 src='/js/script.js'></script>
{% endblock %} {% endblock %}
{% block body %} {% block body %}
@ -38,7 +41,7 @@
</div> </div>
<div id="ref" style='font-size:12pt;'></div> <div id="ref" style='font-size:12pt;'></div>
<div id='note-list'> <div id='note-list'>
<table> <table id='note-table' data-order='[[ 3, "desc" ]]'>
<thead> <thead>
<tr> <tr>
<th>Title</th> <th>Title</th>
@ -47,11 +50,11 @@
<th>Date</th> <th>Date</th>
</tr> </tr>
</thead> </thead>
<tbody> {#<tbody>
{% for n in reverseNoteSort %} {% for n in reverseNoteSort %}
{{ n.toTableRow()|raw }} {{ n.toTableRow()|raw }}
{% endfor %} {% endfor %}
</tbody> </tbody>#}
</table> </table>
</div> </div>
</section> </section>