mirror of
https://github.com/arnaucube/goBlockchainDataAnalysis.git
synced 2026-02-08 03:56:45 +01:00
improved frontend layout
This commit is contained in:
@@ -11,6 +11,8 @@ angular.module('app.main', ['ngRoute'])
|
||||
|
||||
.controller('MainCtrl', function($scope, $http) {
|
||||
$scope.stats = [];
|
||||
$scope.current=0;
|
||||
$scope.max=100;
|
||||
$scope.blockProgress={
|
||||
"width": "0%"
|
||||
};
|
||||
@@ -22,11 +24,12 @@ angular.module('app.main', ['ngRoute'])
|
||||
$scope.blockProgress={
|
||||
"width": tantpercent+"%"
|
||||
};
|
||||
$scope.current=80;
|
||||
}, function(data, status, headers, config) {
|
||||
console.log('data error');
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
//last addr
|
||||
$scope.addresses = [];
|
||||
$http.get(urlapi + 'lastaddr')
|
||||
|
||||
Reference in New Issue
Block a user