convert listings from uib-tooltip to title

This commit is contained in:
Kyle Spearrin 2017-04-14 23:48:51 -04:00
parent 309c73a972
commit cdc06a2b49
5 changed files with 28 additions and 28 deletions

View File

@ -35,7 +35,7 @@
<div ng-if="user.name"><small class="text-muted">{{user.name}}</small></div> <div ng-if="user.name"><small class="text-muted">{{user.name}}</small></div>
</td> </td>
<td style="width: 40px;" align="center"> <td style="width: 40px;" align="center">
<i class="fa fa-pencil-square-o" ng-show="!user.readOnly" uib-tooltip="Can Edit"></i> <i class="fa fa-pencil-square-o" ng-show="!user.readOnly" title="Can Edit"></i>
</td> </td>
<td style="width: 100px;"> <td style="width: 100px;">
{{user.type | enumName: 'OrgUserType'}} {{user.type | enumName: 'OrgUserType'}}

View File

@ -14,7 +14,7 @@
<button type="button" class="btn btn-box-tool" ng-click="addEdit(null)"> <button type="button" class="btn btn-box-tool" ng-click="addEdit(null)">
<i class="fa fa-plus-circle"></i> Add New <i class="fa fa-plus-circle"></i> Add New
</button> </button>
<button type="button" class="btn btn-box-tool" data-widget="collapse" uib-tooltip="Collapse/Expand"> <button type="button" class="btn btn-box-tool" data-widget="collapse" title="Collapse/Expand">
<i class="fa fa-minus"></i> <i class="fa fa-minus"></i>
</button> </button>
</div> </div>
@ -25,10 +25,10 @@
<tbody ng-if="equivalentDomains.length"> <tbody ng-if="equivalentDomains.length">
<tr ng-repeat="customDomain in equivalentDomains track by $index"> <tr ng-repeat="customDomain in equivalentDomains track by $index">
<td style="width: 80px; min-width: 80px;"> <td style="width: 80px; min-width: 80px;">
<button type="button" class="btn btn-link btn-table" uib-tooltip="Edit" ng-click="addEdit($index)"> <button type="button" class="btn btn-link btn-table" title="Edit" ng-click="addEdit($index)">
<i class="fa fa-lg fa-pencil"></i> <i class="fa fa-lg fa-pencil"></i>
</button> </button>
<button type="button" class="btn btn-link btn-table" uib-tooltip="Delete" ng-click="delete($index)"> <button type="button" class="btn btn-link btn-table" title="Delete" ng-click="delete($index)">
<i class="fa fa-lg fa-trash"></i> <i class="fa fa-lg fa-trash"></i>
</button> </button>
</td> </td>
@ -56,7 +56,7 @@
<div class="box-header with-border"> <div class="box-header with-border">
<h3 class="box-title">Global Equivalent Domains</h3> <h3 class="box-title">Global Equivalent Domains</h3>
<div class="box-tools pull-right"> <div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse" uib-tooltip="Collapse/Expand"> <button type="button" class="btn btn-box-tool" data-widget="collapse" title="Collapse/Expand">
<i class="fa fa-minus"></i> <i class="fa fa-minus"></i>
</button> </button>
</div> </div>
@ -67,15 +67,15 @@
<tbody ng-if="globalEquivalentDomains.length"> <tbody ng-if="globalEquivalentDomains.length">
<tr ng-repeat="globalDomain in globalEquivalentDomains"> <tr ng-repeat="globalDomain in globalEquivalentDomains">
<td style="width: 80px; min-width: 80px;"> <td style="width: 80px; min-width: 80px;">
<button type="button" class="btn btn-link btn-table" uib-tooltip="Exclude" <button type="button" class="btn btn-link btn-table" title="Exclude"
ng-if="!globalDomain.excluded" ng-click="toggleExclude(globalDomain)"> ng-if="!globalDomain.excluded" ng-click="toggleExclude(globalDomain)">
<i class="fa fa-lg fa-ban"></i> <i class="fa fa-lg fa-ban"></i>
</button> </button>
<button type="button" class="btn btn-link btn-table" uib-tooltip="Include" <button type="button" class="btn btn-link btn-table" title="Include"
ng-if="globalDomain.excluded" ng-click="toggleExclude(globalDomain)"> ng-if="globalDomain.excluded" ng-click="toggleExclude(globalDomain)">
<i class="fa fa-lg fa-plus"></i> <i class="fa fa-lg fa-plus"></i>
</button> </button>
<button type="button" class="btn btn-link btn-table" uib-tooltip="Customize" <button type="button" class="btn btn-link btn-table" title="Customize"
ng-click="customize(globalDomain)"> ng-click="customize(globalDomain)">
<i class="fa fa-lg fa-cut"></i> <i class="fa fa-lg fa-cut"></i>
</button> </button>

View File

