Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
x3domlet
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Elphel
x3domlet
Commits
23871976
Commit
23871976
authored
Jul 21, 2017
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
renamed test to viewer
parent
7df0fde6
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
index.js
js/index.js
+2
-2
ui_init.js
js/ui_init.js
+2
-0
viewer.html
viewer.html
+0
-0
No files found.
js/index.js
View file @
23871976
...
@@ -22,7 +22,6 @@ $(function(){
...
@@ -22,7 +22,6 @@ $(function(){
List
=
response
;
List
=
response
;
parse_list
(
response
);
parse_list
(
response
);
$
(
".arow"
)[
0
].
click
();
init_dragging
();
init_dragging
();
}
}
...
@@ -44,6 +43,7 @@ function init_dragging(){
...
@@ -44,6 +43,7 @@ function init_dragging(){
bigcounter
++
;
bigcounter
++
;
if
(
bigcounter
==
markers
.
length
){
if
(
bigcounter
==
markers
.
length
){
actual_dragging_init
()
actual_dragging_init
()
$
(
".arow"
)[
0
].
click
();
}
}
});
});
...
@@ -102,7 +102,7 @@ function parse_list(res){
...
@@ -102,7 +102,7 @@ function parse_list(res){
var
comments
=
$
(
this
).
find
(
"comments"
).
text
();
var
comments
=
$
(
this
).
find
(
"comments"
).
text
();
var
link_url
=
"
test
.html?path="
+
name
+
"&ver="
+
$
(
this
).
attr
(
"name"
);
var
link_url
=
"
viewer
.html?path="
+
name
+
"&ver="
+
$
(
this
).
attr
(
"name"
);
var
link
=
"<a title='"
+
comments
+
"' href='"
+
link_url
+
"'>"
+
$
(
this
).
attr
(
"name"
)
+
"</a>, "
;
var
link
=
"<a title='"
+
comments
+
"' href='"
+
link_url
+
"'>"
+
$
(
this
).
attr
(
"name"
)
+
"</a>, "
;
vlist
+=
link
;
vlist
+=
link
;
...
...
js/ui_init.js
View file @
23871976
...
@@ -123,6 +123,7 @@ $(function(){
...
@@ -123,6 +123,7 @@ $(function(){
function
title_init
(){
function
title_init
(){
/*
var html = $("<div>").html("Demo");
var html = $("<div>").html("Demo");
html.css({
html.css({
...
@@ -137,6 +138,7 @@ function title_init(){
...
@@ -137,6 +138,7 @@ function title_init(){
});
});
$("body").append(html);
$("body").append(html);
*/
$
(
"#lpl"
).
attr
(
"href"
,
"playloop.html?interval=100&sufx=D0.0.jpeg&path="
+
SETTINGS
.
basepath
+
"/"
+
SETTINGS
.
path
+
"/"
+
SETTINGS
.
version
+
"/"
+
SETTINGS
.
path
).
css
({
color
:
"white"
});
$
(
"#lpl"
).
attr
(
"href"
,
"playloop.html?interval=100&sufx=D0.0.jpeg&path="
+
SETTINGS
.
basepath
+
"/"
+
SETTINGS
.
path
+
"/"
+
SETTINGS
.
version
+
"/"
+
SETTINGS
.
path
).
css
({
color
:
"white"
});
...
...
test
.html
→
viewer
.html
View file @
23871976
File moved
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