ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [11/17] ignite git commit: IGNITE-7036 Web Console: Improved export of grouped data on Admin panel.
Date Thu, 11 Jan 2018 12:11:01 GMT
IGNITE-7036 Web Console: Improved export of grouped data on Admin panel.


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/fdc130cd
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/fdc130cd
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/fdc130cd

Branch: refs/heads/ignite-zk
Commit: fdc130cd8aa280c095bd71005dd937e353d3592d
Parents: a7cdea1
Author: Dmitriy Shabalin <dmitriyff@gmail.com>
Authored: Thu Jan 11 16:22:33 2018 +0700
Committer: Alexey Kuznetsov <akuznetsov@apache.org>
Committed: Thu Jan 11 16:22:33 2018 +0700

----------------------------------------------------------------------
 .../list-of-registered-users.controller.js                       | 4 ----
 .../list-of-registered-users/list-of-registered-users.tpl.pug    | 3 +--
 2 files changed, 1 insertion(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/fdc130cd/modules/web-console/frontend/app/components/list-of-registered-users/list-of-registered-users.controller.js
----------------------------------------------------------------------
diff --git a/modules/web-console/frontend/app/components/list-of-registered-users/list-of-registered-users.controller.js
b/modules/web-console/frontend/app/components/list-of-registered-users/list-of-registered-users.controller.js
index f82ccbe..6c55753 100644
--- a/modules/web-console/frontend/app/components/list-of-registered-users/list-of-registered-users.controller.js
+++ b/modules/web-console/frontend/app/components/list-of-registered-users/list-of-registered-users.controller.js
@@ -261,10 +261,6 @@ export default class IgniteListOfRegisteredUsersCtrl {
         }
     }
 
-    exportCsv() {
-        this.gridApi.exporter.csvExport('visible', 'visible');
-    }
-
     groupByUser() {
         this.groupBy = 'user';
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/fdc130cd/modules/web-console/frontend/app/components/list-of-registered-users/list-of-registered-users.tpl.pug
----------------------------------------------------------------------
diff --git a/modules/web-console/frontend/app/components/list-of-registered-users/list-of-registered-users.tpl.pug
b/modules/web-console/frontend/app/components/list-of-registered-users/list-of-registered-users.tpl.pug
index 11ff7bc..6aa4e31 100644
--- a/modules/web-console/frontend/app/components/list-of-registered-users/list-of-registered-users.tpl.pug
+++ b/modules/web-console/frontend/app/components/list-of-registered-users/list-of-registered-users.tpl.pug
@@ -45,8 +45,7 @@ include /app/helpers/jade/mixins
                     required: false,
                     options: '$ctrl.actionOptions'
                 })
-                button.btn-ignite.btn-ignite--primary-outline(ng-click='$ctrl.exportCsv()'
bs-tooltip='' data-title='Export table to CSV' data-placement='top')
-                    svg(ignite-icon='csv')
+                grid-export(grid-api='$ctrl.gridApi')
                 form.ui-grid-settings-dateperiod(name=form novalidate)
                     -var form = 'admin'
                     +ignite-form-field-datepicker('Period: from', '$ctrl.params.startDate',
'"startDate"', null, '$ctrl.params.endDate')


Mime
View raw message