aboutsummaryrefslogtreecommitdiffstats
path: root/config/varnish64/varnish_view_config.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-04-28 13:48:20 -0400
committerScott Ullrich <sullrich@pfsense.org>2010-04-28 13:48:26 -0400
commit2ac12255d9ee01bdefd0f9fc824bffe753359673 (patch)
treeea699ba6554977ad1a82558b5658f746ac7bdbc9 /config/varnish64/varnish_view_config.php
parentb2e2608c2633d65f93ba528960e1a535464cad4b (diff)
downloadpfsense-packages-2ac12255d9ee01bdefd0f9fc824bffe753359673.tar.gz
pfsense-packages-2ac12255d9ee01bdefd0f9fc824bffe753359673.tar.bz2
pfsense-packages-2ac12255d9ee01bdefd0f9fc824bffe753359673.zip
Cleanup HTML
Diffstat (limited to 'config/varnish64/varnish_view_config.php')
-rw-r--r--config/varnish64/varnish_view_config.php32
1 files changed, 21 insertions, 11 deletions
diff --git a/config/varnish64/varnish_view_config.php b/config/varnish64/varnish_view_config.php
index 06cf5670..07099574 100644
--- a/config/varnish64/varnish_view_config.php
+++ b/config/varnish64/varnish_view_config.php
@@ -46,8 +46,11 @@ include("head.inc");
<?php if ($savemsg) print_info_box($savemsg); ?>
+<form action="varnishstat_view_config.php" method="post">
+
<div id="mainlevel">
-<table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr><td>
<?php
$tab_array = array();
$tab_array[] = array(gettext("Backends"), false, "/pkg.php?xml=varnish_backends.xml");
@@ -59,21 +62,28 @@ include("head.inc");
$tab_array[] = array(gettext("VarnishSTAT"), false, "/varnishstat.php");
display_top_tabs($tab_array);
?>
-</table>
-<table width="100%" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td class="tabcont" >
- <form action="varnish_view_config.php" method="post">
-<textarea id="varnishlogs" rows="50" cols="100%">
+ </td></tr>
+ <tr>
+ <td>
+ <div id="mainarea">
+ <table class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tabcont" >
+ <textarea id="varnishlogs" rows="50" cols="100%">
<?php
$config_file = file_get_contents("/var/etc/default.vcl");
echo $config_file;
?>
-</textarea>
- </td>
- </tr>
-</table>
+ </textarea>
+ </td>
+ </tr>
+ </table>
+ </div>
+ </td>
+ </tr>
+ </table>
</div>
+</form>
<?php include("fend.inc"); ?>
</body>
</html>