Skip to content

Commit 0d942a5

Browse files
committed
chore(passport): rename user.css to main.css
1 parent 955c4c5 commit 0d942a5

9 files changed

Lines changed: 8 additions & 8 deletions

File tree

rootfs/api/templates/oauth2_provider/authorize.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% load i18n %}
22
{% load static %}
3-
<link rel="stylesheet" href="{% static 'css/user.css' %}" type="text/css">
3+
<link rel="stylesheet" href="{% static 'css/main.css' %}" type="text/css">
44
<head>
55
<meta charset="UTF-8">
66
<title>Change Password</title>

rootfs/api/templates/user/login.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% load static %}
22

3-
<link rel="stylesheet" href="{% static 'css/user.css' %}" type="text/css">
3+
<link rel="stylesheet" href="{% static 'css/main.css' %}" type="text/css">
44
<head>
55
<meta charset="UTF-8">
66
<title>Login</title>

rootfs/api/templates/user/message.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% load static %}
22

3-
<link rel="stylesheet" href="{% static 'css/user.css' %}" type="text/css">
3+
<link rel="stylesheet" href="{% static 'css/main.css' %}" type="text/css">
44

55
<head>
66
<meta charset="UTF-8">

rootfs/api/templates/user/password_reset_confirm.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% load static %}
22

3-
<link rel="stylesheet" href="{% static 'css/user.css' %}" type="text/css">
3+
<link rel="stylesheet" href="{% static 'css/main.css' %}" type="text/css">
44
<head>
55
<meta charset="UTF-8">
66
<title>Reset Password</title>

rootfs/api/templates/user/password_reset_form.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% load static %}
2-
<link rel="stylesheet" href="{% static 'css/user.css' %}" type="text/css">
2+
<link rel="stylesheet" href="{% static 'css/main.css' %}" type="text/css">
33
<head>
44
<meta charset="UTF-8">
55
<title>Reset Password</title>

rootfs/api/templates/user/registration.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% load static %}
22

3-
<link rel="stylesheet" href="{% static 'css/user.css' %}" type="text/css">
3+
<link rel="stylesheet" href="{% static 'css/main.css' %}" type="text/css">
44

55
<head>
66
<meta charset="UTF-8">
File renamed without changes.

rootfs/api/views.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,12 @@ class RegistrationView(CreateView):
6767

6868
def get(self, request, *args, **kwargs):
6969
if settings.LDAP_ENDPOINT or not settings.REGISTRATION_ENABLED:
70-
return render(request, template_name='user/registration_fail.html')
70+
return render(request, template_name='user/registration_disable.html')
7171
return CreateView.get(self, request, *args, **kwargs)
7272

7373
def post(self, request, *args, **kwargs):
7474
if settings.LDAP_ENDPOINT or not settings.REGISTRATION_ENABLED:
75-
return render(request, template_name='user/registration_fail.html')
75+
return render(request, template_name='user/registration_disable.html')
7676
form = self.form_class(request.POST)
7777
self.object = None
7878
if form.is_valid():

0 commit comments

Comments
 (0)