2020-05-28 08:42:36 +00:00
|
|
|
<main class="container">
|
|
|
|
<div id="organizations-block" class="my-3 p-3 bg-white rounded shadow">
|
|
|
|
<h6 class="border-bottom pb-2 mb-0">Organizations</h6>
|
|
|
|
|
2020-06-03 18:37:31 +00:00
|
|
|
<div class="table-responsive-xl small">
|
|
|
|
<table class="table table-sm table-striped table-hover">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th style="width: 24px;" colspan="2">Organization</th>
|
|
|
|
<th>Users</th>
|
|
|
|
<th>Items</th>
|
|
|
|
<th>Attachments</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{{#each organizations}}
|
|
|
|
<tr>
|
|
|
|
<td><img class="rounded identicon" data-src="{{Id}}"></td>
|
|
|
|
<td>
|
2020-05-28 08:42:36 +00:00
|
|
|
<strong>{{Name}}</strong>
|
2020-06-03 18:37:31 +00:00
|
|
|
<span class="mr-2">({{BillingEmail}})</span>
|
|
|
|
<span class="d-block">
|
|
|
|
<span class="badge badge-success">{{Id}}</span>
|
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<span class="d-block">{{user_count}}</span>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<span class="d-block">{{cipher_count}}</span>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<span class="d-block"><strong>Amount:</strong> {{attachment_count}}</span>
|
|
|
|
{{#if attachment_count}}
|
|
|
|
<span class="d-block"><strong>Size:</strong> {{attachment_size}}</span>
|
2020-05-28 08:42:36 +00:00
|
|
|
{{/if}}
|
2020-06-03 18:37:31 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{{/each}}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2020-05-28 08:42:36 +00:00
|
|
|
</div>
|
2020-06-03 18:37:31 +00:00
|
|
|
|
2020-05-28 08:42:36 +00:00
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
document.querySelectorAll("img.identicon").forEach(function (e, i) {
|
|
|
|
e.src = identicon(e.dataset.src);
|
|
|
|
});
|
|
|
|
</script>
|