Adds share feature

This commit is contained in:
Michel 2024-10-31 15:34:57 +01:00
parent 287c1f67c5
commit 15a9dcf09b
14 changed files with 379 additions and 23 deletions

View file

@ -96,8 +96,7 @@ $this->layout('layout/main', [ 'resourceEntry' => 'keys' ]);
<button class="btn btn-primary js--do-import">
Import
</button>
</div>
</button></div>
</div>
<div class="tab-pane fade" id="share-tab-pane" role="tabpanel">
<h2>
@ -107,16 +106,12 @@ $this->layout('layout/main', [ 'resourceEntry' => 'keys' ]);
<label for="share-user-search">Search for a user...</label>
<div class="input-group mb-3">
<input type="text" class="form-control" id="share-user-search" placeholder="">
<button class="btn btn-primary js--search-shared-user">Search</button>
<button class="btn btn-primary js--adds-user">+ Add</button>
</div>
<h3>Users shared to</h3>
<table id="shared-users-table" class="table table-striped w-100">
<thead>
<tr>
<th width="2.4rem"></th>
<th>Name</th>
</tr>
</thead>
<tbody></tbody>
</table>