This repository has been archived by the owner on Jun 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #112 from flant/feat_pagination
- Loading branch information
Showing
18 changed files
with
543 additions
and
38 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,37 @@ | ||
<div class="status-heatmap-wrapper"> | ||
<div class="status-heatmap-canvas-wrapper"> | ||
|
||
<div class="datapoints-warning" ng-if="ctrl.multipleValues || ctrl.noColorDefined || ctrl.noDatapoints"> | ||
<span class="small" ng-if="ctrl.multipleValues" bs-tooltip="'{{ctrl.dataWarnings.multipleValues.tip}}'">{{ctrl.dataWarnings.multipleValues.title}}</span> | ||
<span class="small" ng-if="ctrl.noColorDefined" bs-tooltip="'{{ctrl.dataWarnings.noColorDefined.tip}}'">{{ctrl.dataWarnings.noColorDefined.title}}</span> | ||
<span class="small" ng-if="ctrl.noDatapoints" bs-tooltip="'{{ctrl.dataWarnings.noDatapoints.tip}}'">{{ctrl.dataWarnings.noDatapoints.title}}</span> | ||
</div> | ||
|
||
|
||
<div class="statusmap-panel" ng-dblclick="ctrl.zoomOut()"></div> | ||
</div> | ||
|
||
<div class="status-heatmap-legend-wrapper" ng-if="ctrl.panel.legend.show"> | ||
<status-heatmap-legend></status-heatmap-legend> | ||
</div> | ||
|
||
<div class="clearfix"></div> | ||
|
||
<div class="statusmap-pagination gf-form" ng-if="ctrl.panel.usingPagination"> | ||
<div class="gf-form"> | ||
<button class="btn btn-inverse" ng-disabled="!pager.hasPrev()" ng-click="ctrl.onPrevPage()"> | ||
<i class="fa fa-arrow-left"></i> Previous | ||
</button> | ||
<label class="gf-form-label">{{pager.currentPage+1}}/{{pager.pages()}}</label> | ||
<button class="btn btn-inverse last-in-group" ng-disabled="!pager.hasNext()" ng-click="ctrl.onNextPage()"> | ||
Next <i class="fa fa-arrow-right"></i> | ||
</button> | ||
</div> | ||
|
||
<div class="gf-form"> | ||
<label class="gf-form-label">Rows per page</label> | ||
<input type="number" class="gf-form-input width-3 last-in-group" placeholder="12" data-placement="top" | ||
bs-tooltip="'Number of rows to show per page.'" ng-model="ctrl.pageSizeViewer" ng-change="ctrl.onChangePageSize()" | ||
ng-model-onblur> | ||
</div> | ||
<label class="gf-form-label">Show {{pager.pageStartRow()}} to {{pager.pageEndRow()}} of {{pager.totalRows()}} rows</label> | ||
</div> | ||
</div> | ||
<div class="clearfix"></div> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.