summaryrefslogtreecommitdiffstats
path: root/rrdtool-viewgraph-html.lsp
blob: 2a7e31bd17cc05e7970198cc862601c5b3bd2f6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<% local data, viewlibrary, page_info, session = ... 
%>

<% if (data.graph.width) then %>
<img src='<%= data.output %>' width='<%= data.graph.width or data.option.width %>' height='<%= data.graph.height or data.option.height %>'>
<% else %>
<h1>No valid output available!</h1>
<p>Please check if your syntax is right.<br/>
Read http://oss.oetiker.ch/rrdtool/doc/rrdgraph.en.html for help.</p>
<hr>
<p><% io.write(tostring(data.value)) %></p>
<% end %>