Преглед на файлове

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

(cherry picked from commit 72220ac552b50a3200433967779856a2d05382fe)
Romain Rigaux преди 7 години
родител
ревизия
55913c9f5f
променени са 2 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 0 0
      apps/oozie/src/oozie/static/oozie/js/workflow-editor.ko.js
  2. 2 1
      apps/oozie/src/oozie/templates/editor2/workflow_editor.mako

Файловите разлики са ограничени, защото са твърде много
+ 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>

Някои файлове не бяха показани, защото твърде много файлове са промени