fix: [UI] remove update note

pull/586/head
Terrtia 2021-12-08 15:48:23 +01:00
parent 19846997d9
commit aa7317dd2c
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
5 changed files with 21 additions and 6 deletions

View File

@ -80,7 +80,7 @@ def login():
return redirect(next_page)
# dashboard
else:
return redirect(url_for('dashboard.index', update_note=True))
return redirect(url_for('dashboard.index'))
# login failed
else:
# set brute force protection

View File

@ -178,7 +178,7 @@ def index():
return render_template("index.html", default_minute = default_minute, threshold_stucked_module=threshold_stucked_module,
log_select=log_select, selected=max_dashboard_logs,
update_warning_message=update_warning_message, update_in_progress=update_in_progress,
update_note=update_note,
#update_note=update_note,
update_warning_message_notice_me=update_warning_message_notice_me)
# ========= REGISTRATION =========

View File

@ -73,9 +73,9 @@
{%endif%}
<!-- TODO: Add users messages -->
{%if update_note%}
<!-- {%if update_note%}
{% include 'dashboard/update_modal.html' %}
{%endif%}
{%endif%} -->
<div class="row my-2">

View File

@ -29,8 +29,6 @@
<div class="col-12 col-lg-10" id="core_content">
{% include 'dashboard/update_modal.html' %}
<div class="card mb-3 mt-1">
<div class="card-header text-white bg-dark pb-1">
<h5 class="card-title">AIL-framework Status :</h5>

View File

@ -10,5 +10,22 @@
<b>Error:</b> core/Crawler_manager not launched
{%endif%}
</p>
<div style="max-width: 500px;">
<ul class="list-group my-3">
<li class="list-group-item bg-dark text-white">Splash Manager Features:</li>
<li class="list-group-item">Install and run Splash crawlers on another server</li>
<li class="list-group-item">Handle proxies (Web and tor)</li>
<li class="list-group-item">Launch/Kill Splash Dockers</li>
<li class="list-group-item">Restart crawlers on crash</li>
<li class="list-group-item">
<div class="d-flex justify-content-center">
<a class="btn btn-info" href="https://github.com/ail-project/ail-splash-manager" role="button">
<i class="fab fa-github"></i> Install and Configure AIL-Splash-Manager
</a>
</div>
</li>
</ul>
</div>
</div>
{%endif%}