зеркало из https://github.com/mozilla/pjs.git
111 строки
4.1 KiB
HTML
111 строки
4.1 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html>
|
|
<head>
|
|
<title>Perf-o-matic</title>
|
|
|
|
<!-- must be the first stylesheet -->
|
|
<link rel="stylesheet" type="text/css" href="js/graph.css">
|
|
|
|
<!-- MochiKit -->
|
|
<script type="text/javascript" src="js/mochikit/MochiKit.js"></script>
|
|
|
|
<!-- YUI -->
|
|
<script type="text/javascript" src="js/yui/yahoo.js"></script>
|
|
<script type="text/javascript" src="js/yui/dom.js"></script>
|
|
<script type="text/javascript" src="js/yui/event.js"></script>
|
|
<script type="text/javascript" src="js/yui/animation.js"></script>
|
|
<script type="text/javascript" src="js/yui/container.js"></script>
|
|
|
|
<!-- Core -->
|
|
<script type="text/javascript" src="js/TinderboxData.js"></script>
|
|
<script type="text/javascript" src="js/DataSet.js"></script>
|
|
<script type="text/javascript" src="js/GraphCanvas.js"></script>
|
|
|
|
<script type="text/javascript" src="js/GraphFormModule.js"></script>
|
|
<script type="text/javascript" src="js/graph.js"></script>
|
|
<script type="text/javascript" src="js/ResizeGraph.js"></script>
|
|
|
|
<!-- BonsaiService needs e4x -->
|
|
<script type="text/javascript; e4x=1" src="js/BonsaiService.js"></script>
|
|
</head>
|
|
|
|
<body onload="loadingDone(CONTINUOUS_GRAPH)">
|
|
<!--<h1>Graph</h1>-->
|
|
|
|
<!-- Take your damn divs and floats and clears and shove 'em! -->
|
|
|
|
<div style="width: 710px; height:20px; margin-left:10px ">
|
|
<span id="loading" class="loading"></span>
|
|
</div>
|
|
|
|
<form action="javascript:;">
|
|
<table class="graphconfig-no" width="100%">
|
|
|
|
<tr style="vertical-align: top">
|
|
<td class="graphconfig">
|
|
<table>
|
|
<tr style="vertical-align: top;">
|
|
<td>Show</td>
|
|
<td>
|
|
<input id="load-all-radio" type="radio" name="dataload" onclick="onDataLoadChanged()" checked>
|
|
<label>all data</label><br>
|
|
<input id="load-days-radio" type="radio" name="dataload" onclick="onDataLoadChanged()">
|
|
<label>previous</label> <input type="text" value="30" id="load-days-entry" size="3" onchange="onDataLoadChanged()"> <label>days</label>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<div id="baseline">
|
|
</div>
|
|
|
|
<br>
|
|
|
|
<div id="formend">
|
|
<input type="submit" onclick="onGraph()" value="Graph It!">
|
|
<br><br>
|
|
<!-- <label for="baseline">No baseline</label><input type="radio" name="baseline" checked onclick="onNoBaseLineClick()"> -->
|
|
<a class="linkbutton" id="linktothis" href="graph.html">Link</a> |
|
|
<a class="linkbutton" id="dumptocsv" href="dumpdata.cgi">CSV</a> |
|
|
<a class="linkbutton" id="bonsailink" target="_new" href="javascript:;">Bonsai</a>
|
|
<br>
|
|
<input type="checkbox" name="autoscale" id="autoscale" onclick="onAutoScaleClick()" checked="1">Auto scale Y axis</input>
|
|
</div>
|
|
<input style="display:none" id="bonsaibutton" type="button" onclick="onUpdateBonsai()" value="Refresh Bonsai Data">
|
|
</td>
|
|
|
|
<td class="graphconfig-list">
|
|
<div id="graphforms"></div>
|
|
<div id="addone">
|
|
<img src="js/img/plus.png" class="plusminus" onclick="addGraphForm()" alt="Plus">
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</form>
|
|
|
|
<!-- status line -->
|
|
<div style="width: 900px; height:20px">
|
|
<center><span id="status" class="status"></span></center>
|
|
</div>
|
|
|
|
<!-- small graph -->
|
|
<div class="graph-anchor">
|
|
<div class="smallgraph-size" id="smallgraph-labels-x"></div>
|
|
<div class="smallgraph-size" id="smallgraph-labels-y"></div>
|
|
<canvas id="smallgraph" height="75" width="700"></canvas>
|
|
</div>
|
|
|
|
<br></br>
|
|
|
|
<div class="graph-anchor">
|
|
<div class="graph-size" id="graph-labels-y"></div>
|
|
<canvas id="graph" height="300" width="700"></canvas>
|
|
<div class="graph-size" id="graph-labels-x"></div>
|
|
|
|
<div class="floater" id="floater">Hello World</div>
|
|
</div>
|
|
</body>
|
|
</html>
|
|
|