@ -71,21 +71,21 @@
}); });
}); });
$rootScope.vaultLogins = $filter('orderBy')(decLogins, ['sort', 'name', 'username']); $rootScope.vaultLogins = $scope.logins = $filter('orderBy')(decLogins, ['sort', 'name', 'username']);
var chunks = chunk($rootScope.vaultLogins, 300); //var chunks = chunk($rootScope.vaultLogins, 300);
$scope.logins = chunks[0]; //$scope.logins = chunks[0];
var delay = 200; //var delay = 200;
angular.forEach(chunks, function (value, index) { //angular.forEach(chunks, function (value, index) {
delay += 200; // delay += 200;
// skip the first chuck // // skip the first chuck
if (index > 0) { // if (index > 0) {
$timeout(function () { // $timeout(function () {
Array.prototype.push.apply($scope.logins, value); // Array.prototype.push.apply($scope.logins, value);
}, delay); // }, delay);
} // }
}); //});
} }
function sortScopedLoginData() { function sortScopedLoginData() {

View File

@ -28,7 +28,7 @@
</li> </li>
</ul> </ul>
</div> </div>
<button type="button" class="btn btn-box-tool" data-widget="collapse" uib-tooltip="Collapse/Expand" <button type="button" class="btn btn-box-tool" data-widget="collapse" title="Collapse/Expand"
ng-click="collapseExpand(null, true)"> ng-click="collapseExpand(null, true)">
<i class="fa" ng-class="{'fa-minus': !favoriteCollapsed, 'fa-plus': favoriteCollapsed}"></i> <i class="fa" ng-class="{'fa-minus': !favoriteCollapsed, 'fa-plus': favoriteCollapsed}"></i>
</button> </button>
@ -75,7 +75,7 @@
</td> </td>
<td> <td>
<a href="javascript:void(0)" ng-click="editLogin(login)">{{login.name}}</a> <a href="javascript:void(0)" ng-click="editLogin(login)">{{login.name}}</a>
<i class="fa fa-share-alt text-muted" uib-tooltip="Shared" ng-show="login.organizationId"></i> <i class="fa fa-share-alt text-muted" title="Shared" ng-show="login.organizationId"></i>
<div class="text-sm text-muted">{{login.username}}</div> <div class="text-sm text-muted">{{login.username}}</div>
</td> </td>
</tr> </tr>
@ -114,7 +114,7 @@
</li> </li>
</ul> </ul>
</div> </div>
<button type="button" class="btn btn-box-tool" data-widget="collapse" uib-tooltip="Collapse/Expand" <button type="button" class="btn btn-box-tool" data-widget="collapse" title="Collapse/Expand"
ng-click="collapseExpand(folder)"> ng-click="collapseExpand(folder)">
<i class="fa" ng-class="{'fa-minus': !folder.collapsed, 'fa-plus': folder.collapsed}"></i> <i class="fa" ng-class="{'fa-minus': !folder.collapsed, 'fa-plus': folder.collapsed}"></i>
</button> </button>
@ -161,8 +161,8 @@
</td> </td>
<td> <td>
<a href="javascript:void(0)" ng-click="editLogin(login)">{{login.name}}</a> <a href="javascript:void(0)" ng-click="editLogin(login)">{{login.name}}</a>
<i class="fa fa-star text-muted" uib-tooltip="Favorite" ng-show="login.favorite"></i> <i class="fa fa-star text-muted" title="Favorite" ng-show="login.favorite"></i>
<i class="fa fa-share-alt text-muted" uib-tooltip="Shared" ng-show="login.organizationId"></i> <i class="fa fa-share-alt text-muted" title="Shared" ng-show="login.organizationId"></i>
<div class="text-sm text-muted">{{login.username}}</div> <div class="text-sm text-muted">{{login.username}}</div>
</td> </td>
</tr> </tr>

View File

@ -29,7 +29,7 @@
{{subvault.name}} <small>{{subvaultLogins.length}} logins</small> {{subvault.name}} <small>{{subvaultLogins.length}} logins</small>
</h3> </h3>
<div class="box-tools"> <div class="box-tools">
<button type="button" class="btn btn-box-tool" data-widget="collapse" uib-tooltip="Collapse/Expand" <button type="button" class="btn btn-box-tool" data-widget="collapse" title="Collapse/Expand"
ng-click="collapseExpand(subvault)"> ng-click="collapseExpand(subvault)">
<i class="fa" ng-class="{'fa-minus': !subvault.collapsed, 'fa-plus': subvault.collapsed}"></i> <i class="fa" ng-class="{'fa-minus': !subvault.collapsed, 'fa-plus': subvault.collapsed}"></i>
</button> </button>
@ -74,7 +74,7 @@
</td> </td>
<td> <td>
<a href="javascript:void(0)" ng-click="editLogin(login)">{{login.name}}</a> <a href="javascript:void(0)" ng-click="editLogin(login)">{{login.name}}</a>
<i class="fa fa-star text-muted" uib-tooltip="Favorite" ng-show="login.favorite"></i> <i class="fa fa-star text-muted" title="Favorite" ng-show="login.favorite"></i>
<div class="text-sm text-muted">{{login.username}}</div> <div class="text-sm text-muted">{{login.username}}</div>
</td> </td>
</tr> </tr>