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
2beb976d
Commit
2beb976d
authored
Jul 17, 2017
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed scrolling
parent
633cd53e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
thumb_na.jpeg
js/images/thumb_na.jpeg
+0
-0
index.js
js/index.js
+4
-2
No files found.
js/images/thumb_na.jpeg
0 → 100644
View file @
2beb976d
3.29 KB
js/index.js
View file @
2beb976d
...
@@ -88,11 +88,13 @@ function parse_list(res){
...
@@ -88,11 +88,13 @@ function parse_list(res){
var
thumb
=
$
(
this
).
attr
(
"thumb"
);
var
thumb
=
$
(
this
).
attr
(
"thumb"
);
if
(
thumb
.
length
!=
""
){
if
(
thumb
.
length
!=
""
){
row
.
append
(
"<td class='acell' title='"
+
name
+
"' ><div><img alt='n/a' src='models/"
+
name
+
"/thumb.jpeg'></img></div></td>"
)
;
srcpath
=
"models/"
+
name
+
"/thumb.jpeg"
;
}
else
{
}
else
{
row
.
append
(
"<td class='acell' title='"
+
name
+
"' valign='top' align='center'>–</td>"
)
;
srcpath
=
"js/images/thumb_na.jpeg"
;
}
}
row
.
append
(
"<td class='acell' title='"
+
name
+
"' ><div><img src='"
+
srcpath
+
"'></img></div></td>"
);
//row.append("<td class='acell' valign='top'>"+name+"</td>");
//row.append("<td class='acell' valign='top'>"+name+"</td>");
var
vlist
=
""
;
var
vlist
=
""
;
...
...
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