diff options
author | Renato Botelho <renato.botelho@bluepex.com> | 2010-08-26 15:32:16 -0300 |
---|---|---|
committer | Renato Botelho <renato.botelho@bluepex.com> | 2010-08-26 15:32:16 -0300 |
commit | e57c91a28ef0723602c42cfd445c14ef7ce13087 (patch) | |
tree | 912a691db40c586786be8029e0790021b6a7c469 | |
parent | 556687cf1741d8bedab48025690a5b56b164d8cb (diff) | |
download | pfsense-e57c91a28ef0723602c42cfd445c14ef7ce13087.zip pfsense-e57c91a28ef0723602c42cfd445c14ef7ce13087.tar.gz |
Use the same div ids and structure from dashboard on status_graph to make it more flexible with custom themes
-rwxr-xr-x | usr/local/www/status_graph.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/usr/local/www/status_graph.php b/usr/local/www/status_graph.php index f901014..ddcfd2d 100755 --- a/usr/local/www/status_graph.php +++ b/usr/local/www/status_graph.php @@ -177,14 +177,14 @@ foreach ($ifdescrs as $ifn => $ifd) { <p><form method="post" action="status_graph.php"> </form> <p> -<div> - <div class="widgetdiv" style="padding: 5px; float:left; width:46%"> +<div id="niftyOutter"> + <div id="col1" style="float: left; width: 46%; padding: 5px; position: relative;"> <object data="graph.php?ifnum=<?=$curif;?>&ifname=<?=rawurlencode($ifdescrs[$curif]);?>" type="image/svg+xml" width="<?=$width;?>" height="<?=$height;?>"> <param name="src" value="graph.php?ifnum=<?=$curif;?>&ifname=<?=rawurlencode($ifdescrs[$curif]);?>" /> <?=gettext("Your browser does not support the type SVG! You need to either use Firefox or download the Adobe SVG plugin"); ?>. </object> </div> - <div class="widgetdiv" style="padding: 5px; float:right; width:48%"> + <div id="col2" style="float: right; width: 48%; padding: 5px; position: relative;"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td class="listtopic" valign="top"><?=gettext("Host IP"); ?></td> @@ -272,7 +272,8 @@ foreach ($ifdescrs as $ifn => $ifd) { </td> </tr> </table> - </div> + </div> + <div style="clear: both;"></div> </div> <?php include("fend.inc"); ?> |