Skip to content

Commit

Permalink
Some more tooltips
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] authored and [email protected] committed Feb 11, 2017
1 parent 49f4cbb commit 9874699
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 6 deletions.
2 changes: 1 addition & 1 deletion static/html/directives/duplicate-group.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<a href="" ng-click="toggleTitleExpansion()" ng-class="{'visibility-hidden': !displayTitleToggle}"
uib-tooltip="Click to see or hide all results with the same title"
tooltip-placement="right"
tooltip-placement="top"
tooltip-trigger="mouseenter"
><span class="glyphicon"
ng-class="{'glyphicon-minus': titlesExpanded, 'glyphicon-plus': !titlesExpanded}"></span></a>
Expand Down
12 changes: 10 additions & 2 deletions static/html/states/search-results.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,13 +122,21 @@
<span class="badge">Loaded {{ resultsCount }} of {{ total }} results (rejected {{ countRejected }})</span>

<div class="btn-group" style="margin-top:20px; margin-bottom:20px;">
<button type="button" ng-click="loadMore(false)" class="btn btn-default" ng-disabled="resultsCount >= total">Load more</button>
<button type="button" ng-click="loadMore(false)" class="btn btn-default" ng-disabled="resultsCount >= total"
uib-tooltip="Click to load more results from the indexers"
tooltip-placement="right"
tooltip-trigger="mouseenter"
>Load more</button>
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" ng-disabled="resultsCount >= total">
<span class="caret"></span>
<span class="sr-only">Toggle Dropdown</span>
</button>
<ul class="dropdown-menu">
<li><a href="#" ng-click="loadMore(true)">Load all results</a></li>
<li><a href="#" ng-click="loadMore(true)"
uib-tooltip="Click to load all of the results from the indexers. May take a while and a lot of API requests..."
tooltip-placement="right"
tooltip-trigger="mouseenter"
>Load all results</a></li>
</ul>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion ui-src/html/directives/duplicate-group.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<a href="" ng-click="toggleTitleExpansion()" ng-class="{'visibility-hidden': !displayTitleToggle}"
uib-tooltip="Click to see or hide all results with the same title"
tooltip-placement="right"
tooltip-placement="top"
tooltip-trigger="mouseenter"
><span class="glyphicon"
ng-class="{'glyphicon-minus': titlesExpanded, 'glyphicon-plus': !titlesExpanded}"></span></a>
Expand Down
12 changes: 10 additions & 2 deletions ui-src/html/states/search-results.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,13 +122,21 @@
<span class="badge">Loaded {{ resultsCount }} of {{ total }} results (rejected {{ countRejected }})</span>

<div class="btn-group" style="margin-top:20px; margin-bottom:20px;">
<button type="button" ng-click="loadMore(false)" class="btn btn-default" ng-disabled="resultsCount >= total">Load more</button>
<button type="button" ng-click="loadMore(false)" class="btn btn-default" ng-disabled="resultsCount >= total"
uib-tooltip="Click to load more results from the indexers"
tooltip-placement="right"
tooltip-trigger="mouseenter"
>Load more</button>
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" ng-disabled="resultsCount >= total">
<span class="caret"></span>
<span class="sr-only">Toggle Dropdown</span>
</button>
<ul class="dropdown-menu">
<li><a href="#" ng-click="loadMore(true)">Load all results</a></li>
<li><a href="#" ng-click="loadMore(true)"
uib-tooltip="Click to load all of the results from the indexers. May take a while and a lot of API requests..."
tooltip-placement="right"
tooltip-trigger="mouseenter"
>Load all results</a></li>
</ul>
</div>
</div>
Expand Down

0 comments on commit 9874699

Please sign in to comment.