Skip to content

Commit

Permalink
RavenDB-21956 Allow to pin responsible node in azure queue storage etl
Browse files Browse the repository at this point in the history
  • Loading branch information
kalczur authored and djordjedjukic committed May 12, 2024
1 parent afda7d6 commit 88c7708
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ class editAzureQueueStorageEtlTask extends viewModelBase {
view = require("views/database/tasks/editAzureQueueStorageEtlTask.html");
optionsPerQueueEtlView = require("views/database/tasks/optionsPerQueueEtl.html");
connectionStringView = require("views/database/settings/connectionStringAzureQueueStorage.html");
pinResponsibleNodeButtonsScriptView = require("views/partial/pinResponsibleNodeButtonsScript.html");
taskResponsibleNodeSectionView = require("views/partial/taskResponsibleNodeSection.html");
pinResponsibleNodeTextScriptView = require("views/partial/pinResponsibleNodeTextScript.html");

static readonly scriptNamePrefix = "Script_";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,30 +66,7 @@ <h2 data-bind="text: $root.isAddingNewEtlTask() ? 'New Azure Storage Queue ETL'
<label for="responsibleNode">Set responsible node</label>
</div>
</div>
<div data-bind="validationElement: mentorNode, collapse: manualChooseMentor">
<div class="form-group" data-bind="css: { 'margin-bottom-xs': mentorNode() }">
<div>
<label class="control-label">Responsible Node</label>
</div>
<div class="flex-grow">
<button class="btn btn-block dropdown-toggle text-left" data-toggle="dropdown">
<span data-bind="text: mentorNode() ? 'Node ' + mentorNode() : 'Select responsible node'"></span>
<span class="caret"></span>
</button>
<ul class="dropdown-menu" data-bind="foreach: $root.possibleMentors">
<li><a href="#" data-bind="text: 'Node ' + $data, click: $parent.mentorNode.bind($parent.mentorNode, $data)"></a></li>
</ul>
<span class="help-block" data-bind="validationMessage: mentorNode"></span>
</div>
<div data-bind="compose: $root.pinResponsibleNodeButtonsScriptView"></div>
</div>
<div data-bind="visible: mentorNode">
<div class="form-group small">
<label class="control-label">&nbsp;</label>
<div class="flex-grow" data-bind="compose: $root.pinResponsibleNodeTextScriptView"></div>
</div>
</div>
</div>
<div data-bind="compose: $root.taskResponsibleNodeSectionView"></div>
<div class="form-group">
<label class="control-label">&nbsp;</label>
<div class="toggle">
Expand Down

0 comments on commit 88c7708

Please sign in to comment.