1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-04 09:33:27 +00:00

setup UI pages for sharing center

This commit is contained in:
Kyle Spearrin
2017-02-20 22:56:50 -05:00
parent a37a5fa1b5
commit 877eb4d423
11 changed files with 154 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
<section class="content-header">
<h1>
Sharing Center
<small>logins I've shared</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>
</section>