2019-09-19 07:27:36 -04:00
< div class = "col-xl-4 col-lg-6 col-md-12 mb-4" >
2018-10-23 14:07:59 -04:00
< div class = "card card-{{include.color}}" >
{% if include.color == "warning" %}
< div class = "card-header text-dark bg-{{include.color}}" >
{% else %}
< div class = "card-header text-white bg-{{include.color}}" >
{% endif %}
< h3 class = "h5" > {{include.title}}< / h3 >
< / div >
< div class = "card-body" >
2018-10-27 10:28:46 -04:00
{% if include.labels %}
{% assign labels = include.labels | replace:", ", "," | split:"," %}
< div class = "mb-1" >
{% for label in labels %}
2021-10-13 19:17:49 -04:00
{% assign label_data = label | split:";" %}
2018-10-27 10:28:46 -04:00
{% assign color = label_data[0] %}
{% assign text = label_data[1] %}
2018-12-15 06:16:20 -05:00
{% assign tooltip = label_data[2] | default: "" %}
{% assign help_icon = '< i class = "far fa-question-circle" > < / i > ' %}
2021-05-03 22:13:50 -04:00
< span class = "badge rounded-pill bg-{{color}}" { % if tooltip % } data-bs-toggle = "tooltip" title = "{{ tooltip }}" > {{text}} {{ help_icon
2018-12-15 06:16:20 -05:00
}}
{% else %}
>{{text}}
{% endif %}
< / span >
2018-10-27 10:28:46 -04:00
{% endfor %}
< / div >
{% endif %}
2019-04-01 20:42:34 -04:00
< p >
{% if include.image %}
< img src = "{{include.image}}" width = "120" height = "120" alt = "{{include.title}}" class = "panel-item" >
{% elsif include.icon %}
< i class = "{{ include.icon }} panel-icon{% if include.iconcolor %} text-{{include.iconcolor}}{% endif %}" > < / i >
2019-09-23 16:49:37 -04:00
{% elsif include.font %}
2019-10-10 18:07:03 -04:00
< span class = "{{ include.font }} panel-item panel-font" alt = "{{ include.title }}" > < / span >
2019-04-01 20:42:34 -04:00
{% endif %}
{{include.description}}
< / p >
2018-10-27 12:35:20 -04:00
< div >
2018-10-25 11:32:13 -04:00
< p >
2019-04-01 20:42:34 -04:00
{% if include.url %}
2019-09-17 05:08:19 -04:00
< a class = "btn btn-{{include.color}} mb-1" href = "{{include.url}}" >
2018-10-25 11:32:13 -04:00
{% if include.website %}
{{include.website}}
{% else %}
2019-01-20 11:57:24 -05:00
{{ include.url | remove: "https://" | remove: "http://" | remove: "www." | remove: "/" | remove: "github.com" }}
2018-10-25 11:32:13 -04:00
{% endif %}
< / a >
2019-04-01 20:42:34 -04:00
{% elsif include.page %}
< a class = "btn btn-{{include.color}} mb-1" href = "{{include.page}}" >
{% if include.moretext %}
{{include.moretext}}
{% else %}
Learn More
{% endif %}
< / a >
{% endif %}
2018-10-25 11:32:13 -04:00
{% if include.tor %}
2021-05-03 22:13:50 -04:00
< a class = "mb-1" data-bs-toggle = "tooltip" data-bs-placement = "bottom" title = "{{include.tor}} Requires specific software to access: torproject.org" href = "{{include.tor}}" > < img alt = "Tor" src = "/assets/img/layout/tor.png" width = "35" height = "35" > < / a >
2018-10-25 12:12:44 -04:00
{% endif %}
2019-08-03 12:03:35 -04:00
2019-06-15 20:58:51 -04:00
{% if include.git %}
2021-05-03 22:13:50 -04:00
< a class = "mb-1" data-bs-toggle = "tooltip" data-bs-placement = "bottom" title = "{{include.git}} supports source code compiling and open review | is free software" href = "{{include.git}}" > < img alt = "Git" src = "assets/img/layout/git.png" width = "35" > < / a >
2019-06-15 20:58:51 -04:00
{% endif %}
2018-10-25 12:12:44 -04:00
{% if include.extra_button %}
{{include.extra_button}}
2018-10-23 14:07:59 -04:00
{% endif %}
< / p >
2018-10-25 11:32:13 -04:00
{% if include.footer %}
< p > {{include.footer}}< / p >
{% endif %}
2018-10-23 14:07:59 -04:00
< / div >
< / div >
2018-10-23 12:10:38 -04:00
< / div >
2018-11-07 15:52:56 -05:00
< / div >