diff --git a/templates/graphs.tmpl b/templates/graphs.tmpl
index 5c8b4907904f0740b123334db7ad398229c3e839..221273a5be58aa2c1dc71bc896044d0acedffa58 100644 (file)
--- a/templates/graphs.tmpl
+++ b/templates/graphs.tmpl
<section>
<h1>Graphs</h1>
- <form action="/graphs" method="POST">
+ <form action="{{root}}graphs" method="POST">
<p><input type="text" name="metrics-query" value="{{.Query}}"
class="query" placeholder="Search metrics" required />
<button type="submit">GO</button></p>
{{end}}
</form><br />
{{if .Metrics}}
- <img src="/graph/q{{urlquery .QueryOptions}}/{{urlquery .Metrics}}" border="0" />
+ <img src="{{root}}graph/q{{urlquery .QueryOptions}}/{{urlquery .Metrics}}" border="0" />
{{end}}
<p> </p>
</section>