fix: [crawler UI] remove unused crawlers configuration

pull/559/head
Terrtia 2021-03-30 09:14:18 +02:00
parent 42441e8ee5
commit 6696f405e1
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
2 changed files with 7 additions and 6 deletions

View File

@ -509,7 +509,7 @@ def crawler_splash_setings():
is_manager_connected = crawlers.get_splash_manager_connection_metadata(force_ping=True)
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()
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,
is_crawler_working=is_crawler_working,
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'])
@login_required

View File

@ -274,7 +274,7 @@
</div>
</div>
<div class="card border-secondary">
<!-- <div class="card border-secondary">
<div class="card-body text-dark">
<h5 class="card-title">Crawlers Settings:</h5>
@ -305,9 +305,9 @@
</td>
<td>
<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>
</button> -->
</button>
</div>
</td>
</tr>
@ -316,7 +316,7 @@
</table>
</div>
</div>
</div> -->
</div>
</div>