Files
msys2-web/app/templates/basegroup.html
Christoph Reiter e0b0ae48da Add a base group collection
This is conceptionally similar to a pkgbase, but for groups.
Something like this doesn't really exist on the PKGBUILD level,
but end users can't really work with pkgbase with pacman either,
so for them that doesn't matter.

It still gives the end user the same structure as with packages,
there is a base thing that has multiple instances for each environment,
and searching might be a bit easier.

The UX could be improved, but the basics are there at least.

Fixes #47
2022-12-26 12:00:45 +01:00

31 lines
793 B
HTML

{% extends "layout.html" %}
{% block title %}Base Group: {{ name }}{% endblock %}
{% block inner_content %}
<div class="card mb-3">
<div class="card-header">
<h4 class="card-title">Base Group: <a href="{{ url_for('basegroups', group_name=name) }}">{{ name }}</a></h4>
<h6 class="card-subtitle mb-2 text-muted">{{ groups|length }} groups</h6>
</div>
<div class="card-body">
{% if not groups %}
Group doesn't exist
{% else %}
<dl class="row">
<dt class="col-sm-3 text-sm-end">Groups:</dt>
<dd class="col-sm-9">
<ul class="list-unstyled">
{% for g in groups %}
<li><a href="{{ url_for('groups', group_name=g) }}">{{ g }}</a></li>
{% endfor %}
</ul>
</dd>
</dl>
{% endif %}
</div>
</div>
{% endblock %}