From 1d2696e480f62ca4c6a9030662571cb600941305 Mon Sep 17 00:00:00 2001 From: Guy Davis Date: Thu, 22 Feb 2024 14:11:47 -0700 Subject: [PATCH] Fixing for Datatables.js v2.0 import issue. --- scripts/pull_3rd_party_libs.sh | 2 +- web/templates/base.html | 2 +- web/templates/charts/container_memory.html | 2 +- web/templates/charts/farmed.html | 2 +- web/templates/charts/netspace.html | 2 +- web/templates/transactions.html | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/pull_3rd_party_libs.sh b/scripts/pull_3rd_party_libs.sh index b0d232eee..792f38a35 100755 --- a/scripts/pull_3rd_party_libs.sh +++ b/scripts/pull_3rd_party_libs.sh @@ -15,7 +15,7 @@ LEAFLET_VERSION=1.9.4 LIST=" https://cdn.datatables.net/2.0.0/css/dataTables.bootstrap5.css https://cdn.datatables.net/2.0.0/js/dataTables.bootstrap5.js -https://cdn.datatables.net/2.0.0/js/jquery.dataTables.js +https://cdn.datatables.net/2.0.0/js/dataTables.min.js https://cdn.jsdelivr.net/npm/chart.js@4.4.1/dist/chart.umd.js.map https://cdn.jsdelivr.net/npm/chart.js@4.4.1/dist/chart.umd.min.js https://cdn.jsdelivr.net/npm/chartjs-adapter-luxon@1.3.1/dist/chartjs-adapter-luxon.umd.min.js diff --git a/web/templates/base.html b/web/templates/base.html index 4d05fc374..c92f58c44 100644 --- a/web/templates/base.html +++ b/web/templates/base.html @@ -187,7 +187,7 @@ + src="{{ url_for('static', filename='3rd_party/dataTables.min.js') }}"> diff --git a/web/templates/charts/container_memory.html b/web/templates/charts/container_memory.html index c9276ec8e..f7eb679b6 100644 --- a/web/templates/charts/container_memory.html +++ b/web/templates/charts/container_memory.html @@ -48,7 +48,7 @@ + src="{{ url_for('static', filename='3rd_party/dataTables.min.js') }}"> diff --git a/web/templates/charts/farmed.html b/web/templates/charts/farmed.html index 85db06206..5b2485c73 100644 --- a/web/templates/charts/farmed.html +++ b/web/templates/charts/farmed.html @@ -73,7 +73,7 @@

{{_('Farmed Blocks')}}

+ src="{{ url_for('static', filename='3rd_party/dataTables.min.js') }}"> diff --git a/web/templates/charts/netspace.html b/web/templates/charts/netspace.html index c9276ec8e..f7eb679b6 100644 --- a/web/templates/charts/netspace.html +++ b/web/templates/charts/netspace.html @@ -48,7 +48,7 @@ + src="{{ url_for('static', filename='3rd_party/dataTables.min.js') }}"> diff --git a/web/templates/transactions.html b/web/templates/transactions.html index da1f6a5d0..ae5a5489f 100644 --- a/web/templates/transactions.html +++ b/web/templates/transactions.html @@ -101,7 +101,7 @@
{{_('Also ensure the blockchain fullnode is not Offline, by checking the Wor + src="{{ url_for('static', filename='3rd_party/dataTables.min.js') }}">