diff --git a/.gitignore b/.gitignore index 223e6f2abd..4ecb3b22ce 100755 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,8 @@ /build/ /dist/ test-output/ +node_modules/ +package-lock.json /*.egg-info/ anvio/__pycache__/ anvio/extensions/concoct/vbgmm.c diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index e46512375a..0000000000 --- a/.gitmodules +++ /dev/null @@ -1,45 +0,0 @@ -[submodule "anvio/data/static/content/chartsjs"] - path = anvio/data/static/content/chartsjs - url = https://github.com/nnnick/Chart.js -[submodule "anvio/data/static/content/bootstrap-sortable"] - path = anvio/data/static/content/bootstrap-sortable - url = https://github.com/drvic10k/bootstrap-sortable -[submodule "anvio/data/interactive/lib/bootstrap-sortable"] - path = anvio/data/interactive/lib/bootstrap-sortable - url = https://github.com/drvic10k/bootstrap-sortable -[submodule "anvio/data/interactive/lib/d3.js"] - path = anvio/data/interactive/lib/d3.js - url = https://github.com/mbostock/d3 -[submodule "anvio/data/interactive/lib/jquery"] - path = anvio/data/interactive/lib/jquery - url = https://github.com/jquery/jquery -[submodule "anvio/data/interactive/lib/bootstrap"] - path = anvio/data/interactive/lib/bootstrap - url = https://github.com/twbs/bootstrap -[submodule "anvio/data/interactive/lib/jquery-ui"] - path = anvio/data/interactive/lib/jquery-ui - url = https://github.com/jquery/jquery-ui -[submodule "anvio/data/interactive/lib/randomColor"] - path = anvio/data/interactive/lib/randomColor - url = https://github.com/davidmerfield/randomColor -[submodule "anvio/data/interactive/lib/bootstrap-waitingfor"] - path = anvio/data/interactive/lib/bootstrap-waitingfor - url = https://github.com/ehpc/bootstrap-waitingfor.git -[submodule "anvio/data/interactive/lib/toastr"] - path = anvio/data/interactive/lib/toastr - url = https://github.com/CodeSeven/toastr.git -[submodule "anvio/data/interactive/lib/bootstrap-markdown"] - path = anvio/data/interactive/lib/bootstrap-markdown - url = https://github.com/toopay/bootstrap-markdown.git -[submodule "anvio/data/interactive/lib/marked"] - path = anvio/data/interactive/lib/marked - url = https://github.com/chjj/marked.git -[submodule "anvio/data/interactive/lib/JavaScript-MD5"] - path = anvio/data/interactive/lib/JavaScript-MD5 - url = https://github.com/blueimp/JavaScript-MD5.git -[submodule "anvio/data/interactive/lib/bootstrap-icons"] - path = anvio/data/interactive/lib/bootstrap-icons - url = https://github.com/twbs/icons.git -[submodule "anvio/data/interactive/lib/roboto"] - path = anvio/data/interactive/lib/roboto - url = https://github.com/googlefonts/roboto.git diff --git a/anvio/data/interactive/charts.html b/anvio/data/interactive/charts.html index ac275cb34d..58b6a56b7c 100644 --- a/anvio/data/interactive/charts.html +++ b/anvio/data/interactive/charts.html @@ -10,9 +10,9 @@ - + - + @@ -20,17 +20,16 @@ - - - - + + + - - + + - +
diff --git a/anvio/data/interactive/contigs.html b/anvio/data/interactive/contigs.html index 0ba90ec4d2..5b53a0e51d 100644 --- a/anvio/data/interactive/contigs.html +++ b/anvio/data/interactive/contigs.html @@ -3,12 +3,12 @@diff --git a/anvio/data/interactive/js/bin.js b/anvio/data/interactive/js/bin.js index 42a0acf569..097dc13aeb 100644 --- a/anvio/data/interactive/js/bin.js +++ b/anvio/data/interactive/js/bin.js @@ -93,7 +93,7 @@ Bins.prototype.NewBin = function(id, binState) { `} | ||
---|---|---|
' + ' | {short-name} | ' + 'n/a | ' + @@ -3048,7 +3018,6 @@ function processState(state_name, state) { } populateColorDicts(); - buildLegendTables(); current_state_name = state_name; toastr.success("State '" + current_state_name + "' successfully loaded."); diff --git a/anvio/data/interactive/js/utils.js b/anvio/data/interactive/js/utils.js index a827ecd047..a5909a02dc 100644 --- a/anvio/data/interactive/js/utils.js +++ b/anvio/data/interactive/js/utils.js @@ -349,9 +349,6 @@ function showTaxonomyTableDialog(title, content) $('#modal' + randomID).on('hidden.bs.modal', function () { $(this).remove(); }); - - // trigger bootstrap-sortable in case newly generated page content may have sortable tables. - $.bootstrapSortable({ applyLast: true }) } @@ -386,10 +383,7 @@ function showGeneClusterFunctionsSummaryTableDialog(title, content) $('#modal' + randomID).modal({'show': true, 'backdrop': true, 'keyboard': false}).find('.modal-dialog').draggable({handle: '.modal-header'}); $('#modal' + randomID).on('hidden.bs.modal', function () { $(this).remove(); - }); - - // trigger bootstrap-sortable in case newly generated page content may have sortable tables. - $.bootstrapSortable({ applyLast: true }) + }); } @@ -428,10 +422,7 @@ function showDraggableDialog(title, content, updateOnly) $('#modal' + randomID).modal({'show': true, 'backdrop': false, 'keyboard': false}).find('.modal-dialog').draggable({handle: '.modal-header'}); $('#modal' + randomID).on('hidden.bs.modal', function () { $(this).remove(); - }); - - // trigger bootstrap-sortable in case newly generated page content may have sortable tables. - $.bootstrapSortable({ applyLast: true }) + }); } //-------------------------------------------------------------------------------------------------- diff --git a/anvio/data/interactive/lib/JavaScript-MD5 b/anvio/data/interactive/lib/JavaScript-MD5 deleted file mode 160000 index 9756d82db7..0000000000 --- a/anvio/data/interactive/lib/JavaScript-MD5 +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 9756d82db70b0f678bc6cd055e7aa08f5c1a0390 diff --git a/anvio/data/interactive/lib/bootstrap b/anvio/data/interactive/lib/bootstrap deleted file mode 160000 index 6ffb0b48e4..0000000000 --- a/anvio/data/interactive/lib/bootstrap +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 6ffb0b48e455430f8a5359ed689ad64c1143fac2 diff --git a/anvio/data/interactive/lib/bootstrap-icons b/anvio/data/interactive/lib/bootstrap-icons deleted file mode 160000 index 9727a0d634..0000000000 --- a/anvio/data/interactive/lib/bootstrap-icons +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 9727a0d6343ab9595ab98c7c9c57ccc5de305c95 diff --git a/anvio/data/interactive/lib/bootstrap-markdown b/anvio/data/interactive/lib/bootstrap-markdown deleted file mode 160000 index 0320bec0bd..0000000000 --- a/anvio/data/interactive/lib/bootstrap-markdown +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 0320bec0bdb3fa49754d8fc26bfe2159c5fbe4d2 diff --git a/anvio/data/interactive/lib/bootstrap-sortable b/anvio/data/interactive/lib/bootstrap-sortable deleted file mode 160000 index 159505ae6a..0000000000 --- a/anvio/data/interactive/lib/bootstrap-sortable +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 159505ae6ad99aefd727e8ffd9dc31cad58905b7 diff --git a/anvio/data/interactive/lib/bootstrap-waitingfor b/anvio/data/interactive/lib/bootstrap-waitingfor deleted file mode 160000 index 6ea6352324..0000000000 --- a/anvio/data/interactive/lib/bootstrap-waitingfor +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 6ea63523247fe772bca0e633dc51a62e9dfbc9ce diff --git a/anvio/data/interactive/lib/d3.js b/anvio/data/interactive/lib/d3.js deleted file mode 160000 index b48420930f..0000000000 --- a/anvio/data/interactive/lib/d3.js +++ /dev/null @@ -1 +0,0 @@ -Subproject commit b48420930f3848b1498c034387fac2588903d7cf diff --git a/anvio/data/interactive/lib/jquery b/anvio/data/interactive/lib/jquery deleted file mode 160000 index 1472290917..0000000000 --- a/anvio/data/interactive/lib/jquery +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 1472290917f17af05e98007136096784f9051fab diff --git a/anvio/data/interactive/lib/jquery-ui b/anvio/data/interactive/lib/jquery-ui deleted file mode 160000 index d6713024e1..0000000000 --- a/anvio/data/interactive/lib/jquery-ui +++ /dev/null @@ -1 +0,0 @@ -Subproject commit d6713024e16de90ea71dc0544ba34e1df01b4d8a diff --git a/anvio/data/interactive/lib/marked b/anvio/data/interactive/lib/marked deleted file mode 160000 index 8f9d0b72f5..0000000000 --- a/anvio/data/interactive/lib/marked +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 8f9d0b72f5606ed32057049f387161dd41c36ade diff --git a/anvio/data/interactive/lib/randomColor b/anvio/data/interactive/lib/randomColor deleted file mode 160000 index 455f347ecd..0000000000 --- a/anvio/data/interactive/lib/randomColor +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 455f347ecde2f61f9d32d9d1dbe4f6f28e54fc9e diff --git a/anvio/data/interactive/lib/roboto b/anvio/data/interactive/lib/roboto deleted file mode 160000 index cb3cde1a30..0000000000 --- a/anvio/data/interactive/lib/roboto +++ /dev/null @@ -1 +0,0 @@ -Subproject commit cb3cde1a3069f28b9a66f3d104f51fd6c0734be1 diff --git a/anvio/data/interactive/lib/toastr b/anvio/data/interactive/lib/toastr deleted file mode 160000 index b957ae9f38..0000000000 --- a/anvio/data/interactive/lib/toastr +++ /dev/null @@ -1 +0,0 @@ -Subproject commit b957ae9f38e6856346a0200e83281b08ca717a7d diff --git a/anvio/data/interactive/lib/treelib-js/LICENSE b/anvio/data/interactive/lib/treelib-js/LICENSE deleted file mode 100644 index 8b75036018..0000000000 --- a/anvio/data/interactive/lib/treelib-js/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2013 Roderic D. M. Page - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. \ No newline at end of file diff --git a/anvio/data/interactive/login.html b/anvio/data/interactive/login.html index 04192a4c3b..d38eaefa7e 100644 --- a/anvio/data/interactive/login.html +++ b/anvio/data/interactive/login.html @@ -1,10 +1,10 @@ - - - - - + + + + +