|
@@ -100,12 +100,12 @@ ${ layout.menubar(section='bundles', is_editor=True, pullright=buttons, is_embed
|
|
|
</a>
|
|
</a>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
<div data-bind="foreach: bundle.coordinators">
|
|
<div data-bind="foreach: bundle.coordinators">
|
|
|
<div class="card card-home" style="margin-bottom: 20px; padding-bottom: 10px">
|
|
<div class="card card-home" style="margin-bottom: 20px; padding-bottom: 10px">
|
|
|
<h1 class="card-heading simple">
|
|
<h1 class="card-heading simple">
|
|
|
<a class="pointer" data-bind="click: function() { showChooseCoordinator(this); }, text: $root.getCoordinatorById(coordinator()).name"></a>
|
|
<a class="pointer" data-bind="click: function() { showChooseCoordinator(this); }, text: $root.getCoordinatorById(coordinator()).name"></a>
|
|
|
- <a data-bind="attr: { href: '${ url('oozie:edit_coordinator') }?coordinator=' + $root.getCoordinatorById(coordinator()).id() }" target="_blank" title="${ _('Open') }">
|
|
|
|
|
|
|
+ <a data-bind="hueLink: '${ url('oozie:edit_coordinator') }?coordinator=' + $root.getCoordinatorById(coordinator()).id()" target="_blank" title="${ _('Open') }">
|
|
|
<i class="fa fa-external-link-square"></i>
|
|
<i class="fa fa-external-link-square"></i>
|
|
|
</a>
|
|
</a>
|
|
|
<a class="pointer pull-right" data-bind="click: function() { $root.bundle.coordinators.remove(this); }, visible: $root.isEditing">
|
|
<a class="pointer pull-right" data-bind="click: function() { $root.bundle.coordinators.remove(this); }, visible: $root.isEditing">
|
|
@@ -119,7 +119,7 @@ ${ layout.menubar(section='bundles', is_editor=True, pullright=buttons, is_embed
|
|
|
<strong data-bind="text: name"></strong>
|
|
<strong data-bind="text: name"></strong>
|
|
|
<em data-bind="text: value"></em>
|
|
<em data-bind="text: value"></em>
|
|
|
</li>
|
|
</li>
|
|
|
- <li data-bind="visible: $root.isEditing">
|
|
|
|
|
|
|
+ <li data-bind="visible: $root.isEditing">
|
|
|
<input data-bind="value: name" type="text" class="no-margin-bottom"/>
|
|
<input data-bind="value: name" type="text" class="no-margin-bottom"/>
|
|
|
<div class="controls inline-block">
|
|
<div class="controls inline-block">
|
|
|
<input data-bind="value: value, filechooser: value" type="text" class="input-xlarge filechooser-input"/>
|
|
<input data-bind="value: value, filechooser: value" type="text" class="input-xlarge filechooser-input"/>
|
|
@@ -163,7 +163,7 @@ ${ layout.menubar(section='bundles', is_editor=True, pullright=buttons, is_embed
|
|
|
<li>
|
|
<li>
|
|
|
<span data-bind="click: selectCoordinator" class="badge badge-info"><span data-bind="text: name(), attr: {'title': uuid()}"></span>
|
|
<span data-bind="click: selectCoordinator" class="badge badge-info"><span data-bind="text: name(), attr: {'title': uuid()}"></span>
|
|
|
</span>
|
|
</span>
|
|
|
- <a data-bind="attr: { href: '${ url('oozie:edit_coordinator') }?uuid=' + uuid() }" target="_blank" title="${ _('Open') }">
|
|
|
|
|
|
|
+ <a data-bind="hueLink: '${ url('oozie:edit_coordinator') }?uuid=' + uuid()" target="_blank" title="${ _('Open') }">
|
|
|
<i class="fa fa-external-link-square"></i>
|
|
<i class="fa fa-external-link-square"></i>
|
|
|
</a>
|
|
</a>
|
|
|
</li>
|
|
</li>
|
|
@@ -289,7 +289,7 @@ ${ dashboard.import_bindings() }
|
|
|
var tempCoordinator = null;
|
|
var tempCoordinator = null;
|
|
|
function showChooseCoordinator(coord) {
|
|
function showChooseCoordinator(coord) {
|
|
|
if (typeof coord != "undefined"){
|
|
if (typeof coord != "undefined"){
|
|
|
- tempCoordinator = coord;
|
|
|
|
|
|
|
+ tempCoordinator = coord;
|
|
|
}
|
|
}
|
|
|
$("#chooseCoordinatorDemiModal").modal("show");
|
|
$("#chooseCoordinatorDemiModal").modal("show");
|
|
|
}
|
|
}
|
|
@@ -298,7 +298,7 @@ ${ dashboard.import_bindings() }
|
|
|
if (tempCoordinator != null){
|
|
if (tempCoordinator != null){
|
|
|
tempCoordinator.coordinator(coord.uuid());
|
|
tempCoordinator.coordinator(coord.uuid());
|
|
|
tempCoordinator = null;
|
|
tempCoordinator = null;
|
|
|
- }
|
|
|
|
|
|
|
+ }
|
|
|
else {
|
|
else {
|
|
|
viewModel.addBundledCoordinator(coord.uuid());
|
|
viewModel.addBundledCoordinator(coord.uuid());
|
|
|
}
|
|
}
|