2021-01-19 17:55:21 +01:00
|
|
|
<main class="container-xl">
|
2020-05-28 10:42:36 +02:00
|
|
|
<div id="organizations-block" class="my-3 p-3 bg-white rounded shadow">
|
2020-09-19 22:19:55 +02:00
|
|
|
<h6 class="border-bottom pb-2 mb-3">Organizations</h6>
|
2020-06-03 20:37:31 +02:00
|
|
|
<div class="table-responsive-xl small">
|
2020-09-19 22:19:55 +02:00
|
|
|
<table id="orgs-table" class="table table-sm table-striped table-hover">
|
2020-06-03 20:37:31 +02:00
|
|
|
<thead>
|
|
|
|
<tr>
|
2023-01-24 23:31:38 +01:00
|
|
|
<th class="vw-org-details">Organization</th>
|
|
|
|
<th class="vw-users">Users</th>
|
2023-02-28 20:43:22 +01:00
|
|
|
<th class="vw-ciphers">Ciphers</th>
|
2023-01-24 23:31:38 +01:00
|
|
|
<th class="vw-attachments">Attachments</th>
|
2023-02-28 20:43:22 +01:00
|
|
|
<th class="vw-misc">Misc</th>
|
2022-12-28 20:05:10 +01:00
|
|
|
<th class="vw-actions">Actions</th>
|
2020-06-03 20:37:31 +02:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2021-06-19 19:22:19 +02:00
|
|
|
{{#each page_data}}
|
2020-06-03 20:37:31 +02:00
|
|
|
<tr>
|
|
|
|
<td>
|
2022-12-01 17:18:29 +01:00
|
|
|
<svg width="48" height="48" class="float-start me-2 rounded" data-jdenticon-value="{{Id}}">
|
2021-06-19 19:22:19 +02:00
|
|
|
<div class="float-start">
|
2020-09-19 22:19:55 +02:00
|
|
|
<strong>{{Name}}</strong>
|
2021-06-19 19:22:19 +02:00
|
|
|
<span class="me-2">({{BillingEmail}})</span>
|
2020-09-19 22:19:55 +02:00
|
|
|
<span class="d-block">
|
2022-12-28 20:05:10 +01:00
|
|
|
<span class="badge bg-success font-monospace">{{Id}}</span>
|
2020-09-19 22:19:55 +02:00
|
|
|
</span>
|
|
|
|
</div>
|
2020-06-03 20:37:31 +02:00
|
|
|
</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 10:42:36 +02:00
|
|
|
{{/if}}
|
2020-06-03 20:37:31 +02:00
|
|
|
</td>
|
2023-02-28 20:43:22 +01:00
|
|
|
<td>
|
|
|
|
<span class="d-block"><strong>Collections:</strong> {{collection_count}}</span>
|
|
|
|
<span class="d-block"><strong>Groups:</strong> {{group_count}}</span>
|
|
|
|
<span class="d-block"><strong>Events:</strong> {{event_count}}</span>
|
|
|
|
</td>
|
2021-10-08 00:01:24 +02:00
|
|
|
<td class="text-end px-0 small">
|
2023-02-28 20:43:22 +01:00
|
|
|
<button type="button" class="btn btn-sm btn-link p-0 border-0 float-right" vw-delete-organization data-vw-org-uuid="{{jsesc Id no_quote}}" data-vw-org-name="{{jsesc Name no_quote}}" data-vw-billing-email="{{jsesc BillingEmail no_quote}}">Delete Organization</button><br>
|
2021-02-03 18:43:54 +01:00
|
|
|
</td>
|
2020-06-03 20:37:31 +02:00
|
|
|
</tr>
|
|
|
|
{{/each}}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2020-05-28 10:42:36 +02:00
|
|
|
</div>
|
2022-12-28 20:05:10 +01:00
|
|
|
|
|
|
|
<div class="mt-3 clearfix">
|
|
|
|
<button type="button" class="btn btn-sm btn-primary float-end" id="reload">Reload organizations</button>
|
|
|
|
</div>
|
2020-05-28 10:42:36 +02:00
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
|
2022-01-23 23:40:59 +01:00
|
|
|
<link rel="stylesheet" href="{{urlpath}}/vw_static/datatables.css" />
|
2023-01-24 23:31:38 +01:00
|
|
|
<script src="{{urlpath}}/vw_static/jquery-3.6.3.slim.js"></script>
|
2022-01-23 23:40:59 +01:00
|
|
|
<script src="{{urlpath}}/vw_static/datatables.js"></script>
|
2022-12-28 20:05:10 +01:00
|
|
|
<script src="{{urlpath}}/vw_static/admin_organizations.js"></script>
|
|
|
|
<script src="{{urlpath}}/vw_static/jdenticon.js"></script>
|