Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
meta-elphel393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
meta-elphel393
Commits
c6456a78
Commit
c6456a78
authored
May 26, 2016
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
layout
parent
a5003bf3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
controls.js
recipes-core/apps-web/files/controls.js
+11
-2
No files found.
recipes-core/apps-web/files/controls.js
View file @
c6456a78
...
@@ -4,7 +4,16 @@ $(function(){
...
@@ -4,7 +4,16 @@ $(function(){
function
init
(){
function
init
(){
var
t
=
$
(
"<table>"
).
html
(
"<tr><td id='pics'></td><td id='controls' valign='top'></td></tr>"
);
var
t
=
$
(
"<table>"
).
html
(
"
\
<tr>
\
<td id='controls' valign='top'></td>
\
<td id='pic1'></td>
\
<td id='pic2'></td>
\
</tr><tr>
\
<td></td>
\
<td id='pic3'></td>
\
<td id='pic4'></td>
\
</tr>"
);
$
(
"body"
).
append
(
t
);
$
(
"body"
).
append
(
t
);
var
port
=
2323
;
var
port
=
2323
;
...
@@ -22,7 +31,7 @@ function init(){
...
@@ -22,7 +31,7 @@ function init(){
img
.
attr
(
"src"
,
url
);
img
.
attr
(
"src"
,
url
);
img
.
attr
(
"src_init"
,
url
);
img
.
attr
(
"src_init"
,
url
);
$
(
"#pic
s"
).
append
(
$
(
"<div>"
).
append
(
a
.
append
(
img
)));
$
(
"#pic
"
+
(
i
+
1
)
).
append
(
$
(
"<div>"
).
append
(
a
.
append
(
img
)));
img
.
load
(
function
(){
img
.
load
(
function
(){
d
=
new
Date
();
d
=
new
Date
();
...
...
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