Commit a8ce5061 authored by Maria Arsuaga Rios's avatar Maria Arsuaga Rios
Browse files

FTS-1014:Link configuration page does not work

parent 96d66633
Pipeline #189392 failed with stage
in 51 seconds
......@@ -54,14 +54,13 @@ function refreshLinks()
});
tr.append($("<td></td>").append(deleteBtn))
.append($("<td></td>").text(link.vo))
.append($("<td></td>").text(link.symbolicname))
.append($("<td></td>").text(link.source))
.append($("<td></td>").text(link.destination))
.append($("<td></td>").text(link.nostreams))
.append($("<td></td>").text(link.min_active))
.append($("<td></td>").text(link.max_active))
.append($("<td></td>").text(link.optimizer))
.append($("<td></td>").text(link.optimizer_mode))
.append($("<td></td>").text(link.tcp_buffer_size))
tbody.append(tr);
......@@ -174,7 +173,6 @@ function setupLinks()
$("#link-config-add-frm").submit(function(event) {
var addFrm = $("#link-config-add-frm");
var payload = {
vo: addFrm.find("[name=vo]").val(),
symbolicname: addFrm.find("[name=symbolicname]").val(),
source: addFrm.find("[name=source]").val(),
destination: addFrm.find("[name=destination]").val(),
......
......@@ -13,7 +13,6 @@
<thead>
<tr>
<th></th>
<th>VO</th>
<th>Symbolic name</th>
<th>Source</th>
<th>Destination</th>
......@@ -33,9 +32,6 @@
<i class="glyphicon glyphicon-plus"></i>
</button>
</td>
<td>
<input class="form-control" type="text" placeholder="VO" name="vo"/>
</td>
<td>
<input class="form-control" type="text" placeholder="Symbolic name" name="symbolicname"/>
</td>
......@@ -49,23 +45,23 @@
</td>
<td>
<input class="form-control" type="number" placeholder="Streams" name="nostreams"
min="0" max="100"/>
min="0" max="100" value="1"/>
</td>
<td>
<input class="form-control" type="number" placeholder="Min Actives" name="min_active"
min="2" max="999999"/>
min="2" max="999999" value="2"/>
</td>
<td>
<input class="form-control" type="number" placeholder="Max Actives" name="max_active"
min="2" max="999999" />
min="2" max="999999" value="60" />
</td>
<td>
<input class="form-control" type="number" placeholder="Optimizer Mode" name="optimizer_mode"
min="0" max="5"/>
min="0" max="5" value="0"/>
</td>
<td>
<input class="form-control" type="number" placeholder="TCP buffer size" name="tcp_buffer_size"
min="0" max="999999"/>
min="0" max="999999" value="0"/>
</td>
</tr>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment