New color scheme and UI design

This commit is contained in:
Raphael Michel
2018-04-01 19:16:12 +02:00
parent 7bb18f6fad
commit ca603f41db
19 changed files with 451 additions and 48 deletions

View File

@@ -255,7 +255,7 @@ class WidgetCartTest(CartTestMixin, TestCase):
def test_css_customized(self):
response = self.client.get('/%s/%s/widget/v1.css' % (self.orga.slug, self.event.slug))
c = b"".join(response.streaming_content).decode()
assert '#8E44B3' in c
assert '#7f5a91' in c
assert '#33c33c' not in c
assert '#34c34c' not in c
@@ -263,7 +263,7 @@ class WidgetCartTest(CartTestMixin, TestCase):
regenerate_organizer_css.apply(args=(self.orga.pk,))
response = self.client.get('/%s/%s/widget/v1.css' % (self.orga.slug, self.event.slug))
c = b"".join(response.streaming_content).decode()
assert '#8E44B3' not in c
assert '#7f5a91' not in c
assert '#33c33c' in c
assert '#34c34c' not in c
@@ -271,7 +271,7 @@ class WidgetCartTest(CartTestMixin, TestCase):
regenerate_css.apply(args=(self.event.pk,))
response = self.client.get('/%s/%s/widget/v1.css' % (self.orga.slug, self.event.slug))
c = b"".join(response.streaming_content).decode()
assert '#8E44B3' not in c
assert '#7f5a91' not in c
assert '#33c33c' not in c
assert '#34c34c' in c