Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-web-393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
elphel-web-393
Commits
f43043fb
Commit
f43043fb
authored
May 11, 2018
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests button
parent
f8f30cfe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
multicam.js
src/multicam/multicam.js
+18
-0
No files found.
src/multicam/multicam.js
View file @
f43043fb
...
@@ -439,7 +439,13 @@ function init3(index){
...
@@ -439,7 +439,13 @@ function init3(index){
$
(
"#display_status"
).
find
(
"tr[ip=
\
'"
+
cam
.
ip
+
"
\
']"
).
html
(
$
(
status_str
));
$
(
"#display_status"
).
find
(
"tr[ip=
\
'"
+
cam
.
ip
+
"
\
']"
).
html
(
$
(
status_str
));
init_test_button
();
}
function
init_test_button
(){
$
(
"#system_tests"
).
on
(
'click'
,
function
(){
window
.
open
(
'http://'
+
location
.
host
+
'/diagnostics/index.html?ip='
+
addrs_ips2str
());
});
}
}
function
refresh_previews
(){
function
refresh_previews
(){
...
@@ -587,6 +593,18 @@ function addrs_ips2addrs(){
...
@@ -587,6 +593,18 @@ function addrs_ips2addrs(){
}
}
}
}
function
addrs_ips2str
(){
var
arr
=
[];
var
str
=
""
;
for
(
var
i
=
0
;
i
<
cams
.
length
;
i
++
){
arr
.
push
(
cams
[
i
].
ip
);
}
str
=
arr
.
join
(
","
);
return
str
;
}
function
addrs_ips2ta
(){
function
addrs_ips2ta
(){
var
arr
=
[];
var
arr
=
[];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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