mirror of
https://github.com/bitwarden/browser
synced 2026-01-03 09:03:32 +00:00
tab layout for sharing center
This commit is contained in:
@@ -1,41 +1,49 @@
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
Sharing Center
|
||||
<small>logins I've shared</small>
|
||||
<small>logins</small>
|
||||
</h1>
|
||||
</section>
|
||||
<section class="content">
|
||||
<div ng-show="loading && !logins.length">
|
||||
<p>Loading...</p>
|
||||
</div>
|
||||
<div ng-show="!loading && !logins.length">
|
||||
<p>No shared logins.</p>
|
||||
</div>
|
||||
<div class="table-responsive" ng-show="logins.length">
|
||||
<table class="table table-striped table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 75px; min-width: 75px;"></th>
|
||||
<th>Name</th>
|
||||
<th style="width: 300px;">Username</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr ng-repeat="login in logins">
|
||||
<td>
|
||||
<button type="button" ng-click="revoke(login)" class="btn btn-link btn-table"
|
||||
uib-tooltip="Revoke Access">
|
||||
<i class="fa fa-lg fa-close"></i>
|
||||
</button>
|
||||
<button type="button" ng-click="edit(login)" class="btn btn-link btn-table"
|
||||
uib-tooltip="View/Edit">
|
||||
<i class="fa fa-lg fa-pencil"></i>
|
||||
</button>
|
||||
</td>
|
||||
<td>{{login.name}}</td>
|
||||
<td>{{login.username}}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="nav-tabs-custom">
|
||||
<ul class="nav nav-tabs">
|
||||
<li class="active"><a ui-sref="backend.sharedLogins">I've shared</a></li>
|
||||
<li><a ui-sref="backend.sharedLoginsMe">Shared with me</a></li>
|
||||
</ul>
|
||||
<div class="tab-content">
|
||||
<div ng-show="loading && !logins.length">
|
||||
Loading...
|
||||
</div>
|
||||
<div ng-show="!loading && !logins.length">
|
||||
No shared logins.
|
||||
</div>
|
||||
<div class="table-responsive" ng-show="logins.length">
|
||||
<table class="table table-striped table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 75px; min-width: 75px;"></th>
|
||||
<th>Name</th>
|
||||
<th style="width: 300px;">Username</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr ng-repeat="login in logins">
|
||||
<td>
|
||||
<button type="button" ng-click="revoke(login)" class="btn btn-link btn-table"
|
||||
uib-tooltip="Revoke Access">
|
||||
<i class="fa fa-lg fa-close"></i>
|
||||
</button>
|
||||
<button type="button" ng-click="edit(login)" class="btn btn-link btn-table"
|
||||
uib-tooltip="View/Edit">
|
||||
<i class="fa fa-lg fa-pencil"></i>
|
||||
</button>
|
||||
</td>
|
||||
<td>{{login.name}}</td>
|
||||
<td>{{login.username}}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user