2
0
mirror of https://github.com/inventree/inventree-website.git synced 2025-04-27 21:16:45 +00:00
This commit is contained in:
Oliver Walters 2023-09-26 21:04:43 +10:00
parent 16835ea0af
commit 1b0f5622d0
4 changed files with 30 additions and 6 deletions

View File

@ -1,4 +1,7 @@
{% assign publisher_ref = site.publishers | where: 'short_name', include.pub | first %} {% assign publisher_ref = site.publishers | where: 'short_name', include.pub | first %}
<a href="{{ publisher_ref.url | relative_url }}"> <a href="{{ publisher_ref.url | relative_url }}">
<span class="inline-flex">by <img src="https://github.com/{{ include.pub }}.png?size=40" alt="mdo" class="self-center w-5 h-5 rounded-full" style="margin:0px"> {{ include.pub }}</span> <span class="inline-flex">
<img src="https://github.com/{{ include.pub }}.png?size=40" alt="mdo" class="self-center w-5 h-5 rounded-full" style="margin:0px">
<p>&nbsp;{{ include.pub }}</p>
</span>
</a> </a>

View File

@ -17,12 +17,30 @@ fullwith: true
<h2 class="block sm:hidden">Detail section</h2> <h2 class="block sm:hidden">Detail section</h2>
<div> <div>
<p class="mb-0">License: <p class="mb-0">License:
<small>
{% if page.open_source %}<i class="fa-brands fa-osi"></i>{% else %}<i class="fa-solid fa-lock"></i>{% endif %} {% if page.open_source %}<i class="fa-brands fa-osi"></i>{% else %}<i class="fa-solid fa-lock"></i>{% endif %}
{{ page.license }}<br> {{ page.license }}<br>
<div class="flex flex-wrap"> </small>
Status: <div class="">
<div>{% if page.stable %}<i class="fa-regular fa-circle-check"></i>Stable{% else %}<i class="fa-solid fa-triangle-exclamation"></i> Unstable{% endif %}</div> Status:<br>
<div>{% if page.maintained %}<i class="fa-regular fa-circle-check"></i>Maintained{% else %}<i class="fa-solid fa-circle-exclamation"></i> Unmaintained{% endif %}</div> <div>
<small>
{% if page.stable %}
<i class="fa-regular fa-circle-check success"></i>Stable
{% else %}
<i class="fa-solid fa-triangle-exclamation"></i> Unstable
{% endif %}
</small>
</div>
<div>
<small>
{% if page.maintained %}
<i class="fa-regular fa-circle-check success"></i>Maintained
{% else %}
<i class="fa-solid fa-circle-exclamation"></i> Unmaintained
{% endif %}
</small>
</div>
</div> </div>
{% if page.pypi and page.package_name %}Package on PyPI:<pre class="my-0">{{ page.package_name }}</pre>{% endif %} {% if page.pypi and page.package_name %}Package on PyPI:<pre class="my-0">{{ page.package_name }}</pre>{% endif %}
</p> </p>

View File

@ -9,7 +9,6 @@ pypi: true
package_name: inventree-kicad-plugin package_name: inventree-kicad-plugin
github: https://github.com/afkiwers/inventree_kicad github: https://github.com/afkiwers/inventree_kicad
issue_tracked: https://github.com/afkiwers/inventree_kicad/issues issue_tracked: https://github.com/afkiwers/inventree_kicad/issues
website: https://github.com/afkiwers/inventree_kicad
categories: Integration categories: Integration
tags: schematic bom kicad tags: schematic bom kicad
--- ---

View File

@ -106,6 +106,10 @@ layout: empty
@apply mb-0 italic @apply mb-0 italic
} }
.success {
color: #155724;
}
.anchor { .anchor {
display: block; display: block;
position: relative; position: relative;