rrdimage: Add CSS and Javascript to ipfire theme

This patch adds styling for the new graph time range buttons
and loads the Javascript in the HTML head.

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Leo-Andres Hofmann
2021-04-01 15:35:15 +02:00
committed by Michael Tremer
parent 4b63a0322d
commit 9064bc7242
2 changed files with 35 additions and 3 deletions

View File

@@ -128,6 +128,7 @@ print <<END;
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="shortcut icon" href="/favicon.ico" />
<script type="text/javascript" src="/include/jquery.js"></script>
<script src="/include/rrdimage.js"></script>
<script type="text/javascript">
function swapVisibility(id) {