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 () {
$state.go('backend.user.vault', null, { location: 'replace' }).then(function () {
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 () {
$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>
</div>
<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})">
Invite Users
</a>

View File

@ -122,7 +122,7 @@
<ul class="dropdown-menu">
<li>
<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>
</li>
</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'
});
};
$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!
</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>

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>