2
0
mirror of https://github.com/inventree/inventree-website.git synced 2025-08-13 16:00:59 +00:00
Files
.github
_data
_includes
base
block
fnc
partial
plugin_card.html
team.html
testimonials.html
_layouts
_plugins
_posts
_publishers
about
alternatives
assets
blog
contribute
deploy
extend
functions
use
.gitignore
404.md
Gemfile
Gemfile.lock
LICENSE
README.md
_config.yml
index.md
package-lock.json
package.json
plugins.html
postcss.config.js
publishers.html
tailwind.config.js
inventree-website/_includes/plugin_card.html
Matthias Mair dbbec51faa fix colors
2022-04-22 20:54:36 +02:00

20 lines
965 B
HTML

<div class="row g-0 border rounded overflow-hidden flex-md-row mb-4 shadow-sm h-md-250 position-relative">
<div class="col p-4 d-flex flex-column position-static">
<div class="d-inline-block">
{% for cat in plugin.categories %}
<span class="badge rounded-pill bg-yellow-500">{{ cat }}</span>
{% endfor %}
{% for tag in plugin.tags %}
<span class="badge rounded-pill bg-blue-400">{{ tag }}</span>
{% endfor %}
</div>
<h3 class="mb-0">{{ plugin.name }}</h3>
<div class="mb-1 text-muted">
{% if plugin.published_on %}{{ plugin.published_on | date_to_string }} - {% endif %}
{% include partial/publisher_ref.html pub=plugin.publisher %}
</div>
<p class="mb-auto">{{ plugin.excerpt | mardownify | remove: '<p>' | remove: '</p>' }}</p>
<a href="{{ plugin.url | relative_url }}" class="stretched-link" aria-label="open plugin details"></a>
</div>
</div>