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
b5de0689
Commit
b5de0689
authored
Jun 14, 2018
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
link to ml folder
parent
d1d770f5
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
3 deletions
+25
-3
ui.css
js/ui.css
+10
-1
ui_init.js
js/ui_init.js
+14
-2
viewer.html
viewer.html
+1
-0
No files found.
js/ui.css
View file @
b5de0689
...
...
@@ -195,6 +195,7 @@ html, body, #x3d_wrapper {
#align_button_location
,
#align_tr_button
,
#download_button
,
#download_button_ml
,
#view_src_images_button
,
#extra_models_button
{
background-size
:
32px
32px
;
...
...
@@ -213,7 +214,9 @@ html, body, #x3d_wrapper {
background-image
:
url('images/ic_exit_to_app_black_48dp_1x.png')
;
}
#download_button
{
#download_button
,
#download_button_ml
{
background-image
:
url('images/ic_file_download_black_48dp_1x.png')
;
background-size
:
26px
26px
;
}
...
...
@@ -244,6 +247,7 @@ html, body, #x3d_wrapper {
#align_button_location
:hover
,
#align_tr_button
:hover
,
#download_button
:hover
,
#download_button_ml
:hover
,
#view_src_images_button
:hover
,
#extra_models_button
:hover
{
/* background-image:url('images/align.png'); */
...
...
@@ -407,6 +411,10 @@ html, body, #x3d_wrapper {
background-color
:
rgba
(
200
,
200
,
250
,
1
);
}
#download_button_ml
{
background-color
:
rgba
(
200
,
250
,
200
,
1
);
}
#align_button
,
#align_button_heading
,
#align_button_location
{
...
...
@@ -416,6 +424,7 @@ html, body, #x3d_wrapper {
}
#download_button
,
#download_button_ml
,
#view_src_images_button
{
display
:
block
;
/* float:right; */
...
...
js/ui_init.js
View file @
b5de0689
...
...
@@ -177,19 +177,31 @@ function title_init(){
var
title_url
=
"playloop.php?interval=200&sufx=D0.0.jpeg&path="
+
SETTINGS
.
basepath
+
"/"
+
SETTINGS
.
path
+
"/"
+
SETTINGS
.
version
+
"/"
+
SETTINGS
.
path
;
var
db_ml_url
=
SETTINGS
.
basepath
+
"/"
+
SETTINGS
.
path
+
"/"
+
SETTINGS
.
version
+
"/ml"
;
//$("#lpl").attr("href",title_url).css({color:"white"});
$
(
"#view_src_images_button"
).
on
(
'click'
,
function
(){
window
.
open
(
title_url
,
'_blank'
);
});
$
(
"#download_button_ml"
).
on
(
'click'
,
function
(){
window
.
open
(
db_ml_url
,
'_blank'
);
});
var
pos
=
$
(
"#download_button"
).
position
();
var
width
=
$
(
"#download_button"
).
width
();
$
(
"#download_button_ml"
).
css
({
position
:
"absolute"
,
top
:
pos
.
top
,
left
:
-
(
width
+
2
)
});
$
(
"#view_src_images_button"
).
css
({
position
:
"absolute"
,
top
:
pos
.
top
+
"px"
,
left
:
-
(
width
+
2
)
+
"px"
top
:
pos
.
top
,
left
:
-
2
*
(
width
+
2
)
});
}
...
...
viewer.html
View file @
b5de0689
...
...
@@ -95,6 +95,7 @@
<div
id=
'exit_button'
title=
'Exit to models index'
></div>
<div
id=
'help_button'
title=
'Help'
>
?
</div>
<div
id=
'download_button'
title=
'Download 3d model (.obj & .x3d formats)'
></div>
<div
id=
'download_button_ml'
title=
'Download source files for ml'
></div>
<div
id=
'view_src_images_button'
title=
'View/slideshow source images (processed)'
></div>
<div
id=
'menu_button'
title=
'Menu'
></div>
<div
id=
'extra_models_button'
title=
'Load extra models'
class=
'experimental'
></div>
...
...
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