Implermented front page and set public
This commit is contained in:
parent
15a9dcf09b
commit
d6ebf8f4ff
18 changed files with 658 additions and 23 deletions
|
@ -87,8 +87,7 @@ $this->layout('layout/main', [ 'resourceEntry' => 'keys' ]);
|
|||
<thead>
|
||||
<tr>
|
||||
<th>Column</th>
|
||||
<th>Header</th>
|
||||
<th>Attribute</th>
|
||||
<th>Header</th> <th>Attribute</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody></tbody>
|
||||
|
@ -103,18 +102,25 @@ $this->layout('layout/main', [ 'resourceEntry' => 'keys' ]);
|
|||
Share your list
|
||||
</h2>
|
||||
|
||||
<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--adds-user">+ Add</button>
|
||||
<div class="form-check form-switch">
|
||||
<input class="form-check-input" type="checkbox" role="switch" id="public-switch" <?= $list->isPublic() ? "checked" : "" ?>>
|
||||
<label class="form-check-label" for="public-switch">Is public</label>
|
||||
</div>
|
||||
|
||||
<h3>Users shared to</h3>
|
||||
<table id="shared-users-table" class="table table-striped w-100">
|
||||
<thead>
|
||||
</thead>
|
||||
<tbody></tbody>
|
||||
</table>
|
||||
<div class="share-content">
|
||||
<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--adds-user">+ Add</button>
|
||||
</div>
|
||||
|
||||
<h3>Users shared to</h3>
|
||||
<table id="shared-users-table" class="table table-striped w-100">
|
||||
<thead>
|
||||
</thead>
|
||||
<tbody></tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue