|
|
@@ -84,7 +84,7 @@ ${ commonheader(_("Bundle Editor"), "Oozie", user) | n,unicode }
|
|
|
<div class="row-fluid">
|
|
|
<div class="span12 bundle">
|
|
|
|
|
|
- <div class="card card-home">
|
|
|
+ <div class="card card-home" style="padding-bottom: 10px">
|
|
|
<h1 class="card-heading simple">${ _('Which schedules to bundle?') }</h1>
|
|
|
|
|
|
<div class="card-body">
|
|
|
@@ -92,30 +92,37 @@ ${ commonheader(_("Bundle Editor"), "Oozie", user) | n,unicode }
|
|
|
<a class="pointer" data-bind="click: function() { showChooseCoordinator(); }">
|
|
|
<i class="fa fa-plus"></i> ${ _('Add a coordinator') }
|
|
|
</a>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
|
|
|
|
|
|
- <ul data-bind="foreach: bundle.coordinators" class="unstyled">
|
|
|
- <li>
|
|
|
- <h3><a class="pointer" data-bind="click: function() { showChooseCoordinator(this); }, text: $root.getCoordinatorById(coordinator()).name"></a></h3>
|
|
|
-
|
|
|
- <ul data-bind="foreach: properties" class="unstyled">
|
|
|
- <li>
|
|
|
- <input data-bind="value: name"/>
|
|
|
- <input data-bind="value: value"/>
|
|
|
- <a href="#" data-bind="click: function(){ $parent.properties.remove(this); }">
|
|
|
- <i class="fa fa-minus"></i>
|
|
|
- </a>
|
|
|
- </li>
|
|
|
- </ul>
|
|
|
-
|
|
|
- <a class="pointer" data-bind="click: function(){ $data.properties.push({'name': '', 'value': ''}); }">
|
|
|
- <i class="fa fa-plus"></i> ${ _('Add a parameter') }
|
|
|
- </a>
|
|
|
- </li>
|
|
|
- </ul>
|
|
|
+ <div data-bind="foreach: bundle.coordinators">
|
|
|
+ <div class="card card-home" style="margin-top: 20px; padding-bottom: 10px">
|
|
|
+ <h1 class="card-heading simple">
|
|
|
+ <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') }"><i class="fa fa-external-link-square"></i></a>
|
|
|
+ <a class="pointer pull-right" data-bind="click: function() { $root.bundle.coordinators.remove(this); }"><i class="fa fa-times"></i></a>
|
|
|
+ </h1>
|
|
|
+
|
|
|
+ <div class="card-body">
|
|
|
+
|
|
|
+ <ul data-bind="foreach: properties" class="unstyled">
|
|
|
+ <li>
|
|
|
+ <input data-bind="value: name"/>
|
|
|
+ <input data-bind="value: value"/>
|
|
|
+ <a href="#" data-bind="click: function(){ $parent.properties.remove(this); }">
|
|
|
+ <i class="fa fa-minus"></i>
|
|
|
+ </a>
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
+ <a class="pointer" data-bind="click: function(){ $data.properties.push({'name': '', 'value': ''}); }">
|
|
|
+ <i class="fa fa-plus"></i> ${ _('Add a parameter') }
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
-
|
|
|
</div>
|
|
|
+
|
|
|
|
|
|
</div>
|
|
|
</div>
|