/usr/lib/python2.7/dist-packages/graphite/templates/graphlot.html is in graphite-web 0.9.12+debian-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 | <html>
<head>
<title>Graphlot</title>
<script type="text/javascript" src="../content/js/jquery.js"></script>
<script type="text/javascript" src="../content/js/jquery.flot.js"></script>
<script type="text/javascript" src="../content/js/jquery.autocomplete.js"></script>
<script type="text/javascript" src="../content/js/jquery.flot.selection.js"></script>
<script type="text/javascript" src="../content/js/jquery.flot.crosshair.js"></script>
<script type="text/javascript" src="../content/js/jquery.graphite.js"></script>
<link rel="stylesheet" type="text/css" href="../content/css/jquery.autocomplete.css" />
<link rel="stylesheet" type="text/css" href="../content/css/table.css" />
<script type="text/javascript">
var SLASH='{{slash}}';
$(document).ready(function () {
$('#g_wrap').graphiteGraph();
});
</script>
<style type="text/css">
body {
font-family: sans-serif;
font-size: 16px;
margin: 50px;
max-width: 1200px;
}
.ajaxerror {
background: #ff0000;
}
.ajaxworking {
background: #0000ff;
}
</style>
</head>
<body>
<div id="title" style="text-align:center">
<h1>graphlot</h1>
</div>
<div id="g_wrap">
<div id="main" >
<div class="g_canvas" style="padding:15px">
<div class="g_container" style=float:left;">
<div class="g_graph" style="width:600px;height:300px"></div>
<div class="g_overview" style="width:600px;height:66px"></div>
</div>
<div class="g_side" style="float:left">
<p class="g_legend" style="margin-left:10px"></p>
</div>
<p style="clear:left"> </p>
</div>
<br/>
<table class="g_rowlist styledtable" style="float:left">
<tr><th style="width:750px">events</th></tr>
<tr class="g_eventsrow"><td><input style="width:600px" type="text" class="g_eventdesc" value="{{events}}"/>(<span class="g_eventcount">0</span>)</td></tr>
</table>
<table class="g_rowlist styledtable" style="float:left">
<tr><th style="width:750px">metric</th><th>y-axis</th></tr>
{% for metric in metric_list %}
<tr class="g_metricrow">
<td><a href=#><span class="g_metricname">{{metric.name}}</span></a>
</td>
<td><a href=#><span class="g_yaxis">{{metric.yaxis}}</span></a>
</td>
<td class="g_killrow"><img src="../content/img/delete.gif">
</td>
</tr>
{% endfor %}
<tr class="g_newmetricrow"><td><input style="width:600px" type="text" class="g_newmetric"/></td></tr>
</table>
<table class="g_bounds styledtable" style="float:right">
<tr><th>From</th><th>To</th></tr>
<tr>
<td><a href=#><span class="g_from">{{fromtime}}</span></a></td>
<td><a href=#><span class="g_until">{{untiltime}}</span></a></td>
</tr>
<tr> <td colspan="2" style="text-align:center">
<a href=#><span class="g_update">update</span></a>
</td></tr>
<tr> <td colspan="2" style="text-align:center">
<a href=#><span class="g_clearzoom">clear zoom</span></a>
</td></tr>
<tr> <td colspan="2" style="text-align:center">
<a href=# class="g_graphurl">link to graph</a>
</td></tr>
</table>
</div>
</div>
</body>
</html>
|