mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Restyle timeseries: restyle consts.lua; add new network_details page; restyle page-stats props
This commit is contained in:
parent
1d2bd8de20
commit
9c004f1ab7
11 changed files with 142 additions and 83 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue