mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-08-13 01:05:15 +00:00
added repsonsive template, which shows month and year graphs on wide screens
This commit is contained in:
parent
39976312f7
commit
22d907b92e
21 changed files with 950 additions and 0 deletions
40
templates/responsive/partial/head.tmpl
Normal file
40
templates/responsive/partial/head.tmpl
Normal file
|
@ -0,0 +1,40 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
|
||||
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
||||
<head>
|
||||
<link rel="stylesheet" href="<TMPL_VAR NAME="R_PATH">/static/style-new.css" type="text/css" />
|
||||
<TMPL_IF NAME="SHOW_ZOOM_JS">
|
||||
<script src="<TMPL_VAR NAME="R_PATH">/static/formatdate.js" type="text/javascript" language="javascript"/>
|
||||
<script src="<TMPL_VAR NAME="R_PATH">/static/querystring.js" type="text/javascript" language="javascript"/>
|
||||
<script src="<TMPL_VAR NAME="R_PATH">/static/zoom.js" type="text/javascript" language="javascript"/>
|
||||
</TMPL_IF>
|
||||
<TMPL_UNLESS NAME="SHOW_ZOOM_JS">
|
||||
<meta http-equiv="refresh" content="300" />
|
||||
</TMPL_UNLESS>
|
||||
<title><TMPL_LOOP NAME="PATH"><TMPL_IF NAME="pathname"> :: <TMPL_VAR ESCAPE="HTML" NAME="pathname"><TMPL_ELSE>Munin</TMPL_IF></TMPL_LOOP></title>
|
||||
<meta http-equiv="content-type" content="application/xhtml+xml; charset=iso-8859-1" />
|
||||
<meta name="author" content="Auto-generated by Munin" />
|
||||
<link rel="icon" type="image/vnd.microsoft.icon" href="<TMPL_VAR NAME="R_PATH">/static/favicon.ico" />
|
||||
<link rel="SHORTCUT ICON" href="<TMPL_VAR NAME="R_PATH">/static/favicon.ico"/>
|
||||
|
||||
<style type="text/css">
|
||||
td.third_plot_col, td.fourth_plot_col {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media (min-width: 1900px) {
|
||||
td.third_plot_col {
|
||||
display: inline;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 2530px) {
|
||||
td.third_plot_col, td.fourth_plot_col {
|
||||
display: inline;
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
</head>
|
Loading…
Add table
Add a link
Reference in a new issue