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
f7519622
Commit
f7519622
authored
Jul 25, 2017
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
exit to index
parent
cf8a7506
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
0 deletions
+25
-0
ic_exit_to_app_black_48dp_1x.png
js/images/ic_exit_to_app_black_48dp_1x.png
+0
-0
ic_exit_to_app_black_48dp_2x.png
js/images/ic_exit_to_app_black_48dp_2x.png
+0
-0
ui.css
js/ui.css
+17
-0
ui_menu.js
js/ui_menu.js
+7
-0
viewer.html
viewer.html
+1
-0
No files found.
js/images/ic_exit_to_app_black_48dp_1x.png
0 → 100644
View file @
f7519622
246 Bytes
js/images/ic_exit_to_app_black_48dp_2x.png
0 → 100644
View file @
f7519622
432 Bytes
js/ui.css
View file @
f7519622
...
...
@@ -187,6 +187,19 @@ html, body, #x3d_wrapper {
height
:
25px
;
}
#exit_button
{
background-image
:
url('images/ic_exit_to_app_black_48dp_1x.png')
;
background-size
:
32px
32px
;
background-repeat
:
no-repeat
;
background-color
:
white
;
width
:
32px
;
height
:
32px
;
border
:
0px
solid
white
;
border-radius
:
2px
;
margin-bottom
:
2px
;
}
#align_button
{
background-image
:
url('images/ic_explore_black_48dp_1x.png')
;
background-size
:
32px
32px
;
...
...
@@ -213,6 +226,10 @@ html, body, #x3d_wrapper {
margin-bottom
:
2px
;
}
#exit_button
:hover
{
background-color
:
rgba
(
240
,
150
,
150
,
1
);
}
#align_button
:hover
,
#align_tr_button
:hover
{
/* background-image:url('images/align.png'); */
background-color
:
rgba
(
240
,
240
,
240
,
1
);
...
...
js/ui_menu.js
View file @
f7519622
...
...
@@ -60,6 +60,13 @@ function menu_init(){
menu
.
show
();
});
$
(
"#exit_button"
).
on
(
"click"
,
function
(){
var
origin
=
window
.
location
.
origin
;
var
path
=
window
.
location
.
pathname
;
path
=
path
.
substr
(
0
,
path
.
lastIndexOf
(
"/"
));
window
.
location
.
href
=
origin
+
path
;
});
// changing a checkbox will not close menu
menu
.
on
(
'click'
,
function
(
e
){
var
test
=
$
(
e
.
target
).
hasClass
(
"donothide"
);
...
...
viewer.html
View file @
f7519622
...
...
@@ -70,6 +70,7 @@
<div
id=
'help_wrapper'
>
<div
id=
'menu_button'
></div>
<div
id=
'help_button'
>
?
</div>
<div
id=
'exit_button'
title=
'Exit to models index'
></div>
<div
id=
'align_button'
title=
'Run alignment algorithm for camera heading and location using markers.
Instructions:
1. Use approximate location control on the map to change initial approximation for the algorithm.
...
...
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