move gnuplot graph below table
authorDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 13 Jul 2011 16:18:20 +0000 (18:18 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 13 Jul 2011 16:18:20 +0000 (18:18 +0200)
it loads last

public/user.html

index df9cc3c..46826be 100644 (file)
@@ -290,25 +290,6 @@ li > tt {
      ping <tt>{{cpe.ping.ip}}</tt> rtt <tt>{{cpe.ping.rtt}}</tt> at <tt>{{cpe.ping.timestamp}}</tt>
     </div>
 
-   <div class="panel_right" ng:show="cpe.table">
-    <label>
-     Graph columns
-     <input type=checkbox name=show_gnuplot_cols>
-    </label>
-    <ul ng:show="show_gnuplot_cols">
-     <input type=button ng:click="gnuplot_draw(gnuplot.cols)" value="Redraw graph">
-     <li ng:repeat="(k,v) in cpe.table.rows[0][cpe.table.hash_col]">
-        <label>
-        <input type="checkbox" name="gnuplot_cols" ng:format="include:k:gnuplot.cols" ng:change="$log.debug(gnuplot_cols)">
-       {{k}} <tt>{{v}}</tt>
-        </label>
-     </li>
-     <input type=button ng:click="gnuplot_draw(gnuplot.cols)" value="Redraw graph">
-    </ul>
-   </div>
-
-    <ng:include src="gnuplot.img" ng:show="gnuplot.img" onload="message.gnuplot = null" ></ng:include>
-
     <h2 ng:show="cpe.table_name">{{cpe.table_name}} {{username}}</h2>
 
     <table ng:show="cpe.table">
@@ -330,6 +311,25 @@ li > tt {
     </tr>
     </table>
 
+    <div class="panel_right" ng:show="cpe.table">
+     <label>
+      Graph columns
+      <input type=checkbox name=show_gnuplot_cols>
+     </label>
+     <ul ng:show="show_gnuplot_cols">
+      <input type=button ng:click="gnuplot_draw(gnuplot.cols)" value="Redraw graph">
+      <li ng:repeat="(k,v) in cpe.table.rows[0][cpe.table.hash_col]">
+         <label>
+         <input type="checkbox" name="gnuplot_cols" ng:format="include:k:gnuplot.cols" ng:change="$log.debug(gnuplot_cols)">
+       {{k}} <tt>{{v}}</tt>
+         </label>
+      </li>
+      <input type=button ng:click="gnuplot_draw(gnuplot.cols)" value="Redraw graph">
+     </ul>
+    </div>
+    <ng:include src="gnuplot.img" ng:show="gnuplot.img" onload="message.gnuplot = null" ></ng:include>
+
   </div>
 
     <input type=checkbox name=debug value=1>