File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -364,7 +364,14 @@ <h4 class="panel-title">
364364 < button type ="button " class ="btn btn-default "
365365 data-open-link ="https://github.com/MDPvis/MDPvis.github.io/issues/new?title=Add%20Simulator%20to%20List ">
366366 < span class ="glyphicon glyphicon-share-alt " aria-hidden ="true "> </ span >
367- Your Server Here
367+ Open an Issue to be Included
368+ </ button >
369+ < div class ="form-group ">
370+ < label for ="customServer "> Custom Server</ label >
371+ < input type ="text " class ="form-control " id ="customServer " placeholder ="http://example.com:80 ">
372+ </ div >
373+ < button id ="customServerSubmit " type ="submit " class ="btn btn-default " data-dismiss ="modal ">
374+ Open Connection
368375 </ button >
369376 </ p >
370377 </ div >
Original file line number Diff line number Diff line change @@ -705,6 +705,11 @@ var MDPVis = {
705705 MDPVis . server . dataEndpoint = simulatorPath ;
706706 MDPVis . initialize ( ) ;
707707 } ) ;
708+ $ ( "#customServerSubmit" ) . click ( function ( elem ) {
709+ $ ( ".post-modal-show" ) . show ( ) ;
710+ MDPVis . server . dataEndpoint = $ ( "#customServer" ) . val ( ) ;
711+ MDPVis . initialize ( ) ;
712+ } ) ;
708713 $ ( '#serverSelectionModal' ) . modal ( ) ;
709714 }
710715
You can’t perform that action at this time.
0 commit comments