|
@@ -202,13 +202,6 @@ ${ commonheader(_("Workflow Editor"), "Oozie", user, "40px") | n,unicode }
|
|
|
<div class="inline object-description">
|
|
<div class="inline object-description">
|
|
|
<span data-bind="editable: $root.workflow.properties.description, editableOptions: {enabled: $root.isEditing(), placement: 'right', emptytext: '${_('Add a description...')}'}"></span>
|
|
<span data-bind="editable: $root.workflow.properties.description, editableOptions: {enabled: $root.isEditing(), placement: 'right', emptytext: '${_('Add a description...')}'}"></span>
|
|
|
</div>
|
|
</div>
|
|
|
-
|
|
|
|
|
- <!-- ko if: $root.workflow.properties.imported -->
|
|
|
|
|
- <div class="inline alert alert-warn" style="margin-left:100px">
|
|
|
|
|
- ${ _('This workflow was imported from an old Hue version, save it to create a copy in the new format or') }
|
|
|
|
|
- <a data-bind="attr: { href: '/oozie/edit_workflow/' + $root.workflow.properties.wf1_id() }">${ _('open it in the old editor.') }</a>
|
|
|
|
|
- </div>
|
|
|
|
|
- <!-- /ko -->
|
|
|
|
|
</form>
|
|
</form>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
@@ -225,6 +218,12 @@ ${ commonheader(_("Workflow Editor"), "Oozie", user, "40px") | n,unicode }
|
|
|
|
|
|
|
|
|
|
|
|
|
<div data-bind="css: {'dashboard': true, 'readonly': ! isEditing()}">
|
|
<div data-bind="css: {'dashboard': true, 'readonly': ! isEditing()}">
|
|
|
|
|
+ <!-- ko if: $root.workflow.properties.imported -->
|
|
|
|
|
+ <div class="alert alert-warn" style="margin-top: 93px; margin-bottom: 0; border: none; text-align: center">
|
|
|
|
|
+ ${ _('This workflow was imported from an old Hue version, save it to create a copy in the new format or') }
|
|
|
|
|
+ <a data-bind="attr: { href: '/oozie/edit_workflow/' + $root.workflow.properties.wf1_id() }">${ _('open it in the old editor.') }</a>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <!-- /ko -->
|
|
|
<div class="container-fluid">
|
|
<div class="container-fluid">
|
|
|
<div class="row-fluid" data-bind="template: { name: 'column-template', foreach: oozieColumns}">
|
|
<div class="row-fluid" data-bind="template: { name: 'column-template', foreach: oozieColumns}">
|
|
|
</div>
|
|
</div>
|
|
@@ -235,8 +234,7 @@ ${ commonheader(_("Workflow Editor"), "Oozie", user, "40px") | n,unicode }
|
|
|
|
|
|
|
|
<script type="text/html" id="column-template">
|
|
<script type="text/html" id="column-template">
|
|
|
<div data-bind="css: klass()" style="min-height: 50px !important;">
|
|
<div data-bind="css: klass()" style="min-height: 50px !important;">
|
|
|
- <div data-bind="template: { name: 'row-template', data: oozieStartRow }" style="margin-top: 50px"></div>
|
|
|
|
|
-
|
|
|
|
|
|
|
+ <div data-bind="template: { name: 'row-template', data: oozieStartRow }, style:{'margin-top' : $root.workflow.properties.imported() ? '0': '50px'}"></div>
|
|
|
<div class="container-fluid" data-bind="visible: $root.isEditing() && oozieRows().length > 0">
|
|
<div class="container-fluid" data-bind="visible: $root.isEditing() && oozieRows().length > 0">
|
|
|
<div class="row-fluid">
|
|
<div class="row-fluid">
|
|
|
<div data-bind="visible: enableOozieDropOnBefore, css: {'span4 offset4': true, 'drop-target': true, 'drop-target-dragging': $root.isDragging(), 'is-editing': $root.isEditing}, droppable: {enabled: $root.isEditing, onDrop: function(x, y){ var _w = $root.addDraggedWidget($data, true); widgetDraggedAdditionalHandler(_w); } }"></div>
|
|
<div data-bind="visible: enableOozieDropOnBefore, css: {'span4 offset4': true, 'drop-target': true, 'drop-target-dragging': $root.isDragging(), 'is-editing': $root.isEditing}, droppable: {enabled: $root.isEditing, onDrop: function(x, y){ var _w = $root.addDraggedWidget($data, true); widgetDraggedAdditionalHandler(_w); } }"></div>
|