-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upgrade dependencies, fix bugs in forms
- Loading branch information
Showing
9 changed files
with
28 additions
and
55 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -8,9 +8,8 @@ | |
<!-- jQuery --> | ||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | ||
<!-- BS JavaScript --> | ||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script> | ||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous"> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script> | ||
|
||
{% if title %} | ||
<title>EuroVote - {{ title }}</title> | ||
|
@@ -21,6 +20,7 @@ | |
<body> | ||
<header> | ||
<nav class="navbar navbar-expand-lg navbar-light bg-light"> | ||
<div class="container"> | ||
<a class="navbar-brand" href="{% url 'my_ratings' %}">EuroVote</a> | ||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation"> | ||
<span class="navbar-toggler-icon"></span> | ||
|
@@ -47,6 +47,7 @@ | |
<a class="nav-link" href="{% url 'login' %}">Register/Login</a> | ||
</li> | ||
{% endif %} | ||
</div> | ||
</ul> | ||
</div> | ||
</nav> | ||
|
@@ -56,10 +57,10 @@ | |
{% if messages %} | ||
{% for message in messages %} | ||
<div class="alert alert-{{ message.tags }} alert-dismissible fade show" role="alert"> | ||
<div class="container"> | ||
{{message}} | ||
<button type="button" class="close" data-dismiss="alert" aria-label="Close"> | ||
<span aria-hidden="true">×</span> | ||
</button> | ||
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button> | ||
</div> | ||
</div> | ||
{% endfor %} | ||
{% endif %} | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
{% block content %} | ||
|
||
<div class="container"> | ||
<br> | ||
<p>You have succesfully logged out!</p> | ||
</div> | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,6 @@ | ||
asgiref==3.3.4 | ||
boto3==1.17.77 | ||
botocore==1.20.77 | ||
defusedxml==0.7.1 | ||
diff-match-patch==20200713 | ||
Django==3.2.3 | ||
django-countries==7.3.2 | ||
django-crispy-forms==1.11.2 | ||
django-import-export==2.5.0 | ||
django-storages==1.11.1 | ||
django-storages[azure] | ||
et-xmlfile==1.1.0 | ||
jmespath==0.10.0 | ||
MarkupPy==1.14 | ||
mysqlclient==2.1.0 | ||
numpy==1.22.3 | ||
odfpy==1.4.1 | ||
openpyxl==3.0.7 | ||
python-dateutil==2.8.1 | ||
python-environ==0.4.54 | ||
pytz==2021.1 | ||
PyYAML==5.4.1 | ||
s3transfer==0.4.2 | ||
six==1.16.0 | ||
scipy==1.8.0 | ||
sqlparse==0.4.1 | ||
tablib==3.0.0 | ||
urllib3==1.26.4 | ||
xlrd==2.0.1 | ||
xlwt==1.3.0 | ||
Django==4.2.1 | ||
django-environ==0.10.0 | ||
django_countries==7.5.1 | ||
django-crispy-forms==2.0 | ||
django-import-export==3.2.0 | ||
crispy-bootstrap5==0.7 |