Add Plugins page

Signed-off-by: jonasrosland <jrosland@vmware.com>
This commit is contained in:
jonasrosland
2020-02-26 13:46:10 -05:00
parent 2ff8ad192c
commit 67f13a461c
15 changed files with 143 additions and 1 deletions
+41
View File
@@ -0,0 +1,41 @@
<div class="section section-card section-card-offset-top promo-cards">
<div class="section-content">
<div class="row">
{% for plugin in site.plugin-list %}
<div class="col-md">
<div class="card card-light mb-3 mb-md-0 shadow-sm">
<div class="card-body match-height">
{% if plugin.link.size > 0 %}
<h5><a href="{{ plugin.link }}" class="dark">{{ plugin.title }}</a></h5>
{% else %}
<h5>{{ plugin.title }}</h5>
{% endif %}
<p>{{ plugin.content }}</p>
{% if plugin.object-storage %}
<img src="https://img.shields.io/badge/Object Storage-supported-green">
{% else %}
<img src="https://img.shields.io/badge/Object Storage-not supported-red">
{% endif %}
{% if plugin.volumesnapshotter %}
<img src="https://img.shields.io/badge/VolumeSnapshotter-supported-green">
{% else %}
<img src="https://img.shields.io/badge/VolumeSnapshotter-not supported-red">
{% endif %}
{% if plugin.local-storage %}
<img src="https://img.shields.io/badge/Local Storage-supported-green">
{% endif %}
</div>
</div>
</div>
{% if limit > 0 and forloop.index >= limit %}
{% break %}
{% endif %}
{% assign row = forloop.index | modulo: 3 %}
{% if row == 0 %}
</div>
<div class="row mt-4">
{% endif %}
{% endfor %}
</div>
</div>
</div>