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:
Jens Langhammer 2021-02-27 17:26:20 +01:00
parent 9c73e9cf4e
commit c20856ca17
2 changed files with 0 additions and 6 deletions

View File

@ -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)

View File

@ -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";