Restyle timeseries: restyle consts.lua; add new network_details page; restyle page-stats props

This commit is contained in:
uccidibuti 2022-11-07 16:23:40 +01:00
parent 1d2bd8de20
commit 9c004f1ab7
11 changed files with 142 additions and 83 deletions

View file

@ -1,7 +1,8 @@
<div id="vue-app">
<page-stats
:csrf="csrf"
:default_ifid="default_ifid"
:source_value="source_value"
:source_sub_value="source_sub_value"
:is_ntop_pro="is_ntop_pro"
:enable_snapshots="is_ntop_enterprise_m"
:is_history_enabled="is_history_enabled"
@ -17,7 +18,8 @@
const is_ntop_enterprise_m = '{* ntop.isEnterpriseM() *}' == 'true';
const is_history_enabled = '{* ntop.isClickHouseEnabled() *}' == 'true';
const traffic_extraction_permitted = '{* traffic_extraction_permitted *}' == 'true';
const default_ifid = '{* interface.getId() *}'
const source_value = '{* source_value *}'
const source_sub_value = '{* source_sub_value *}'
const vue_options = {
components: {
@ -31,7 +33,8 @@
data() {
return {
csrf: pageCsrf,
default_ifid,
source_value,
source_sub_value,
is_ntop_pro,
is_ntop_enterprise_m,
traffic_extraction_permitted,