diff --git a/package.json b/package.json index b748488..ed8cbfe 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "flosight-ui", "description": "An open-source frontend for the Flosight API. The Flosight API provides you with a convenient, powerful and simple way to query and broadcast data on the florincoin network and build your own services with it.", - "version": "5.0.0-beta.59", + "version": "5.0.0-beta.60", "repository": "git://github.com/bitpay/flosight-ui.git", "bugs": { "url": "https://github.com/bitpay/flosight-ui/issues" diff --git a/public/src/js/controllers/index.js b/public/src/js/controllers/index.js index 73351ba..4099f1f 100644 --- a/public/src/js/controllers/index.js +++ b/public/src/js/controllers/index.js @@ -4,7 +4,7 @@ var TRANSACTION_DISPLAYED = 10; var BLOCKS_DISPLAYED = 5; angular.module('flosight.system').controller('IndexController', - function($scope, Global, getSocket, Blocks, Status) { + function($scope, Global, getSocket, Blocks) { $scope.global = Global; var _getBlocks = function(loadTxs) { @@ -49,19 +49,6 @@ angular.module('flosight.system').controller('IndexController', _startSocket(); }); - var _getStatus = function(q) { - Status.get({ - q: 'get' + q - }, - function(d) { - $scope.loaded = 1; - angular.extend($scope, d); - }, - function(e) { - $scope.error = 'API ERROR: ' + e.data; - }); - }; - $scope.humanSince = function(time) { var m = moment.unix(time); return m.max().fromNow(); @@ -70,7 +57,6 @@ angular.module('flosight.system').controller('IndexController', $scope.index = function() { _getBlocks(true); _startSocket(); - _getStatus('Info'); }; $scope.txs = []; diff --git a/public/views/includes/header.html b/public/views/includes/header.html index 5d725d6..be9ffcd 100644 --- a/public/views/includes/header.html +++ b/public/views/includes/header.html @@ -7,7 +7,7 @@ - flosight + flosight ({{info.network}})