<div class="row-fluid">
	<div class="span1 hidden-phone"></div>
	<div class="span10">
		<ul id="msgops">
			<li>${h.link_to(_('Node details'), url('server-status', serverid=c.server.id))}</li>
		</ul>
	</div>
	<div class="span1 hidden-phone"></div>
</div>
<div class="space-6"></div>
<div class="row-fluid">
	<div class="span1 hidden-phone"></div>
	<div class="span10">
		<h3 class="head smaller blue">${_("Bayes Database Information") }</h3>
	</div>
	<div class="span1 hidden-phone"></div>
</div>
% if hasattr(c, 'data') and c.data:
<div class="row-fluid">
	<div class="span1 hidden-phone"></div>
    <div class="span5 real-half">${_("Bayes Version") }</div>
    <div class="span5 real-half">${c.data['version']}</div>
	<div class="span1 hidden-phone"></div>
</div>
<div class="row-fluid">
	<div class="span1 hidden-phone"></div>
    <div class="span5 real-half">${_("Number of Spam messages")}</div>
    <div class="span5 real-half">${c.data['spam']}</div>
	<div class="span1 hidden-phone"></div>
</div>
<div class="row-fluid">
	<div class="span1 hidden-phone"></div>
    <div class="span5 real-half">${_("Number of Ham messages")}</div>
    <div class="span5 real-half">${c.data['ham']}</div>
	<div class="span1 hidden-phone"></div>
</div>
<div class="row-fluid">
	<div class="span1 hidden-phone"></div>
    <div class="span5 real-half">${_("Number of Tokens")}</div>
    <div class="span5 real-half">${c.data['tokens']}</div>
	<div class="span1 hidden-phone"></div>
</div>
<div class="row-fluid">
	<div class="span1 hidden-phone"></div>
    <div class="span5 real-half">${_("Newest Token")}</div>
    <div class="span5 real-half">${c.data['ntoken']}</div>
	<div class="span1 hidden-phone"></div>
</div>
<div class="row-fluid">
	<div class="span1 hidden-phone"></div>
    <div class="span5 real-half">${_("Oldest Token")}</div>
    <div class="span5 real-half">${c.data['otoken']}</div>
	<div class="span1 hidden-phone"></div>
</div>
<div class="row-fluid">
	<div class="span1 hidden-phone"></div>
    <div class="span5 real-half">${_("Last Journal Sync")}</div>
    <div class="span5 real-half">${c.data['ljournal']}</div>
	<div class="span1 hidden-phone"></div>
</div>
<div class="row-fluid">
	<div class="span1 hidden-phone"></div>
    <div class="span5 real-half">${_("Last Expiry")}</div>
    <div class="span5 real-half">${c.data['expiry']}</div>
	<div class="span1 hidden-phone"></div>
</div>
<div class="row-fluid">
	<div class="span1 hidden-phone"></div>
    <div class="span5 real-half">${_("Last Expiry Reduction Count")}</div>
    <div class="span5 real-half">${c.data['rcount']}</div>
	<div class="span1 hidden-phone"></div>
</div>
% else:
<div class="row-fluid">
	<div class="span1 hidden-phone"></div>
	<div class="span10">
		${_("Bayes information could not be collected.")}
	</div>
	<div class="span1 hidden-phone"></div>
</div>
% endif


<%def name="title()">\
${_('Status :: Bayes info :: %(server)s') % dict(server=c.server.hostname)}
</%def>

<%def name="heading()">\
${_('Status :: Bayes info :: %(server)s') % dict(server=c.server.hostname)}
</%def>

<%def name="headers()">\
</%def>

<%def name="submenu()">
<div class="navbar navbar-static-top">
    <div class="navbar-inner">
        <div class="nav-collapse collapse">
            <ul class="nav navbar-nav">
                <li class="nav_item"><a href="${url('mailq-status')}">${_("Mail Queues")}</a></li>
				% if c.user.is_superadmin:
				<li class="nav_item"><a href="${url('status-audit-logs')}">${_("Audit Logs")}</a></li>
				% endif
            </ul>
        </div>
    </div>
</div>
</%def>

<%def name="localscripts()">\
</%def>
<%inherit file="../base.html"/>
