Use this area to provide additional information.
-
-{% endblock %}
diff --git a/FlaskWebProject/FlaskWebProject/templates/contact.html b/FlaskWebProject/FlaskWebProject/templates/contact.html
deleted file mode 100644
index 9bd57e5..0000000
--- a/FlaskWebProject/FlaskWebProject/templates/contact.html
+++ /dev/null
@@ -1,20 +0,0 @@
-{% extends "layout.html" %}
-
-{% block content %}
-
-
-
Flask
-
Flask is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.
-
Learn more »
+
Witaj na stronie poświęconej statystykom Roberta Lewandowskiego!
+
Tu znajdziesz najnowsze informacje o meczach, golach, asystach i innych statystykach.
+
+
Ogólne statystyki:
+
Gole: {{ goals }}
+
Asysty: {{ assists }}
+
Liczba meczów: {{ matches }}
-
-
-
-
Getting started
-
- Flask gives you a powerful, patterns-based way to build dynamic websites that
- enables a clean separation of concerns and gives you full control over markup
- for enjoyable, agile development.
-
-
Learn more »
-
-
-
Get more libraries
-
The Python Package Index is a repository of software for the Python programming language.
-
Learn more »
-
-
-
Microsoft Azure
-
You can easily publish to Microsoft Azure using Visual Studio. Find out how you can host your application using a free trial today.
-
Learn more »
-
-
-
{% endblock %}
diff --git a/FlaskWebProject/FlaskWebProject/templates/layout.html b/FlaskWebProject/FlaskWebProject/templates/layout.html
deleted file mode 100644
index bf067a7..0000000
--- a/FlaskWebProject/FlaskWebProject/templates/layout.html
+++ /dev/null
@@ -1,118 +0,0 @@
-
-
-
-
-
Statystyki Roberta Lewandowskiego
-
-
-
-
-
-
Statystyki Roberta Lewandowskiego
-
-
-
-
Napastnik - FC Barcelona / Polska Reprezentacja
-
-
-
-
-
-
{{ assists }}
-
Asysty
-
-
-
{{ matches }}
-
Mecze
-
-
-
-
Szczegóły Meczy
-
-
- Data
- Przeciwnik
- Gole
- Asysty
- Minuty
-
- {% for match in matches %}
-
- {{ match.date }}
- {{ match.opponent }}
- {{ match.goals }}
- {{ match.assists }}
- {{ match.minutes }}
-
- {% endfor %}
-
-
-
-
diff --git a/FlaskWebProject/FlaskWebProject/templates/matches.html b/FlaskWebProject/FlaskWebProject/templates/matches.html
index 0574fe8..f6ef2a6 100644
--- a/FlaskWebProject/FlaskWebProject/templates/matches.html
+++ b/FlaskWebProject/FlaskWebProject/templates/matches.html
@@ -1,7 +1,9 @@
{% extends 'base.html' %}
-{% block title %}Historia meczów{% endblock %}
+
+{% block title %}Lista meczów{% endblock %}
+
{% block content %}
-
Historia ostatnich meczów
+
📅 Mecze Roberta
Data
diff --git a/FlaskWebProject/FlaskWebProject/templates/stats.html b/FlaskWebProject/FlaskWebProject/templates/stats.html
index d846fc3..e0c56e1 100644
--- a/FlaskWebProject/FlaskWebProject/templates/stats.html
+++ b/FlaskWebProject/FlaskWebProject/templates/stats.html
@@ -3,10 +3,10 @@
{% block title %}Statystyki{% endblock %}
{% block content %}
- Statystyki Roberta Lewandowskiego
-
- Gole: {{ stats.goals }}
- Asysty: {{ stats.assists }}
- Mecze: {{ stats.matches }}
-
+Statystyki Roberta Lewandowskiego
+
+ Gole: {{ stats.goals }}
+ Asysty: {{ stats.assists }}
+ Mecze: {{ stats.matches }}
+
{% endblock %}
diff --git a/FlaskWebProject/FlaskWebProject/views.py b/FlaskWebProject/FlaskWebProject/views.py
deleted file mode 100644
index 31bb47d..0000000
--- a/FlaskWebProject/FlaskWebProject/views.py
+++ /dev/null
@@ -1,37 +0,0 @@
-"""
-Routes and views for the flask application.
-"""
-
-from datetime import datetime
-from flask import render_template
-from FlaskWebProject import app
-
-@app.route('/')
-@app.route('/home')
-def home():
- """Renders the home page."""
- return render_template(
- 'index.html',
- title='Home Page',
- year=datetime.now().year,
- )
-
-@app.route('/contact')
-def contact():
- """Renders the contact page."""
- return render_template(
- 'contact.html',
- title='Contact',
- year=datetime.now().year,
- message='Your contact page.'
- )
-
-@app.route('/about')
-def about():
- """Renders the about page."""
- return render_template(
- 'about.html',
- title='About',
- year=datetime.now().year,
- message='Your application description page.'
- )