web: fix colourstyles not being included in common_styles
# Conflicts: # authentik/events/geo.py # web/src/elements/buttons/TokenCopyButton.ts
This commit is contained in:
		| @ -2,7 +2,6 @@ | |||||||
|  |  | ||||||
| from django import forms | from django import forms | ||||||
|  |  | ||||||
| from authentik.core.models import Group |  | ||||||
| from authentik.lib.widgets import GroupedModelChoiceField | from authentik.lib.widgets import GroupedModelChoiceField | ||||||
| from authentik.policies.models import Policy, PolicyBinding, PolicyBindingModel | from authentik.policies.models import Policy, PolicyBinding, PolicyBindingModel | ||||||
|  |  | ||||||
| @ -20,9 +19,6 @@ class PolicyBindingForm(forms.ModelForm): | |||||||
|     policy = GroupedModelChoiceField( |     policy = GroupedModelChoiceField( | ||||||
|         queryset=Policy.objects.all().select_subclasses(), |         queryset=Policy.objects.all().select_subclasses(), | ||||||
|     ) |     ) | ||||||
|     group = forms.ModelChoiceField( |  | ||||||
|         queryset=Group.objects.all().order_by("name"), required=False |  | ||||||
|     ) |  | ||||||
|  |  | ||||||
|     def __init__(self, *args, **kwargs): |     def __init__(self, *args, **kwargs): | ||||||
|         super().__init__(*args, **kwargs) |         super().__init__(*args, **kwargs) | ||||||
|  | |||||||
| @ -1,5 +1,3 @@ | |||||||
| import { css } from "lit-element"; |  | ||||||
|  |  | ||||||
| export const PRIMARY_CLASS = "pf-m-primary"; | export const PRIMARY_CLASS = "pf-m-primary"; | ||||||
| export const SUCCESS_CLASS = "pf-m-success"; | export const SUCCESS_CLASS = "pf-m-success"; | ||||||
| export const ERROR_CLASS = "pf-m-danger"; | export const ERROR_CLASS = "pf-m-danger"; | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Jens Langhammer
					Jens Langhammer