Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
File Transfer Service
fts-rest
Commits
a8ce5061
Commit
a8ce5061
authored
Sep 04, 2017
by
Maria Arsuaga Rios
Browse files
FTS-1014
:Link configuration page does not work
parent
96d66633
Pipeline
#189392
failed with stage
in 51 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/fts3rest/fts3rest/public/js/config/links.js
View file @
a8ce5061
...
...
@@ -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
(),
...
...
src/fts3rest/fts3rest/templates/config/links.html
View file @
a8ce5061
...
...
@@ -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>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment