More cleanup - warvox - VoIP based wardialing tool, forked from rapid7/warvox.
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit 7cf35f7ee06eae9797292dce6b5a566e7142d46b
(DIR) parent e1547bc2058230f93ae14da36e96917886d42647
(HTM) Author: HD Moore <hd_moore@rapid7.com>
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(-)
---
(DIR) 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> and is provided as
+<b>WarVOX</b> is a product of <a href="http://www.rapid7.com/">Rapid7</a> and is provided as
free software. WarVOX is intended for legal security assessment, asset inventory,
and research purposes only. The latest version of WarVOX can be found in <i class="icon-github"></i> GitHub at the following url
-<a href="https://github.com/rapid7/warvox/"> https://github.com/rapid7/warvox/</a>.
+<a href="https://github.com/rapid7/warvox/"> https://github.com/rapid7/warvox/</a>. The primary developer of WarVOX is <a href="mailto:hdm@rapid7.com">HD Moore</a>.
</div>
<div class="span3">
(DIR) diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
@@ -47,7 +47,7 @@
</div>
<footer class="footer">
- <p>© Rapid7, Inc. 2009-2013</p>
+ <p>WarVOX v<%=WarVOX::VERSION %> © Rapid7, Inc. 2009-2013</p>
</footer>
</div>
(DIR) diff --git a/app/views/shared/graphs/_call_results.html.erb b/app/views/shared/graphs/_call_results.html.erb
@@ -46,7 +46,8 @@ line_data << raw("{ name: 'Answered', data: [ #{@call_results[:Answered].to_i.to
},
plotOptions: {
series: {
- stacking: 'normal'
+ stacking: 'normal',
+ animation : false
}
},
series: [ <%= line_data %> ]
(DIR) diff --git a/app/views/shared/graphs/_lines_by_type.html.erb b/app/views/shared/graphs/_lines_by_type.html.erb
@@ -46,7 +46,8 @@ end
},
plotOptions: {
series: {
- stacking: 'normal'
+ stacking: 'normal',
+ animation : false
}
},
series: [ <%= line_data %> ]
(DIR) diff --git a/app/views/shared/graphs/call_results.html.erb b/app/views/shared/graphs/call_results.html.erb
@@ -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.round(this.percentage) +' %';
- }
- }
- }
- },
- series: [{
- type: 'pie',
- name: 'Result Type',
- data: [<%= pie_data %>]
- }]
- });
- });
-});
-
-
-<% end %>
-
-</div>
(DIR) diff --git a/app/views/shared/graphs/lines_by_type.html.erb b/app/views/shared/graphs/lines_by_type.html.erb