Browse Source

HUE-8330 [oozie] Add multi cluster context to the scheduler

Romain Rigaux 7 years ago
parent
commit
72220ac552

File diff suppressed because it is too large
+ 0 - 0
apps/oozie/src/oozie/static/oozie/js/workflow-editor.ko.js


+ 2 - 1
apps/oozie/src/oozie/templates/editor2/workflow_editor.mako

@@ -415,7 +415,8 @@ ${ layout.menubar(section='workflows', is_editor=True, pullright=buttons, is_emb
   <div class="container-fluid">
     <span class="pull-right">
     <!-- ko if: availableComputes().length > 1 -->
-      <select data-bind="selectize: availableComputes, value: compute, optionsValue: 'id', optionsText: 'name'" class="input-medium"></select>
+      ##<select data-bind="selectize: availableComputes, value: compute, optionsValue: 'id', optionsText: 'name'" class="input-medium"></select>
+      <div data-bind="component: { name: 'hue-drop-down', params: { value: compute, entries: availableComputes, labelAttribute: 'name', searchable: true, linkTitle: '${ _ko('Active compute') }' } }"></div>
       ## <div class="margin-left-10" data-bind="component: { name: 'hue-drop-down', params: { icon: 'fa-snowflake-o', value: namespace, entries: availableNamespaces, labelAttribute: 'name', foreachVisible: true, searchable: true, linkTitle: '${ _ko('Namespaces') }' } }" style="display: inline-block"></div>
     <!-- /ko -->
     </span>

Some files were not shown because too many files changed in this diff