mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-15 20:35:54 +08:00
Add list for Extruder list in position bar
This commit is contained in:
parent
360bc658c2
commit
809a0d790e
@ -6,6 +6,10 @@ position : absolute;
|
|||||||
cursor : pointer;
|
cursor : pointer;
|
||||||
}
|
}
|
||||||
.sliderrange{
|
.sliderrange{
|
||||||
|
cursor : pointer;
|
||||||
|
}
|
||||||
|
.extlist{
|
||||||
|
position : absolute;
|
||||||
cursor : pointer;
|
cursor : pointer;
|
||||||
}
|
}
|
||||||
body{
|
body{
|
||||||
@ -270,6 +274,7 @@ function initrange( element)
|
|||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
<div id="positionbar">
|
||||||
<svg width="440" height="30" xmlns="http://www.w3.org/2000/svg" version="1.1" >
|
<svg width="440" height="30" xmlns="http://www.w3.org/2000/svg" version="1.1" >
|
||||||
<defs>
|
<defs>
|
||||||
<filter id="light" >
|
<filter id="light" >
|
||||||
@ -327,7 +332,15 @@ function initrange( element)
|
|||||||
<rect class="bg" x="321" y="0" width="107" height="27" opacity="0.7" filter="url(#light)"/>
|
<rect class="bg" x="321" y="0" width="107" height="27" opacity="0.7" filter="url(#light)"/>
|
||||||
</g>
|
</g>
|
||||||
</svg>
|
</svg>
|
||||||
|
</div>
|
||||||
|
<div id="extruderlist" class="extlist">
|
||||||
|
<select id="activeextruder">
|
||||||
|
<option value="0" selected>Extruder 1</option>
|
||||||
|
<option value="1">Extruder 2</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
<br>
|
<br>
|
||||||
|
<div id="jogPanel">
|
||||||
<svg width="440" height="230" xmlns="http://www.w3.org/2000/svg" version="1.1" viewbox="0 0 440 230">
|
<svg width="440" height="230" xmlns="http://www.w3.org/2000/svg" version="1.1" viewbox="0 0 440 230">
|
||||||
<defs>
|
<defs>
|
||||||
<filter id="light" >
|
<filter id="light" >
|
||||||
@ -603,7 +616,7 @@ function initrange( element)
|
|||||||
|
|
||||||
</g>
|
</g>
|
||||||
</svg>
|
</svg>
|
||||||
|
</div>
|
||||||
<br>
|
<br>
|
||||||
<div style='margin-left: 0cm;' >
|
<div style='margin-left: 0cm;' >
|
||||||
<table style='border-spacing: 5px'>
|
<table style='border-spacing: 5px'>
|
||||||
@ -808,6 +821,10 @@ initrange( rangeext1);
|
|||||||
initthumb( thumbext1);
|
initthumb( thumbext1);
|
||||||
initrange( rangeext2);
|
initrange( rangeext2);
|
||||||
initthumb(thumbext2);
|
initthumb(thumbext2);
|
||||||
|
extruderlist.style.left=342;
|
||||||
|
var rb = positionbar.getBoundingClientRect();
|
||||||
|
var re = extruderlist.getBoundingClientRect();
|
||||||
|
extruderlist.style.top = rb.top + (( (rb.bottom-rb.top) - (re.bottom-re.top))/2);
|
||||||
</script>
|
</script>
|
||||||
</BODY>
|
</BODY>
|
||||||
</HTML>
|
</HTML>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user