ngReorg - create framework dir
This patch simply renames: horizon/horizon/static/angular to: horizon/horizon/static/framework This is one step in a larger effort to restructure the Angular source. See https://review.openstack.org/#/c/176152/ for the full set of planned changes. Partial-Bug: 1454880 Change-Id: I2bbcc64caa42f97c7d92688f4c5d7915146966bc
This commit is contained in:
parent
d6e5a98cf1
commit
d1bdc0ae7d
@ -18,6 +18,6 @@
|
||||
'hz.framework.validators',
|
||||
'hz.widget.toast'
|
||||
])
|
||||
.constant('basePath', '/static/angular/');
|
||||
.constant('basePath', '/static/framework/');
|
||||
|
||||
})();
|
@ -35,30 +35,30 @@
|
||||
|
||||
<script src="{{ STATIC_URL }}horizon/lib/d3.js"></script>
|
||||
|
||||
<script src='{{ STATIC_URL }}angular/widget.module.js'></script>
|
||||
<script src='{{ STATIC_URL }}angular/form/form.js'></script>
|
||||
<script src='{{ STATIC_URL }}angular/help-panel/help-panel.js'></script>
|
||||
<script src='{{ STATIC_URL }}angular/i18n/i18n.js'></script>
|
||||
<script src='{{ STATIC_URL }}angular/wizard/wizard.js'></script>
|
||||
<script src='{{ STATIC_URL }}angular/action-list/action-list.js'></script>
|
||||
<script src='{{ STATIC_URL }}angular/action-list/button-tooltip.js'></script>
|
||||
<script src='{{ STATIC_URL }}angular/table/table.js'></script>
|
||||
<script src='{{ STATIC_URL }}angular/table/basic-table.js'></script>
|
||||
<script src="{{ STATIC_URL }}angular/login/login.js"></script>
|
||||
<script src='{{ STATIC_URL }}angular/modal/modal.js'></script>
|
||||
<script src='{{ STATIC_URL }}angular/modal/modal-wait-spinner.js'></script>
|
||||
<script src='{{ STATIC_URL }}angular/bind-scope/bind-scope.js'></script>
|
||||
<script src='{{ STATIC_URL }}angular/transfer-table/transfer-table.js'></script>
|
||||
<script src='{{ STATIC_URL }}angular/charts/charts.js'></script>
|
||||
<script src='{{ STATIC_URL }}angular/charts/chart-tooltip.js'></script>
|
||||
<script src='{{ STATIC_URL }}angular/charts/pie-chart.js'></script>
|
||||
<script src='{{ STATIC_URL }}angular/metadata-tree/metadata-tree.js'></script>
|
||||
<script src='{{ STATIC_URL }}angular/metadata-tree/metadata-tree-service.js'></script>
|
||||
<script src='{{ STATIC_URL }}angular/metadata-display/metadata-display.js'></script>
|
||||
<script src='{{ STATIC_URL }}angular/magic-search/magic-search.js'></script>
|
||||
<script src='{{ STATIC_URL }}angular/validators/validators.js'></script>
|
||||
<script src='{{ STATIC_URL }}angular/workflow/workflow.js'></script>
|
||||
<script src='{{ STATIC_URL }}angular/toast/toast.js'></script>
|
||||
<script src='{{ STATIC_URL }}framework/widget.module.js'></script>
|
||||
<script src='{{ STATIC_URL }}framework/form/form.js'></script>
|
||||
<script src='{{ STATIC_URL }}framework/help-panel/help-panel.js'></script>
|
||||
<script src='{{ STATIC_URL }}framework/i18n/i18n.js'></script>
|
||||
<script src='{{ STATIC_URL }}framework/wizard/wizard.js'></script>
|
||||
<script src='{{ STATIC_URL }}framework/action-list/action-list.js'></script>
|
||||
<script src='{{ STATIC_URL }}framework/action-list/button-tooltip.js'></script>
|
||||
<script src='{{ STATIC_URL }}framework/table/table.js'></script>
|
||||
<script src='{{ STATIC_URL }}framework/table/basic-table.js'></script>
|
||||
<script src="{{ STATIC_URL }}framework/login/login.js"></script>
|
||||
<script src='{{ STATIC_URL }}framework/modal/modal.js'></script>
|
||||
<script src='{{ STATIC_URL }}framework/modal/modal-wait-spinner.js'></script>
|
||||
<script src='{{ STATIC_URL }}framework/bind-scope/bind-scope.js'></script>
|
||||
<script src='{{ STATIC_URL }}framework/transfer-table/transfer-table.js'></script>
|
||||
<script src='{{ STATIC_URL }}framework/charts/charts.js'></script>
|
||||
<script src='{{ STATIC_URL }}framework/charts/chart-tooltip.js'></script>
|
||||
<script src='{{ STATIC_URL }}framework/charts/pie-chart.js'></script>
|
||||
<script src='{{ STATIC_URL }}framework/metadata-tree/metadata-tree.js'></script>
|
||||
<script src='{{ STATIC_URL }}framework/metadata-tree/metadata-tree-service.js'></script>
|
||||
<script src='{{ STATIC_URL }}framework/metadata-display/metadata-display.js'></script>
|
||||
<script src='{{ STATIC_URL }}framework/magic-search/magic-search.js'></script>
|
||||
<script src='{{ STATIC_URL }}framework/validators/validators.js'></script>
|
||||
<script src='{{ STATIC_URL }}framework/workflow/workflow.js'></script>
|
||||
<script src='{{ STATIC_URL }}framework/toast/toast.js'></script>
|
||||
|
||||
<script src='{{ STATIC_URL }}horizon/lib/jquery/jquery.quicksearch.js'></script>
|
||||
<script src="{{ STATIC_URL }}horizon/lib/jquery/jquery.tablesorter.js"></script>
|
||||
|
@ -23,69 +23,69 @@ class ServicesTests(test.JasmineTests):
|
||||
'horizon/js/angular/hz.api.module.js',
|
||||
'horizon/js/angular/services/hz.api.service.js',
|
||||
'horizon/js/angular/services/hz.api.config.js',
|
||||
'angular/widget.module.js',
|
||||
'angular/action-list/action-list.js',
|
||||
'angular/action-list/button-tooltip.js',
|
||||
'angular/bind-scope/bind-scope.js',
|
||||
'angular/charts/charts.js',
|
||||
'angular/charts/chart-tooltip.js',
|
||||
'angular/charts/pie-chart.js',
|
||||
'angular/form/form.js',
|
||||
'angular/help-panel/help-panel.js',
|
||||
'angular/login/login.js',
|
||||
'angular/metadata-tree/metadata-tree.js',
|
||||
'angular/metadata-tree/metadata-tree-service.js',
|
||||
'angular/modal/modal.js',
|
||||
'angular/modal/modal-wait-spinner.js',
|
||||
'angular/table/table.js',
|
||||
'angular/table/basic-table.js',
|
||||
'angular/transfer-table/transfer-table.js',
|
||||
'angular/validators/validators.js',
|
||||
'angular/wizard/wizard.js',
|
||||
'angular/workflow/workflow.js',
|
||||
'angular/metadata-display/metadata-display.js',
|
||||
'angular/toast/toast.js',
|
||||
'angular/i18n/i18n.js',
|
||||
'framework/widget.module.js',
|
||||
'framework/action-list/action-list.js',
|
||||
'framework/action-list/button-tooltip.js',
|
||||
'framework/bind-scope/bind-scope.js',
|
||||
'framework/charts/charts.js',
|
||||
'framework/charts/chart-tooltip.js',
|
||||
'framework/charts/pie-chart.js',
|
||||
'framework/form/form.js',
|
||||
'framework/help-panel/help-panel.js',
|
||||
'framework/login/login.js',
|
||||
'framework/metadata-tree/metadata-tree.js',
|
||||
'framework/metadata-tree/metadata-tree-service.js',
|
||||
'framework/modal/modal.js',
|
||||
'framework/modal/modal-wait-spinner.js',
|
||||
'framework/table/table.js',
|
||||
'framework/table/basic-table.js',
|
||||
'framework/transfer-table/transfer-table.js',
|
||||
'framework/validators/validators.js',
|
||||
'framework/wizard/wizard.js',
|
||||
'framework/workflow/workflow.js',
|
||||
'framework/metadata-display/metadata-display.js',
|
||||
'framework/toast/toast.js',
|
||||
'framework/i18n/i18n.js',
|
||||
'horizon/js/angular/filters/filters.js',
|
||||
]
|
||||
specs = [
|
||||
'horizon/js/angular/services/hz.api.service.spec.js',
|
||||
'horizon/js/angular/services/hz.api.config.spec.js',
|
||||
'horizon/tests/jasmine/utils.spec.js',
|
||||
'angular/action-list/action-list.spec.js',
|
||||
'angular/bind-scope/bind-scope.spec.js',
|
||||
'angular/charts/pie-chart.spec.js',
|
||||
'angular/form/form.spec.js',
|
||||
'angular/help-panel/help-panel.spec.js',
|
||||
'angular/login/login.spec.js',
|
||||
'angular/modal/modal.spec.js',
|
||||
'angular/modal/modal-wait-spinner.spec.js',
|
||||
'angular/table/table.spec.js',
|
||||
'angular/table/basic-table.spec.js',
|
||||
'angular/transfer-table/transfer-table.spec.js',
|
||||
'angular/wizard/wizard.spec.js',
|
||||
'angular/validators/validators.spec.js',
|
||||
'angular/workflow/workflow.spec.js',
|
||||
'angular/metadata-tree/metadata-tree.spec.js',
|
||||
'angular/metadata-display/metadata-display.spec.js',
|
||||
'angular/toast/toast.spec.js',
|
||||
'angular/i18n/i18n.spec.js',
|
||||
'framework/action-list/action-list.spec.js',
|
||||
'framework/bind-scope/bind-scope.spec.js',
|
||||
'framework/charts/pie-chart.spec.js',
|
||||
'framework/form/form.spec.js',
|
||||
'framework/help-panel/help-panel.spec.js',
|
||||
'framework/login/login.spec.js',
|
||||
'framework/modal/modal.spec.js',
|
||||
'framework/modal/modal-wait-spinner.spec.js',
|
||||
'framework/table/table.spec.js',
|
||||
'framework/table/basic-table.spec.js',
|
||||
'framework/transfer-table/transfer-table.spec.js',
|
||||
'framework/wizard/wizard.spec.js',
|
||||
'framework/validators/validators.spec.js',
|
||||
'framework/workflow/workflow.spec.js',
|
||||
'framework/metadata-tree/metadata-tree.spec.js',
|
||||
'framework/metadata-display/metadata-display.spec.js',
|
||||
'framework/toast/toast.spec.js',
|
||||
'framework/i18n/i18n.spec.js',
|
||||
'horizon/js/angular/filters/filters.spec.js',
|
||||
]
|
||||
externalTemplates = [
|
||||
'angular/action-list/action.html',
|
||||
'angular/action-list/menu-item.html',
|
||||
'angular/action-list/menu.html',
|
||||
'angular/action-list/single-button.html',
|
||||
'angular/action-list/split-button.html',
|
||||
'angular/charts/chart-tooltip.html',
|
||||
'angular/charts/pie-chart.html',
|
||||
'angular/help-panel/help-panel.html',
|
||||
'angular/table/search-bar.html',
|
||||
'angular/transfer-table/transfer-table.html',
|
||||
'angular/wizard/wizard.html',
|
||||
'angular/metadata-tree/metadata-tree.html',
|
||||
'angular/metadata-tree/metadata-tree-item.html',
|
||||
'angular/metadata-display/metadata-display.html',
|
||||
'angular/toast/toast.html',
|
||||
'framework/action-list/action.html',
|
||||
'framework/action-list/menu-item.html',
|
||||
'framework/action-list/menu.html',
|
||||
'framework/action-list/single-button.html',
|
||||
'framework/action-list/split-button.html',
|
||||
'framework/charts/chart-tooltip.html',
|
||||
'framework/charts/pie-chart.html',
|
||||
'framework/help-panel/help-panel.html',
|
||||
'framework/table/search-bar.html',
|
||||
'framework/transfer-table/transfer-table.html',
|
||||
'framework/wizard/wizard.html',
|
||||
'framework/metadata-tree/metadata-tree.html',
|
||||
'framework/metadata-tree/metadata-tree-item.html',
|
||||
'framework/metadata-display/metadata-display.html',
|
||||
'framework/toast/toast.html',
|
||||
]
|
||||
|
@ -25,7 +25,7 @@
|
||||
@import "components/charts";
|
||||
@import "components/workflow";
|
||||
@import "components/network_topology";
|
||||
@import "/angular/styles";
|
||||
@import "/framework/styles";
|
||||
|
||||
|
||||
/* new clearfix */
|
||||
|
@ -160,7 +160,7 @@ function run_jshint {
|
||||
echo "Running jshint ..."
|
||||
jshint horizon/static/horizon/js
|
||||
jshint horizon/static/horizon/tests
|
||||
jshint horizon/static/angular/
|
||||
jshint horizon/static/framework/
|
||||
jshint openstack_dashboard/static/dashboard/
|
||||
}
|
||||
|
||||
@ -170,7 +170,7 @@ function run_jscs {
|
||||
echo "jscs is not present; please install, e.g. sudo npm install jscs -g"
|
||||
else
|
||||
jscs horizon/static/horizon/js horizon/static/horizon/tests \
|
||||
horizon/static/angular/ openstack_dashboard/static/dashboard/
|
||||
horizon/static/framework/ openstack_dashboard/static/dashboard/
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user