|
|
@@ -316,6 +316,7 @@ ${ commonheader(_("Workflow Editor"), "Oozie", user, "40px") | n,unicode }
|
|
|
<script type="text/html" id="widget-template">
|
|
|
<div data-bind="attr: {'id': 'wdg_'+ id(),}, css: klass() + (ooziePropertiesExpanded()?' expanded-widget':''), draggable: {data: $data, isEnabled: true, options: {'handle': '.move-widget', 'opacity': 0.7, 'refreshPositions': true, 'start': function(event, ui){ $root.setCurrentlyDraggedWidget($data, event.toElement); }, 'stop': function(event, ui){ $root.enableSideDrop($data); }, 'helper': function(event){lastWindowScrollPosition = $(window).scrollTop(); var _par = $('<div>');_par.addClass('card card-widget');var _title = $('<h2>');_title.addClass('card-heading simple');_title.text($(event.currentTarget).find('h2').text());_title.appendTo(_par);_par.css('minHeight', '10px');_par.width(120);return _par;}}}">
|
|
|
<h2 class="card-heading simple" data-bind="visible: widgetType() != 'start-widget' && widgetType() != 'end-widget' && id() != '17c9c895-5a16-7443-bb81-f34b30b21548'">
|
|
|
+
|
|
|
<span data-bind="visible: $root.isEditing() && oozieMovable() && ! oozieExpanded() && ! ooziePropertiesExpanded() && $root.newAction() == null">
|
|
|
<a href="javascript:void(0)" class="move-widget"><i class="fa fa-arrows"></i></a>
|
|
|
|
|
|
@@ -463,9 +464,11 @@ ${ commonheader(_("Workflow Editor"), "Oozie", user, "40px") | n,unicode }
|
|
|
<div class="row-fluid" data-bind="with: $root.workflow.getNodeById(id())" style="min-height: 40px">
|
|
|
<div class="big-icon" data-bind="visible: id() == '17c9c895-5a16-7443-bb81-f34b30b21548'"><i class="fa fa-stop"></i></div>
|
|
|
|
|
|
- <div data-bind="visible: $root.isEditing" style="padding: 10px">
|
|
|
- <h6 class="field-title">${ _('Message') }</h6>
|
|
|
- <textarea class="span12" data-bind="value: properties.message" />
|
|
|
+ <div data-bind="visible: $root.isEditing">
|
|
|
+ <div data-bind="visible: $parent.ooziePropertiesExpanded">
|
|
|
+ <h6 class="field-title">${ _('Message') }</h6>
|
|
|
+ <textarea class="span12" data-bind="value: properties.message" />
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- /ko -->
|