manual search dialog improvements

- rename search label to filter, to not be mistaken with the actual subtitle search
- show horizontal scroll when dialog is too small to fit the whole table
pull/997/head
josdion 4 years ago
parent cd3d1ada49
commit dcd8e78464

@ -128,7 +128,7 @@
<h6>Episode path is: <span id="episode_path_span" class="badge badge-secondary"></span> <h6>Episode path is: <span id="episode_path_span" class="badge badge-secondary"></span>
<br>Scenename is: <span id="episode_scenename_span" class="badge badge-secondary"></span></h6> <br>Scenename is: <span id="episode_scenename_span" class="badge badge-secondary"></span></h6>
<div class="container-fluid" style="padding:0px;"> <div class="container-fluid" style="padding:0px;">
<table id="search_result" class="table table-striped"> <table id="search_result" class="table table-striped" style="width:100%">
<thead> <thead>
<tr> <tr>
<th style="text-align: left;">Score:</th> <th style="text-align: left;">Score:</th>
@ -531,13 +531,15 @@
destroy: true, destroy: true,
language: { language: {
zeroRecords: 'No Subtitles Found For This Episode', zeroRecords: 'No Subtitles Found For This Episode',
processing: "Searching{% if settings.general.anti_captcha_provider != 'None' %} (possibly solving captcha){% endif %}..." processing: "Searching{% if settings.general.anti_captcha_provider != 'None' %} (possibly solving captcha){% endif %}...",
search: "Filter:"
}, },
paging: true, paging: true,
lengthChange: true, lengthChange: true,
pageLength: {{ settings.general.page_size_manual_search }}, pageLength: {{ settings.general.page_size_manual_search }},
lengthMenu: [ 5, 10, 15, 20, 25 ], lengthMenu: [ 5, 10, 15, 20, 25 ],
searching: true, searching: true,
scrollX: true,
ordering: false, ordering: false,
processing: true, processing: true,
serverSide: false, serverSide: false,

@ -136,7 +136,7 @@
<h6>Movie path is: <span id="movie_path_span" class="badge badge-secondary"></span> <h6>Movie path is: <span id="movie_path_span" class="badge badge-secondary"></span>
<br>Scenename is: <span id="movie_scenename_span" class="badge badge-secondary"></span></h6> <br>Scenename is: <span id="movie_scenename_span" class="badge badge-secondary"></span></h6>
<div class="container-fluid" style="padding:0px;"> <div class="container-fluid" style="padding:0px;">
<table id="search_result" class="table table-striped"> <table id="search_result" class="table table-striped" style="width:100%">
<thead> <thead>
<tr> <tr>
<th style="text-align: left;">Score:</th> <th style="text-align: left;">Score:</th>
@ -405,13 +405,15 @@
destroy: true, destroy: true,
language: { language: {
zeroRecords: 'No Subtitles Found For This Movie', zeroRecords: 'No Subtitles Found For This Movie',
processing: "Searching{% if settings.general.anti_captcha_provider != 'None' %} (possibly solving captcha){% endif %}..." processing: "Searching{% if settings.general.anti_captcha_provider != 'None' %} (possibly solving captcha){% endif %}...",
search: "Filter:"
}, },
paging: true, paging: true,
lengthChange: true, lengthChange: true,
pageLength: {{ settings.general.page_size_manual_search }}, pageLength: {{ settings.general.page_size_manual_search }},
lengthMenu: [ 5, 10, 15, 20, 25 ], lengthMenu: [ 5, 10, 15, 20, 25 ],
searching: true, searching: true,
scrollX: true,
ordering: false, ordering: false,
processing: true, processing: true,
serverSide: false, serverSide: false,

Loading…
Cancel
Save