[Navigate results][iBoM][Added] custom icon
This commit is contained in:
parent
045b53463c
commit
ffd7605f1a
|
|
@ -268,3 +268,6 @@ class IBoM(BaseOutput): # noqa: F821
|
|||
if tool is None:
|
||||
return None
|
||||
return BaseOutput.simple_conf_examples(name, 'Interactive HTML BoM', 'Assembly') # noqa: F821
|
||||
|
||||
def get_navigate_targets(self, out_dir):
|
||||
return (self.options.get_targets(out_dir), ['ibom'])
|
||||
|
|
|
|||
|
|
@ -0,0 +1,169 @@
|
|||
<?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"
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 6.3499994 6.3499994"
|
||||
version="1.1"
|
||||
id="svg2017"
|
||||
sodipodi:docname="plugin.svg"
|
||||
inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"
|
||||
inkscape:export-filename="D:\OSP\KicadBomPlugin\InteractiveHtmlBom\icon.png"
|
||||
inkscape:export-xdpi="96.000008"
|
||||
inkscape:export-ydpi="96.000008">
|
||||
<defs
|
||||
id="defs2011" />
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="47.931104"
|
||||
inkscape:cx="13.563692"
|
||||
inkscape:cy="12.666354"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="true"
|
||||
units="px"
|
||||
inkscape:window-width="2560"
|
||||
inkscape:window-height="1417"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:pagecheckerboard="0"
|
||||
fit-margin-top="0"
|
||||
fit-margin-left="0"
|
||||
fit-margin-right="0"
|
||||
fit-margin-bottom="0"
|
||||
inkscape:document-rotation="0">
|
||||
<inkscape:grid
|
||||
type="xygrid"
|
||||
id="grid2562"
|
||||
originx="0"
|
||||
originy="0"
|
||||
spacingx="0.13229165"
|
||||
spacingy="0.13229165"
|
||||
empspacing="10" />
|
||||
<sodipodi:guide
|
||||
position="0,6.3499994"
|
||||
orientation="0,24"
|
||||
id="guide844" />
|
||||
<sodipodi:guide
|
||||
position="6.3499994,6.3499994"
|
||||
orientation="24,0"
|
||||
id="guide846" />
|
||||
<sodipodi:guide
|
||||
position="6.3499994,0"
|
||||
orientation="0,-24"
|
||||
id="guide848" />
|
||||
<sodipodi:guide
|
||||
position="0,0"
|
||||
orientation="-24,0"
|
||||
id="guide850" />
|
||||
</sodipodi:namedview>
|
||||
<metadata
|
||||
id="metadata2014">
|
||||
<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 />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
transform="translate(0,-288.53333)">
|
||||
<rect
|
||||
style="opacity:1;fill:#99ff55;fill-opacity:1;stroke:none;stroke-width:0.396875;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect2564"
|
||||
width="6.3499999"
|
||||
height="6.3499999"
|
||||
x="0"
|
||||
y="288.53333"
|
||||
ry="0.99219871" />
|
||||
<path
|
||||
style="opacity:1;fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:markers fill stroke"
|
||||
d="m 0.92072016,288.93221 1.85740474,-0.002 -3e-7,1.58749 H 0.39687495 l -0.009049,-1.09281 c -0.003001,-0.36241 0.27363226,-0.49199 0.52185387,-0.49267 z"
|
||||
id="rect2566"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="scccsss" />
|
||||
<path
|
||||
sodipodi:nodetypes="cccscc"
|
||||
inkscape:connector-curvature="0"
|
||||
id="path6258"
|
||||
d="m 2.7781246,294.48645 10e-8,-3.175 H 0.39687495 l -0.0325432,2.5246 c -0.00477,0.37007 0.26920623,0.65071 0.56170981,0.6504 z"
|
||||
style="opacity:1;fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:markers fill stroke" />
|
||||
<path
|
||||
sodipodi:nodetypes="ccccscc"
|
||||
inkscape:connector-curvature="0"
|
||||
id="path6260"
|
||||
d="m 3.5718746,288.9302 v 2.64584 l 1.4552081,0 c 0.530988,7.5e-4 0.9262459,-0.34677 0.9260416,-0.79375 l -0.010903,-1.26807 c -0.00269,-0.31267 -0.3194939,-0.5845 -0.6505557,-0.58402 z"
|
||||
style="opacity:1;fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:markers fill stroke" />
|
||||
<path
|
||||
style="opacity:1;fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:markers fill stroke"
|
||||
d="m 3.5718745,294.48645 1e-7,-2.91041 h 1.5874998 c 0.5309881,-7.3e-4 0.7939542,0.47906 0.7937498,0.92604 l 1.376e-4,1.41692 c 3.03e-5,0.31268 -0.1982422,0.56793 -0.5293041,0.56745 z"
|
||||
id="path6262"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="ccccscc" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:600;font-stretch:normal;font-size:2.60643px;line-height:1.25;font-family:'Segoe UI';-inkscape-font-specification:'Segoe UI, Semi-Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;letter-spacing:0px;word-spacing:0px;fill:#4d4d4d;fill-opacity:1;stroke:none;stroke-width:0.158182;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
x="4.1148658"
|
||||
y="285.02682"
|
||||
id="text6274"
|
||||
transform="scale(0.97887057,1.0215855)"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan6272"
|
||||
x="4.1148658"
|
||||
y="285.02682"
|
||||
style="font-style:normal;font-variant:normal;font-weight:600;font-stretch:normal;font-size:2.60643px;font-family:'Segoe UI';-inkscape-font-specification:'Segoe UI, Semi-Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;fill:#4d4d4d;stroke-width:0.158182;stroke-miterlimit:4;stroke-dasharray:none">F</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:600;font-stretch:normal;font-size:2.47399px;line-height:1.25;font-family:'Segoe UI';-inkscape-font-specification:'Segoe UI, Semi-Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;letter-spacing:0px;word-spacing:0px;fill:#4d4d4d;fill-opacity:1;stroke:none;stroke-width:0.210774"
|
||||
x="4.3067122"
|
||||
y="275.4487"
|
||||
id="text6278"
|
||||
transform="scale(0.93746149,1.0667105)"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan6276"
|
||||
x="4.3067122"
|
||||
y="275.4487"
|
||||
style="font-style:normal;font-variant:normal;font-weight:600;font-stretch:normal;font-size:2.47399px;font-family:'Segoe UI';-inkscape-font-specification:'Segoe UI, Semi-Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;fill:#4d4d4d;stroke-width:0.210774">B</tspan></text>
|
||||
<path
|
||||
style="fill:none;stroke:#4d4d4d;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 1.0583332,289.72395 1.0583332,0"
|
||||
id="path854"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
style="fill:none;stroke:#4d4d4d;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 1.0583332,292.1052 H 2.1166664"
|
||||
id="path848"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
style="fill:none;stroke:#4d4d4d;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 1.0583332,292.89895 H 2.1166664"
|
||||
id="path850"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
style="fill:none;stroke:#4d4d4d;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 1.0583332,293.6927 H 2.1166664"
|
||||
id="path852"
|
||||
sodipodi:nodetypes="cc"
|
||||
inkscape:export-filename="D:\OSP\KicadBomPlugin\InteractiveHtmlBom\path852.png"
|
||||
inkscape:export-xdpi="96.000008"
|
||||
inkscape:export-ydpi="96.000008" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 7.9 KiB |
Loading…
Reference in New Issue