Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
40 changes: 40 additions & 0 deletions templates/county-results.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{% extends "base.html" %} {% block title %}
<title>County Results</title>
{% endblock title %}

{% block content %}
<!-- top list -->
<div class="m-2">
<div class="flex flex-row items-center scroll-smooth">
<div
class="flex flex-col mx-1 justify-center items-center rounded-2xl bg-[#162743] border border-[#1d3050] px-2 py-4 w-1/4"
>
<p class="text-[#7a8696] rounded-lg bg-[#143256] px-1 py-1 w-8">01</p>
<p class="text-[#7a8696] text-sm">Mombasa</p>
</div>

<div
class="flex flex-col mx-1 justify-center items-center rounded-2xl bg-[#162743] border border-[#1d3050] px-2 py-4 w-1/4"
>
<p class="text-[#7a8696] rounded-lg bg-[#1b3745] px-1 py-1 w-8">02</p>
<p class="text-[#7a8696] text-sm">Kwale</p>
</div>

<div
class="flex flex-col mx-1 justify-center items-center rounded-2xl bg-[#162743] border border-[#1d3050] px-2 py-4 w-1/4"
>
<p class="text-[#7a8696] rounded-lg bg-[#1b3745] px-1 py-1 w-8">03</p>
<p class="text-[#7a8696] text-sm">kilifi</p>
</div>

<div
class="flex flex-col mx-1 justify-center items-center rounded-2xl bg-[#162743] border border-[#1d3050] px-2 py-4 w-1/4"
>
<p class="text-[#7a8696] rounded-lg bg-[#1b3745] px-1 py-1 w-8">04</p>
<p class="text-[#7a8696] text-sm">Tana River</p>
</div>

</div>
</div>
<!-- top list ends -->
{% endblock content %}