Select Git revision
runtime-calls.md
-
* remove unused deps * fix #241 * remove sp_std dependency https://github.com/paritytech/polkadot-sdk/issues/2101# This is the commit message #2: * update metadata * clean Cargo.toml * run benchmarks * update node * update crates
* remove unused deps * fix #241 * remove sp_std dependency https://github.com/paritytech/polkadot-sdk/issues/2101# This is the commit message #2: * update metadata * clean Cargo.toml * run benchmarks * update node * update crates
currency-controllers.js 19.56 KiB
angular.module('cesium.graph.currency.controllers', ['chart.js', 'cesium.graph.services', 'cesium.graph.common.controllers'])
.config(function($stateProvider, PluginServiceProvider, csConfig) {
'ngInject';
$stateProvider
.state('app.currency.tab_parameters_stats', {
url: "/parameters/stats",
views: {
'tab-parameters': {
templateUrl: "plugins/graph/templates/currency/tabs/tab_parameters_stats.html"
}
}
})
.state('app.currency.tab_wot_stats', {
url: "/community/stats",
views: {
'tab-wot': {
templateUrl: "plugins/graph/templates/currency/tabs/tab_wot_stats.html",
controller: 'GpCurrencyMembersCountCtrl'
}
}
})
.state('app.currency.tab_network_stats', {
url: "/network/stats",
views: {
'tab-network': {
templateUrl: "plugins/graph/templates/currency/tabs/tab_network_stats.html"
}
}
})
.state('app.currency.tab_blocks_stats', {
url: "/blocks/stats",
views: {
'tab-blocks': {
templateUrl: "plugins/graph/templates/currency/tabs/tab_blocks_stats.html"
}
}
})
.state('app.currency_stats_lg', {
url: "/currency/stats/lg?hide&scale&stepUnit&t",
views: {
'menuContent': {
templateUrl: "plugins/graph/templates/currency/view_stats_lg.html"
}
}
});
var enable = csConfig.plugins && csConfig.plugins.es;
if (enable) {
PluginServiceProvider
.extendStates(['app.currency_name', 'app.currency', 'app.currency_name_lg', 'app.currency_lg'], {
points: {
'parameters-actual': {
templateUrl: "plugins/graph/templates/currency/view_currency_extend.html",
controller: 'GpCurrencyViewExtendCtrl'
},
'wot-actual': {
templateUrl: "plugins/graph/templates/currency/view_currency_extend.html",
controller: 'GpCurrencyViewExtendCtrl'
},
'network-actual': {
templateUrl: "plugins/graph/templates/currency/view_currency_extend.html",
controller: 'GpCurrencyViewExtendCtrl'
}
}
})
.extendStates(['app.currency.tab_blocks'], {
points: {