diff --git a/bsq_json.py b/bsq_json.py index c970985..7733d1c 100644 --- a/bsq_json.py +++ b/bsq_json.py @@ -17,7 +17,7 @@ import bsq_globals bsq_globals.init() -bsq_globals.chainstate_dict=load_json_file(config.dataDir + 'json/all/blocks.json') +bsq_globals.chainstate_dict=load_json_file('www/data/json/all/blocks.json') lines_per_page=10 diff --git a/config.py b/config.py deleted file mode 100644 index eece952..0000000 --- a/config.py +++ /dev/null @@ -1,5 +0,0 @@ -# Bisq directory to get the git commit hash -bisqHome = "/home/user/bisq/bisq" - -# Data directory where seednode keeps the json dumps -dataDir = "/home/user/.local/share/seed_BTC_TESTNET_p66zj5dzhccqhes3/btc_testnet/db/" diff --git a/update_data.sh b/update_data.sh new file mode 100755 index 0000000..df827f7 --- /dev/null +++ b/update_data.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +DATADIR=/home/user/.local/share/seed_BTC_TESTNET_p66zj5dzhccqhes3/btc_testnet/db + + +rsync -r $DATADIR/db/ www/data +python bsq_json.py diff --git a/www/btc02.js b/www/btc02.js index 6e503d3..984a3ba 100644 --- a/www/btc02.js +++ b/www/btc02.js @@ -14,9 +14,9 @@ function BTCController($scope, $http) { $scope.currentPage = 1; $scope.numberOfPages = 12; // this we will get somehow from the server $scope.firstLoad = true; - $scope.prevClass='disabled'; - $scope.nextClass=''; - + $scope.prevClass = 'disabled'; + $scope.nextClass = ''; + $scope.createIconPopup = function () { $('.iconPopupInit').popover({ trigger: "hover" }); }; diff --git a/www/css/bootstrap.css b/www/css/bootstrap.css index e136e7d..694a735 100644 --- a/www/css/bootstrap.css +++ b/www/css/bootstrap.css @@ -18,7 +18,7 @@ .txtype_text { padding-left: 5px; visibility: hidden; - font-size: 80%; + font-size: 100%; } .icon-file-text .txtype { color: #818181; @@ -73,13 +73,15 @@ color: #ffac00; } +#footer { + display: none; +} article, aside, details, figcaption, figure, -footer, header, hgroup, main, diff --git a/www/index.html b/www/index.html index 286f922..17e53ef 100644 --- a/www/index.html +++ b/www/index.html @@ -97,7 +97,7 @@
-