|
@@ -105,8 +105,17 @@ ${ layout.menubar(section='workflows', is_editor=True, pullright=buttons) }
|
|
|
|
|
|
|
|
<%dashboard:layout_toolbar>
|
|
<%dashboard:layout_toolbar>
|
|
|
<%def name="skipLayout()"></%def>
|
|
<%def name="skipLayout()"></%def>
|
|
|
- <%def name="widgetSectionName()">${ _('ACTIONS') }</%def>
|
|
|
|
|
|
|
+ <%def name="widgetSectionName()">${ _('DOCUMENTS') }</%def>
|
|
|
<%def name="widgets()">
|
|
<%def name="widgets()">
|
|
|
|
|
+ <div data-bind="css: { 'draggable-widget': true },
|
|
|
|
|
+ draggable: {data: draggableHiveDocumentAction(), isEnabled: true,
|
|
|
|
|
+ options: {'refreshPositions': true, 'stop': function(){ $root.isDragging(false); }, 'start': function(event, ui){ $root.isDragging(true); $root.currentlyDraggedWidget(draggableHiveDocumentAction());}}}"
|
|
|
|
|
+ title="${_('Saved Hive query')}" rel="tooltip" data-placement="top">
|
|
|
|
|
+ <a class="draggable-icon"><img src="${ static('oozie/art/icon_beeswax_48.png') }" class="app-icon"><sup style="color: #338bb8; margin-left: -4px; top: -14px; font-size: 12px">2</sup></a>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+ <div class="toolbar-label">${ _('ACTIONS') }</div>
|
|
|
|
|
+
|
|
|
<div data-bind="css: { 'draggable-widget': true },
|
|
<div data-bind="css: { 'draggable-widget': true },
|
|
|
draggable: {data: draggableHiveAction(), isEnabled: true,
|
|
draggable: {data: draggableHiveAction(), isEnabled: true,
|
|
|
options: {'refreshPositions': true, 'stop': function(){ $root.isDragging(false); }, 'start': function(event, ui){ $root.isDragging(true); $root.currentlyDraggedWidget(draggableHiveAction());}}}"
|
|
options: {'refreshPositions': true, 'stop': function(){ $root.isDragging(false); }, 'start': function(event, ui){ $root.isDragging(true); $root.currentlyDraggedWidget(draggableHiveAction());}}}"
|
|
@@ -218,15 +227,6 @@ ${ layout.menubar(section='workflows', is_editor=True, pullright=buttons) }
|
|
|
title="${_('Kill')}" rel="tooltip" data-placement="top">
|
|
title="${_('Kill')}" rel="tooltip" data-placement="top">
|
|
|
<a class="draggable-icon"><i class="fa fa-stop"></i></a>
|
|
<a class="draggable-icon"><i class="fa fa-stop"></i></a>
|
|
|
</div>
|
|
</div>
|
|
|
-
|
|
|
|
|
- <div class="toolbar-label">${ _('DOCUMENTS') }</div>
|
|
|
|
|
-
|
|
|
|
|
- <div data-bind="css: { 'draggable-widget': true },
|
|
|
|
|
- draggable: {data: draggableHiveDocumentAction(), isEnabled: true,
|
|
|
|
|
- options: {'refreshPositions': true, 'stop': function(){ $root.isDragging(false); }, 'start': function(event, ui){ $root.isDragging(true); $root.currentlyDraggedWidget(draggableHiveDocumentAction());}}}"
|
|
|
|
|
- title="${_('Saved Hive query')}" rel="tooltip" data-placement="top">
|
|
|
|
|
- <a class="draggable-icon"><img src="${ static('oozie/art/icon_beeswax_48.png') }" class="app-icon"><sup style="color: #338bb8; margin-left: -4px; top: -14px; font-size: 12px">2</sup></a>
|
|
|
|
|
- </div>
|
|
|
|
|
</%def>
|
|
</%def>
|
|
|
</%dashboard:layout_toolbar>
|
|
</%dashboard:layout_toolbar>
|
|
|
|
|
|