<div class="pure-u-1">
    <p>
        This page contains statistics generated by the <em>WissKI Statistics</em> module.
        If the module is not available, this page may be empty.  
    </p> 
</div>


<div class="pure-u-1">
    <div class="h-md-padding">
        <div class="overflow">
            <table class="pure-table pure-table-bordered">
                <thead>
                    <tr>
                        <th colspan="5">
                            Bundles
                        </th>
                    </tr>
                    <tr>
                        <th>
                            Label
                        </th>
                        <th>
                            Machine Name
                        </th>
                        <th>
                            Count
                        </th>
                        <th>
                            LastEdit
                        </th>
                        <th>
                            MainBundle
                        </th>
                    </tr>
                </thead>
                <tbody>
                    {{ range .Statistics.Bundles.Bundles }}
                    <tr>
                        <td>
                            <code>{{ .Label }}</code>
                        </td>
                        <td>
                            <code>{{ .MachineName }}</code>
                        </td>
                        <td>
                            <code>{{ .Count }}</code>
                        </td>
                        <td>
                            <code class="date">{{ .LastEdit.Time.Format "2006-01-02T15:04:05Z07:00" }}</code>
                        </td>
                        <td>
                            <code>{{ .MainBundle }}</code>
                        </td>
                    </tr>
                    {{ end }}
                </tbody>
            </table>
        </div>
    </div>
</div>


<div class="pure-u-1">
    <div class="h-md-padding">
        <div class="overflow">
            <table class="pure-table pure-table-bordered">
                <thead>
                    <tr>
                        <th colspan="2">
                            Triplestore
                        </th>
                    </tr>
                    <tr>
                        <th>
                            URI
                        </th>
                        <th>
                            Count
                        </th>
                    </tr>
                </thead>
                <tbody>
                    {{ range .Statistics.Triplestore.Graphs }}
                    <tr>
                        <td>
                            <code>{{ .URI }}</code>
                        </td>
                        <td>
                            <code>{{ .Count }}</code>
                        </td>
                    </tr>
                    {{ end }}
                </tbody>
            </table>
        </div>
    </div>
</div>
