diff --git a/dashboards/snmp-vs-netflow/app.css b/dashboards/snmp-vs-netflow/app.css index 383491c..64bee34 100644 --- a/dashboards/snmp-vs-netflow/app.css +++ b/dashboards/snmp-vs-netflow/app.css @@ -13,5 +13,3 @@ h3 small{ .panel-heading { padding: 5px 15px; } - -} diff --git a/dashboards/snmp-vs-netflow/pkg.yaml b/dashboards/snmp-vs-netflow/pkg.yaml index 40ab914..ea99328 100644 --- a/dashboards/snmp-vs-netflow/pkg.yaml +++ b/dashboards/snmp-vs-netflow/pkg.yaml @@ -1,6 +1,6 @@ name: SNMPVsNetflow -version: 0.0.3 +version: 0.0.4 author: trisul diff --git a/dashboards/snmp-vs-netflow/snmpvsnetflow.js b/dashboards/snmp-vs-netflow/snmpvsnetflow.js index e391173..3139819 100644 --- a/dashboards/snmp-vs-netflow/snmpvsnetflow.js +++ b/dashboards/snmp-vs-netflow/snmpvsnetflow.js @@ -149,6 +149,8 @@ class SNMPVSNetflow{ valid_input:1, mrtg:true, show_title:false, + auto_label:false, + chart_legend_names:Object.keys(this.jsparams.meters[ai]) }; await $.ajax({ url:"/trpjs/generate_chart", diff --git a/dashboards/snmp-vs-netflow/template.haml b/dashboards/snmp-vs-netflow/template.haml index 90f9559..d3ab2ff 100644 --- a/dashboards/snmp-vs-netflow/template.haml +++ b/dashboards/snmp-vs-netflow/template.haml @@ -22,6 +22,7 @@ %label.control-label.col-xs-4 Interfaces .col-xs-8 %select.select#interfaces{name:'interfaces',multiple:true} + %span.text-danger.chosen_message .row .col-xs-10.col-md-offset-4{style:"padding-top:10px"} %input#from_date{type:"hidden",name:"from_date"} @@ -30,15 +31,15 @@ .ui_data.clearfix .netvssnmp .col-xs-12.nopadding - .col-xs-6{style:"padding-left:0px"} - .panel.panel-info.netflow + .col-xs-6{style:"padding-left:0px;padding-right:2px;"} + .panel.panel-primary.netflow .panel-heading %h3 Netflow %small{style:"padding-left:5px"} .panel-body .netflow_chart - .col-xs-6{style:"padding-right:0px"} + .col-xs-6{style:"padding-right:0px;padding-left:2px"} .panel.panel-success.snmp .panel-heading %h3