v4 Template fixes

This commit is contained in:
Peter Pfeufer
2023-10-24 02:04:49 +00:00
committed by Ariel Rin
parent 07e85727ea
commit ee24706e43
55 changed files with 791 additions and 665 deletions

View File

@@ -14,7 +14,7 @@
{% endblock %}
{% block controls %}
<a title="Go To Forums" href="{{ DISCOURSE_URL }}" class="btn btn-success" title="Connect">
<a title="Go To Forums" href="{{ DISCOURSE_URL }}" class="btn btn-success">
<span class="fas fa-arrow-right fa-fw"></span>
</a>
{% endblock %}

View File

@@ -5,17 +5,17 @@
<p class="card-text"><a href="mumble://{{ service_url }}">{{ service_url }}</a></p>
<p class="card-text"><span class="badge {% if username != '' %}bg-success{% else %}bg-warning{% endif %}">{% if username != '' %}Active{% else %}Disabled{% endif %}</span></p>
<p class="card-text">Username: <span class="badge bg-secondary text-end">{{ username }}</span></p>
</div>
</div>
<div class="card-footer">
{% if username == "" %}
<td class="text-center">{{ service_url }}</td>
<td class="text-center">
<div class="text-center">
<a href="{% url 'mumble:activate' %}" title="Activate" class="btn btn-warning">
<span class="fas fa-check fa-fw"></span>
</a>
</td>
</div>
{% else %}
<td class="text-center">
<div class="text-center">
<a href="{% url 'mumble:set_password' %}" title="Set Password" class="btn btn-warning">
<span class="fas fa-edit fa-fw"></span>
</a>
@@ -28,7 +28,7 @@
<a href="mumble://{{ connect_url }}" class="btn btn-success" title="Connect">
<span class="fas fa-arrow-right fa-fw"></span>
</a>
</td>
</div>
{% endif %}
</div>
</div>