summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/diag_confbak.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2016-01-07 12:26:30 +0545
committerPhil Davis <phil.davis@inf.org>2016-01-07 12:26:30 +0545
commite47f1893a1f2453b91702208acf4a8ebc8c5ddd5 (patch)
treeace408908c2d975436493f70fb38deb411222c96 /src/usr/local/www/diag_confbak.php
parent24c16d618ea9f61a07b016808915706c9d2da7f5 (diff)
downloadpfsense-e47f1893a1f2453b91702208acf4a8ebc8c5ddd5.zip
pfsense-e47f1893a1f2453b91702208acf4a8ebc8c5ddd5.tar.gz
Config history info - make it an info box
Currently this display as an orange box. It seems to me that it is ordinary info and should be an info box (displaying in blue). Note: with the current behavior the text is always displayed, after changing it to an info box the "i" icon has to be clicked to show the text. Do we sometimes(like in this example) want the info text to be automagically displayed on initial page load?
Diffstat (limited to 'src/usr/local/www/diag_confbak.php')
-rw-r--r--src/usr/local/www/diag_confbak.php15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/usr/local/www/diag_confbak.php b/src/usr/local/www/diag_confbak.php
index 5b817bc..8c53101 100644
--- a/src/usr/local/www/diag_confbak.php
+++ b/src/usr/local/www/diag_confbak.php
@@ -206,9 +206,18 @@ $form->add($section);
print($form);
if (is_array($confvers)) {
- print_info_box(gettext('To view the differences between an older configuration and a newer configuration, ' .
- 'select the older configuration using the left column of radio options and select the newer configuration in the right column, ' .
- 'then press the "Diff" button.'));
+?>
+<div>
+ <div id="infoblock">
+ <?=print_info_box(
+ gettext(
+ 'To view the differences between an older configuration and a newer configuration, ' .
+ 'select the older configuration using the left column of radio options and select the newer configuration in the right column, ' .
+ 'then press the "Diff" button.'),
+ 'info')?>
+ </div>
+</div>
+<?php
}
?>
OpenPOWER on IntegriCloud