@implements IDisposable

<div class="stats-panel">
    @if (!string.IsNullOrEmpty(_sessionStarted))
    {
        <div class="stats-field">
            <span class="stats-field-label">Started at:</span>
            <span class="stats-field-value stats-bold">@_sessionStarted</span>
        </div>
        <div class="stats-field">
            <span class="stats-field-label">Processing Time:</span>
            <span class="stats-field-value stats-bold">@_processingTime</span>
        </div>
        <div class="stats-field">
            <span class="stats-field-label">Total:</span>
            <span class="stats-field-value">@_total</span>
        </div>
        <div class="stats-field">
            <span class="stats-field-label">Bad:</span>
            <span class="stats-field-value">@_bad</span>
        </div>
        <div class="stats-field">
            <span class="stats-field-label">Error rate:</span>
            <span class="stats-field-value">@_errorRate</span>
        </div>
        @if (!string.IsNullOrEmpty(_statisticsDetails))
        {
            <div class="stats-field">
                <span class="stats-field-label">Details:</span>
                <pre class="stats-field-value stats-details-text">@_statisticsDetails</pre>
            </div>
        }
    }
</div>
