mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-12-25 07:47:05 +00:00
49 lines
1.8 KiB
HTML
49 lines
1.8 KiB
HTML
<h2>Mail statistics</h2>
|
|
<ul id="jump">
|
|
<li><a href="#G0">Day</a> </li>
|
|
<li><a href="#G1">Week</a> </li>
|
|
<li><a href="#G2">Month</a> </li>
|
|
<li><a href="#G3">Year</a> </li>
|
|
</ul>
|
|
|
|
<h3 id="G0">Last Day</h3>
|
|
<p><img src="" data-src="/mailgraph/image.cgi?0-n" alt="mailgraph"/></p>
|
|
<p><img src="" data-src="/mailgraph/image.cgi?0-e" alt="mailgraph"/></p>
|
|
<p><img src="" data-src="/mailgraph/image.cgi?0-g" alt="mailgraph"/></p>
|
|
|
|
<h3 id="G1">Last Week</h3>
|
|
<p><img src="" data-src="/mailgraph/image.cgi?1-n" alt="mailgraph"/></p>
|
|
<p><img src="" data-src="/mailgraph/image.cgi?1-e" alt="mailgraph"/></p>
|
|
<p><img src="" data-src="/mailgraph/image.cgi?1-g" alt="mailgraph"/></p>
|
|
|
|
<h3 id="G2">Last Month</h3>
|
|
<p><img src="" data-src="/mailgraph/image.cgi?2-n" alt="mailgraph"/></p>
|
|
<p><img src="" data-src="/mailgraph/image.cgi?2-e" alt="mailgraph"/></p>
|
|
<p><img src="" data-src="/mailgraph/image.cgi?2-g" alt="mailgraph"/></p>
|
|
|
|
<h3 id="G3">Last Year</h3>
|
|
<p><img src="" data-src="/mailgraph/image.cgi?3-n" alt="mailgraph"/></p>
|
|
<p><img src="" data-src="/mailgraph/image.cgi?3-e" alt="mailgraph"/></p>
|
|
<p><img src="" data-src="/mailgraph/image.cgi?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>
|
|
|
|
<script type="text/javascript">
|
|
function show_mailgraph() {
|
|
$('[data-src]').each(function() {
|
|
var that = this;
|
|
api(
|
|
$(that).attr('data-src'),
|
|
'GET',
|
|
'',
|
|
function(data) {
|
|
$(this).attr('src', 'data:image/gif;base64,' + data);
|
|
}
|
|
);
|
|
});
|
|
}
|
|
</script>
|