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

@@ -16,7 +16,10 @@
success: function(data){
$('#books_for_series_bit').html(data); }
} ); return false;">
<i class="fas fa-angle-double-up" style="font-size:10px"></i></button>
<svg width="12" height="12" fill="currentColor">
<use xlink:href="{{url_for('static', filename='icons.svg')}}#caret-up-fill"/>
</svg>
</button>
<button name="move_button" value="down-{{book.id}}" id="down-{{book.id}}" class="btn btn-outline-primary btn-small" {{style}}
onClick="$.ajax({
type: 'POST', url: '/books_for_series/{{series.id}}',
@@ -24,7 +27,10 @@
success: function(data){
$('#books_for_series_bit').html(data); }
} ); return false;">
<i class="fas fa-angle-double-down" style="font-size:10px"></i></button>
<svg width="12" height="12" fill="currentColor">
<use xlink:href="{{url_for('static', filename='icons.svg')}}#caret-down-fill"/>
</svg>
</button>
<a href="/book/{{book.id}}">{{book.title}}</a>
</td>
{% set num = SeriesBookNum( series.id, book.id ) %}