@@ -58,24 +58,40 @@ function navBar(props) {
5858 < h4 className ="mb-0 " key ="head "> < strong > < a href ="/ " style =${ { 'color' :'#fff' , 'textDecoration' :'none' } } > ${ props . title } </ a > </ strong > </ h4 >
5959 </ div >
6060 < div className ="col-2 " key ="undo ">
61- < button type ="button " className ="btn btn-secondary py-0 " title ="undo " onClick =${ ( e ) => props . onClickUndo ( e ) } key ="undoB">
61+ < button type ="button " className ="btn btn-secondary py-0 " title ="undo " onClick =${ ( e ) => props . onClickUndo ( e ) } key ="undoB" data-bs-toggle="tooltip"
62+ data-bs-placement="bottom"
63+ data-bs-title="Undo">
6264 < svg xmlns ="http://www.w3.org/2000/svg " width ="16 " height ="16 " fill ="currentColor " viewBox ="0 0 16 16 " className ="bi ">
6365 < path d ="M8 3a5 5 0 1 1-4.546 2.914.5.5 0 0 0-.908-.417A6 6 0 1 0 8 2v1z "> </ path >
6466 < path d ="M8 4.466V.534a.25.25 0 0 0-.41-.192L5.23 2.308a.25.25 0 0 0 0 .384l2.36 1.966A.25.25 0 0 0 8 4.466z "> </ path >
6567 </ svg >
6668 </ button >
6769 < a href =${ location . protocol + '//' + location . host + location . pathname } style =${ { 'color' :'#fff' , 'textDecoration' :'none' } } >
68- < button type ="button " className ="btn btn-secondary py-0 ms-2 " title ="restart " key ="undoC ">
70+ < button type ="button " className ="btn btn-secondary py-0 ms-2 " title ="restart " key ="undoC " data-bs-toggle ="tooltip "
71+ data-bs-placement ="bottom "
72+ data-bs-title ="Reset to original schematic ">
6973 < svg xmlns ="http://www.w3.org/2000/svg " width ="16 " height ="16 " fill ="currentColor " className ="bi bi-x-circle " viewBox ="0 0 16 16 ">
7074 < path d ="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16 "/>
7175 < path d ="M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708 "/>
7276 </ svg >
7377 </ button > </ a >
74- < button type ="button " className ="btn btn-secondary py-0 ms-2 " title ="share " onClick =${ ( ) => { navigator . clipboard . writeText ( window . location . href ) ; props . copiedToastURL . show ( ) } } key ="share">
78+ < button type ="button " className ="btn btn-secondary py-0 ms-2 " title ="share " onClick =${ ( ) => { navigator . clipboard . writeText ( window . location . href ) ; props . copiedToastURL . show ( ) } } key ="share" data-bs-toggle="tooltip"
79+ data-bs-placement="bottom"
80+ data-bs-title="Share this circuit">
7581 < svg xmlns ="http://www.w3.org/2000/svg " width ="16 " height ="16 " fill ="currentColor " className ="bi bi-share " viewBox ="0 0 16 16 ">
7682 < path d ="M13.5 1a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3M11 2.5a2.5 2.5 0 1 1 .603 1.628l-6.718 3.12a2.5 2.5 0 0 1 0 1.504l6.718 3.12a2.5 2.5 0 1 1-.488.876l-6.718-3.12a2.5 2.5 0 1 1 0-3.256l6.718-3.12A2.5 2.5 0 0 1 11 2.5m-8.5 4a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3m11 5.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3 "/>
7783 </ svg >
7884 </ button >
85+ < a href =${ location . protocol + '//' + location . host + location . pathname + "/images/tutorial.gif" } style =${ { 'color' :'#fff' , 'textDecoration' :'none' } } target="_blank">
86+ < button type ="button " className ="btn btn-secondary py-0 ms-2 " title ="share " key ="share " data-bs-toggle ="tooltip "
87+ data-bs-placement ="bottom "
88+ data-bs-title ="Show me how to use this tool ">
89+ < svg xmlns ="http://www.w3.org/2000/svg " width ="16 " height ="16 " fill ="currentColor " class ="bi bi-info-circle " viewBox ="0 0 16 16 ">
90+ < path d ="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16 "/>
91+ < path d ="m8.93 6.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0 "/>
92+ </ svg >
93+ </ a >
94+ </ button >
7995 </ div >
8096 < div className ="col d-grid d-md-flex justify-content-md-end " key ="navButtons ">
8197 < a className ="btn btn-light py-0 " title ="home " href ="../ " key ="home ">
0 commit comments