fixed add/rem author funtionality for bs5 and converted to svg icons away from fontawesome

This commit is contained in:
2022-07-04 22:25:35 +10:00
parent 419eda9c33
commit c31ae71dee
8 changed files with 85 additions and 54 deletions

View File

@@ -54,11 +54,14 @@
{% else %}
<td align="center">
{% if cond == "Good" %}
<i class="fas fa-book" style="color:black"></i>
<svg width="22" height="22" fill="black">
<use xlink:href="{{url_for('static', filename='icons.svg')}}#book"/></svg>
{% elif cond == "Average" %}
<i class="fas fa-book" style="color:orange"></i>
<svg width="22" height="22" fill="orange">
<use xlink:href="{{url_for('static', filename='icons.svg')}}#book"/></svg>
{% elif cond == "Needs Replacing" %}
<i class="fas fa-book" style="color:red"></i>
<svg width="22" height="22" fill="red">
<use xlink:href="{{url_for('static', filename='icons.svg')}}#book"/></svg>
{% endif %}
</td>
{% endif %}