mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-26 07:47:17 +00:00
fix: [crawler UI] remove unused crawlers configuration
This commit is contained in:
parent
42441e8ee5
commit
6696f405e1
2 changed files with 7 additions and 6 deletions
|
@ -509,7 +509,7 @@ def crawler_splash_setings():
|
||||||
is_manager_connected = crawlers.get_splash_manager_connection_metadata(force_ping=True)
|
is_manager_connected = crawlers.get_splash_manager_connection_metadata(force_ping=True)
|
||||||
|
|
||||||
nb_crawlers_to_launch = crawlers.get_nb_crawlers_to_launch()
|
nb_crawlers_to_launch = crawlers.get_nb_crawlers_to_launch()
|
||||||
crawler_full_config = Config_DB.get_full_config_by_section('crawler')
|
#crawler_full_config = Config_DB.get_full_config_by_section('crawler')
|
||||||
is_crawler_working = crawlers.is_test_ail_crawlers_successful()
|
is_crawler_working = crawlers.is_test_ail_crawlers_successful()
|
||||||
crawler_error_mess = crawlers.get_test_ail_crawlers_message()
|
crawler_error_mess = crawlers.get_test_ail_crawlers_message()
|
||||||
|
|
||||||
|
@ -520,7 +520,8 @@ def crawler_splash_setings():
|
||||||
nb_crawlers_to_launch=nb_crawlers_to_launch,
|
nb_crawlers_to_launch=nb_crawlers_to_launch,
|
||||||
is_crawler_working=is_crawler_working,
|
is_crawler_working=is_crawler_working,
|
||||||
crawler_error_mess=crawler_error_mess,
|
crawler_error_mess=crawler_error_mess,
|
||||||
crawler_full_config=crawler_full_config)
|
#crawler_full_config=crawler_full_config
|
||||||
|
)
|
||||||
|
|
||||||
@crawler_splash.route('/crawler/settings/crawler_manager', methods=['GET', 'POST'])
|
@crawler_splash.route('/crawler/settings/crawler_manager', methods=['GET', 'POST'])
|
||||||
@login_required
|
@login_required
|
||||||
|
|
|
@ -274,7 +274,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="card border-secondary">
|
<!-- <div class="card border-secondary">
|
||||||
<div class="card-body text-dark">
|
<div class="card-body text-dark">
|
||||||
<h5 class="card-title">Crawlers Settings:</h5>
|
<h5 class="card-title">Crawlers Settings:</h5>
|
||||||
|
|
||||||
|
@ -305,9 +305,9 @@
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<div class="d-flex justify-content-end">
|
<div class="d-flex justify-content-end">
|
||||||
<!-- <button class="btn btn-outline-dark px-1 py-0">
|
<button class="btn btn-outline-dark px-1 py-0">
|
||||||
<i class="fas fa-pencil-alt"></i>
|
<i class="fas fa-pencil-alt"></i>
|
||||||
</button> -->
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -316,7 +316,7 @@
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div> -->
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue