From 89af5e456fb0d9fa4a49c18931d6c87d81c4a558 Mon Sep 17 00:00:00 2001 From: jiazhong Date: Fri, 24 Oct 2014 17:14:18 +0800 Subject: [PATCH] combine rowkey & aggression in one page --- webapp/app/js/controllers/cubeSchema.js | 3 +- .../partials/cubeDesigner/advanced_settings.html | 118 +++++++++++++++++++++ .../partials/cubeDesigner/aggression_group.html | 43 -------- webapp/app/partials/cubeDesigner/rowkey.html | 74 ------------- 4 files changed, 119 insertions(+), 119 deletions(-) create mode 100644 webapp/app/partials/cubeDesigner/advanced_settings.html delete mode 100644 webapp/app/partials/cubeDesigner/aggression_group.html delete mode 100644 webapp/app/partials/cubeDesigner/rowkey.html diff --git a/webapp/app/js/controllers/cubeSchema.js b/webapp/app/js/controllers/cubeSchema.js index 17b6291..0c8c2ff 100644 --- a/webapp/app/js/controllers/cubeSchema.js +++ b/webapp/app/js/controllers/cubeSchema.js @@ -16,8 +16,7 @@ KylinApp.controller('CubeSchemaCtrl', function ($scope, QueryService, UserServic {title: 'Refresh Setting', src: 'partials/cubeDesigner/incremental.html', isComplete: false} ]; if (UserService.hasRole("ROLE_ADMIN")) { - $scope.wizardSteps.push({title: 'Rowkeys', src: 'partials/cubeDesigner/rowkey.html', isComplete: false}); - $scope.wizardSteps.push({title: 'Aggreation Groups', src: 'partials/cubeDesigner/aggression_group.html', isComplete: false}); + $scope.wizardSteps.push({title: 'Advanced Setting', src: 'partials/cubeDesigner/advanced_settings.html', isComplete: false}); } $scope.wizardSteps.push({title: 'Overview', src: 'partials/cubeDesigner/overview.html', isComplete: false}); diff --git a/webapp/app/partials/cubeDesigner/advanced_settings.html b/webapp/app/partials/cubeDesigner/advanced_settings.html new file mode 100644 index 0000000..5e86587 --- /dev/null +++ b/webapp/app/partials/cubeDesigner/advanced_settings.html @@ -0,0 +1,118 @@ +
+
+

Aggreation Groups

+ + + + + + + + + + + + +
IDAggregation Groups
+ + {{($index + 1)}} + + + + +

{{aggregation_groups}}

+
+ +
+ + + + +
+ + +
+

Rowkeys

+ + + + + + + + + + + + + + + + + + +
IDColumnLengthDictionaryMandatory
+ + {{($index + 1)}} + + + + + {{rowkey_column.column}} + + + + + {{rowkey_column.length}} + + +
+ + + {{rowkey_column.dictionary}} +
+
+ + + + {{rowkey_column.mandatory? 'Y':'N'}} + + +
+ + +
+
+ diff --git a/webapp/app/partials/cubeDesigner/aggression_group.html b/webapp/app/partials/cubeDesigner/aggression_group.html deleted file mode 100644 index 63196b3..0000000 --- a/webapp/app/partials/cubeDesigner/aggression_group.html +++ /dev/null @@ -1,43 +0,0 @@ -
-
- - - - - - - - - - - - - -
IDAggregation Groups
- - {{($index + 1)}} - - - - -

{{aggregation_groups}}

-
- -
- - - - -
-
\ No newline at end of file diff --git a/webapp/app/partials/cubeDesigner/rowkey.html b/webapp/app/partials/cubeDesigner/rowkey.html deleted file mode 100644 index 44443e0..0000000 --- a/webapp/app/partials/cubeDesigner/rowkey.html +++ /dev/null @@ -1,74 +0,0 @@ -
-
- - - - - - - - - - - - - - - - - - - -
IDColumnLengthDictionaryMandatory
- - {{($index + 1)}} - - - - - {{rowkey_column.column}} - - - - - {{rowkey_column.length}} - - -
- - - {{rowkey_column.dictionary}} -
-
- - - - {{rowkey_column.mandatory? 'Y':'N'}} - - -
- - -
-
\ No newline at end of file