-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ec50878
commit 26600d3
Showing
5 changed files
with
44 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 9 additions & 2 deletions
11
app/eleicao/templates/eleicao/filters/candidate_list_filter.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,15 @@ | ||
<form class="flex flex-wrap gap-4 justify-between items-center pb-12 w-full filters"> | ||
<div class="max-w-xs form-control"> | ||
<form class="flex flex-wrap gap-4 items-center pb-12 w-full filters"> | ||
<div class="form-control"> | ||
<label class="label"> | ||
<span class="font-bold label-text">{{ form.uf.label }}</span> | ||
</label> | ||
{{ form.uf }} | ||
</div> | ||
<div class="form-control"> | ||
<label class="label"> | ||
<span class="font-bold label-text">{{ form.city.label }}</span> | ||
</label> | ||
{{ form.city }} | ||
</div> | ||
<input class="btn btn-primary" type="submit" value="Enviar" /> | ||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
{% load sekizai_tags static %} | ||
|
||
{% addtoblock "css" %} | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/select2.min.css" rel="stylesheet" /> | ||
{% endaddtoblock %} | ||
|
||
<main class="container mx-auto candidate-list"> | ||
<section class="list-header"> | ||
<div class="px-5 py-20 text-center text-[#1842AC]"> | ||
|
@@ -43,4 +49,10 @@ <h1 class="mb-3 text-4xl md:text-6xl">Conheça as candidaturas</h1> | |
<p class="py-6 text-center text-[#1842AC]">Não encontrou as candidaturas do seu bairro? <a href="#" class="font-bold">Seja voluntário(a)</a> e fortaleça a campanha no seu território.</p> | ||
</div> | ||
</section> | ||
</main> | ||
</main> | ||
|
||
{% addtoblock "js" %} | ||
<script src="https://code.jquery.com/jquery-3.7.0.min.js" integrity="sha256-2Pmvv0kuTBOenSvLm6bvfBSSHrUJ+3A7x6P5Ebd07/g=" crossorigin="anonymous"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/select2.min.js"></script> | ||
<script src="{% static 'js/widgets/cep-fields.js' %}"></script> | ||
{% endaddtoblock %} |