diff --git a/agc_2-X/trunk/www/vicidial/AST_rt_whiteboard_rpt_mobile.php b/agc_2-X/trunk/www/vicidial/AST_rt_whiteboard_rpt_mobile.php
index d9a2d225..dfbd137b 100644
--- a/agc_2-X/trunk/www/vicidial/AST_rt_whiteboard_rpt_mobile.php
+++ b/agc_2-X/trunk/www/vicidial/AST_rt_whiteboard_rpt_mobile.php
@@ -601,6 +601,7 @@ $MAIN.=""; # (ticker)
$MAIN.=""; # (ticker)
$MAIN.="\n";
+$MAIN.="
(on selecting a report, the relevant parameters will be highlighted in red)";
$MAIN.="\n";
$MAIN.="\n";
diff --git a/agc_2-X/trunk/www/vicidial/AST_timeonVDADallSUMMARY_mobile.php b/agc_2-X/trunk/www/vicidial/AST_timeonVDADallSUMMARY_mobile.php
index 5dadc077..795df443 100644
--- a/agc_2-X/trunk/www/vicidial/AST_timeonVDADallSUMMARY_mobile.php
+++ b/agc_2-X/trunk/www/vicidial/AST_timeonVDADallSUMMARY_mobile.php
@@ -1,7 +1,7 @@
, Joe Johnson LICENSE: AGPLv2
+# Copyright (C) 2020 Matt Florell , Joe Johnson LICENSE: AGPLv2
#
# Mobile version of summary report for all campaigns live real-time stats for the VICIDIAL Auto-Dialer all servers
#
@@ -10,6 +10,7 @@
# changes:
#
# 190129-1258 - First release
+# 200414-2000 - Minor display modifications, auto-selecting refresh rate onload
#
require("dbconnect_mysqli.php");
@@ -37,7 +38,6 @@ if (isset($_GET["file_download"])) {$file_download=$_GET["file_download"];}
if (isset($_GET["browser_dimension"])) {$browser_dimension=$_GET["browser_dimension"];}
elseif (isset($_POST["browser_dimension"])) {$browser_dimension=$_POST["browser_dimension"];}
-if (!isset($RR)) {$RR=4000;}
if (!isset($browser_dimension)) {$browser_dimension=800;}
if (!isset($types)) {$types='LIST ALL CAMPAIGNS';}
$cell_dimension=floor($browser_dimension/10);
@@ -226,12 +226,18 @@ $i=0;
while ($i < $campaigns_to_print)
{
$row=mysqli_fetch_row($rslt);
- $campaign_options.="\n";
+ $campaign_options.="\n";
$i++;
}
-
-if (!isset($RR)) {$RR=4;}
+$stop_button_class="android_offbutton_noshadow";
+$slow_button_class="android_offbutton_noshadow";
+$fast_button_class="android_offbutton_noshadow";
+if (!isset($RR)) {
+ if ($campaigns_to_print<=20) {$RR=4; $fast_button_class="android_onbutton_noshadow";}
+ else if ($campaigns_to_print<=500) {$RR=40; $slow_button_class="android_onbutton_noshadow";}
+ else {$RR=4000; $stop_button_class="android_offbutton_noshadow";}
+}
require("screen_colors.php");
@@ -687,7 +693,7 @@ $out_total_JS.="];\n";
$out_ring_JS.="];\n";
$out_live_JS.="];\n";
$in_ivr_JS.="];\n";
-$agent_incall_JS.="];\n";
+$agent_incall_JS.="];\n";
$agent_ready_JS.="];\n";
$agent_paused_JS.="];\n";
$agent_total_JS.="];\n";
@@ -704,23 +710,29 @@ $MAIN.="";
$MAIN.="