1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

misc cleanup

This commit is contained in:
Kyle Spearrin
2017-04-25 16:26:25 -04:00
parent 5c471e43dd
commit b0d2374960
7 changed files with 3 additions and 38 deletions

View File

@@ -28,7 +28,7 @@ angular
}, function () { }, function () {
$state.go('backend.user.vault', null, { location: 'replace' }).then(function () { $state.go('backend.user.vault', null, { location: 'replace' }).then(function () {
toastr.success('You can access this organization once an administrator confirms your membership.' + toastr.success('You can access this organization once an administrator confirms your membership.' +
' We\'ll send an email when that happens.', 'Invite Accepted'); ' We\'ll send an email when that happens.', 'Invite Accepted', { timeOut: 10000 });
}); });
}, function () { }, function () {
$state.go('backend.user.vault', null, { location: 'replace' }).then(function () { $state.go('backend.user.vault', null, { location: 'replace' }).then(function () {

View File

@@ -20,7 +20,7 @@
<h3 class="box-title">Let's Get Started!</h3> <h3 class="box-title">Let's Get Started!</h3>
</div> </div>
<div class="box-body"> <div class="box-body">
<p>Dashboard features are coming soon. Get started by inviting users and creating your subvaults!</p> <p>Dashboard features are coming soon. Get started by inviting users and creating your subvaults.</p>
<a class="btn btn-default btn-flat" ui-sref="backend.org.people({orgId: orgProfile.id})"> <a class="btn btn-default btn-flat" ui-sref="backend.org.people({orgId: orgProfile.id})">
Invite Users Invite Users
</a> </a>

View File

@@ -122,7 +122,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="javascript:void(0)" ng-click="leaveOrganization(org)" class="text-red"> <a href="javascript:void(0)" ng-click="leaveOrganization(org)" class="text-red">
<i class="fa fa-fw fa-remove"></i> Leave <i class="fa fa-fw fa-sign-out"></i> Leave
</a> </a>
</li> </li>
</ul> </ul>

View File

@@ -1,9 +0,0 @@
angular
.module('bit.tools')
.controller('toolsAuditsController', function ($scope, apiService, $uibModalInstance, toastr, $analytics) {
$analytics.eventTrack('toolsAuditsController', { category: 'Modal' });
$scope.close = function () {
$uibModalInstance.dismiss('cancel');
};
});

View File

@@ -17,12 +17,4 @@
controller: 'toolsExportController' controller: 'toolsExportController'
}); });
}; };
$scope.audits = function () {
$uibModal.open({
animation: true,
templateUrl: 'app/tools/views/toolsAudits.html',
controller: 'toolsAuditsController'
});
};
}); });

View File

@@ -29,12 +29,4 @@
Password generator is currently available in all other client applications. Coming soon to the web vault! Password generator is currently available in all other client applications. Coming soon to the web vault!
</div> </div>
</div> </div>
<div class="box box-default">
<div class="box-header with-border">
<h3 class="box-title">Audits</h3>
</div>
<div class="box-body">
Coming soon!
</div>
</div>
</section> </section>

View File

@@ -1,10 +0,0 @@
<div class="modal-header">
<button type="button" class="close" ng-click="close()" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<h4 class="modal-title" id="auditsModelLabel"><i class="fa fa-search"></i> Audits</h4>
</div>
<div class="modal-body">
Coming soon...
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default btn-flat" ng-click="close()">Close</button>
</div>