fix: [UI] remove update note

This commit is contained in:
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) return redirect(next_page)
# dashboard # dashboard
else: else:
return redirect(url_for('dashboard.index', update_note=True)) return redirect(url_for('dashboard.index'))
# login failed # login failed
else: else:
# set brute force protection # 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, return render_template("index.html", default_minute = default_minute, threshold_stucked_module=threshold_stucked_module,
log_select=log_select, selected=max_dashboard_logs, log_select=log_select, selected=max_dashboard_logs,
update_warning_message=update_warning_message, update_in_progress=update_in_progress, 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) update_warning_message_notice_me=update_warning_message_notice_me)
# ========= REGISTRATION ========= # ========= REGISTRATION =========

View file

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

View file

@ -29,8 +29,6 @@
<div class="col-12 col-lg-10" id="core_content"> <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 mb-3 mt-1">
<div class="card-header text-white bg-dark pb-1"> <div class="card-header text-white bg-dark pb-1">
<h5 class="card-title">AIL-framework Status :</h5> <h5 class="card-title">AIL-framework Status :</h5>

View file

@ -10,5 +10,22 @@
<b>Error:</b> core/Crawler_manager not launched <b>Error:</b> core/Crawler_manager not launched
{%endif%} {%endif%}
</p> </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> </div>
{%endif%} {%endif%}