Files
msys2-web/app/templates/baseindex.html
Christoph Reiter ed5c086fe0 Switch some large tables to a fixed layout
maybe this helps with loading performance a bit
2022-12-26 18:36:31 +01:00

38 lines
1010 B
HTML

{% extends "layout.html" %}
{% block title %}Base Packages{% endblock %}
{% block inner_content %}
<div class="card mb-3">
<div class="card-header">
<h4 class="card-title">Base Packages</h4>
<h6 class="card-subtitle mb-2 text-muted">{{ sources|length }} base packages</h6>
</div>
<div class="card-body overflow-auto">
<table class="table table-hover table-sm" style="table-layout: fixed; width:100%;">
<colgroup>
<col style="width: 25%">
<col style="width: 15%">
<col style="width: 60%">
</colgroup>
<thead>
<tr>
<th>Base Package</th>
<th>Version</th>
<th>Description</th>
</tr>
</thead>
<tbody>
{% for s in sources %}
<tr>
<td><a href="{{ url_for('base', base_name=s.name) }}">{{ s.name }}</a></td>
<td>{{ s.version }}</td>
<td>{{ s.desc }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
{% endblock %}