mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-16 07:50:16 +02:00
Moved authentication
and services
into allianceauth
folder
This commit is contained in:
parent
20231ce198
commit
004100091f
@ -322,7 +322,7 @@ class UserAdmin(BaseUserAdmin):
|
|||||||
|
|
||||||
class Media:
|
class Media:
|
||||||
css = {
|
css = {
|
||||||
"all": ("authentication/css/admin.css",)
|
"all": ("allianceauth/authentication/css/admin.css",)
|
||||||
}
|
}
|
||||||
|
|
||||||
def get_queryset(self, request):
|
def get_queryset(self, request):
|
||||||
@ -542,7 +542,7 @@ class BaseOwnershipAdmin(admin.ModelAdmin):
|
|||||||
|
|
||||||
class Media:
|
class Media:
|
||||||
css = {
|
css = {
|
||||||
"all": ("authentication/css/admin.css",)
|
"all": ("allianceauth/authentication/css/admin.css",)
|
||||||
}
|
}
|
||||||
|
|
||||||
def get_readonly_fields(self, request, obj=None):
|
def get_readonly_fields(self, request, obj=None):
|
||||||
|
Before Width: | Height: | Size: 158 KiB After Width: | Height: | Size: 158 KiB |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
@ -7,6 +7,6 @@
|
|||||||
|
|
||||||
{% block middle_box_content %}
|
{% block middle_box_content %}
|
||||||
<a href="{% url 'auth_sso_login' %}{% if request.GET.next %}?next={{request.GET.next}}{%endif%}">
|
<a href="{% url 'auth_sso_login' %}{% if request.GET.next %}?next={{request.GET.next}}{%endif%}">
|
||||||
<img class="img-responsive center-block" src="{% static 'authentication/img/sso/EVE_SSO_Login_Buttons_Large_Black.png' %}">
|
<img class="img-responsive center-block" src="{% static 'allianceauth/authentication/img/sso/EVE_SSO_Login_Buttons_Large_Black.png' %}">
|
||||||
</a>
|
</a>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -17,7 +17,7 @@ class ServicesUserAdmin(admin.ModelAdmin):
|
|||||||
"""Parent class for UserAdmin classes for all services"""
|
"""Parent class for UserAdmin classes for all services"""
|
||||||
class Media:
|
class Media:
|
||||||
css = {
|
css = {
|
||||||
"all": ("services/admin.css",)
|
"all": ("allianceauth/services/admin.css",)
|
||||||
}
|
}
|
||||||
|
|
||||||
search_fields = ('user__username',)
|
search_fields = ('user__username',)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user