replace edit icon with svg
This commit is contained in:
		| @@ -16,5 +16,6 @@ | ||||
|         <g id="waterfall-default"><path d="M36.356 75.295s3.187-34.502 7.74-34.482c4.207.018 4.125 15.218 9.374 15.171 4.485-.04 4.958-7.382 5.945-9.62.951-2.154 2.738-2.782 4.998-2.632 2.812.186 7.707 3.187 9.945 7.403 3.906 7.358 5.193 24.16 5.193 24.16z" fill="#ccc" stroke="#ccc" stroke-width=".711"/><path d="M18.4 25.424v29.075m-10.9 0L18.4 69.3l10.9-14.801zm10.9-43.875L7.5 25.425h21.801z" fill="#fff" stroke="#fff" stroke-width="7.5"/></g> | ||||
|         <g id="squelch" fill="#fff" stroke-width=".767"><path d="M33.333 24.7c-.058-14.132-5.913-21.9-16.58-21.9-10.145 0-16 7.673-16 20.963 0 10.575 3.305 15.722 11.884 18.343l5.913 1.872c5.797 1.778 7.942 4.399 7.942 9.92 0 5.71-3.246 9.172-8.521 9.172-5.913 0-9.218-4.024-9.508-11.324H0C.521 66.345 6.724 74.3 17.506 74.3c10.899 0 17.333-8.142 17.333-22.087 0-10.762-3.362-16.378-11.188-18.81l-6.609-2.06c-6.203-1.965-8-3.93-8-8.89 0-5.148 2.782-8.423 7.304-8.423 5.507 0 8.58 3.743 8.87 10.669zM75.362 62.508C78.202 56.893 80 47.534 80 38.363c0-10.014-2.203-19.653-5.913-26.11C70.435 5.887 65.681 2.8 59.653 2.8S48.87 5.888 45.218 12.252C41.45 18.71 39.305 28.35 39.305 38.55s2.203 19.84 5.913 26.298c3.652 6.364 8.406 9.452 14.435 9.452 4.405 0 7.594-1.404 10.956-4.68l4.986 7.581L80 69.621zM64.638 46.13l-4.406 7.58 4.464 6.833c-1.391 1.123-3.246 1.778-5.101 1.778C52.638 62.321 48 52.869 48 38.549c0-14.412 4.58-23.771 11.652-23.771s11.652 9.358 11.652 23.864c0 5.615-.638 10.67-1.913 14.787z"/></g> | ||||
|         <g id="trashcan"><path d="M56.667 13.333V6.666A6.67 6.67 0 0 0 50 0H30a6.67 6.67 0 0 0-6.666 6.666v6.667H6.667V20h6.666v53.333A6.67 6.67 0 0 0 20 79.999h40a6.67 6.67 0 0 0 6.667-6.666V20h6.666v-6.667zM30 6.666h20v6.667H30zm30 66.667H20V20h40zM36.667 26.666H30v40h6.667zm13.333 0h-6.667v40H50z" fill="#fff"/></g> | ||||
|         <g id="edit"><path d="m52.5 7.5-45 45v20h20l45-45zm12.93 20-4.697 4.697-12.93-12.93L52.5 14.57zM15.302 51.768l4.06-4.06c1.533 1.125 3.575 2.002 5.81 2.002 2.148 0 4.453-.8 6.595-2.942l10-10c2.52-2.52 4.622-7.728.968-12.43l1.535-1.535 12.93 12.93L28.23 64.698zm22.93-18.535-10 10c-2.062 2.058-4.007 1.595-5.27.875L39.14 27.93c1.465 2.485-.27 4.643-.907 5.303zM12.5 56.035 23.965 67.5H12.5z" fill="#fff"/></g> | ||||
|     </defs> | ||||
| </svg> | ||||
| Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB | 
| @@ -87,7 +87,7 @@ BookmarkBar.prototype.render = function(){ | ||||
|         var $bookmark = $( | ||||
|             '<div class="bookmark" data-source="' + b.source + '"' + (b.editable?' editable="editable"':'') + '>' + | ||||
|                 '<div class="bookmark-actions">' + | ||||
|                     '<div class="openwebrx-button action" data-action="edit"><span class="sprite sprite-edit"></span></div>' + | ||||
|                     '<div class="openwebrx-button openwebrx-bookmark-button action" data-action="edit"><svg viewBox="0 0 80 80"><use xlink:href="static/gfx/svg-defs.svg#edit"></use></svg></div>' + | ||||
|                     '<div class="openwebrx-button openwebrx-bookmark-button action" data-action="delete"><svg viewBox="0 0 80 80"><use xlink:href="static/gfx/svg-defs.svg#trashcan"></use></svg></div>' + | ||||
|                 '</div>' + | ||||
|                 '<div class="bookmark-content">' + b.name + '</div>' + | ||||
|   | ||||
							
								
								
									
										52
									
								
								inkscape files/openwebrx-edit.svg
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										52
									
								
								inkscape files/openwebrx-edit.svg
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,52 @@ | ||||
| <?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||||
| <svg | ||||
|    xmlns:dc="http://purl.org/dc/elements/1.1/" | ||||
|    xmlns:cc="http://creativecommons.org/ns#" | ||||
|    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | ||||
|    xmlns:svg="http://www.w3.org/2000/svg" | ||||
|    xmlns="http://www.w3.org/2000/svg" | ||||
|    xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" | ||||
|    xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" | ||||
|    version="1.1" | ||||
|    id="DESIGNS" | ||||
|    x="0px" | ||||
|    y="0px" | ||||
|    width="80" | ||||
|    height="80" | ||||
|    viewBox="0 0 80 80" | ||||
|    xml:space="preserve" | ||||
|    sodipodi:docname="openwebrx-edit.svg" | ||||
|    inkscape:version="1.0.2 (e86c870879, 2021-01-15, custom)"><defs | ||||
|      id="defs13" /><sodipodi:namedview | ||||
|      pagecolor="#000000" | ||||
|      bordercolor="#666666" | ||||
|      borderopacity="1" | ||||
|      objecttolerance="10" | ||||
|      gridtolerance="10" | ||||
|      guidetolerance="10" | ||||
|      inkscape:pageopacity="0" | ||||
|      inkscape:pageshadow="2" | ||||
|      inkscape:window-width="2560" | ||||
|      inkscape:window-height="1381" | ||||
|      id="namedview11" | ||||
|      showgrid="false" | ||||
|      inkscape:pagecheckerboard="true" | ||||
|      inkscape:zoom="8.015625" | ||||
|      inkscape:cx="50.931774" | ||||
|      inkscape:cy="30.97076" | ||||
|      inkscape:window-x="0" | ||||
|      inkscape:window-y="348" | ||||
|      inkscape:window-maximized="1" | ||||
|      inkscape:current-layer="DESIGNS" /><title | ||||
|      property="dc:title" | ||||
|      id="title2">to edit</title><path | ||||
|      class="linesandangles_een" | ||||
|      d="m 52.5,7.5 -45,45 v 20 h 20 l 45,-45 z m 12.93,20 -4.6975,4.6975 -12.93,-12.93 L 52.5,14.57 Z m -50.1275,24.2675 4.06,-4.06 c 1.5325,1.125 3.575,2.0025 5.81,2.0025 2.1475,0 4.4525,-0.8 6.595,-2.9425 l 10,-10 c 2.52,-2.52 4.6225,-7.7275 0.9675,-12.43 l 1.535,-1.535 12.93,12.93 -28.9675,28.965 z m 22.93,-18.535 -10,10 c -2.0625,2.0575 -4.0075,1.595 -5.27,0.875 L 39.14,27.93 c 1.465,2.485 -0.27,4.6425 -0.9075,5.3025 z M 12.5,56.035 23.965,67.5 H 12.5 Z" | ||||
|      style="fill:#ffffff;fill-opacity:1;stroke-width:2.5" | ||||
|      id="path6" /><metadata | ||||
|      id="metadata8"><work | ||||
|        rdf:about=""><format>image/svg+xml</format><type | ||||
|          rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><license | ||||
|          rdf:resource="http://creativecommons.org/licenses/by/4.0/" /><attributionname>Shannon E Thomas</attributionname><attributionurl>http://www.toicon.com/icons/lines-and-angles_edit</attributionurl></work><rdf:RDF><cc:Work | ||||
|          rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type | ||||
|            rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title>to edit</dc:title></cc:Work></rdf:RDF></metadata></svg> | ||||
| After Width: | Height: | Size: 2.5 KiB | 
		Reference in New Issue
	
	Block a user
	 Jakob Ketterl
					Jakob Ketterl