/usr/lib/python2.7/dist-packages/graphite/templates/events.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 | <html>
<head>
<title>Events</title>
<link rel="stylesheet" type="text/css" href="../content/css/table.css" />
<style type="text/css">
body {
font-family: sans-serif;
font-size: 16px;
margin: 50px;
max-width: 1200px;
}
</style>
</head>
<body>
<div id="title" style="text-align:center">
<h1>graphite events</h1>
</div>
<div class="graphite">
<div id="main" >
{% if events %}
<table class="styledtable" width=100%>
<tr><th>when</th><th>what</th><th>tags</th></tr>
{% for event in events %}
<tr>
<td>{{event.when|date:"H:i:s D d M Y" }}</td>
<td><a href="/events/{{event.id}}/">{{event.what}}</a></td>
<td>{{event.tags}}</td>
</tr>
{% endfor %}
{% else %}
<br/>No events. Add events using
<a href="/admin/events/event/">the admin interface</a> or by posting
(eg, curl -X POST http://localhost:8000{{slash}}events/ -d
'{"what": "Something Interesting", "tags" : "tag1 "}')
{% endif %}
</table>
</div>
</div>
</body>
</html>
|