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
d827c833
Commit
d827c833
authored
May 27, 2016
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
index
parent
f0a58bae
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
67 additions
and
0 deletions
+67
-0
apps-web_1.0.bb
recipes-core/apps-web/apps-web_1.0.bb
+2
-0
index.html
recipes-core/apps-web/files/index.html
+65
-0
No files found.
recipes-core/apps-web/apps-web_1.0.bb
View file @
d827c833
...
...
@@ -21,6 +21,7 @@ SRC_URI = "file://controls.html \
file://setup.html \
file://setup.js \
file://setup.php \
file://index.html \
"
S = "${WORKDIR}/"
...
...
@@ -40,6 +41,7 @@ do_install_append() {
install -m 0644 ${WORKDIR}/setup.html ${D}/www/pages
install -m 0644 ${WORKDIR}/setup.js ${D}/www/pages
install -m 0644 ${WORKDIR}/setup.php ${D}/www/pages
install -m 0644 ${WORKDIR}/index.html ${D}/www/pages
}
PACKAGES = " apps-web"
...
...
recipes-core/apps-web/files/index.html
0 → 100644
View file @
d827c833
<html>
<head>
<title>
10393
</title>
<script
src=
"js/jquery-2.2.3.min.js"
></script>
<script
src=
"js/bootstrap/js/bootstrap.min.js"
></script>
<link
rel=
"stylesheet"
href=
"js/bootstrap/css/bootstrap.min.css"
/>
<style>
table
tr
td
{
padding
:
5px
0px
0px
5px
;
text-align
:
left
;
}
</style>
</head>
<body
onload=
'init()'
>
<table>
<tr>
<td
valign=
'top'
>
<div
style=
'padding:20px 10px 10px 5px'
>
<ul>
<li><a
href=
"controls.html"
>
Controls
</a>
(exposure, w/b, quality)
</li>
<li><a
href=
"hwmon.html"
>
Temperature monitor
</a>
(CPU)
</li>
<li><a
href=
"setup.html"
>
Other
</a>
(Test patterns)
</li>
</ul>
</div>
</td>
<td
id=
'pic1'
></td>
<td
id=
'pic2'
></td>
</tr>
<tr>
<td></td>
<td
id=
'pic3'
></td>
<td
id=
'pic4'
></td>
</tr>
</table>
<script>
function
init
(){
var
port
=
2323
;
for
(
i
=
0
;
i
<
4
;
i
++
){
var
url
=
"http://"
+
window
.
location
.
hostname
+
":"
+
(
port
+
i
)
+
"/noexif/img"
;
var
ref
=
"http://"
+
window
.
location
.
hostname
+
":"
+
(
port
+
i
)
+
"/noexif/mimg"
;
a
=
$
(
"<a>"
,{
href
:
ref
});
img
=
$
(
"<img>"
,{
id
:
"chn"
+
i
}).
css
({
width
:
"500px"
});
img
.
attr
(
"src"
,
url
);
img
.
attr
(
"src_init"
,
url
);
$
(
"#pic"
+
(
i
+
1
)).
append
(
$
(
"<div>"
).
append
(
a
.
append
(
img
)));
img
.
load
(
function
(){
d
=
new
Date
();
n
=
d
.
getTime
();
this
.
src
=
$
(
this
).
attr
(
"src_init"
)
+
"&"
+
n
;
});
}
}
</script>
</body>
</html>
\ No newline at end of file
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