gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r14452 - gauger


From: gnunet
Subject: [GNUnet-SVN] r14452 - gauger
Date: Thu, 17 Feb 2011 22:26:16 +0100

Author: bartpolot
Date: 2011-02-17 22:26:16 +0100 (Thu, 17 Feb 2011)
New Revision: 14452

Added:
   gauger/template_welcome.php
Modified:
   gauger/style.css
   gauger/template.php
Log:
Added a welcome page with a brief help


Modified: gauger/style.css
===================================================================
--- gauger/style.css    2011-02-17 17:31:01 UTC (rev 14451)
+++ gauger/style.css    2011-02-17 21:26:16 UTC (rev 14452)
@@ -68,6 +68,7 @@
 .header img {
     margin:             4px 10px 4px 10px;
     float:              left;
+    border:             none;
 }
 
 .header-shadow {
@@ -199,3 +200,7 @@
     background-image:   url("f.png");
     clear:              both;
 }
+
+#footer {
+    text-align:         right;
+}

Modified: gauger/template.php
===================================================================
--- gauger/template.php 2011-02-17 17:31:01 UTC (rev 14451)
+++ gauger/template.php 2011-02-17 21:26:16 UTC (rev 14452)
@@ -191,7 +191,7 @@
         <div Id="debug"></div>
         <div class="header">
             <?php include "template_menu.php" ?>
-            <img src="l.png" /><p>Gauger, performance recording tool</p>
+            <a href="index.php" ><img src="l.png" /><p>Gauger, performance 
recording tool</p></a>
         </div>
         <div class="header-shadow"></div>
         <div class="container">
@@ -215,14 +215,13 @@
             <?php elseif($mode_graph == 1): ?>
                 <?php include "template_graph.php" ?>
             <?php else: ?>
-                <p>Sorry, mode not supported (yet?)</p>
-                <p>Try to select a host from the menu on the left :)</p>
+                 <?php include "template_welcome.php" ?>
             <?php endif; ?>
         </div>
         <div style="clear:both"></div>
         </div>
         <div class="footer-shadow"></div>
-        Copyright notice and so on
+        <div id="footer"><p>(C) 2011 Bartlomiej Polot (bart at 
net.in.tum.de)</p><p>This software is part of gnunet.org</p></div>
 
     </body>
 </html>

Added: gauger/template_welcome.php
===================================================================
--- gauger/template_welcome.php                         (rev 0)
+++ gauger/template_welcome.php 2011-02-17 21:26:16 UTC (rev 14452)
@@ -0,0 +1,29 @@
+<h1>Welcome to Gauger</h1>
+
+<p>We have data from <b>r<?php echo get_session('xrange_min') ?></b> to 
<b><?php echo get_session('xrange_max') ?></b>.
+
+<p>If you click on a host from the <b>Hosts</b> menu on the left, you will see 
all the metrics for that particular host.</p>
+
+<p>If you to compare all hosts given a metric, click on the corresponding 
metric in the <b>Metrics</b> section.</p>
+
+<h2>Options</h2>
+In the upper right corner you have the options menu. It's possible to adjust 
the following parameters:
+
+<h3>Default Range</h3>
+<p>Changing this setting will affect <b>all</b> the graphs that are displayed. 
The start of the plotted range can be adjusted by
+moving the left handle of the slider. Similiarly, the end of the plotted range 
can be set dragging the right handle.</p>
+
+<p>By default the graphs are plotted in automatic mode, i.e, only the region 
that contains data is plotted.
+This can be turned off by unchecking the <i>Auto</i> checkbox for either side 
of the graph or by adjusting either side of the slider. 
+Checking the <i>Auto</i> checkbox sets the that side of the range to automatic 
detection, but does not affect the range selected by the slider.</p>
+
+<h3>Change Origin</h3>
+By default all data is plotted in a scale from 0 to the highest value in the 
range. This option allows to change where to set the origin
+of axis <i>y</i>.
+
+<h3>Change Size</h3>
+To better adapt the graphs to the size of the screen, it is possible change 
the size of each plot. The default plot size is
+640 pixels wide and 480 pixels high, but these values can be changed using the 
sliders.
+
+<h3>Reset Session</h3>
+Clicking on this opition resets all changes done to the previous options, 
effectively starting a new session.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]