From d0349fc7431101120c0162c8ca4ea83c9accf790 Mon Sep 17 00:00:00 2001 From: C-o-m-o-n Date: Wed, 25 Oct 2023 16:17:13 +0300 Subject: [PATCH] add county results --- app.py | 4 ++++ templates/county-results.html | 40 +++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 templates/county-results.html diff --git a/app.py b/app.py index 094701b..f2a17a0 100644 --- a/app.py +++ b/app.py @@ -14,6 +14,10 @@ def home(): def county_agents(): return render_template('county-agents.html', name="county-agents") +@app.route('/county-results') +def county_results(): + return render_template('county-results.html', name="county-results") + @app.route('/login') def login(): return render_template('login.html', name="login") diff --git a/templates/county-results.html b/templates/county-results.html new file mode 100644 index 0000000..9993e25 --- /dev/null +++ b/templates/county-results.html @@ -0,0 +1,40 @@ +{% extends "base.html" %} {% block title %} +County Results +{% endblock title %} + +{% block content %} + +
+
+
+

01

+

Mombasa

+
+ +
+

02

+

Kwale

+
+ +
+

03

+

kilifi

+
+ +
+

04

+

Tana River

+
+ +
+
+ + {% endblock content %} \ No newline at end of file