[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r14454 - gauger
From: |
gnunet |
Subject: |
[GNUnet-SVN] r14454 - gauger |
Date: |
Fri, 18 Feb 2011 00:20:35 +0100 |
Author: bartpolot
Date: 2011-02-18 00:20:35 +0100 (Fri, 18 Feb 2011)
New Revision: 14454
Modified:
gauger/style.css
gauger/template.php
gauger/template_host.php
Log:
Adjusted width and height of table elements to math img, cleaned menu, fixed
home link
Modified: gauger/style.css
===================================================================
--- gauger/style.css 2011-02-17 21:43:10 UTC (rev 14453)
+++ gauger/style.css 2011-02-17 23:20:35 UTC (rev 14454)
@@ -25,11 +25,13 @@
}
tr {
-
+ padding: 0px;
}
th {
background-color: #D3D3D3;
+ padding: 2px;
+ font-weight: normal;
}
td {
@@ -38,8 +40,21 @@
border-style: solid;
border-color: #D3D3D3;
text-align: center;
+ padding: 0px;
}
+img {
+ margin: 0px;
+ padding: 0px;
+ border: none;
+}
+
+div {
+ margin: 0px;
+ padding: 0px;
+ border: none;
+}
+
a:link {
color: #404040;
text-decoration: none;
@@ -60,18 +75,18 @@
padding-top: 5px;
}
+.header img {
+ margin: 4px 10px 4px 10px;
+ float: left;
+ border: none;
+}
+
.header p {
font-size: 20px;
font-weight: bold;
margin: 10px 0 0 0;
}
-.header img {
- margin: 4px 10px 4px 10px;
- float: left;
- border: none;
-}
-
.header-shadow {
height: 50px;
background-image: url("h.png");
@@ -114,6 +129,13 @@
background-color: white;
}
+.side_slider_control {
+ padding: 3px 3px 3px 3px;
+ margin-top: 5px;
+ text-align: center;
+ font-size: 80%;
+}
+
#default_range_control {
position: absolute;
margin-left: 0px;
Modified: gauger/template.php
===================================================================
--- gauger/template.php 2011-02-17 21:43:10 UTC (rev 14453)
+++ gauger/template.php 2011-02-17 23:20:35 UTC (rev 14454)
@@ -1,5 +1,5 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
- "http://www.w3.org/TR/html4/strict.dtd">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+ "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
@@ -103,6 +103,7 @@
$( ".plot" ).each(function(){
this.src = this.src+"&reload=1";
});
+ $( "td" ).attr('width', ui.value);
}
);
}
@@ -122,6 +123,7 @@
$( ".plot" ).each(function(){
this.src = this.src+"&reload=1";
});
+ $( "td" ).attr('height', ui.value);
}
);
}
@@ -191,7 +193,8 @@
<div Id="debug"></div>
<div class="header">
<?php include "template_menu.php" ?>
- <a href="index.php" ><img src="l.png" /><p>Gauger, performance
recording tool</p></a>
+ <a href="index.php" class="name"><img src="l.png" /></a>
+ <p><a href="index.php" class="name">Gauger, performance recording
tool</a></p>
</div>
<div class="header-shadow"></div>
<div class="container">
Modified: gauger/template_host.php
===================================================================
--- gauger/template_host.php 2011-02-17 21:43:10 UTC (rev 14453)
+++ gauger/template_host.php 2011-02-17 23:20:35 UTC (rev 14454)
@@ -3,17 +3,14 @@
<?php if (!empty($hosts[$current])): ?>
<table>
<tr>
- <th>Counter</th>
+ <th>Controls</th>
<th>Graph</th>
</tr>
<?php foreach ($hosts[$current] as $counter): ?>
<tr>
<th>
- <?php echo get_counter_name($counter) ?><br/><br/>
- <a href="?graph=<?php echo $counter ?>">Compare</a>
+ Range
<br/>
- <br/>Range
- <br/>
<div class="side_slider_control">
<div class="slider-range" id="other_slider" ></div>
<div class="left-range"><?php echo get_session('x_min',
get_session('xrange_min', '0')) ?></div>
@@ -25,13 +22,11 @@
</div>
</div>
<br/>
- <br/><a href="#" onclick="get_command(this); return false;"
>Get Command</a>
- <br/>
- <br/>TODO:
- <br>Add counter
- <br/>Colors
+ <a href="?graph=<?php echo $counter ?>">Compare</a>
+ <br/><br/>
+ <a href="#" onclick="get_command(this); return false;" >Get
Command</a>
</th>
- <td><img class="plot" src="plot.php?h=<?php echo
"$current&g=$counter" ?>" alt="loading..."/></td>
+ <td height="<?php echo get_session('png_y_size')+2 ?>"
width="<?php echo get_session('png_x_size')+2 ?>"><img class="plot"
src="plot.php?h=<?php echo "$current&g=$counter" ?>" alt="loading..."/></td>
</tr>
<?php endforeach; ?>
</table>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r14454 - gauger,
gnunet <=