forked from finos/waltz
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding ordering to report grid columns.
- also fixing some d3 v6-v4 revert issues. finos#5107
- Loading branch information
1 parent
f9e72bd
commit 3fbfc18
Showing
8 changed files
with
97 additions
and
65 deletions.
There are no files selected for viewing
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
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
46 changes: 34 additions & 12 deletions
46
waltz-ng/client/report-grid/components/grid-view-section/report-grid-view-section.html
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,19 +1,41 @@ | ||
<div> | ||
|
||
<h4 ng-if="!$ctrl.showPicker"> | ||
<span ng-bind="$ctrl.selectedGrid.name"></span> | ||
<span class="small"> | ||
<a class="clickable" | ||
ng-click="$ctrl.showPicker = true"> | ||
Change report | ||
</a> | ||
</span> | ||
</h4> | ||
|
||
<!-- PICKER --> | ||
<div class="row" | ||
ng-if="$ctrl.showPicker" | ||
style="margin-bottom: 1em"> | ||
<div class="col-md-6"> | ||
<waltz-sub-section name="Report picker"> | ||
<content> | ||
<div class="waltz-sub-section-content"> | ||
<waltz-report-grid-picker on-grid-select="$ctrl.onGridSelect"> | ||
</waltz-report-grid-picker> | ||
</div> | ||
<div class="waltz-sub-section-controls"> | ||
<a ng-click="$ctrl.showPicker = false" | ||
class="clickable"> | ||
Close | ||
</a> | ||
</div> | ||
</content> | ||
</waltz-sub-section> | ||
</div> | ||
</div> | ||
|
||
<!-- GRID & FILTERS --> | ||
<waltz-report-grid-view-panel parent-entity-ref="$ctrl.parentEntityRef" | ||
grid-id="$ctrl.gridId"> | ||
grid-id="$ctrl.selectedGrid.id"> | ||
</waltz-report-grid-view-panel> | ||
|
||
<div ng-if="$ctrl.showPicker"> | ||
<waltz-report-grid-picker on-grid-select="$ctrl.onGridSelect"> | ||
</waltz-report-grid-picker> | ||
</div> | ||
<div ng-if="!$ctrl.showPicker" class="small"> | ||
<a class="clickable" | ||
ng-click="$ctrl.showPicker = true"> | ||
Click here | ||
</a> | ||
to change report | ||
</div> | ||
</div> | ||
|
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
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
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
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
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