소스 검색

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>

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.