restructures templates
This commit is contained in:
@@ -1,15 +1,19 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
{% block head %}
|
||||||
<title>Your page title</title>
|
<meta charset="UTF-8">
|
||||||
<!-- Required meta tags -->
|
<title>TornActivityTracker{% block title %}{% endblock %}</title>
|
||||||
<meta charset="utf-8">
|
<!-- Required meta tags -->
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
<meta charset="utf-8">
|
||||||
{{ bootstrap.load_css() }}
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
<link rel="stylesheet" href="{{url_for('static', filename='style.css')}}">
|
{% block styles %}
|
||||||
<!-- color mode js-->
|
{{ bootstrap.load_css() }}
|
||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons/font/bootstrap-icons.css">
|
<link rel="stylesheet" href="{{url_for('static', filename='style.css')}}">
|
||||||
|
<!-- color mode js-->
|
||||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons/font/bootstrap-icons.css">
|
||||||
|
{% endblock %}
|
||||||
|
{% endblock %}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
@@ -29,4 +33,15 @@
|
|||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
<main>
|
<main>
|
||||||
|
{% block content %}
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
|
||||||
|
</main>
|
||||||
|
{% block scripts %}
|
||||||
|
{{ bootstrap.load_js() }}
|
||||||
|
{% endblock %}
|
||||||
|
<script src="{{url_for('static', filename='color_mode.js')}}"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -1,5 +1,6 @@
|
|||||||
|
|
||||||
{% include "header.html" %}
|
{% extends 'base.html' %}
|
||||||
|
{% block content %}
|
||||||
<section class="container-fluid d-flex justify-content-center">
|
<section class="container-fluid d-flex justify-content-center">
|
||||||
<div class="container-md my-5 mx-2 shadow-lg p-4 ">
|
<div class="container-md my-5 mx-2 shadow-lg p-4 ">
|
||||||
<div class="container-sm">
|
<div class="container-sm">
|
||||||
@@ -90,4 +91,4 @@
|
|||||||
{{ bootstrap.load_js() }}
|
{{ bootstrap.load_js() }}
|
||||||
<script src="{{url_for('.static', filename='download_results.js')}}"></script>
|
<script src="{{url_for('.static', filename='download_results.js')}}"></script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% include "footer.html" %}
|
{% endblock content %}
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
</main>
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
|
|
||||||
<script src="{{url_for('static', filename='color_mode.js')}}"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
{% include "header.html" %}
|
{% extends 'base.html' %}
|
||||||
|
{% block content %}
|
||||||
<section id="scrapingFormContainer" class="container-fluid d-flex justify-content-center">
|
<section id="scrapingFormContainer" class="container-fluid d-flex justify-content-center">
|
||||||
<div class="container-md my-5 mx-2 shadow-lg p-4 ">
|
<div class="container-md my-5 mx-2 shadow-lg p-4 ">
|
||||||
<h2>Config</h2>
|
<h2>Config</h2>
|
||||||
@@ -26,7 +27,7 @@
|
|||||||
<section id="resultsContainer" class="container-fluid d-flex justify-content-center">
|
<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="container-md my-5 mx-2 shadow-lg p-4" style="height: 500px;">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-7">
|
<div class="col-8">
|
||||||
<h2>Logs</h2>
|
<h2>Logs</h2>
|
||||||
<pre id="logs" class="pre-scrollable" style="height: 350px; 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">
|
<div class="btn-group btn-group-sm">
|
||||||
@@ -41,9 +42,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
{% block scripts %}
|
{% block scripts %}
|
||||||
{{ bootstrap.load_js() }}
|
<script src="{{url_for('static', filename='app.js')}}"></script>
|
||||||
<link rel="stylesheet" href="{{ url_for('.static', filename='style.css') }}">
|
{% endblock %}
|
||||||
<script src="{{url_for('.static', filename='app.js')}}"></script>
|
{% endblock content %}
|
||||||
{% endblock %}
|
|
||||||
{% include "footer.html" %}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user