This commit is contained in:
Holger Trampe 2020-05-19 22:31:36 +02:00
parent e7c6b6fb52
commit 7a56d56c30
3 changed files with 4 additions and 3 deletions

View File

@ -62,8 +62,6 @@ SECRET_KEY = '_qv2t2lmsctjxpbb4rrp=op%_20_hxzonv^mvty1o85c)l$s^q'
ALLOWED_HOSTS = ['digitale-agentur.com', 'www.digitale-agentur.com', '127.0.0.1', 'localhost', 'dev01.digitale-agentur.com', '10.0.2.2']
#CSRF_TRUSTED_ORIGINS = ['0.0.0.0', 'digitale-agentur.com', 'www.digitale-agentur.com', '127.0.0.1', 'localhost', 'dev01.digitale-agentur.com']
# FORWARD HEADERS
USE_X_FORWARDED_HOST = True
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')

View File

@ -334,6 +334,9 @@
<style type="text/css">
.roundimg {
border-radius: 50%;
-webkit-box-shadow: 0px 0px 4px 5px red;
-moz-box-shadow: 0px 0px 4px 5px red;
box-shadow: 0px 0px 4px 5px red;
}
</style>
<div class="topbar-divider d-none d-sm-block"></div>
@ -341,7 +344,7 @@
<li class="nav-item dropdown no-arrow">
<a class="nav-link dropdown-toggle" href="#" id="userDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<span class="mr-2 d-none d-lg-inline text-gray-600 small">{{request.user.first_name}} {{request.user.last_name}}</span>
<img class="img-profile roundimg" src="{{ user.profile.get_photo_url }}">
<img class="img-profile roundimg ml-2" src="{{ user.profile.get_photo_url }}">
</a>
<!-- Dropdown - User Information -->
<div class="dropdown-menu dropdown-menu-right shadow animated--grow-in" aria-labelledby="userDropdown">