<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="o" tagdir="/WEB-INF/tags"%>
<%@ taglib prefix="security" uri="http://www.springframework.org/security/tags"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>

<!-- TODO: highlight proper section of topbar; what is the right way to do this? -->

<spring:message code="statistics.title" var="title"/>
<o:header title="${title}"/>
<o:topbar pageName="Statistics"/>
<div class="container-fluid main">
    <div class="row-fluid">
        <o:sidebar/>
        <div class="span10">
            <div class="hero-unit">
				<h2><spring:message code="statistics.title"/></h2>
				
				<p>
				    <spring:message code="statistics.number_users" arguments='${statsSummary["userCount"]}'/>
				    <spring:message code="statistics.number_clients" arguments='${statsSummary["clientCount"]}'/>
				    <spring:message code="statistics.number_approvals" arguments='${statsSummary["approvalCount"]}'/>
				</p>
            </div>
        </div>
    </div>
</div>
<o:footer/>