| More cleanup - warvox - VoIP based wardialing tool, forked from rapid7/warvox. | |
| Log | |
| Files | |
| Refs | |
| README | |
| --- | |
| commit 7cf35f7ee06eae9797292dce6b5a566e7142d46b | |
| parent e1547bc2058230f93ae14da36e96917886d42647 | |
| Author: HD Moore <[email protected]> | |
| Date: Sat, 29 Dec 2012 14:34:54 -0600 | |
| More cleanup | |
| Diffstat: | |
| M app/views/home/about.html.erb | 4 ++-- | |
| M app/views/layouts/application.html… | 2 +- | |
| M app/views/shared/graphs/_call_resu… | 3 ++- | |
| M app/views/shared/graphs/_lines_by_… | 3 ++- | |
| D app/views/shared/graphs/call_resul… | 60 ---------------------------… | |
| D app/views/shared/graphs/lines_by_t… | 0 | |
| 6 files changed, 7 insertions(+), 65 deletions(-) | |
| --- | |
| diff --git a/app/views/home/about.html.erb b/app/views/home/about.html.erb | |
| @@ -4,10 +4,10 @@ | |
| <h1 class='title'>About WarVOX</h1> | |
| -<b>WarVOX</b> is a product of <a href="http://www.rapid7.com/">Rapid7 Inc</a> … | |
| +<b>WarVOX</b> is a product of <a href="http://www.rapid7.com/">Rapid7</a> and … | |
| free software. WarVOX is intended for legal security assessment, asset invento… | |
| and research purposes only. The latest version of WarVOX can be found in <i cl… | |
| -<a href="https://github.com/rapid7/warvox/"> https://github.com/rapid7/warvox/… | |
| +<a href="https://github.com/rapid7/warvox/"> https://github.com/rapid7/warvox/… | |
| </div> | |
| <div class="span3"> | |
| diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/applica… | |
| @@ -47,7 +47,7 @@ | |
| </div> | |
| <footer class="footer"> | |
| - <p>© Rapid7, Inc. 2009-2013</p> | |
| + <p>WarVOX v<%=WarVOX::VERSION %> © Rapid7, Inc. 2009-20… | |
| </footer> | |
| </div> | |
| diff --git a/app/views/shared/graphs/_call_results.html.erb b/app/views/shared/… | |
| @@ -46,7 +46,8 @@ line_data << raw("{ name: 'Answered', data: [ #{@call_results… | |
| }, | |
| plotOptions: { | |
| series: { | |
| - stacking: 'normal' | |
| + stacking: 'normal', | |
| + animation : false | |
| } | |
| }, | |
| series: [ <%= line_data %> ] | |
| diff --git a/app/views/shared/graphs/_lines_by_type.html.erb b/app/views/shared… | |
| @@ -46,7 +46,8 @@ end | |
| }, | |
| plotOptions: { | |
| series: { | |
| - stacking: 'normal' | |
| + stacking: 'normal', | |
| + animation : false | |
| } | |
| }, | |
| series: [ <%= line_data %> ] | |
| diff --git a/app/views/shared/graphs/call_results.html.erb b/app/views/shared/g… | |
| @@ -1,60 +0,0 @@ | |
| -<% | |
| - | |
| - | |
| -graph_id = "g" + rand(0x1000000).to_s | |
| -pie_data = "" | |
| - | |
| - | |
| - | |
| -%> | |
| - | |
| -<div id="<%= graph_id %>"></div> | |
| - | |
| - | |
| -<%= javascript_tag do %> | |
| - | |
| - $(function () { | |
| - var chart; | |
| - $(document).ready(function() { | |
| - chart = new Highcharts.Chart({ | |
| - chart: { | |
| - renderTo: '<%= graph_id %>', | |
| - plotBackgroundColor: null, | |
| - plotBorderWidth: null, | |
| - plotShadow: false, | |
| - shadow: true | |
| - }, | |
| - title: { | |
| - text: 'Calls by Type' | |
| - }, | |
| - tooltip: { | |
| - pointFormat: '{series.name}: <b>{point.percentage}%</b>', | |
| - percentageDecimals: 1 | |
| - }, | |
| - plotOptions: { | |
| - pie: { | |
| - allowPointSelect: true, | |
| - cursor: 'pointer', | |
| - dataLabels: { | |
| - enabled: true, | |
| - color: '#000000', | |
| - connectorColor: '#000000', | |
| - formatter: function() { | |
| - return '<b>'+ this.point.name +'</b>: '+ Math.roun… | |
| - } | |
| - } | |
| - } | |
| - }, | |
| - series: [{ | |
| - type: 'pie', | |
| - name: 'Result Type', | |
| - data: [<%= pie_data %>] | |
| - }] | |
| - }); | |
| - }); | |
| -}); | |
| - | |
| - | |
| -<% end %> | |
| - | |
| -</div> | |
| diff --git a/app/views/shared/graphs/lines_by_type.html.erb b/app/views/shared/… |