mirror of
https://github.com/inventree/inventree-website.git
synced 2025-04-28 05:26:44 +00:00
add more formatting
This commit is contained in:
parent
13a60fce7c
commit
cb37d54623
@ -27,7 +27,7 @@ fullwith: true
|
|||||||
{% if page.issue_tracker %}
|
{% if page.issue_tracker %}
|
||||||
<a href="{{ page.issue_tracker }}" class="no-underline" aria-label="open the issue tracker">
|
<a href="{{ page.issue_tracker }}" class="no-underline" aria-label="open the issue tracker">
|
||||||
<div>
|
<div>
|
||||||
<h4 class="fst-italic">Issue Tracker</h4>
|
<h4 class="plugin_links">Issue Tracker <i class="fa-solid fa-arrow-up-right-from-square" title="External link"></i></h4>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@ -35,31 +35,31 @@ fullwith: true
|
|||||||
{% if page.github %}
|
{% if page.github %}
|
||||||
<a href="{{ page.github }}" class="no-underline" aria-label="open source on GitHub">
|
<a href="{{ page.github }}" class="no-underline" aria-label="open source on GitHub">
|
||||||
<div>
|
<div>
|
||||||
<h4 class="fst-italic">Sourcecode on GitHub</h4>
|
<h4 class="plugin_links">Sourcecode on GitHub <i class="fa-solid fa-arrow-up-right-from-square" title="External link"></i></h4>
|
||||||
<p>{{ page.github | remove: "https://github.com/" }}</p>
|
<p class="font-normal">{{ page.github | remove: "https://github.com/" }}</p>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if page.gitlab %}
|
{% if page.gitlab %}
|
||||||
<a href="{{ page.gitlab }}" class="no-underline" aria-label="open source on Gitlab">
|
<a href="{{ page.gitlab }}" class="no-underline" aria-label="open source on Gitlab">
|
||||||
<div>
|
<div>
|
||||||
<h4 class="fst-italic">Sourcecode on Gitlab</h4>
|
<h4 class="plugin_links">Sourcecode on Gitlab <i class="fa-solid fa-arrow-up-right-from-square" title="External link"></i></h4>
|
||||||
<p>{{ page.gitlab | remove: "https://gitlab.com/" }}</p>
|
<p class="font-normal">{{ page.gitlab | remove: "https://gitlab.com/" }}</p>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if page.source %}
|
{% if page.source %}
|
||||||
<a href="{{ page.source }}" class="no-underline" aria-label="open source on SCM">
|
<a href="{{ page.source }}" class="no-underline" aria-label="open source on SCM">
|
||||||
<div>
|
<div>
|
||||||
<h4 class="fst-italic">Sourcecode on SCM</h4>
|
<h4 class="plugin_links">Sourcecode on SCM <i class="fa-solid fa-arrow-up-right-from-square" title="External link"></i></h4>
|
||||||
<p>{{ page.source }}</p>
|
<p class="font-normal">{{ page.source }}</p>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<h4 class="fst-italic">Categories</h4>
|
<h4 class="plugin_links">Categories</h4>
|
||||||
<ul class="list-unstyled">
|
<ul class="list-unstyled font-normal">
|
||||||
{% for categorie in page.categories %}
|
{% for categorie in page.categories %}
|
||||||
<li><a href="/categories/#{{ categorie | slugify }}"><span class="badge bg-yellow-500">{{ categorie }}</span></a></li>
|
<li><a href="/categories/#{{ categorie | slugify }}"><span class="badge bg-yellow-500">{{ categorie }}</span></a></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
@ -67,8 +67,8 @@ fullwith: true
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<h4 class="fst-italic">Tags</h4>
|
<h4 class="plugin_links">Tags</h4>
|
||||||
<ul class="list-unstyled">
|
<ul class="list-unstyled font-normal">
|
||||||
{% for tag in page.tags %}
|
{% for tag in page.tags %}
|
||||||
<li><a href="/tags/#{{ tag | slugify }}"><span class="badge bg-blue-400">{{ tag }}</span></a></li>
|
<li><a href="/tags/#{{ tag | slugify }}"><span class="badge bg-blue-400">{{ tag }}</span></a></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
@ -77,8 +77,8 @@ fullwith: true
|
|||||||
|
|
||||||
<a href="{{ page.website }}" class="no-underline" aria-label="open website">
|
<a href="{{ page.website }}" class="no-underline" aria-label="open website">
|
||||||
<div>
|
<div>
|
||||||
<h4 class="fst-italic">Website</h4>
|
<h4 class="plugin_links">Website <i class="fa-solid fa-arrow-up-right-from-square" title="External link"></i></h4>
|
||||||
<p>{{ page.website }}</p>
|
<p class="font-normal">{{ page.website }}</p>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
@ -87,4 +87,8 @@ layout: empty
|
|||||||
display: block;
|
display: block;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.plugin_links {
|
||||||
|
@apply mb-0 italic
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user