fixes log pagination
This commit is contained in:
@@ -23,15 +23,17 @@
|
||||
<button id="stopButton" class="btn btn-primary">Stop Scraping</button>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="resultsContainer" class="container-fluid d-flex justify-content-center">
|
||||
<div class="container-md my-5 mx-2 shadow-lg p-4" style="height: 500px;">
|
||||
<div class="row">
|
||||
<div class="col-7">
|
||||
<h2>Logs</h2>
|
||||
<button id="prevPage">Previous</button>
|
||||
<button id="nextPage">Next</button>
|
||||
<pre id="logs" class="pre-scrollable" style="height: 430px; overflow:scroll; "><code></code></pre>
|
||||
<pre id="logs" class="pre-scrollable" style="height: 350px; overflow:scroll; "><code></code></pre>
|
||||
<div class="btn-group btn-group-sm">
|
||||
<button class="btn btn-primary" id="prevPage">Previous</button>
|
||||
<button class="btn btn-primary" id="pageInfo" disabled>Page 1 of 1</button>
|
||||
<button class="btn btn-primary" id="nextPage">Next</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col">
|
||||
<h2>Stats</h2>
|
||||
@@ -41,6 +43,7 @@
|
||||
</section>
|
||||
{% block scripts %}
|
||||
{{ bootstrap.load_js() }}
|
||||
<link rel="stylesheet" href="{{ url_for('.static', filename='style.css') }}">
|
||||
<script src="{{url_for('.static', filename='app.js')}}"></script>
|
||||
{% endblock %}
|
||||
{% include "footer.html" %}
|
||||
Reference in New Issue
Block a user