initial work to integrate with control panel

This commit is contained in:
John Supplee 2019-03-02 17:23:58 +02:00
parent 8180707cc6
commit 5615031ef8
2 changed files with 33 additions and 0 deletions

View File

@ -102,6 +102,7 @@
<li><a href="#mail-guide" onclick="return show_panel(this);">Instructions</a></li>
<li><a href="#users" onclick="return show_panel(this);">Users</a></li>
<li><a href="#aliases" onclick="return show_panel(this);">Aliases</a></li>
<li><a href="#reports" onclick="return show_report(this);">Reports</a></li>
</ul>
</li>
<li><a href="#sync_guide" onclick="return show_panel(this);">Contacts/Calendar</a></li>

View File

@ -0,0 +1,32 @@
<h1>Mail statistics</h1>
<ul id="jump">
<li><a href="#G0">Day</a>&nbsp;</li>
<li><a href="#G1">Week</a>&nbsp;</li>
<li><a href="#G2">Month</a>&nbsp;</li>
<li><a href="#G3">Year</a>&nbsp;</li>
</ul>
<h2 id="G0">Last Day</h2>
<p><img src="?image=0-n" alt="mailgraph"/></p>
<p><img src="?image=0-e" alt="mailgraph"/></p>
<p><img src="?image=0-g" alt="mailgraph"/></p>
<h2 id="G1">Last Week</h2>
<p><img src="?image=1-n" alt="mailgraph"/></p>
<p><img src="?image=1-e" alt="mailgraph"/></p>
<p><img src="?image=1-g" alt="mailgraph"/></p>
<h2 id="G2">Last Month</h2>
<p><img src="?image=2-n" alt="mailgraph"/></p>
<p><img src="?image=2-e" alt="mailgraph"/></p>
<p><img src="?image=2-g" alt="mailgraph"/></p>
<h2 id="G3">Last Year</h2>
<p><img src="?image=3-n" alt="mailgraph"/></p>
<p><img src="?image=3-e" alt="mailgraph"/></p>
<p><img src="?image=3-g" alt="mailgraph"/></p>
<hr/>
<p><a href="http://mailgraph.schweikert.ch/">Mailgraph</a> 1.14 by <a href="http://david.schweikert.ch/">David Schweikert</a>
(built on Tobi Oetiker's <a href="http://oss.oetiker.ch/rrdtool/">RRDtool</a>)</p>