Introduces proper header-footer templating. Fixes Buttons in download_results.html.
This commit is contained in:
@@ -1,26 +1,4 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Your page title</title>
|
||||
<!-- Required meta tags -->
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
{{ bootstrap.load_css() }}
|
||||
<link rel="stylesheet" href="{{url_for('.static', filename='style.css')}}">
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>Torn User Activity Scraper</h1>
|
||||
<nav class="navbar navbar-expand-lg navbar-light bg-light">
|
||||
<div class="navbar-nav mr-auto">
|
||||
{% from 'bootstrap4/nav.html' import render_nav_item %}
|
||||
{{ render_nav_item('index', 'Home') }}
|
||||
{{ render_nav_item('results', 'Results') }}
|
||||
{{ render_nav_item('download_results', 'Download Results') }}
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
{% include "header.html" %}
|
||||
<main>
|
||||
<section id="scrapingFormContainer" class="container-fluid d-flex justify-content-center">
|
||||
<div class="container-md my-5 mx-2 shadow-lg p-4 ">
|
||||
@@ -67,5 +45,4 @@
|
||||
{{ bootstrap.load_js() }}
|
||||
<script src="{{url_for('.static', filename='app.js')}}"></script>
|
||||
{% endblock %}
|
||||
</body>
|
||||
</html>
|
||||
{% include "footer.html" %}
|
||||
Reference in New Issue
Block a user