Commit b5de0689 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev
Browse files

link to ml folder

parent d1d770f5
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
@@ -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; */
+14 −2
Original line number Diff line number Diff line
@@ -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)
    });

}
+1 −0
Original line number Diff line number Diff line
@@ -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>