/[rrd-simple-monitoring]/cgi-bin/by_host.tmpl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /cgi-bin/by_host.tmpl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (hide annotations)
Thu Jul 16 18:48:19 2009 UTC (11 years, 4 months ago) by dpavlin
File size: 2768 byte(s)
import upstream http://rrd.me.uk/rrd-simple-monitoring.tar.gz

without prerequisities

1 dpavlin 1 <TMPL_INCLUDE header.tmpl>
2     <h1><a href="<TMPL_VAR self_url>">Index</a> &gt;
3     <TMPL_IF EXPR="HOST || LIKE">
4     <a href="<TMPL_VAR self_url>?template=<TMPL_VAR template>&PERIOD=<TMPL_VAR PERIOD>"><TMPL_VAR title></a> &gt;
5     <TMPL_IF HOST><TMPL_VAR HOST><TMPL_ELSE>Like <TMPL_VAR LIKE></TMPL_IF>
6     <TMPL_ELSE>
7     <TMPL_VAR title>
8     </TMPL_IF>
9     </h1>
10    
11     <div class="contents">
12     <h3>
13     [ <TMPL_IF EXPR="PERIOD eq 'daily'">Daily<TMPL_ELSE><a href="<TMPL_VAR self_url>?template=<TMPL_VAR template><TMPL_IF HOST>&HOST=<TMPL_VAR HOST></TMPL_IF><TMPL_IF LIKE>&LIKE=<TMPL_VAR LIKE></TMPL_IF><TMPL_IF GRAPH>&GRAPH=<TMPL_VAR GRAPH></TMPL_IF>&PERIOD=daily">Daily</a></TMPL_IF>
14     | <TMPL_IF EXPR="PERIOD eq 'weekly'">Weekly<TMPL_ELSE><a href="<TMPL_VAR self_url>?template=<TMPL_VAR template><TMPL_IF HOST>&HOST=<TMPL_VAR HOST></TMPL_IF><TMPL_IF LIKE>&LIKE=<TMPL_VAR LIKE></TMPL_IF><TMPL_IF GRAPH>&GRAPH=<TMPL_VAR GRAPH></TMPL_IF>&PERIOD=weekly">Weekly</a></TMPL_IF>
15     | <TMPL_IF EXPR="PERIOD eq 'monthly'">Monthly<TMPL_ELSE><a href="<TMPL_VAR self_url>?template=<TMPL_VAR template><TMPL_IF HOST>&HOST=<TMPL_VAR HOST></TMPL_IF><TMPL_IF LIKE>&LIKE=<TMPL_VAR LIKE></TMPL_IF><TMPL_IF GRAPH>&GRAPH=<TMPL_VAR GRAPH></TMPL_IF>&PERIOD=monthly">Monthly</a></TMPL_IF>
16     | <TMPL_IF EXPR="PERIOD eq 'annual'">Annual<TMPL_ELSE><a href="<TMPL_VAR self_url>?template=<TMPL_VAR template><TMPL_IF HOST>&HOST=<TMPL_VAR HOST></TMPL_IF><TMPL_IF LIKE>&LIKE=<TMPL_VAR LIKE></TMPL_IF><TMPL_IF GRAPH>&GRAPH=<TMPL_VAR GRAPH></TMPL_IF>&PERIOD=annual">Annual</a></TMPL_IF> ]
17     </h3>
18    
19     <TMPL_LOOP hosts>
20     <TMPL_IF EXPR="equal_or_like(host,HOST,LIKE)">
21     <div class="host"><div class="<TMPL_VAR host2>">
22     <h2<TMPL_IF stale> class="stale"</TMPL_IF>><a href="<TMPL_VAR self_url>?template=host.tmpl&HOST=<TMPL_VAR host>&PERIOD=<TMPL_VAR PERIOD>"><TMPL_VAR host></a><TMPL_IF include_summary_txt> - <TMPL_VAR EXPR="slurp(include_summary_txt)"></TMPL_IF></h2>
23     <TMPL_IF include_overview_html>
24     <!-- BEGIN INCLUDE_OVERVIEW_HTML -->
25     <TMPL_VAR EXPR="slurp(include_overview_html)">
26     <!-- END INLUDE_OVERVIEW_HTML -->
27     </TMPL_IF>
28     <TMPL_LOOP thumbnails>
29     <TMPL_IF EXPR="period eq PERIOD">
30     <div class="<TMPL_IF stale>stale_</TMPL_IF>thumbnail"><a href="<TMPL_VAR self_url>?template=host.tmpl&HOST=<TMPL_VAR host>&GRAPH=<TMPL_VAR graph>&PERIOD=<TMPL_VAR PERIOD>"><img src="<TMPL_VAR src>" class="thumbnail" /></a><br /><TMPL_VAR title></div>
31     </TMPL_IF>
32     </TMPL_LOOP>
33     <TMPL_IF no_graphs>
34     <i>No graphs available yet - please wait a few minutes.</i>
35     <TMPL_ELSE>
36     <TMPL_UNLESS thumbnails>
37     <i>No thumbnails available yet - please wait a few minutes.</i>
38     </TMPL_UNLESS>
39     </TMPL_IF>
40     </div></div>
41     <div class="vertspace">&nbsp;</div>
42     </TMPL_IF>
43     </TMPL_LOOP>
44     </div>
45    
46     <TMPL_INCLUDE footer.tmpl>

  ViewVC Help
Powered by ViewVC 1.1.26