-
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.
Merge pull request #295 from nossas/hotfix/general-changes-vpc
[Fix] Refinamento geral de Frontend da plataforma Vote Pelo Clima
- Loading branch information
Showing
15 changed files
with
119 additions
and
62 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
{% for partner in partners %} | ||
<a href="{{ partner.link }}" target="_blank" rel="noopener noreferrer"> | ||
{% if partner.link %} | ||
<a href="{{ partner.link }}" target="_blank" rel="noopener noreferrer"> | ||
<img src="{{ partner.logo.url }}" alt="{{ partner.name }}"> | ||
</a> | ||
{% else %} | ||
<div class="partner-logo"> | ||
<img src="{{ partner.logo.url }}" alt="{{ partner.name }}"> | ||
</a> | ||
</div> | ||
{% endif %} | ||
{% endfor %} |
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
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
14 changes: 14 additions & 0 deletions
14
app/org_eleicoes/votepeloclima/static/js/toggle_password.js
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
document.getElementById('togglePassword').addEventListener('click', function () { | ||
var passwordInput = document.getElementById('id_password'); | ||
var toggleIcon = document.getElementById('toggleIcon'); | ||
|
||
if (passwordInput.type === 'password') { | ||
passwordInput.type = 'text'; | ||
toggleIcon.classList.remove('bi-eye-slash'); | ||
toggleIcon.classList.add('bi-eye'); | ||
} else { | ||
passwordInput.type = 'password'; | ||
toggleIcon.classList.remove('bi-eye'); | ||
toggleIcon.classList.add('bi-eye-slash'); | ||
} | ||
}); |
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
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
Oops, something went wrong.