Skip to content

Commit

Permalink
Update privacy policy and social app login buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
MaertHaekkinen committed Oct 3, 2023
1 parent bd5291d commit 0259d8a
Show file tree
Hide file tree
Showing 6 changed files with 510 additions and 9 deletions.
6 changes: 2 additions & 4 deletions ajapaik/ajapaik/static/css/ajp-style.css
Original file line number Diff line number Diff line change
Expand Up @@ -636,22 +636,20 @@ a.fullscreen {

.facebook-connect a {
width: 169px;
height: 21px;
height: 28px;
background: url(../images/connect-with-facebook.png) no-repeat;
}

.wikimedia-commons-connect a {
width: 169px;
height: 57px;
background: url(../images/connect-with-wikimedia-commons.png) no-repeat;
margin-top: -5px;
}

.google-connect a {
width: 169px;
height: 57px;
height: 30px;
background: url(../images/connect-with-google.png) no-repeat;
margin-top: -5px;
}

.ir {
Expand Down
Binary file modified ajapaik/ajapaik/static/images/connect-with-facebook.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ajapaik/ajapaik/static/images/connect-with-google.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions ajapaik/ajapaik/templates/authentication/_login.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@

{% with 'facebook google wikimedia-commons' as provider_list %}
{% for provider in provider_list.split %}
<div class="{{provider}}-connect my-1">
<a href="{% provider_login_url provider %}?next={% if next %}{{ next|urlencode }}{% else %}{{ request.get_full_path|urlencode }}{% endif %}" class="ir">{% blocktrans %}Connect with {{provider}}{% endblocktrans %}</a>
<div class="{{provider}}-connect my-2">
<a href="/?next={% if next %}{{ next|urlencode }}{% else %}{{ request.get_full_path|urlencode }}{% endif %}" class="ir">{% blocktrans %}Connect with {{provider}}{% endblocktrans %}</a>
</div>
{% endfor %}
{% endwith %}
Expand Down
Loading

0 comments on commit 0259d8a

Please sign in to comment.