From 8ca29f03d5b68ad6064989ad25ce138b2b54b202 Mon Sep 17 00:00:00 2001
From: Renato Botelho
Date: Thu, 25 Jul 2013 14:33:21 -0300
Subject: Call commands after page is loaded to improve speed
---
config/openbgpd/openbgpd_status.php | 98 +++++++++++++++++++++++--------------
1 file changed, 61 insertions(+), 37 deletions(-)
(limited to 'config')
diff --git a/config/openbgpd/openbgpd_status.php b/config/openbgpd/openbgpd_status.php
index 42b77574..522d3d41 100644
--- a/config/openbgpd/openbgpd_status.php
+++ b/config/openbgpd/openbgpd_status.php
@@ -114,7 +114,7 @@ function showCmdT($idx, $data) {
}
echo ""; /* no newline after pre */
- echo doCmdT($data['command'], $limit_default, "", $data['header_size']);
+ echo "Gathering data, please wait...\n";
echo " |
\n";
echo "\n";
}
@@ -149,8 +149,68 @@ function execCmds() {
?>
+
+
+
+
+
' . $pgtitle . '
';
@@ -185,42 +245,6 @@ function execCmds() {
-
-
--
cgit v1.2.3