Commit b5de0689 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

link to ml folder

parent d1d770f5
...@@ -195,6 +195,7 @@ html, body, #x3d_wrapper { ...@@ -195,6 +195,7 @@ html, body, #x3d_wrapper {
#align_button_location, #align_button_location,
#align_tr_button, #align_tr_button,
#download_button, #download_button,
#download_button_ml,
#view_src_images_button, #view_src_images_button,
#extra_models_button{ #extra_models_button{
background-size: 32px 32px; background-size: 32px 32px;
...@@ -213,7 +214,9 @@ html, body, #x3d_wrapper { ...@@ -213,7 +214,9 @@ html, body, #x3d_wrapper {
background-image:url('images/ic_exit_to_app_black_48dp_1x.png'); 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-image:url('images/ic_file_download_black_48dp_1x.png');
background-size: 26px 26px; background-size: 26px 26px;
} }
...@@ -244,6 +247,7 @@ html, body, #x3d_wrapper { ...@@ -244,6 +247,7 @@ html, body, #x3d_wrapper {
#align_button_location:hover, #align_button_location:hover,
#align_tr_button:hover, #align_tr_button:hover,
#download_button:hover, #download_button:hover,
#download_button_ml:hover,
#view_src_images_button:hover, #view_src_images_button:hover,
#extra_models_button:hover{ #extra_models_button:hover{
/* background-image:url('images/align.png'); */ /* background-image:url('images/align.png'); */
...@@ -407,6 +411,10 @@ html, body, #x3d_wrapper { ...@@ -407,6 +411,10 @@ html, body, #x3d_wrapper {
background-color: rgba(200,200,250,1); background-color: rgba(200,200,250,1);
} }
#download_button_ml{
background-color: rgba(200,250,200,1);
}
#align_button, #align_button,
#align_button_heading, #align_button_heading,
#align_button_location{ #align_button_location{
...@@ -416,6 +424,7 @@ html, body, #x3d_wrapper { ...@@ -416,6 +424,7 @@ html, body, #x3d_wrapper {
} }
#download_button, #download_button,
#download_button_ml,
#view_src_images_button{ #view_src_images_button{
display: block; display: block;
/* float:right; */ /* float:right; */
......
...@@ -177,19 +177,31 @@ function title_init(){ ...@@ -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 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"}); //$("#lpl").attr("href",title_url).css({color:"white"});
$("#view_src_images_button").on('click',function(){ $("#view_src_images_button").on('click',function(){
window.open(title_url,'_blank'); window.open(title_url,'_blank');
}); });
$("#download_button_ml").on('click',function(){
window.open(db_ml_url,'_blank');
});
var pos = $("#download_button").position(); var pos = $("#download_button").position();
var width = $("#download_button").width(); var width = $("#download_button").width();
$("#download_button_ml").css({
position:"absolute",
top: pos.top,
left: -(width+2)
});
$("#view_src_images_button").css({ $("#view_src_images_button").css({
position:"absolute", position:"absolute",
top: pos.top+"px", top: pos.top,
left: -(width+2)+"px" left: -2*(width+2)
}); });
} }
......
...@@ -95,6 +95,7 @@ ...@@ -95,6 +95,7 @@
<div id='exit_button' title='Exit to models index'></div> <div id='exit_button' title='Exit to models index'></div>
<div id='help_button' title='Help'>?</div> <div id='help_button' title='Help'>?</div>
<div id='download_button' title='Download 3d model (.obj & .x3d formats)'></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='view_src_images_button' title='View/slideshow source images (processed)'></div>
<div id='menu_button' title='Menu'></div> <div id='menu_button' title='Menu'></div>
<div id='extra_models_button' title='Load extra models' class='experimental'></div> <div id='extra_models_button' title='Load extra models' class='experimental'></div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment