From 837b486b587c365b0bd10544fb617a6fa768b27c Mon Sep 17 00:00:00 2001 From: Nabhi Agrawal <93393314+NabhiA@users.noreply.github.com> Date: Fri, 13 Oct 2023 00:28:32 +0530 Subject: [PATCH 01/12] Update standings.html --- templates/standings.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/standings.html b/templates/standings.html index 34faa85..895de4b 100644 --- a/templates/standings.html +++ b/templates/standings.html @@ -3,7 +3,7 @@ {% block head %} - Document + Standings {% endblock %} {% block body %} @@ -65,4 +65,4 @@

-{% endblock %} \ No newline at end of file +{% endblock %} From fb0bd7e35bdc5226fb3c0a332f8e655cd8e94cc7 Mon Sep 17 00:00:00 2001 From: Nabhi Agrawal <93393314+NabhiA@users.noreply.github.com> Date: Fri, 13 Oct 2023 00:33:32 +0530 Subject: [PATCH 02/12] Update Fan_Poll.html --- templates/Fan_Poll.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/Fan_Poll.html b/templates/Fan_Poll.html index bfd1c9f..819ee73 100644 --- a/templates/Fan_Poll.html +++ b/templates/Fan_Poll.html @@ -4,7 +4,7 @@ - World cup 2022 + World cup 2023 {% endblock %} From be7071ba508c8243f3f8fc6ed9907d14e5021d59 Mon Sep 17 00:00:00 2001 From: Nabhi Agrawal <93393314+NabhiA@users.noreply.github.com> Date: Fri, 13 Oct 2023 00:33:55 +0530 Subject: [PATCH 03/12] Update fixtures.html --- templates/fixtures.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/fixtures.html b/templates/fixtures.html index e91b91b..e071aa0 100644 --- a/templates/fixtures.html +++ b/templates/fixtures.html @@ -4,7 +4,7 @@ - World cup 2022 + World cup 2023 {% endblock %} @@ -39,4 +39,4 @@

{{ fixture.time }}

{% endfor %} -{% endblock %} \ No newline at end of file +{% endblock %} From 4b4a1ec1cda0742de096b71f615305a3d32ff816 Mon Sep 17 00:00:00 2001 From: Nabhi Agrawal <93393314+NabhiA@users.noreply.github.com> Date: Fri, 13 Oct 2023 00:34:13 +0530 Subject: [PATCH 04/12] Update standings.html --- templates/standings.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/standings.html b/templates/standings.html index 895de4b..901cbf9 100644 --- a/templates/standings.html +++ b/templates/standings.html @@ -3,7 +3,7 @@ {% block head %} - Standings + World cup 2023 {% endblock %} {% block body %} From 0ce05dc7c222dfa16db0c3ae038ef1791887e76d Mon Sep 17 00:00:00 2001 From: Anuraj Shukla <89661673+anurajshukla@users.noreply.github.com> Date: Sun, 22 Oct 2023 19:14:48 +0530 Subject: [PATCH 05/12] Update index.html --- templates/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/index.html b/templates/index.html index 7cabd03..f987c8d 100644 --- a/templates/index.html +++ b/templates/index.html @@ -8,6 +8,7 @@ {% block body %}
-{% endblock %} \ No newline at end of file +{% endblock %} From a0b699b82b36e3eee44f3cbf2b13f604ec9e1564 Mon Sep 17 00:00:00 2001 From: Anuraj Shukla <89661673+anurajshukla@users.noreply.github.com> Date: Sun, 22 Oct 2023 23:12:15 +0530 Subject: [PATCH 06/12] Update app.py --- app.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index aac061f..15d4607 100644 --- a/app.py +++ b/app.py @@ -9,25 +9,29 @@ with app.app_context(): populate(config) - + +# routing to main page @app.route('/') def index(): return render_template('index.html') +# routing to standings @app.route('/standings') def standings(): standings = standings_scapper(SCRAPPING_URL) return render_template('standings.html', standings=standings) +# routing to fixtures @app.route('/fixtures') def fixtures(): fixtures = config.Fixtures.query.all() return render_template('fixtures.html', fixtures=fixtures) +# routing to fan poll @app.route('/Fan_Poll') def Fan_Poll(): return render_template('Fan_Poll.html') if __name__ == "__main__": app.run(debug=True) - \ No newline at end of file + From fe6370864ff42c24ecc8181575e0bb388e21a00d Mon Sep 17 00:00:00 2001 From: Anuraj Shukla <89661673+anurajshukla@users.noreply.github.com> Date: Mon, 23 Oct 2023 14:53:14 +0530 Subject: [PATCH 07/12] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index faee118..cade49a 100644 --- a/README.md +++ b/README.md @@ -50,11 +50,11 @@ The website is structured according to Flask, organized into the following compo ## Getting Started 1. Clone the repository: `git clone https://github.com/IEEE-VIT/Howzat` -2. Checkout to a new branch: `git checkout -b my-amazing-feature` +2. Checkout to a new branch: `git checkout -b branch-name` 3. Make your changes. 4. `git add .` 5. `git commit -m "A short description of the feature."` -6. `git push origin my-amazing-feature` +6. `git push origin branch-name` 7. Open a pull request to the curated issues. To start contributing, [CONTRIBUTING.md](https://github.com/IEEE-VIT/Howzat/blob/main/CONTRIBUTING.md) .
Feel free to fork the repository and submit a pull request with your changes. We welcome improvements, bug fixes, and additional features! From 5f437eee587f97ebbad2603a187114fe559ed88e Mon Sep 17 00:00:00 2001 From: Anuraj Shukla <89661673+anurajshukla@users.noreply.github.com> Date: Mon, 23 Oct 2023 15:01:23 +0530 Subject: [PATCH 08/12] Update standings.html --- templates/standings.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/standings.html b/templates/standings.html index 901cbf9..bce4c5d 100644 --- a/templates/standings.html +++ b/templates/standings.html @@ -15,7 +15,7 @@

- +

Group Stage From beaf8008aa085df1cf1ebbef79dbf4ba12178be4 Mon Sep 17 00:00:00 2001 From: Akash Date: Sun, 29 Oct 2023 21:36:45 +0530 Subject: [PATCH 09/12] Update index.html --- templates/index.html | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/templates/index.html b/templates/index.html index f987c8d..a9674eb 100644 --- a/templates/index.html +++ b/templates/index.html @@ -7,12 +7,25 @@ {% endblock %} {% block body %}
- +

Welcome to ICC World Cup 2023

From 34de4efa8a3105db0d09a204a5726b942d828b50 Mon Sep 17 00:00:00 2001 From: Akash Date: Mon, 30 Oct 2023 15:28:41 +0530 Subject: [PATCH 10/12] Update fixtures.html --- templates/fixtures.html | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/templates/fixtures.html b/templates/fixtures.html index e071aa0..fb93f32 100644 --- a/templates/fixtures.html +++ b/templates/fixtures.html @@ -39,4 +39,32 @@

{{ fixture.time }}

{% endfor %} +
+ {% for fixture in fixtures %} +
+
+

{{ fixture.venue }}

+

{{ fixture.matchNumber }}

+
+
+
+

{{ fixture.team_1 }}

+
+ + VS + +
+

{{ fixture.team_2 }}

+
+
+
+
+

{{ fixture.day_month[-3:] }}

+

{{ fixture.date }}

+

+

{{ fixture.time }}

+
+
+ {% endfor %} +
{% endblock %} From f54d05d9d994d1e11ed42d27f2e0266d70f5661c Mon Sep 17 00:00:00 2001 From: Akash Date: Mon, 30 Oct 2023 15:32:13 +0530 Subject: [PATCH 11/12] Update index.html --- templates/index.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/templates/index.html b/templates/index.html index a9674eb..3d4ab8b 100644 --- a/templates/index.html +++ b/templates/index.html @@ -8,24 +8,25 @@ {% block body %}
+

Welcome to ICC World Cup 2023

From 5ddb2327c83a55dc9f521c060f73ecbdc1d6ae79 Mon Sep 17 00:00:00 2001 From: Akash Date: Mon, 30 Oct 2023 15:52:33 +0530 Subject: [PATCH 12/12] Update index.html --- templates/index.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/templates/index.html b/templates/index.html index 3d4ab8b..09279e3 100644 --- a/templates/index.html +++ b/templates/index.html @@ -7,6 +7,7 @@ {% endblock %} {% block body %}
+
7
- +
NZ
8
- +
PAK
9
- +
SA
10
- +
SL