Update button alignment in templates to use 'justify-content-evenly' for improved layout consistency

This commit is contained in:
Théophile Diot 2024-11-08 12:35:28 +01:00
parent 9c9ce5a55d
commit fa2079a4b4
No known key found for this signature in database
GPG key ID: FA995104A0BA376A
5 changed files with 5 additions and 5 deletions

View file

@ -74,7 +74,7 @@
</td>
<td>{{ cache["checksum"] }}</td>
<td>
<div class="d-flex justify-content-center">
<div class="d-flex justify-content-evenly">
<a role="button"
class="btn btn-primary btn-sm me-1"
href="{{ url_for("cache") }}/{{ service_id }}/{{ cache['plugin_id'] }}/{{ cache['job_name'] }}/{{ cache['file_name'].replace('/', '_') if cache['file_name'].startswith('folder:') else cache['file_name'] }}"

View file

@ -107,7 +107,7 @@
</td>
<td>{{ config["checksum"] }}</td>
<td>
<div class="d-flex justify-content-center">
<div class="d-flex justify-content-evenly">
<a role="button"
class="btn btn-primary btn-sm me-1"
href="{{ url_for("configs") }}/{{ service_id }}/{{ config['type'] }}/{{ config['name'] }}"

View file

@ -94,7 +94,7 @@
<td class="instance-creation-date">{{ instance.creation_date.astimezone().isoformat() }}</td>
<td class="instance-last-seen-date">{{ instance.last_seen.astimezone().isoformat() }}</td>
<td>
<div class="d-flex justify-content-center">
<div class="d-flex justify-content-evenly">
<button type="button"
class="btn btn-primary btn-sm me-1 ping-instance"
data-instance="{{ instance['hostname'] }}"

View file

@ -67,7 +67,7 @@
{% endif %}
</td>
<td>
<div class="d-flex justify-content-center">
<div class="d-flex justify-content-evenly">
<div data-bs-toggle="tooltip"
data-bs-placement="bottom"
data-bs-original-title="{% if is_readonly %}Disabled by readonly{% else %}Run the Job{% endif %}">

View file

@ -88,7 +88,7 @@
</td>
<td>{{ plugin_data["method"] }}</td>
<td>
<div class="d-flex justify-content-center">
<div class="d-flex justify-content-evenly">
<div {% if not plugin_data['page'] %}data-bs-toggle="tooltip" data-bs-placement="bottom" data-bs-original-title="No page available"{% endif %}>
<a role="button"
class="btn btn-outline-primary btn-sm me-1{% if not plugin_data['page'] %} disabled{% endif %}"