From 4db4610026d86f017dca365e32d590582b3b1797 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexa=20Valentov=C3=A1?= <git@imaniti.org> Date: Tue, 11 Mar 2025 21:15:40 +0100 Subject: [PATCH] Update round button block padding, fix YT video styling, re-add video headers --- ...er_districtarticlepage_content_and_more.py | 60 +++++++++++++++++++ ...0066_alter_electionsarticlepage_content.py | 19 ++++++ main/blocks.py | 10 ++++ .../0148_alter_mainhomepage_content.py | 20 +++++++ ..._alter_mainarticlepage_content_and_more.py | 24 ++++++++ shared/blocks/parents/video.py | 6 ++ .../atoms/buttons/round_button_block.html | 2 +- .../atoms/youtube_video/youtube_video.html | 24 +++++++- .../includes/molecules/menus/carousel.html | 12 +++- ...lter_uniwebarticlepage_content_and_more.py | 44 ++++++++++++++ 10 files changed, 215 insertions(+), 6 deletions(-) create mode 100644 district/migrations/0309_alter_districtarticlepage_content_and_more.py create mode 100644 elections/migrations/0066_alter_electionsarticlepage_content.py create mode 100644 main/migrations/0148_alter_mainhomepage_content.py create mode 100644 main/migrations/0149_alter_mainarticlepage_content_and_more.py create mode 100644 uniweb/migrations/0121_alter_uniwebarticlepage_content_and_more.py diff --git a/district/migrations/0309_alter_districtarticlepage_content_and_more.py b/district/migrations/0309_alter_districtarticlepage_content_and_more.py new file mode 100644 index 00000000..714ddbb7 --- /dev/null +++ b/district/migrations/0309_alter_districtarticlepage_content_and_more.py @@ -0,0 +1,60 @@ +# Generated by Django 5.0.7 on 2025-03-11 19:56 + +import shared.blocks.children.chart +import wagtail.fields +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('district', '0308_districthomepage_has_expanded_navbar'), + ] + + operations = [ + migrations.AlterField( + model_name='districtarticlepage', + name='content', + field=wagtail.fields.StreamField([('text', 0), ('advanced_text', 4), ('two_columns_text', 7), ('headline', 12), ('headline_with_picture', 15), ('picture_list', 19), ('flip_cards', 30), ('table', 31), ('popout_table', 32), ('gallery', 35), ('figure', 38), ('card', 62), ('two_columns', 71), ('three_columns', 73), ('youtube', 74), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68), ('popout_point', 78), ('quote', 81), ('download', 83)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {}), 46: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 48: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 49: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 50: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('osm-mapnik', 'OSM Mapnik'), ('stadia-osm-bright', 'Stadia OSM Bright'), ('stadia-outdoors', 'Stadia Outdoors'), ('mapbox-streets', 'Mapbox Streets'), ('mapbox-outdoors', 'Mapbox Outdoors'), ('mapbox-light', 'Mapbox Light'), ('mapbox-dark', 'Mapbox Dark'), ('mapbox-satellite', 'Mapbox Satellite'), ('mapbox-pirate', 'Mapbox Pirate Theme')], 'label': 'Styl'}), 51: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 52: ('wagtail.blocks.StructBlock', [[('lat', 46), ('lon', 47), ('hex_color', 48), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 53: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 54: ('wagtail.blocks.TextBlock', (), {'help_text': "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", 'label': 'Geodata', 'required': True}), 55: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 56: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 57: ('wagtail.blocks.StructBlock', [[('title', 53), ('description', 37), ('geojson', 54), ('image', 39), ('link', 55), ('hex_color', 56)]], {'required': True}), 58: ('wagtail.blocks.ListBlock', (57,), {'label': 'Součásti'}), 59: ('wagtail.blocks.StructBlock', [[('features', 58), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Mapová kolekce'}), 60: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59)]], {'label': 'Obsah', 'required': False}), 61: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 62: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 60), ('page', 61), ('link', 55)]], {}), 63: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 64: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black', 'ÄŚerná'), ('white', 'BĂlá'), ('pirati-yellow', 'Ĺ˝lutá'), ('grey-125', 'SvÄ›tle šedá'), ('blue-300', 'Modrá'), ('cyan-200', 'Tyrkysová'), ('green-400', 'Zelená'), ('violet-400', 'VĂnová'), ('red-600', 'ÄŚervená')], 'label': 'Barva'}), 65: ('wagtail.blocks.BooleanBlock', (), {'default': True, 'help_text': 'Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.', 'label': 'Animovat na hover', 'required': False}), 66: ('wagtail.blocks.StructBlock', [[('title', 63), ('color', 64), ('hoveractive', 65), ('page', 61), ('link', 55), ('align', 11)]], {}), 67: ('wagtail.blocks.ListBlock', (66,), {'label': 'TlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('buttons', 67)]], {}), 69: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('right_column_content', 70)]], {}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('middle_column_content', 72), ('right_column_content', 70)]], {}), 74: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {'label': 'YouTube video'}), 75: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 76: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 77: ('wagtail.blocks.StreamBlock', [[('text', 76), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 78: ('wagtail.blocks.StructBlock', [[('name', 75), ('content', 77)]], {}), 79: ('wagtail.blocks.CharBlock', (), {'label': 'Citace'}), 80: ('wagtail.blocks.CharBlock', (), {'label': 'JmĂ©no autora'}), 81: ('wagtail.blocks.StructBlock', [[('quote', 79), ('autor_name', 80)]], {}), 82: ('wagtail.documents.blocks.DocumentChooserBlock', (), {'label': 'StáhnutelnĂ˝ soubor'}), 83: ('wagtail.blocks.StructBlock', [[('file', 82)]], {})}, verbose_name='ÄŚlánek'), + ), + migrations.AlterField( + model_name='districtcenterpage', + name='content', + field=wagtail.fields.StreamField([('text', 0), ('advanced_text', 4), ('two_columns_text', 7), ('headline', 12), ('headline_with_picture', 15), ('picture_list', 19), ('flip_cards', 30), ('table', 31), ('popout_table', 32), ('gallery', 35), ('figure', 38), ('card', 62), ('two_columns', 71), ('three_columns', 73), ('youtube', 74), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68), ('popout_point', 77), ('chart', 99), ('related', 102), ('related_links', 102), ('badge_list', 107), ('badge', 105), ('contact', 112)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {}), 46: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 48: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 49: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 50: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('osm-mapnik', 'OSM Mapnik'), ('stadia-osm-bright', 'Stadia OSM Bright'), ('stadia-outdoors', 'Stadia Outdoors'), ('mapbox-streets', 'Mapbox Streets'), ('mapbox-outdoors', 'Mapbox Outdoors'), ('mapbox-light', 'Mapbox Light'), ('mapbox-dark', 'Mapbox Dark'), ('mapbox-satellite', 'Mapbox Satellite'), ('mapbox-pirate', 'Mapbox Pirate Theme')], 'label': 'Styl'}), 51: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 52: ('wagtail.blocks.StructBlock', [[('lat', 46), ('lon', 47), ('hex_color', 48), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 53: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 54: ('wagtail.blocks.TextBlock', (), {'help_text': "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", 'label': 'Geodata', 'required': True}), 55: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 56: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 57: ('wagtail.blocks.StructBlock', [[('title', 53), ('description', 37), ('geojson', 54), ('image', 39), ('link', 55), ('hex_color', 56)]], {'required': True}), 58: ('wagtail.blocks.ListBlock', (57,), {'label': 'Součásti'}), 59: ('wagtail.blocks.StructBlock', [[('features', 58), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Mapová kolekce'}), 60: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59)]], {'label': 'Obsah', 'required': False}), 61: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 62: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 60), ('page', 61), ('link', 55)]], {}), 63: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 64: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black', 'ÄŚerná'), ('white', 'BĂlá'), ('pirati-yellow', 'Ĺ˝lutá'), ('grey-125', 'SvÄ›tle šedá'), ('blue-300', 'Modrá'), ('cyan-200', 'Tyrkysová'), ('green-400', 'Zelená'), ('violet-400', 'VĂnová'), ('red-600', 'ÄŚervená')], 'label': 'Barva'}), 65: ('wagtail.blocks.BooleanBlock', (), {'default': True, 'help_text': 'Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.', 'label': 'Animovat na hover', 'required': False}), 66: ('wagtail.blocks.StructBlock', [[('title', 63), ('color', 64), ('hoveractive', 65), ('page', 61), ('link', 55), ('align', 11)]], {}), 67: ('wagtail.blocks.ListBlock', (66,), {'label': 'TlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('buttons', 67)]], {}), 69: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('right_column_content', 70)]], {}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('middle_column_content', 72), ('right_column_content', 70)]], {}), 74: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {'label': 'YouTube video'}), 75: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 76: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 77: ('wagtail.blocks.StructBlock', [[('name', 75), ('content', 76)]], {}), 78: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'max_length': 120}), 79: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('bar', 'Graf se sloupci'), ('horizontalBar', 'Graf s vodorovnĂ˝mi sloupci'), ('pie', 'KoláčovĂ˝ graf'), ('doughnut', 'DonutovĂ˝ graf'), ('polarArea', 'Graf polárnĂ oblasti'), ('radar', 'RadarovĂ˝ graf'), ('line', 'Graf s liniemi')], 'label': 'Typ'}), 80: ('wagtail.blocks.BooleanBlock', (), {'help_text': 'MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.', 'label': 'Schovat body', 'required': False}), 81: ('wagtail.blocks.CharBlock', (), {'label': 'Skupina', 'max_length': 40}), 82: ('wagtail.blocks.ListBlock', (81,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnÄ› definovanĂ© skupiny', 'required': False}), 83: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ zdroje dat', 'max_length': 120}), 84: ('wagtail.blocks.IntegerBlock', (), {}), 85: ('wagtail.blocks.ListBlock', (84,), {'default': [0], 'label': 'Data'}), 86: ('wagtail.blocks.StructBlock', [[('label', 83), ('data', 85)]], {}), 87: ('wagtail.blocks.ListBlock', (86,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnĂ zdroje dat', 'required': False}), 88: ('wagtail.blocks.MultipleChoiceBlock', [], {'choices': shared.blocks.children.chart.get_redmine_projects, 'label': 'Projekty'}), 89: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen otevĹ™enĂ©', 'required': False}), 90: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen uzavĹ™enĂ©', 'required': False}), 91: ('wagtail.blocks.DateBlock', (), {'label': 'Min. datum vytvoĹ™enĂ', 'required': True}), 92: ('wagtail.blocks.DateBlock', (), {'label': 'Max. datum vytvoĹ™enĂ', 'required': True}), 93: ('wagtail.blocks.CharBlock', (), {'help_text': 'NapĹ™. <=2023-01-01. VĂce informacĂ na pi2.cz/redmine-api', 'label': 'Filtr pro datum aktualizace', 'max_length': 128, 'required': False}), 94: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu', 'max_length': 128, 'required': True}), 95: ('wagtail.blocks.BooleanBlock', (), {'label': 'RozdÄ›lit podle projektu', 'required': False}), 96: ('wagtail.blocks.BooleanBlock', (), {'label': 'Pouze rĹŻst nahoru', 'required': False}), 97: ('wagtail.blocks.StructBlock', [[('projects', 88), ('is_open', 89), ('is_closed', 90), ('created_on_min_date', 91), ('created_on_max_date', 92), ('updated_on', 93), ('issue_label', 94), ('split_per_project', 95), ('only_grow', 96)]], {'label': 'Redmine Ăşkoly'}), 98: ('wagtail.blocks.ListBlock', (97,), {'blank': True, 'default': [], 'help_text': 'Ăškoly, podle doby vytvoĹ™enĂ. Pokud definuješ vĂce zdrojĹŻ, datumy v nich musĂ bĂ˝t stejnĂ©.', 'label': 'Zdroje dat z Redmine (Ăşkoly)', 'required': False}), 99: ('wagtail.blocks.StructBlock', [[('title', 78), ('chart_type', 79), ('hide_points', 80), ('local_labels', 82), ('local_datasets', 87), ('redmine_issue_datasets', 98)]], {}), 100: ('wagtail.blocks.PageChooserBlock', ('district.DistrictArticlePage',), {'label': 'Aktualita', 'required': True}), 101: ('wagtail.blocks.ListBlock', (100,), {'label': 'Seznam aktualit', 'required': True}), 102: ('wagtail.blocks.StructBlock', [[('articles', 101)]], {}), 103: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Osoba', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage'], 'required': True}), 104: ('wagtail.blocks.CharBlock', (), {'help_text': 'VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.', 'label': 'Popisek', 'required': False}), 105: ('wagtail.blocks.StructBlock', [[('person', 103), ('caption', 104)]], {}), 106: ('wagtail.blocks.ListBlock', (105,), {'label': 'Vizitky'}), 107: ('wagtail.blocks.StructBlock', [[('people', 106)]], {}), 108: ('wagtail.blocks.CharBlock', (), {'label': 'Název pozice', 'required': False}), 109: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Osoba', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage']}), 110: ('wagtail.blocks.StructBlock', [[('position', 108), ('person', 109)]], {}), 111: ('wagtail.blocks.ListBlock', (110,), {}), 112: ('wagtail.blocks.StructBlock', [[('title', 53), ('contact_list', 111)]], {})}, verbose_name='Obsah'), + ), + migrations.AlterField( + model_name='districtcrossroadpage', + name='content', + field=wagtail.fields.StreamField([('text', 0), ('advanced_text', 4), ('two_columns_text', 7), ('headline', 12), ('headline_with_picture', 15), ('picture_list', 19), ('flip_cards', 30), ('table', 31), ('popout_table', 32), ('gallery', 35), ('figure', 38), ('card', 62), ('two_columns', 71), ('three_columns', 73), ('youtube', 74), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68), ('popout_point', 77), ('chart', 99), ('related', 102), ('related_links', 102), ('badge', 105), ('new_people_group', 114)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {}), 46: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 48: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 49: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 50: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('osm-mapnik', 'OSM Mapnik'), ('stadia-osm-bright', 'Stadia OSM Bright'), ('stadia-outdoors', 'Stadia Outdoors'), ('mapbox-streets', 'Mapbox Streets'), ('mapbox-outdoors', 'Mapbox Outdoors'), ('mapbox-light', 'Mapbox Light'), ('mapbox-dark', 'Mapbox Dark'), ('mapbox-satellite', 'Mapbox Satellite'), ('mapbox-pirate', 'Mapbox Pirate Theme')], 'label': 'Styl'}), 51: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 52: ('wagtail.blocks.StructBlock', [[('lat', 46), ('lon', 47), ('hex_color', 48), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 53: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 54: ('wagtail.blocks.TextBlock', (), {'help_text': "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", 'label': 'Geodata', 'required': True}), 55: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 56: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 57: ('wagtail.blocks.StructBlock', [[('title', 53), ('description', 37), ('geojson', 54), ('image', 39), ('link', 55), ('hex_color', 56)]], {'required': True}), 58: ('wagtail.blocks.ListBlock', (57,), {'label': 'Součásti'}), 59: ('wagtail.blocks.StructBlock', [[('features', 58), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Mapová kolekce'}), 60: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59)]], {'label': 'Obsah', 'required': False}), 61: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 62: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 60), ('page', 61), ('link', 55)]], {}), 63: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 64: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black', 'ÄŚerná'), ('white', 'BĂlá'), ('pirati-yellow', 'Ĺ˝lutá'), ('grey-125', 'SvÄ›tle šedá'), ('blue-300', 'Modrá'), ('cyan-200', 'Tyrkysová'), ('green-400', 'Zelená'), ('violet-400', 'VĂnová'), ('red-600', 'ÄŚervená')], 'label': 'Barva'}), 65: ('wagtail.blocks.BooleanBlock', (), {'default': True, 'help_text': 'Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.', 'label': 'Animovat na hover', 'required': False}), 66: ('wagtail.blocks.StructBlock', [[('title', 63), ('color', 64), ('hoveractive', 65), ('page', 61), ('link', 55), ('align', 11)]], {}), 67: ('wagtail.blocks.ListBlock', (66,), {'label': 'TlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('buttons', 67)]], {}), 69: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('right_column_content', 70)]], {}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('middle_column_content', 72), ('right_column_content', 70)]], {}), 74: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {'label': 'YouTube video'}), 75: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 76: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 77: ('wagtail.blocks.StructBlock', [[('name', 75), ('content', 76)]], {}), 78: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'max_length': 120}), 79: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('bar', 'Graf se sloupci'), ('horizontalBar', 'Graf s vodorovnĂ˝mi sloupci'), ('pie', 'KoláčovĂ˝ graf'), ('doughnut', 'DonutovĂ˝ graf'), ('polarArea', 'Graf polárnĂ oblasti'), ('radar', 'RadarovĂ˝ graf'), ('line', 'Graf s liniemi')], 'label': 'Typ'}), 80: ('wagtail.blocks.BooleanBlock', (), {'help_text': 'MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.', 'label': 'Schovat body', 'required': False}), 81: ('wagtail.blocks.CharBlock', (), {'label': 'Skupina', 'max_length': 40}), 82: ('wagtail.blocks.ListBlock', (81,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnÄ› definovanĂ© skupiny', 'required': False}), 83: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ zdroje dat', 'max_length': 120}), 84: ('wagtail.blocks.IntegerBlock', (), {}), 85: ('wagtail.blocks.ListBlock', (84,), {'default': [0], 'label': 'Data'}), 86: ('wagtail.blocks.StructBlock', [[('label', 83), ('data', 85)]], {}), 87: ('wagtail.blocks.ListBlock', (86,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnĂ zdroje dat', 'required': False}), 88: ('wagtail.blocks.MultipleChoiceBlock', [], {'choices': shared.blocks.children.chart.get_redmine_projects, 'label': 'Projekty'}), 89: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen otevĹ™enĂ©', 'required': False}), 90: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen uzavĹ™enĂ©', 'required': False}), 91: ('wagtail.blocks.DateBlock', (), {'label': 'Min. datum vytvoĹ™enĂ', 'required': True}), 92: ('wagtail.blocks.DateBlock', (), {'label': 'Max. datum vytvoĹ™enĂ', 'required': True}), 93: ('wagtail.blocks.CharBlock', (), {'help_text': 'NapĹ™. <=2023-01-01. VĂce informacĂ na pi2.cz/redmine-api', 'label': 'Filtr pro datum aktualizace', 'max_length': 128, 'required': False}), 94: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu', 'max_length': 128, 'required': True}), 95: ('wagtail.blocks.BooleanBlock', (), {'label': 'RozdÄ›lit podle projektu', 'required': False}), 96: ('wagtail.blocks.BooleanBlock', (), {'label': 'Pouze rĹŻst nahoru', 'required': False}), 97: ('wagtail.blocks.StructBlock', [[('projects', 88), ('is_open', 89), ('is_closed', 90), ('created_on_min_date', 91), ('created_on_max_date', 92), ('updated_on', 93), ('issue_label', 94), ('split_per_project', 95), ('only_grow', 96)]], {'label': 'Redmine Ăşkoly'}), 98: ('wagtail.blocks.ListBlock', (97,), {'blank': True, 'default': [], 'help_text': 'Ăškoly, podle doby vytvoĹ™enĂ. Pokud definuješ vĂce zdrojĹŻ, datumy v nich musĂ bĂ˝t stejnĂ©.', 'label': 'Zdroje dat z Redmine (Ăşkoly)', 'required': False}), 99: ('wagtail.blocks.StructBlock', [[('title', 78), ('chart_type', 79), ('hide_points', 80), ('local_labels', 82), ('local_datasets', 87), ('redmine_issue_datasets', 98)]], {}), 100: ('wagtail.blocks.PageChooserBlock', ('district.DistrictArticlePage',), {'label': 'Aktualita', 'required': True}), 101: ('wagtail.blocks.ListBlock', (100,), {'label': 'Seznam aktualit', 'required': True}), 102: ('wagtail.blocks.StructBlock', [[('articles', 101)]], {}), 103: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Osoba', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage'], 'required': True}), 104: ('wagtail.blocks.CharBlock', (), {'help_text': 'VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.', 'label': 'Popisek', 'required': False}), 105: ('wagtail.blocks.StructBlock', [[('person', 103), ('caption', 104)]], {}), 106: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek'}), 107: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no', 'label': 'Slug skupiny', 'required': False}), 108: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage']}), 109: ('wagtail.blocks.ListBlock', (108,), {'default': [], 'help_text': 'S pozicemi z jejich podstránek', 'label': 'Osoby'}), 110: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage', 'district.DistrictPersonPage']}), 111: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.', 'label': 'Pozice', 'required': False}), 112: ('wagtail.blocks.StructBlock', [[('page', 110), ('position', 111)]], {}), 113: ('wagtail.blocks.ListBlock', (112,), {'default': [], 'help_text': 'S nastavitelnĂ˝mi pozicemi', 'label': 'Osoby'}), 114: ('wagtail.blocks.StructBlock', [[('title', 106), ('slug', 107), ('person_list', 109), ('person_list_with_custom_positions', 113)]], {})}, verbose_name='Obsah stránky'), + ), + migrations.AlterField( + model_name='districtcustompage', + name='content', + field=wagtail.fields.StreamField([('text', 0), ('advanced_text', 4), ('two_columns_text', 7), ('headline', 12), ('headline_with_picture', 15), ('picture_list', 19), ('flip_cards', 30), ('table', 31), ('popout_table', 32), ('gallery', 35), ('figure', 38), ('card', 62), ('two_columns', 71), ('three_columns', 73), ('youtube', 74), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68), ('popout_point', 77), ('chart', 99), ('related', 102), ('related_links', 102), ('badge', 105), ('new_people_group', 114), ('newsletter', 119)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {}), 46: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 48: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 49: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 50: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('osm-mapnik', 'OSM Mapnik'), ('stadia-osm-bright', 'Stadia OSM Bright'), ('stadia-outdoors', 'Stadia Outdoors'), ('mapbox-streets', 'Mapbox Streets'), ('mapbox-outdoors', 'Mapbox Outdoors'), ('mapbox-light', 'Mapbox Light'), ('mapbox-dark', 'Mapbox Dark'), ('mapbox-satellite', 'Mapbox Satellite'), ('mapbox-pirate', 'Mapbox Pirate Theme')], 'label': 'Styl'}), 51: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 52: ('wagtail.blocks.StructBlock', [[('lat', 46), ('lon', 47), ('hex_color', 48), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 53: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 54: ('wagtail.blocks.TextBlock', (), {'help_text': "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", 'label': 'Geodata', 'required': True}), 55: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 56: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 57: ('wagtail.blocks.StructBlock', [[('title', 53), ('description', 37), ('geojson', 54), ('image', 39), ('link', 55), ('hex_color', 56)]], {'required': True}), 58: ('wagtail.blocks.ListBlock', (57,), {'label': 'Součásti'}), 59: ('wagtail.blocks.StructBlock', [[('features', 58), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Mapová kolekce'}), 60: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59)]], {'label': 'Obsah', 'required': False}), 61: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 62: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 60), ('page', 61), ('link', 55)]], {}), 63: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 64: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black', 'ÄŚerná'), ('white', 'BĂlá'), ('pirati-yellow', 'Ĺ˝lutá'), ('grey-125', 'SvÄ›tle šedá'), ('blue-300', 'Modrá'), ('cyan-200', 'Tyrkysová'), ('green-400', 'Zelená'), ('violet-400', 'VĂnová'), ('red-600', 'ÄŚervená')], 'label': 'Barva'}), 65: ('wagtail.blocks.BooleanBlock', (), {'default': True, 'help_text': 'Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.', 'label': 'Animovat na hover', 'required': False}), 66: ('wagtail.blocks.StructBlock', [[('title', 63), ('color', 64), ('hoveractive', 65), ('page', 61), ('link', 55), ('align', 11)]], {}), 67: ('wagtail.blocks.ListBlock', (66,), {'label': 'TlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('buttons', 67)]], {}), 69: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('right_column_content', 70)]], {}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('middle_column_content', 72), ('right_column_content', 70)]], {}), 74: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {'label': 'YouTube video'}), 75: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 76: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 77: ('wagtail.blocks.StructBlock', [[('name', 75), ('content', 76)]], {}), 78: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'max_length': 120}), 79: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('bar', 'Graf se sloupci'), ('horizontalBar', 'Graf s vodorovnĂ˝mi sloupci'), ('pie', 'KoláčovĂ˝ graf'), ('doughnut', 'DonutovĂ˝ graf'), ('polarArea', 'Graf polárnĂ oblasti'), ('radar', 'RadarovĂ˝ graf'), ('line', 'Graf s liniemi')], 'label': 'Typ'}), 80: ('wagtail.blocks.BooleanBlock', (), {'help_text': 'MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.', 'label': 'Schovat body', 'required': False}), 81: ('wagtail.blocks.CharBlock', (), {'label': 'Skupina', 'max_length': 40}), 82: ('wagtail.blocks.ListBlock', (81,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnÄ› definovanĂ© skupiny', 'required': False}), 83: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ zdroje dat', 'max_length': 120}), 84: ('wagtail.blocks.IntegerBlock', (), {}), 85: ('wagtail.blocks.ListBlock', (84,), {'default': [0], 'label': 'Data'}), 86: ('wagtail.blocks.StructBlock', [[('label', 83), ('data', 85)]], {}), 87: ('wagtail.blocks.ListBlock', (86,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnĂ zdroje dat', 'required': False}), 88: ('wagtail.blocks.MultipleChoiceBlock', [], {'choices': shared.blocks.children.chart.get_redmine_projects, 'label': 'Projekty'}), 89: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen otevĹ™enĂ©', 'required': False}), 90: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen uzavĹ™enĂ©', 'required': False}), 91: ('wagtail.blocks.DateBlock', (), {'label': 'Min. datum vytvoĹ™enĂ', 'required': True}), 92: ('wagtail.blocks.DateBlock', (), {'label': 'Max. datum vytvoĹ™enĂ', 'required': True}), 93: ('wagtail.blocks.CharBlock', (), {'help_text': 'NapĹ™. <=2023-01-01. VĂce informacĂ na pi2.cz/redmine-api', 'label': 'Filtr pro datum aktualizace', 'max_length': 128, 'required': False}), 94: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu', 'max_length': 128, 'required': True}), 95: ('wagtail.blocks.BooleanBlock', (), {'label': 'RozdÄ›lit podle projektu', 'required': False}), 96: ('wagtail.blocks.BooleanBlock', (), {'label': 'Pouze rĹŻst nahoru', 'required': False}), 97: ('wagtail.blocks.StructBlock', [[('projects', 88), ('is_open', 89), ('is_closed', 90), ('created_on_min_date', 91), ('created_on_max_date', 92), ('updated_on', 93), ('issue_label', 94), ('split_per_project', 95), ('only_grow', 96)]], {'label': 'Redmine Ăşkoly'}), 98: ('wagtail.blocks.ListBlock', (97,), {'blank': True, 'default': [], 'help_text': 'Ăškoly, podle doby vytvoĹ™enĂ. Pokud definuješ vĂce zdrojĹŻ, datumy v nich musĂ bĂ˝t stejnĂ©.', 'label': 'Zdroje dat z Redmine (Ăşkoly)', 'required': False}), 99: ('wagtail.blocks.StructBlock', [[('title', 78), ('chart_type', 79), ('hide_points', 80), ('local_labels', 82), ('local_datasets', 87), ('redmine_issue_datasets', 98)]], {}), 100: ('wagtail.blocks.PageChooserBlock', ('district.DistrictArticlePage',), {'label': 'Aktualita', 'required': True}), 101: ('wagtail.blocks.ListBlock', (100,), {'label': 'Seznam aktualit', 'required': True}), 102: ('wagtail.blocks.StructBlock', [[('articles', 101)]], {}), 103: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Osoba', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage'], 'required': True}), 104: ('wagtail.blocks.CharBlock', (), {'help_text': 'VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.', 'label': 'Popisek', 'required': False}), 105: ('wagtail.blocks.StructBlock', [[('person', 103), ('caption', 104)]], {}), 106: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek'}), 107: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no', 'label': 'Slug skupiny', 'required': False}), 108: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage']}), 109: ('wagtail.blocks.ListBlock', (108,), {'default': [], 'help_text': 'S pozicemi z jejich podstránek', 'label': 'Osoby'}), 110: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage', 'district.DistrictPersonPage']}), 111: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.', 'label': 'Pozice', 'required': False}), 112: ('wagtail.blocks.StructBlock', [[('page', 110), ('position', 111)]], {}), 113: ('wagtail.blocks.ListBlock', (112,), {'default': [], 'help_text': 'S nastavitelnĂ˝mi pozicemi', 'label': 'Osoby'}), 114: ('wagtail.blocks.StructBlock', [[('title', 106), ('slug', 107), ('person_list', 109), ('person_list_with_custom_positions', 113)]], {}), 115: ('wagtail.blocks.CharBlock', (), {'label': 'ID newsletteru', 'required': True}), 116: ('wagtail.blocks.CharBlock', (), {'default': 'OdebĂrej náš', 'label': 'Nadpis bloku (1. řádek)', 'required': True}), 117: ('wagtail.blocks.CharBlock', (), {'default': 'newsletter', 'label': 'Nadpis bloku (2. řádek)', 'required': True}), 118: ('wagtail.blocks.CharBlock', (), {'default': 'Fake news tam nenajdeš, ale dozvĂš se, co chystáme doopravdy!', 'label': 'Popis newsletteru', 'required': True}), 119: ('wagtail.blocks.StructBlock', [[('list_id', 115), ('title_line_1', 116), ('title_line_2', 117), ('description', 118)]], {})}, verbose_name='Obsah'), + ), + migrations.AlterField( + model_name='districtgeofeaturecollectionpage', + name='content', + field=wagtail.fields.StreamField([('text', 0), ('advanced_text', 4), ('two_columns_text', 7), ('headline', 12), ('headline_with_picture', 15), ('picture_list', 19), ('flip_cards', 30), ('table', 31), ('popout_table', 32), ('gallery', 35), ('figure', 38), ('card', 62), ('two_columns', 71), ('three_columns', 73), ('youtube', 74), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68), ('popout_point', 77), ('chart', 99), ('related', 102), ('related_links', 102), ('badge', 105), ('new_people_group', 114)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {}), 46: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 48: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 49: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 50: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('osm-mapnik', 'OSM Mapnik'), ('stadia-osm-bright', 'Stadia OSM Bright'), ('stadia-outdoors', 'Stadia Outdoors'), ('mapbox-streets', 'Mapbox Streets'), ('mapbox-outdoors', 'Mapbox Outdoors'), ('mapbox-light', 'Mapbox Light'), ('mapbox-dark', 'Mapbox Dark'), ('mapbox-satellite', 'Mapbox Satellite'), ('mapbox-pirate', 'Mapbox Pirate Theme')], 'label': 'Styl'}), 51: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 52: ('wagtail.blocks.StructBlock', [[('lat', 46), ('lon', 47), ('hex_color', 48), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 53: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 54: ('wagtail.blocks.TextBlock', (), {'help_text': "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", 'label': 'Geodata', 'required': True}), 55: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 56: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 57: ('wagtail.blocks.StructBlock', [[('title', 53), ('description', 37), ('geojson', 54), ('image', 39), ('link', 55), ('hex_color', 56)]], {'required': True}), 58: ('wagtail.blocks.ListBlock', (57,), {'label': 'Součásti'}), 59: ('wagtail.blocks.StructBlock', [[('features', 58), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Mapová kolekce'}), 60: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59)]], {'label': 'Obsah', 'required': False}), 61: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 62: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 60), ('page', 61), ('link', 55)]], {}), 63: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 64: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black', 'ÄŚerná'), ('white', 'BĂlá'), ('pirati-yellow', 'Ĺ˝lutá'), ('grey-125', 'SvÄ›tle šedá'), ('blue-300', 'Modrá'), ('cyan-200', 'Tyrkysová'), ('green-400', 'Zelená'), ('violet-400', 'VĂnová'), ('red-600', 'ÄŚervená')], 'label': 'Barva'}), 65: ('wagtail.blocks.BooleanBlock', (), {'default': True, 'help_text': 'Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.', 'label': 'Animovat na hover', 'required': False}), 66: ('wagtail.blocks.StructBlock', [[('title', 63), ('color', 64), ('hoveractive', 65), ('page', 61), ('link', 55), ('align', 11)]], {}), 67: ('wagtail.blocks.ListBlock', (66,), {'label': 'TlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('buttons', 67)]], {}), 69: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('right_column_content', 70)]], {}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('middle_column_content', 72), ('right_column_content', 70)]], {}), 74: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {'label': 'YouTube video'}), 75: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 76: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 77: ('wagtail.blocks.StructBlock', [[('name', 75), ('content', 76)]], {}), 78: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'max_length': 120}), 79: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('bar', 'Graf se sloupci'), ('horizontalBar', 'Graf s vodorovnĂ˝mi sloupci'), ('pie', 'KoláčovĂ˝ graf'), ('doughnut', 'DonutovĂ˝ graf'), ('polarArea', 'Graf polárnĂ oblasti'), ('radar', 'RadarovĂ˝ graf'), ('line', 'Graf s liniemi')], 'label': 'Typ'}), 80: ('wagtail.blocks.BooleanBlock', (), {'help_text': 'MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.', 'label': 'Schovat body', 'required': False}), 81: ('wagtail.blocks.CharBlock', (), {'label': 'Skupina', 'max_length': 40}), 82: ('wagtail.blocks.ListBlock', (81,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnÄ› definovanĂ© skupiny', 'required': False}), 83: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ zdroje dat', 'max_length': 120}), 84: ('wagtail.blocks.IntegerBlock', (), {}), 85: ('wagtail.blocks.ListBlock', (84,), {'default': [0], 'label': 'Data'}), 86: ('wagtail.blocks.StructBlock', [[('label', 83), ('data', 85)]], {}), 87: ('wagtail.blocks.ListBlock', (86,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnĂ zdroje dat', 'required': False}), 88: ('wagtail.blocks.MultipleChoiceBlock', [], {'choices': shared.blocks.children.chart.get_redmine_projects, 'label': 'Projekty'}), 89: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen otevĹ™enĂ©', 'required': False}), 90: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen uzavĹ™enĂ©', 'required': False}), 91: ('wagtail.blocks.DateBlock', (), {'label': 'Min. datum vytvoĹ™enĂ', 'required': True}), 92: ('wagtail.blocks.DateBlock', (), {'label': 'Max. datum vytvoĹ™enĂ', 'required': True}), 93: ('wagtail.blocks.CharBlock', (), {'help_text': 'NapĹ™. <=2023-01-01. VĂce informacĂ na pi2.cz/redmine-api', 'label': 'Filtr pro datum aktualizace', 'max_length': 128, 'required': False}), 94: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu', 'max_length': 128, 'required': True}), 95: ('wagtail.blocks.BooleanBlock', (), {'label': 'RozdÄ›lit podle projektu', 'required': False}), 96: ('wagtail.blocks.BooleanBlock', (), {'label': 'Pouze rĹŻst nahoru', 'required': False}), 97: ('wagtail.blocks.StructBlock', [[('projects', 88), ('is_open', 89), ('is_closed', 90), ('created_on_min_date', 91), ('created_on_max_date', 92), ('updated_on', 93), ('issue_label', 94), ('split_per_project', 95), ('only_grow', 96)]], {'label': 'Redmine Ăşkoly'}), 98: ('wagtail.blocks.ListBlock', (97,), {'blank': True, 'default': [], 'help_text': 'Ăškoly, podle doby vytvoĹ™enĂ. Pokud definuješ vĂce zdrojĹŻ, datumy v nich musĂ bĂ˝t stejnĂ©.', 'label': 'Zdroje dat z Redmine (Ăşkoly)', 'required': False}), 99: ('wagtail.blocks.StructBlock', [[('title', 78), ('chart_type', 79), ('hide_points', 80), ('local_labels', 82), ('local_datasets', 87), ('redmine_issue_datasets', 98)]], {}), 100: ('wagtail.blocks.PageChooserBlock', ('district.DistrictArticlePage',), {'label': 'Aktualita', 'required': True}), 101: ('wagtail.blocks.ListBlock', (100,), {'label': 'Seznam aktualit', 'required': True}), 102: ('wagtail.blocks.StructBlock', [[('articles', 101)]], {}), 103: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Osoba', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage'], 'required': True}), 104: ('wagtail.blocks.CharBlock', (), {'help_text': 'VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.', 'label': 'Popisek', 'required': False}), 105: ('wagtail.blocks.StructBlock', [[('person', 103), ('caption', 104)]], {}), 106: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek'}), 107: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no', 'label': 'Slug skupiny', 'required': False}), 108: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage']}), 109: ('wagtail.blocks.ListBlock', (108,), {'default': [], 'help_text': 'S pozicemi z jejich podstránek', 'label': 'Osoby'}), 110: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage', 'district.DistrictPersonPage']}), 111: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.', 'label': 'Pozice', 'required': False}), 112: ('wagtail.blocks.StructBlock', [[('page', 110), ('position', 111)]], {}), 113: ('wagtail.blocks.ListBlock', (112,), {'default': [], 'help_text': 'S nastavitelnĂ˝mi pozicemi', 'label': 'Osoby'}), 114: ('wagtail.blocks.StructBlock', [[('title', 106), ('slug', 107), ('person_list', 109), ('person_list_with_custom_positions', 113)]], {})}, verbose_name='Obsah ĂşvodnĂ'), + ), + migrations.AlterField( + model_name='districtgeofeaturecollectionpage', + name='content_after', + field=wagtail.fields.StreamField([('text', 0), ('advanced_text', 4), ('two_columns_text', 7), ('headline', 12), ('headline_with_picture', 15), ('picture_list', 19), ('flip_cards', 30), ('table', 31), ('popout_table', 32), ('gallery', 35), ('figure', 38), ('card', 62), ('two_columns', 71), ('three_columns', 73), ('youtube', 74), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68), ('popout_point', 77), ('chart', 99), ('related', 102), ('related_links', 102), ('badge', 105), ('new_people_group', 114)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {}), 46: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 48: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 49: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 50: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('osm-mapnik', 'OSM Mapnik'), ('stadia-osm-bright', 'Stadia OSM Bright'), ('stadia-outdoors', 'Stadia Outdoors'), ('mapbox-streets', 'Mapbox Streets'), ('mapbox-outdoors', 'Mapbox Outdoors'), ('mapbox-light', 'Mapbox Light'), ('mapbox-dark', 'Mapbox Dark'), ('mapbox-satellite', 'Mapbox Satellite'), ('mapbox-pirate', 'Mapbox Pirate Theme')], 'label': 'Styl'}), 51: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 52: ('wagtail.blocks.StructBlock', [[('lat', 46), ('lon', 47), ('hex_color', 48), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 53: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 54: ('wagtail.blocks.TextBlock', (), {'help_text': "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", 'label': 'Geodata', 'required': True}), 55: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 56: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 57: ('wagtail.blocks.StructBlock', [[('title', 53), ('description', 37), ('geojson', 54), ('image', 39), ('link', 55), ('hex_color', 56)]], {'required': True}), 58: ('wagtail.blocks.ListBlock', (57,), {'label': 'Součásti'}), 59: ('wagtail.blocks.StructBlock', [[('features', 58), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Mapová kolekce'}), 60: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59)]], {'label': 'Obsah', 'required': False}), 61: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 62: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 60), ('page', 61), ('link', 55)]], {}), 63: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 64: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black', 'ÄŚerná'), ('white', 'BĂlá'), ('pirati-yellow', 'Ĺ˝lutá'), ('grey-125', 'SvÄ›tle šedá'), ('blue-300', 'Modrá'), ('cyan-200', 'Tyrkysová'), ('green-400', 'Zelená'), ('violet-400', 'VĂnová'), ('red-600', 'ÄŚervená')], 'label': 'Barva'}), 65: ('wagtail.blocks.BooleanBlock', (), {'default': True, 'help_text': 'Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.', 'label': 'Animovat na hover', 'required': False}), 66: ('wagtail.blocks.StructBlock', [[('title', 63), ('color', 64), ('hoveractive', 65), ('page', 61), ('link', 55), ('align', 11)]], {}), 67: ('wagtail.blocks.ListBlock', (66,), {'label': 'TlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('buttons', 67)]], {}), 69: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('right_column_content', 70)]], {}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('middle_column_content', 72), ('right_column_content', 70)]], {}), 74: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {'label': 'YouTube video'}), 75: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 76: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 77: ('wagtail.blocks.StructBlock', [[('name', 75), ('content', 76)]], {}), 78: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'max_length': 120}), 79: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('bar', 'Graf se sloupci'), ('horizontalBar', 'Graf s vodorovnĂ˝mi sloupci'), ('pie', 'KoláčovĂ˝ graf'), ('doughnut', 'DonutovĂ˝ graf'), ('polarArea', 'Graf polárnĂ oblasti'), ('radar', 'RadarovĂ˝ graf'), ('line', 'Graf s liniemi')], 'label': 'Typ'}), 80: ('wagtail.blocks.BooleanBlock', (), {'help_text': 'MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.', 'label': 'Schovat body', 'required': False}), 81: ('wagtail.blocks.CharBlock', (), {'label': 'Skupina', 'max_length': 40}), 82: ('wagtail.blocks.ListBlock', (81,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnÄ› definovanĂ© skupiny', 'required': False}), 83: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ zdroje dat', 'max_length': 120}), 84: ('wagtail.blocks.IntegerBlock', (), {}), 85: ('wagtail.blocks.ListBlock', (84,), {'default': [0], 'label': 'Data'}), 86: ('wagtail.blocks.StructBlock', [[('label', 83), ('data', 85)]], {}), 87: ('wagtail.blocks.ListBlock', (86,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnĂ zdroje dat', 'required': False}), 88: ('wagtail.blocks.MultipleChoiceBlock', [], {'choices': shared.blocks.children.chart.get_redmine_projects, 'label': 'Projekty'}), 89: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen otevĹ™enĂ©', 'required': False}), 90: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen uzavĹ™enĂ©', 'required': False}), 91: ('wagtail.blocks.DateBlock', (), {'label': 'Min. datum vytvoĹ™enĂ', 'required': True}), 92: ('wagtail.blocks.DateBlock', (), {'label': 'Max. datum vytvoĹ™enĂ', 'required': True}), 93: ('wagtail.blocks.CharBlock', (), {'help_text': 'NapĹ™. <=2023-01-01. VĂce informacĂ na pi2.cz/redmine-api', 'label': 'Filtr pro datum aktualizace', 'max_length': 128, 'required': False}), 94: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu', 'max_length': 128, 'required': True}), 95: ('wagtail.blocks.BooleanBlock', (), {'label': 'RozdÄ›lit podle projektu', 'required': False}), 96: ('wagtail.blocks.BooleanBlock', (), {'label': 'Pouze rĹŻst nahoru', 'required': False}), 97: ('wagtail.blocks.StructBlock', [[('projects', 88), ('is_open', 89), ('is_closed', 90), ('created_on_min_date', 91), ('created_on_max_date', 92), ('updated_on', 93), ('issue_label', 94), ('split_per_project', 95), ('only_grow', 96)]], {'label': 'Redmine Ăşkoly'}), 98: ('wagtail.blocks.ListBlock', (97,), {'blank': True, 'default': [], 'help_text': 'Ăškoly, podle doby vytvoĹ™enĂ. Pokud definuješ vĂce zdrojĹŻ, datumy v nich musĂ bĂ˝t stejnĂ©.', 'label': 'Zdroje dat z Redmine (Ăşkoly)', 'required': False}), 99: ('wagtail.blocks.StructBlock', [[('title', 78), ('chart_type', 79), ('hide_points', 80), ('local_labels', 82), ('local_datasets', 87), ('redmine_issue_datasets', 98)]], {}), 100: ('wagtail.blocks.PageChooserBlock', ('district.DistrictArticlePage',), {'label': 'Aktualita', 'required': True}), 101: ('wagtail.blocks.ListBlock', (100,), {'label': 'Seznam aktualit', 'required': True}), 102: ('wagtail.blocks.StructBlock', [[('articles', 101)]], {}), 103: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Osoba', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage'], 'required': True}), 104: ('wagtail.blocks.CharBlock', (), {'help_text': 'VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.', 'label': 'Popisek', 'required': False}), 105: ('wagtail.blocks.StructBlock', [[('person', 103), ('caption', 104)]], {}), 106: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek'}), 107: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no', 'label': 'Slug skupiny', 'required': False}), 108: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage']}), 109: ('wagtail.blocks.ListBlock', (108,), {'default': [], 'help_text': 'S pozicemi z jejich podstránek', 'label': 'Osoby'}), 110: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage', 'district.DistrictPersonPage']}), 111: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.', 'label': 'Pozice', 'required': False}), 112: ('wagtail.blocks.StructBlock', [[('page', 110), ('position', 111)]], {}), 113: ('wagtail.blocks.ListBlock', (112,), {'default': [], 'help_text': 'S nastavitelnĂ˝mi pozicemi', 'label': 'Osoby'}), 114: ('wagtail.blocks.StructBlock', [[('title', 106), ('slug', 107), ('person_list', 109), ('person_list_with_custom_positions', 113)]], {})}, verbose_name='Obsah za mapou'), + ), + migrations.AlterField( + model_name='districtgeofeaturecollectionpage', + name='content_footer', + field=wagtail.fields.StreamField([('text', 0), ('advanced_text', 4), ('two_columns_text', 7), ('headline', 12), ('headline_with_picture', 15), ('picture_list', 19), ('flip_cards', 30), ('table', 31), ('popout_table', 32), ('gallery', 35), ('figure', 38), ('card', 62), ('two_columns', 71), ('three_columns', 73), ('youtube', 74), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68), ('popout_point', 77), ('chart', 99), ('related', 102), ('related_links', 102), ('badge', 105), ('new_people_group', 114)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {}), 46: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 48: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 49: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 50: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('osm-mapnik', 'OSM Mapnik'), ('stadia-osm-bright', 'Stadia OSM Bright'), ('stadia-outdoors', 'Stadia Outdoors'), ('mapbox-streets', 'Mapbox Streets'), ('mapbox-outdoors', 'Mapbox Outdoors'), ('mapbox-light', 'Mapbox Light'), ('mapbox-dark', 'Mapbox Dark'), ('mapbox-satellite', 'Mapbox Satellite'), ('mapbox-pirate', 'Mapbox Pirate Theme')], 'label': 'Styl'}), 51: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 52: ('wagtail.blocks.StructBlock', [[('lat', 46), ('lon', 47), ('hex_color', 48), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 53: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 54: ('wagtail.blocks.TextBlock', (), {'help_text': "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", 'label': 'Geodata', 'required': True}), 55: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 56: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 57: ('wagtail.blocks.StructBlock', [[('title', 53), ('description', 37), ('geojson', 54), ('image', 39), ('link', 55), ('hex_color', 56)]], {'required': True}), 58: ('wagtail.blocks.ListBlock', (57,), {'label': 'Součásti'}), 59: ('wagtail.blocks.StructBlock', [[('features', 58), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Mapová kolekce'}), 60: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59)]], {'label': 'Obsah', 'required': False}), 61: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 62: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 60), ('page', 61), ('link', 55)]], {}), 63: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 64: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black', 'ÄŚerná'), ('white', 'BĂlá'), ('pirati-yellow', 'Ĺ˝lutá'), ('grey-125', 'SvÄ›tle šedá'), ('blue-300', 'Modrá'), ('cyan-200', 'Tyrkysová'), ('green-400', 'Zelená'), ('violet-400', 'VĂnová'), ('red-600', 'ÄŚervená')], 'label': 'Barva'}), 65: ('wagtail.blocks.BooleanBlock', (), {'default': True, 'help_text': 'Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.', 'label': 'Animovat na hover', 'required': False}), 66: ('wagtail.blocks.StructBlock', [[('title', 63), ('color', 64), ('hoveractive', 65), ('page', 61), ('link', 55), ('align', 11)]], {}), 67: ('wagtail.blocks.ListBlock', (66,), {'label': 'TlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('buttons', 67)]], {}), 69: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('right_column_content', 70)]], {}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('middle_column_content', 72), ('right_column_content', 70)]], {}), 74: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {'label': 'YouTube video'}), 75: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 76: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 77: ('wagtail.blocks.StructBlock', [[('name', 75), ('content', 76)]], {}), 78: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'max_length': 120}), 79: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('bar', 'Graf se sloupci'), ('horizontalBar', 'Graf s vodorovnĂ˝mi sloupci'), ('pie', 'KoláčovĂ˝ graf'), ('doughnut', 'DonutovĂ˝ graf'), ('polarArea', 'Graf polárnĂ oblasti'), ('radar', 'RadarovĂ˝ graf'), ('line', 'Graf s liniemi')], 'label': 'Typ'}), 80: ('wagtail.blocks.BooleanBlock', (), {'help_text': 'MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.', 'label': 'Schovat body', 'required': False}), 81: ('wagtail.blocks.CharBlock', (), {'label': 'Skupina', 'max_length': 40}), 82: ('wagtail.blocks.ListBlock', (81,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnÄ› definovanĂ© skupiny', 'required': False}), 83: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ zdroje dat', 'max_length': 120}), 84: ('wagtail.blocks.IntegerBlock', (), {}), 85: ('wagtail.blocks.ListBlock', (84,), {'default': [0], 'label': 'Data'}), 86: ('wagtail.blocks.StructBlock', [[('label', 83), ('data', 85)]], {}), 87: ('wagtail.blocks.ListBlock', (86,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnĂ zdroje dat', 'required': False}), 88: ('wagtail.blocks.MultipleChoiceBlock', [], {'choices': shared.blocks.children.chart.get_redmine_projects, 'label': 'Projekty'}), 89: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen otevĹ™enĂ©', 'required': False}), 90: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen uzavĹ™enĂ©', 'required': False}), 91: ('wagtail.blocks.DateBlock', (), {'label': 'Min. datum vytvoĹ™enĂ', 'required': True}), 92: ('wagtail.blocks.DateBlock', (), {'label': 'Max. datum vytvoĹ™enĂ', 'required': True}), 93: ('wagtail.blocks.CharBlock', (), {'help_text': 'NapĹ™. <=2023-01-01. VĂce informacĂ na pi2.cz/redmine-api', 'label': 'Filtr pro datum aktualizace', 'max_length': 128, 'required': False}), 94: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu', 'max_length': 128, 'required': True}), 95: ('wagtail.blocks.BooleanBlock', (), {'label': 'RozdÄ›lit podle projektu', 'required': False}), 96: ('wagtail.blocks.BooleanBlock', (), {'label': 'Pouze rĹŻst nahoru', 'required': False}), 97: ('wagtail.blocks.StructBlock', [[('projects', 88), ('is_open', 89), ('is_closed', 90), ('created_on_min_date', 91), ('created_on_max_date', 92), ('updated_on', 93), ('issue_label', 94), ('split_per_project', 95), ('only_grow', 96)]], {'label': 'Redmine Ăşkoly'}), 98: ('wagtail.blocks.ListBlock', (97,), {'blank': True, 'default': [], 'help_text': 'Ăškoly, podle doby vytvoĹ™enĂ. Pokud definuješ vĂce zdrojĹŻ, datumy v nich musĂ bĂ˝t stejnĂ©.', 'label': 'Zdroje dat z Redmine (Ăşkoly)', 'required': False}), 99: ('wagtail.blocks.StructBlock', [[('title', 78), ('chart_type', 79), ('hide_points', 80), ('local_labels', 82), ('local_datasets', 87), ('redmine_issue_datasets', 98)]], {}), 100: ('wagtail.blocks.PageChooserBlock', ('district.DistrictArticlePage',), {'label': 'Aktualita', 'required': True}), 101: ('wagtail.blocks.ListBlock', (100,), {'label': 'Seznam aktualit', 'required': True}), 102: ('wagtail.blocks.StructBlock', [[('articles', 101)]], {}), 103: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Osoba', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage'], 'required': True}), 104: ('wagtail.blocks.CharBlock', (), {'help_text': 'VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.', 'label': 'Popisek', 'required': False}), 105: ('wagtail.blocks.StructBlock', [[('person', 103), ('caption', 104)]], {}), 106: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek'}), 107: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no', 'label': 'Slug skupiny', 'required': False}), 108: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage']}), 109: ('wagtail.blocks.ListBlock', (108,), {'default': [], 'help_text': 'S pozicemi z jejich podstránek', 'label': 'Osoby'}), 110: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage', 'district.DistrictPersonPage']}), 111: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.', 'label': 'Pozice', 'required': False}), 112: ('wagtail.blocks.StructBlock', [[('page', 110), ('position', 111)]], {}), 113: ('wagtail.blocks.ListBlock', (112,), {'default': [], 'help_text': 'S nastavitelnĂ˝mi pozicemi', 'label': 'Osoby'}), 114: ('wagtail.blocks.StructBlock', [[('title', 106), ('slug', 107), ('person_list', 109), ('person_list_with_custom_positions', 113)]], {})}, verbose_name='Obsah v patiÄŤkovĂ© části'), + ), + migrations.AlterField( + model_name='districtgeofeaturedetailpage', + name='content', + field=wagtail.fields.StreamField([('text', 0), ('advanced_text', 4), ('two_columns_text', 7), ('headline', 12), ('headline_with_picture', 15), ('picture_list', 19), ('flip_cards', 30), ('table', 31), ('popout_table', 32), ('gallery', 35), ('figure', 38), ('card', 62), ('two_columns', 71), ('three_columns', 73), ('youtube', 74), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68), ('popout_point', 77), ('chart', 99), ('related', 102), ('related_links', 102), ('badge', 105), ('new_people_group', 114)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {}), 46: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 48: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 49: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 50: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('osm-mapnik', 'OSM Mapnik'), ('stadia-osm-bright', 'Stadia OSM Bright'), ('stadia-outdoors', 'Stadia Outdoors'), ('mapbox-streets', 'Mapbox Streets'), ('mapbox-outdoors', 'Mapbox Outdoors'), ('mapbox-light', 'Mapbox Light'), ('mapbox-dark', 'Mapbox Dark'), ('mapbox-satellite', 'Mapbox Satellite'), ('mapbox-pirate', 'Mapbox Pirate Theme')], 'label': 'Styl'}), 51: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 52: ('wagtail.blocks.StructBlock', [[('lat', 46), ('lon', 47), ('hex_color', 48), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 53: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 54: ('wagtail.blocks.TextBlock', (), {'help_text': "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", 'label': 'Geodata', 'required': True}), 55: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 56: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 57: ('wagtail.blocks.StructBlock', [[('title', 53), ('description', 37), ('geojson', 54), ('image', 39), ('link', 55), ('hex_color', 56)]], {'required': True}), 58: ('wagtail.blocks.ListBlock', (57,), {'label': 'Součásti'}), 59: ('wagtail.blocks.StructBlock', [[('features', 58), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Mapová kolekce'}), 60: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59)]], {'label': 'Obsah', 'required': False}), 61: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 62: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 60), ('page', 61), ('link', 55)]], {}), 63: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 64: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black', 'ÄŚerná'), ('white', 'BĂlá'), ('pirati-yellow', 'Ĺ˝lutá'), ('grey-125', 'SvÄ›tle šedá'), ('blue-300', 'Modrá'), ('cyan-200', 'Tyrkysová'), ('green-400', 'Zelená'), ('violet-400', 'VĂnová'), ('red-600', 'ÄŚervená')], 'label': 'Barva'}), 65: ('wagtail.blocks.BooleanBlock', (), {'default': True, 'help_text': 'Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.', 'label': 'Animovat na hover', 'required': False}), 66: ('wagtail.blocks.StructBlock', [[('title', 63), ('color', 64), ('hoveractive', 65), ('page', 61), ('link', 55), ('align', 11)]], {}), 67: ('wagtail.blocks.ListBlock', (66,), {'label': 'TlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('buttons', 67)]], {}), 69: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('right_column_content', 70)]], {}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('middle_column_content', 72), ('right_column_content', 70)]], {}), 74: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {'label': 'YouTube video'}), 75: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 76: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 77: ('wagtail.blocks.StructBlock', [[('name', 75), ('content', 76)]], {}), 78: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'max_length': 120}), 79: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('bar', 'Graf se sloupci'), ('horizontalBar', 'Graf s vodorovnĂ˝mi sloupci'), ('pie', 'KoláčovĂ˝ graf'), ('doughnut', 'DonutovĂ˝ graf'), ('polarArea', 'Graf polárnĂ oblasti'), ('radar', 'RadarovĂ˝ graf'), ('line', 'Graf s liniemi')], 'label': 'Typ'}), 80: ('wagtail.blocks.BooleanBlock', (), {'help_text': 'MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.', 'label': 'Schovat body', 'required': False}), 81: ('wagtail.blocks.CharBlock', (), {'label': 'Skupina', 'max_length': 40}), 82: ('wagtail.blocks.ListBlock', (81,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnÄ› definovanĂ© skupiny', 'required': False}), 83: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ zdroje dat', 'max_length': 120}), 84: ('wagtail.blocks.IntegerBlock', (), {}), 85: ('wagtail.blocks.ListBlock', (84,), {'default': [0], 'label': 'Data'}), 86: ('wagtail.blocks.StructBlock', [[('label', 83), ('data', 85)]], {}), 87: ('wagtail.blocks.ListBlock', (86,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnĂ zdroje dat', 'required': False}), 88: ('wagtail.blocks.MultipleChoiceBlock', [], {'choices': shared.blocks.children.chart.get_redmine_projects, 'label': 'Projekty'}), 89: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen otevĹ™enĂ©', 'required': False}), 90: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen uzavĹ™enĂ©', 'required': False}), 91: ('wagtail.blocks.DateBlock', (), {'label': 'Min. datum vytvoĹ™enĂ', 'required': True}), 92: ('wagtail.blocks.DateBlock', (), {'label': 'Max. datum vytvoĹ™enĂ', 'required': True}), 93: ('wagtail.blocks.CharBlock', (), {'help_text': 'NapĹ™. <=2023-01-01. VĂce informacĂ na pi2.cz/redmine-api', 'label': 'Filtr pro datum aktualizace', 'max_length': 128, 'required': False}), 94: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu', 'max_length': 128, 'required': True}), 95: ('wagtail.blocks.BooleanBlock', (), {'label': 'RozdÄ›lit podle projektu', 'required': False}), 96: ('wagtail.blocks.BooleanBlock', (), {'label': 'Pouze rĹŻst nahoru', 'required': False}), 97: ('wagtail.blocks.StructBlock', [[('projects', 88), ('is_open', 89), ('is_closed', 90), ('created_on_min_date', 91), ('created_on_max_date', 92), ('updated_on', 93), ('issue_label', 94), ('split_per_project', 95), ('only_grow', 96)]], {'label': 'Redmine Ăşkoly'}), 98: ('wagtail.blocks.ListBlock', (97,), {'blank': True, 'default': [], 'help_text': 'Ăškoly, podle doby vytvoĹ™enĂ. Pokud definuješ vĂce zdrojĹŻ, datumy v nich musĂ bĂ˝t stejnĂ©.', 'label': 'Zdroje dat z Redmine (Ăşkoly)', 'required': False}), 99: ('wagtail.blocks.StructBlock', [[('title', 78), ('chart_type', 79), ('hide_points', 80), ('local_labels', 82), ('local_datasets', 87), ('redmine_issue_datasets', 98)]], {}), 100: ('wagtail.blocks.PageChooserBlock', ('district.DistrictArticlePage',), {'label': 'Aktualita', 'required': True}), 101: ('wagtail.blocks.ListBlock', (100,), {'label': 'Seznam aktualit', 'required': True}), 102: ('wagtail.blocks.StructBlock', [[('articles', 101)]], {}), 103: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Osoba', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage'], 'required': True}), 104: ('wagtail.blocks.CharBlock', (), {'help_text': 'VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.', 'label': 'Popisek', 'required': False}), 105: ('wagtail.blocks.StructBlock', [[('person', 103), ('caption', 104)]], {}), 106: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek'}), 107: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no', 'label': 'Slug skupiny', 'required': False}), 108: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage']}), 109: ('wagtail.blocks.ListBlock', (108,), {'default': [], 'help_text': 'S pozicemi z jejich podstránek', 'label': 'Osoby'}), 110: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage', 'district.DistrictPersonPage']}), 111: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.', 'label': 'Pozice', 'required': False}), 112: ('wagtail.blocks.StructBlock', [[('page', 110), ('position', 111)]], {}), 113: ('wagtail.blocks.ListBlock', (112,), {'default': [], 'help_text': 'S nastavitelnĂ˝mi pozicemi', 'label': 'Osoby'}), 114: ('wagtail.blocks.StructBlock', [[('title', 106), ('slug', 107), ('person_list', 109), ('person_list_with_custom_positions', 113)]], {})}, verbose_name='Obsah'), + ), + migrations.AlterField( + model_name='districtnewprogrampage', + name='program', + field=wagtail.fields.StreamField([('program_group', 7), ('program_group_crossroad', 15), ('program_group_popout', 25), ('program_group_with_candidates', 139)], blank=True, block_lookup={0: ('wagtail.blocks.CharBlock', (), {'help_text': "NapĹ™. 'KrajskĂ© volby 2024', 'EvropskĂ© volby 2024', ...", 'label': 'Název programu'}), 1: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz pokrĂ˝vajĂcĂ celou tuto část', 'required': False}), 2: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Ikona', 'required': False}), 3: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek ÄŤlánku programu'}), 4: ('wagtail.blocks.RichTextBlock', (), {'features': ['h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Obsah'}), 5: ('wagtail.blocks.StructBlock', [[('url', 1), ('icon', 2), ('title', 3), ('text', 4)]], {}), 6: ('wagtail.blocks.ListBlock', (5,), {'label': 'JednotlivĂ© ÄŤlánky programu'}), 7: ('wagtail.blocks.StructBlock', [[('title', 0), ('point_list', 6)]], {}), 8: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek'}), 9: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 10: ('wagtail.blocks.RichTextBlock', (), {'label': 'KrátkĂ˝ text pod nadpisem', 'required': False}), 11: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'page_type': ['district.DistrictArticlesPage', 'district.DistrictCenterPage', 'district.DistrictContactPage', 'district.DistrictCrossroadPage', 'district.DistrictCustomPage', 'district.DistrictPeoplePage', 'district.DistrictGeoFeatureCollectionPage', 'district.DistrictCalendarPage', 'district.DistrictPdfPage', 'district.DistrictNewProgramPage'], 'required': False}), 12: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 13: ('wagtail.blocks.StructBlock', [[('image', 8), ('title', 9), ('text', 10), ('page', 11), ('link', 12)]], {}), 14: ('wagtail.blocks.ListBlock', (13,), {'label': 'Karty programu'}), 15: ('wagtail.blocks.StructBlock', [[('title', 0), ('point_list', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'help_text': 'ZobrazĂ se nad pĹ™epĂnaÄŤem mezi kandidáty a programem.', 'label': 'Preambule', 'required': False}), 17: ('wagtail.blocks.CharBlock', (), {'label': 'Název'}), 18: ('wagtail.blocks.RichTextBlock', (), {'label': 'Popis', 'required': False}), 19: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek vyskakovacĂho bloku'}), 20: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Garant', 'page_type': ['district.DistrictPersonPage'], 'required': False}), 21: ('wagtail.blocks.StructBlock', [[('title', 19), ('content', 4), ('guarantor', 20)]], {}), 22: ('wagtail.blocks.ListBlock', (21,), {'label': 'JednotlivĂ© bloky programu'}), 23: ('wagtail.blocks.StructBlock', [[('name', 17), ('icon', 2), ('description', 18), ('point_list', 22)]], {}), 24: ('wagtail.blocks.ListBlock', (23,), {'label': 'Kategorie programu'}), 25: ('wagtail.blocks.StructBlock', [[('title', 0), ('preamble', 16), ('categories', 24)]], {}), 26: ('wagtail.blocks.RichTextBlock', (), {'help_text': 'Text, kterĂ˝ se zobrazĂ pĹ™ed pĹ™epĂnaÄŤem mezi kandidáty a programem.', 'label': 'Preambule', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'default': 'Kandidáti', 'label': 'Nadpis záloĹľky pro kandidáty'}), 28: ('wagtail.blocks.CharBlock', (), {'default': 'Program', 'label': 'Nadpis záloĹľky pro program'}), 29: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage']}), 30: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Pokud nenĂ vybrán, pouĹľije se obrázek ze stránky kandidáta', 'label': 'Obrázek', 'required': False}), 31: ('wagtail.blocks.StructBlock', [[('page', 29), ('image', 30), ('description', 18)]], {}), 32: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis'}), 33: ('wagtail.blocks.CharBlock', (), {'label': 'Podnadpis', 'required': False}), 34: ('wagtail.blocks.CharBlock', (), {'label': 'PovolánĂ', 'required': False}), 35: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 36: ('wagtail.blocks.CharBlock', (), {'default': 'Zjisti vĂce', 'help_text': 'Pokud nenĂ vyplnÄ›no, odkaz tlaÄŤĂtka se nezobrazĂ', 'label': 'Text tlaÄŤĂtka', 'required': False}), 37: ('wagtail.blocks.StructBlock', [[('title', 32), ('subtitle', 33), ('job', 34), ('image', 30), ('description', 18), ('button_url', 35), ('button_text', 36)]], {}), 38: ('wagtail.blocks.StreamBlock', [[('candidate', 31), ('custom_candidate', 37)]], {'label': ' ', 'required': False}), 39: ('wagtail.blocks.StructBlock', [[('stream_candidates', 38)]], {'help_text': 'ZobrazĂ se ve velkĂ˝ch blocĂch na začátku stránky.', 'label': 'Osoby na ÄŤele kandidátky'}), 40: ('wagtail.blocks.CharBlock', (), {'default': 'OstatnĂ kandidáti', 'label': ' ', 'required': False}), 41: ('wagtail.blocks.CharBlock', (), {'label': 'ÄŚĂslo'}), 42: ('wagtail.blocks.StructBlock', [[('number', 41), ('page', 29), ('image', 30)]], {}), 43: ('wagtail.blocks.ListBlock', (42,), {'default': [], 'label': ' ', 'min_num': 0}), 44: ('wagtail.blocks.StructBlock', [[('heading', 40), ('candidates', 43)]], {'help_text': 'ZobrazĂ se v kompaktnĂm seznamu pod ÄŤelem kandidátky. NĂĹľe mĹŻĹľeš zmÄ›nit nadpis.', 'label': 'OstatnĂ osoby na kandidátce'}), 45: ('wagtail.blocks.CharBlock', (), {'help_text': "NapĹ™. 'VolebnĂ noviny'", 'label': 'Název sekce'}), 46: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 47: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 48: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 49: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 50: ('wagtail.blocks.StructBlock', [[('align', 47), ('color', 48), ('text', 49)]], {}), 51: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 52: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 53: ('wagtail.blocks.StructBlock', [[('left_text', 51), ('right_text', 52)]], {}), 54: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 55: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 56: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 57: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 58: ('wagtail.blocks.StructBlock', [[('headline', 54), ('tag', 55), ('style', 56), ('align', 57)]], {}), 59: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 60: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 61: ('wagtail.blocks.StructBlock', [[('color', 48), ('title', 59), ('picture', 60)]], {}), 62: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 63: ('wagtail.blocks.ListBlock', (62,), {'label': 'Odstavce'}), 64: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 65: ('wagtail.blocks.StructBlock', [[('color', 48), ('items', 63), ('picture', 64)]], {}), 66: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 67: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 68: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 69: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 70: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 71: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 72: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 73: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 74: ('wagtail.blocks.StructBlock', [[('bg_color', 66), ('image', 67), ('background', 68), ('title', 69), ('title_color', 70), ('content', 71), ('button_text', 72), ('button_url', 73)]], {'label': 'Karta'}), 75: ('wagtail.blocks.ListBlock', (74,), {'label': 'Karty'}), 76: ('wagtail.blocks.StructBlock', [[('cards', 75)]], {}), 77: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 78: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 79: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 80: ('wagtail.blocks.ListBlock', (79,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 81: ('wagtail.blocks.StructBlock', [[('gallery_items', 80)]], {'label': 'Galerie'}), 82: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 83: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 84: ('wagtail.blocks.StructBlock', [[('img', 82), ('caption', 83)]], {}), 85: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 86: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 87: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 88: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 89: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 90: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 91: ('wagtail.blocks.StructBlock', [[('poster_image', 87), ('video_url', 88), ('video_id', 89), ('is_full_width', 90)]], {}), 92: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 93: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 94: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 95: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 96: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('osm-mapnik', 'OSM Mapnik'), ('stadia-osm-bright', 'Stadia OSM Bright'), ('stadia-outdoors', 'Stadia Outdoors'), ('mapbox-streets', 'Mapbox Streets'), ('mapbox-outdoors', 'Mapbox Outdoors'), ('mapbox-light', 'Mapbox Light'), ('mapbox-dark', 'Mapbox Dark'), ('mapbox-satellite', 'Mapbox Satellite'), ('mapbox-pirate', 'Mapbox Pirate Theme')], 'label': 'Styl'}), 97: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 98: ('wagtail.blocks.StructBlock', [[('lat', 92), ('lon', 93), ('hex_color', 94), ('zoom', 95), ('style', 96), ('height', 97)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 99: ('wagtail.blocks.TextBlock', (), {'help_text': "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", 'label': 'Geodata', 'required': True}), 100: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 101: ('wagtail.blocks.StructBlock', [[('title', 9), ('description', 83), ('geojson', 99), ('image', 85), ('link', 12), ('hex_color', 100)]], {'required': True}), 102: ('wagtail.blocks.ListBlock', (101,), {'label': 'Součásti'}), 103: ('wagtail.blocks.StructBlock', [[('features', 102), ('zoom', 95), ('style', 96), ('height', 97)]], {'label': 'Mapová kolekce'}), 104: ('wagtail.blocks.StreamBlock', [[('text', 49), ('table', 77), ('figure', 84), ('youtube', 91), ('map_point', 98), ('map_collection', 103)]], {'label': 'Obsah', 'required': False}), 105: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 106: ('wagtail.blocks.StructBlock', [[('img', 85), ('headline', 86), ('content', 104), ('page', 105), ('link', 12)]], {}), 107: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 108: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black', 'ÄŚerná'), ('white', 'BĂlá'), ('pirati-yellow', 'Ĺ˝lutá'), ('grey-125', 'SvÄ›tle šedá'), ('blue-300', 'Modrá'), ('cyan-200', 'Tyrkysová'), ('green-400', 'Zelená'), ('violet-400', 'VĂnová'), ('red-600', 'ÄŚervená')], 'label': 'Barva'}), 109: ('wagtail.blocks.BooleanBlock', (), {'default': True, 'help_text': 'Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.', 'label': 'Animovat na hover', 'required': False}), 110: ('wagtail.blocks.StructBlock', [[('title', 107), ('color', 108), ('hoveractive', 109), ('page', 105), ('link', 12), ('align', 57)]], {}), 111: ('wagtail.blocks.ListBlock', (110,), {'label': 'TlaÄŤĂtka'}), 112: ('wagtail.blocks.StructBlock', [[('buttons', 111)]], {}), 113: ('wagtail.blocks.StreamBlock', [[('text', 49), ('table', 77), ('card', 106), ('figure', 84), ('youtube', 91), ('map_point', 98), ('map_collection', 103), ('button', 110), ('button_group', 112)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 114: ('wagtail.blocks.StreamBlock', [[('text', 49), ('table', 77), ('card', 106), ('figure', 84), ('youtube', 91), ('map_point', 98), ('map_collection', 103), ('button', 110), ('button_group', 112)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 115: ('wagtail.blocks.StructBlock', [[('left_column_content', 113), ('right_column_content', 114)]], {}), 116: ('wagtail.blocks.StreamBlock', [[('text', 49), ('table', 77), ('card', 106), ('figure', 84), ('youtube', 91), ('map_point', 98), ('map_collection', 103), ('button', 110), ('button_group', 112)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 117: ('wagtail.blocks.StructBlock', [[('left_column_content', 113), ('middle_column_content', 116), ('right_column_content', 114)]], {}), 118: ('wagtail.blocks.StructBlock', [[('poster_image', 87), ('video_url', 88), ('video_id', 89), ('is_full_width', 90)]], {'label': 'YouTube video'}), 119: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 120: ('wagtail.blocks.StreamBlock', [[('text', 46), ('headline', 58), ('table', 77)]], {'label': 'Obsah'}), 121: ('wagtail.blocks.StructBlock', [[('name', 119), ('content', 120)]], {}), 122: ('wagtail.blocks.StreamBlock', [[('text', 46), ('advanced_text', 50), ('two_columns_text', 53), ('headline', 58), ('headline_with_picture', 61), ('picture_list', 65), ('flip_cards', 76), ('table', 77), ('popout_table', 78), ('gallery', 81), ('figure', 84), ('card', 106), ('two_columns', 115), ('three_columns', 117), ('youtube', 118), ('map_point', 98), ('map_collection', 103), ('button', 110), ('button_group', 112), ('popout_point', 121)]], {'label': 'Obsah'}), 123: ('wagtail.blocks.StructBlock', [[('title', 45), ('child_blocks', 122)]], {}), 124: ('wagtail.blocks.ListBlock', (123,), {'default': [], 'help_text': 'PouĹľitelnĂ© napĹ™. pro zobrazenĂ volebnĂch novin na separátnĂ záloĹľce stránky s programem.', 'label': 'OstatnĂ záloĹľky', 'min_num': 0}), 125: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz'}), 126: ('wagtail.blocks.StructBlock', [[('text', 17), ('link', 125)]], {'label': 'Odkaz'}), 127: ('wagtail.blocks.ListBlock', (126,), {'default': [], 'help_text': 'Odkazy na jinĂ© části stránky, kterĂ© se zobrazĂ jako záloĹľka nahoĹ™e.', 'label': 'Odkazy zobrazenĂ© jako záloĹľky', 'min_num': 0}), 128: ('wagtail.blocks.CharBlock', (), {'default': 'Program', 'help_text': "NapĹ™. 'Program'", 'label': 'Nadpis'}), 129: ('wagtail.blocks.IntegerBlock', (), {'label': 'ÄŚĂslo'}), 130: ('wagtail.blocks.TextBlock', (), {'label': 'Obsah'}), 131: ('wagtail.blocks.StructBlock', [[('content', 130)]], {}), 132: ('wagtail.blocks.ListBlock', (131,), {'label': 'Body'}), 133: ('wagtail.blocks.StructBlock', [[('number', 129), ('name', 17), ('points', 132)]], {}), 134: ('wagtail.blocks.ListBlock', (133,), {'label': 'Kategorie'}), 135: ('wagtail.blocks.URLBlock', (), {'help_text': 'Pro zobrazenĂ odkazu na celou verzi programu musĂ bĂ˝t obÄ› následujĂcĂ pole vyplnÄ›ná.', 'label': 'Odkaz na celou verzi programu', 'required': False}), 136: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis odkazu na celou verzi programu', 'required': False}), 137: ('wagtail.blocks.StructBlock', [[('label', 128), ('categories', 134), ('long_version_url', 135), ('long_version_text', 136)]], {'template': 'styleguide2/includes/molecules/program/program_block.html'}), 138: ('wagtail.blocks.StreamBlock', [[('program_group', 7), ('program_group_crossroad', 15), ('program_group_popout', 25), ('carousel_program', 137)]], {'required': False}), 139: ('wagtail.blocks.StructBlock', [[('title', 0), ('preamble_content', 26), ('candidates_title', 27), ('program_title', 28), ('primary_candidates', 39), ('secondary_candidates', 44), ('other_views', 124), ('tab_links', 127), ('program', 138)]], {})}, verbose_name='Programy'), + ), + ] diff --git a/elections/migrations/0066_alter_electionsarticlepage_content.py b/elections/migrations/0066_alter_electionsarticlepage_content.py new file mode 100644 index 00000000..e8082934 --- /dev/null +++ b/elections/migrations/0066_alter_electionsarticlepage_content.py @@ -0,0 +1,19 @@ +# Generated by Django 5.0.7 on 2025-03-11 19:56 + +import wagtail.fields +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('elections', '0065_electionshomepage_has_expanded_navbar'), + ] + + operations = [ + migrations.AlterField( + model_name='electionsarticlepage', + name='content', + field=wagtail.fields.StreamField([('text', 0), ('advanced_text', 4), ('two_columns_text', 7), ('headline', 12), ('headline_with_picture', 15), ('picture_list', 19), ('flip_cards', 30), ('table', 31), ('popout_table', 32), ('gallery', 35), ('figure', 38), ('card', 62), ('two_columns', 71), ('three_columns', 73), ('youtube', 74), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68), ('popout_point', 78), ('quote', 81), ('download', 83)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {}), 46: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 48: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 49: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 50: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('osm-mapnik', 'OSM Mapnik'), ('stadia-osm-bright', 'Stadia OSM Bright'), ('stadia-outdoors', 'Stadia Outdoors'), ('mapbox-streets', 'Mapbox Streets'), ('mapbox-outdoors', 'Mapbox Outdoors'), ('mapbox-light', 'Mapbox Light'), ('mapbox-dark', 'Mapbox Dark'), ('mapbox-satellite', 'Mapbox Satellite'), ('mapbox-pirate', 'Mapbox Pirate Theme')], 'label': 'Styl'}), 51: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 52: ('wagtail.blocks.StructBlock', [[('lat', 46), ('lon', 47), ('hex_color', 48), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 53: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 54: ('wagtail.blocks.TextBlock', (), {'help_text': "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", 'label': 'Geodata', 'required': True}), 55: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 56: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 57: ('wagtail.blocks.StructBlock', [[('title', 53), ('description', 37), ('geojson', 54), ('image', 39), ('link', 55), ('hex_color', 56)]], {'required': True}), 58: ('wagtail.blocks.ListBlock', (57,), {'label': 'Součásti'}), 59: ('wagtail.blocks.StructBlock', [[('features', 58), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Mapová kolekce'}), 60: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59)]], {'label': 'Obsah', 'required': False}), 61: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 62: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 60), ('page', 61), ('link', 55)]], {}), 63: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 64: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black', 'ÄŚerná'), ('white', 'BĂlá'), ('pirati-yellow', 'Ĺ˝lutá'), ('grey-125', 'SvÄ›tle šedá'), ('blue-300', 'Modrá'), ('cyan-200', 'Tyrkysová'), ('green-400', 'Zelená'), ('violet-400', 'VĂnová'), ('red-600', 'ÄŚervená')], 'label': 'Barva'}), 65: ('wagtail.blocks.BooleanBlock', (), {'default': True, 'help_text': 'Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.', 'label': 'Animovat na hover', 'required': False}), 66: ('wagtail.blocks.StructBlock', [[('title', 63), ('color', 64), ('hoveractive', 65), ('page', 61), ('link', 55), ('align', 11)]], {}), 67: ('wagtail.blocks.ListBlock', (66,), {'label': 'TlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('buttons', 67)]], {}), 69: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('right_column_content', 70)]], {}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('middle_column_content', 72), ('right_column_content', 70)]], {}), 74: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {'label': 'YouTube video'}), 75: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 76: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 77: ('wagtail.blocks.StreamBlock', [[('text', 76), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 78: ('wagtail.blocks.StructBlock', [[('name', 75), ('content', 77)]], {}), 79: ('wagtail.blocks.CharBlock', (), {'label': 'Citace'}), 80: ('wagtail.blocks.CharBlock', (), {'label': 'JmĂ©no autora'}), 81: ('wagtail.blocks.StructBlock', [[('quote', 79), ('autor_name', 80)]], {}), 82: ('wagtail.documents.blocks.DocumentChooserBlock', (), {'label': 'StáhnutelnĂ˝ soubor'}), 83: ('wagtail.blocks.StructBlock', [[('file', 82)]], {})}, verbose_name='ÄŚlánek'), + ), + ] diff --git a/main/blocks.py b/main/blocks.py index e7b0ead8..42c17ad2 100644 --- a/main/blocks.py +++ b/main/blocks.py @@ -82,6 +82,16 @@ class HomePageCarouseSlideBlock(StructBlock): label="Obrázek nahrazujĂcĂ animaci (mobil / tablet)", required=False ) + desktop_video_url = URLBlock( + label="Odkaz na desktop video", + required=False + ) + + mobile_video_url = URLBlock( + label="Odkaz na mobilnĂ video", + required=False + ) + button_url = URLBlock( label="Odkaz tlaÄŤĂtka", help_text="Bez odkazu tlaÄŤĂtko nebude viditelnĂ©.", diff --git a/main/migrations/0148_alter_mainhomepage_content.py b/main/migrations/0148_alter_mainhomepage_content.py new file mode 100644 index 00000000..69f03af4 --- /dev/null +++ b/main/migrations/0148_alter_mainhomepage_content.py @@ -0,0 +1,20 @@ +# Generated by Django 5.0.7 on 2025-03-11 19:34 + +import shared.blocks.children.misc +import wagtail.fields +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('main', '0147_alter_mainhomepage_content'), + ] + + operations = [ + migrations.AlterField( + model_name='mainhomepage', + name='content', + field=wagtail.fields.StreamField([('carousel', 11), ('news', 14), ('people', 18), ('regions', 20), ('boxes', 28)], blank=True, block_lookup={0: ('wagtail.blocks.TextBlock', (), {'label': 'Desktop prvnà řádek', 'required': False}), 1: ('wagtail.blocks.TextBlock', (), {'label': 'Desktop druhĂ˝ řádek', 'required': False}), 2: ('wagtail.blocks.TextBlock', (), {'label': 'PrvnĂ mobilnà řádek', 'required': False}), 3: ('wagtail.blocks.TextBlock', (), {'label': 'DruhĂ˝ mobilnà řádek', 'required': False}), 4: ('wagtail.blocks.TextBlock', (), {'label': 'TĹ™etĂ mobilnà řádek', 'required': False}), 5: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek nahrazujĂcĂ animaci (desktop)', 'required': False}), 6: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek nahrazujĂcĂ animaci (mobil / tablet)', 'required': False}), 7: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz na desktop video', 'required': False}), 8: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz na mobilnĂ video', 'required': False}), 9: ('wagtail.blocks.URLBlock', (), {'help_text': 'Bez odkazu tlaÄŤĂtko nebude viditelnĂ©.', 'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 10: ('wagtail.blocks.CharBlock', (), {'help_text': 'Odkaz funguje i bez tlaÄŤĂtka. Pokud chceš tlaÄŤĂtko skrĂ˝t, nevyplĹuj text.', 'label': 'Text tlaÄŤĂtka', 'required': False}), 11: ('wagtail.blocks.StructBlock', [[('desktop_line_1', 0), ('desktop_line_2', 1), ('mobile_line_1', 2), ('mobile_line_2', 3), ('mobile_line_3', 4), ('desktop_image', 5), ('mobile_image', 6), ('desktop_video_url', 7), ('mobile_video_url', 8), ('button_url', 9), ('button_text', 10)]], {}), 12: ('wagtail.blocks.CharBlock', (), {'help_text': 'NejnovÄ›jšà články se naÄŤtou automaticky', 'label': 'Titulek'}), 13: ('wagtail.blocks.TextBlock', (), {'label': 'Popis', 'required': False}), 14: ('wagtail.blocks.StructBlock', [[('title', 12), ('description', 13)]], {'template': 'styleguide2/includes/organisms/articles/articles_section.html'}), 15: ('wagtail.blocks.CharBlock', (), {'label': 'Prvnà řádek titulku'}), 16: ('wagtail.blocks.CharBlock', (), {'label': 'DruhĂ˝ řádek titulku', 'required': False}), 17: ('wagtail.blocks.ListBlock', (shared.blocks.children.misc.PersonBoxBlock,), {'label': 'BoxĂky'}), 18: ('wagtail.blocks.StructBlock', [[('title_line_1', 15), ('title_line_2', 16), ('description', 13), ('list', 17)]], {}), 19: ('wagtail.blocks.CharBlock', (), {'help_text': 'ÄŚlánky pro regiony se naÄŤtou automaticky', 'label': 'Titulek'}), 20: ('wagtail.blocks.StructBlock', [[('title', 19)]], {}), 21: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis'}), 22: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz tlaÄŤĂtka'}), 23: ('wagtail.blocks.CharBlock', (), {'label': 'Text tlaÄŤĂtka'}), 24: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Logo/obrázek'}), 25: ('wagtail.blocks.StructBlock', [[('button_link', 22), ('button_text', 23), ('title', 21), ('image', 24)]], {}), 26: ('wagtail.blocks.ListBlock', (25,), {'label': 'BoxĂky'}), 27: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek pozadĂ', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('title', 21), ('list', 26), ('image', 27)]], {})}, verbose_name='HlavnĂ obsah'), + ), + ] diff --git a/main/migrations/0149_alter_mainarticlepage_content_and_more.py b/main/migrations/0149_alter_mainarticlepage_content_and_more.py new file mode 100644 index 00000000..9474140c --- /dev/null +++ b/main/migrations/0149_alter_mainarticlepage_content_and_more.py @@ -0,0 +1,24 @@ +# Generated by Django 5.0.7 on 2025-03-11 19:56 + +import wagtail.fields +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('main', '0148_alter_mainhomepage_content'), + ] + + operations = [ + migrations.AlterField( + model_name='mainarticlepage', + name='content', + field=wagtail.fields.StreamField([('text', 0), ('advanced_text', 4), ('two_columns_text', 7), ('headline', 12), ('headline_with_picture', 15), ('picture_list', 19), ('flip_cards', 30), ('table', 31), ('popout_table', 32), ('gallery', 35), ('figure', 38), ('card', 62), ('two_columns', 71), ('three_columns', 73), ('youtube', 74), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68), ('popout_point', 78), ('quote', 81), ('download', 83)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {}), 46: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 48: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 49: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 50: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('osm-mapnik', 'OSM Mapnik'), ('stadia-osm-bright', 'Stadia OSM Bright'), ('stadia-outdoors', 'Stadia Outdoors'), ('mapbox-streets', 'Mapbox Streets'), ('mapbox-outdoors', 'Mapbox Outdoors'), ('mapbox-light', 'Mapbox Light'), ('mapbox-dark', 'Mapbox Dark'), ('mapbox-satellite', 'Mapbox Satellite'), ('mapbox-pirate', 'Mapbox Pirate Theme')], 'label': 'Styl'}), 51: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 52: ('wagtail.blocks.StructBlock', [[('lat', 46), ('lon', 47), ('hex_color', 48), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 53: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 54: ('wagtail.blocks.TextBlock', (), {'help_text': "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", 'label': 'Geodata', 'required': True}), 55: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 56: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 57: ('wagtail.blocks.StructBlock', [[('title', 53), ('description', 37), ('geojson', 54), ('image', 39), ('link', 55), ('hex_color', 56)]], {'required': True}), 58: ('wagtail.blocks.ListBlock', (57,), {'label': 'Součásti'}), 59: ('wagtail.blocks.StructBlock', [[('features', 58), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Mapová kolekce'}), 60: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59)]], {'label': 'Obsah', 'required': False}), 61: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 62: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 60), ('page', 61), ('link', 55)]], {}), 63: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 64: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black', 'ÄŚerná'), ('white', 'BĂlá'), ('pirati-yellow', 'Ĺ˝lutá'), ('grey-125', 'SvÄ›tle šedá'), ('blue-300', 'Modrá'), ('cyan-200', 'Tyrkysová'), ('green-400', 'Zelená'), ('violet-400', 'VĂnová'), ('red-600', 'ÄŚervená')], 'label': 'Barva'}), 65: ('wagtail.blocks.BooleanBlock', (), {'default': True, 'help_text': 'Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.', 'label': 'Animovat na hover', 'required': False}), 66: ('wagtail.blocks.StructBlock', [[('title', 63), ('color', 64), ('hoveractive', 65), ('page', 61), ('link', 55), ('align', 11)]], {}), 67: ('wagtail.blocks.ListBlock', (66,), {'label': 'TlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('buttons', 67)]], {}), 69: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('right_column_content', 70)]], {}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('middle_column_content', 72), ('right_column_content', 70)]], {}), 74: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {'label': 'YouTube video'}), 75: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 76: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 77: ('wagtail.blocks.StreamBlock', [[('text', 76), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 78: ('wagtail.blocks.StructBlock', [[('name', 75), ('content', 77)]], {}), 79: ('wagtail.blocks.CharBlock', (), {'label': 'Citace'}), 80: ('wagtail.blocks.CharBlock', (), {'label': 'JmĂ©no autora'}), 81: ('wagtail.blocks.StructBlock', [[('quote', 79), ('autor_name', 80)]], {}), 82: ('wagtail.documents.blocks.DocumentChooserBlock', (), {'label': 'StáhnutelnĂ˝ soubor'}), 83: ('wagtail.blocks.StructBlock', [[('file', 82)]], {})}, verbose_name='ÄŚlánek'), + ), + migrations.AlterField( + model_name='mainprogrampage', + name='program', + field=wagtail.fields.StreamField([('program_group', 7), ('program_group_crossroad', 15), ('program_group_popout', 25), ('program_group_with_candidates', 139), ('elections_program', 141)], blank=True, block_lookup={0: ('wagtail.blocks.CharBlock', (), {'help_text': "NapĹ™. 'KrajskĂ© volby 2024', 'EvropskĂ© volby 2024', ...", 'label': 'Název programu'}), 1: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz pokrĂ˝vajĂcĂ celou tuto část', 'required': False}), 2: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Ikona', 'required': False}), 3: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek ÄŤlánku programu'}), 4: ('wagtail.blocks.RichTextBlock', (), {'features': ['h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Obsah'}), 5: ('wagtail.blocks.StructBlock', [[('url', 1), ('icon', 2), ('title', 3), ('text', 4)]], {}), 6: ('wagtail.blocks.ListBlock', (5,), {'label': 'JednotlivĂ© ÄŤlánky programu'}), 7: ('wagtail.blocks.StructBlock', [[('title', 0), ('point_list', 6)]], {}), 8: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek'}), 9: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 10: ('wagtail.blocks.RichTextBlock', (), {'label': 'KrátkĂ˝ text pod nadpisem', 'required': False}), 11: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'page_type': ['main.MainArticlesPage', 'main.MainArticlePage', 'main.MainProgramPage', 'main.MainPeoplePage', 'main.MainPersonPage', 'main.MainSimplePage', 'main.MainContactPage', 'main.MainCrossroadPage'], 'required': False}), 12: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 13: ('wagtail.blocks.StructBlock', [[('image', 8), ('title', 9), ('text', 10), ('page', 11), ('link', 12)]], {}), 14: ('wagtail.blocks.ListBlock', (13,), {'label': 'Karty programu'}), 15: ('wagtail.blocks.StructBlock', [[('title', 0), ('point_list', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'help_text': 'ZobrazĂ se nad pĹ™epĂnaÄŤem mezi kandidáty a programem.', 'label': 'Preambule', 'required': False}), 17: ('wagtail.blocks.CharBlock', (), {'label': 'Název'}), 18: ('wagtail.blocks.RichTextBlock', (), {'label': 'Popis', 'required': False}), 19: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek vyskakovacĂho bloku'}), 20: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Garant', 'page_type': ['district.DistrictPersonPage'], 'required': False}), 21: ('wagtail.blocks.StructBlock', [[('title', 19), ('content', 4), ('guarantor', 20)]], {}), 22: ('wagtail.blocks.ListBlock', (21,), {'label': 'JednotlivĂ© bloky programu'}), 23: ('wagtail.blocks.StructBlock', [[('name', 17), ('icon', 2), ('description', 18), ('point_list', 22)]], {}), 24: ('wagtail.blocks.ListBlock', (23,), {'label': 'Kategorie programu'}), 25: ('wagtail.blocks.StructBlock', [[('title', 0), ('preamble', 16), ('categories', 24)]], {}), 26: ('wagtail.blocks.RichTextBlock', (), {'help_text': 'Text, kterĂ˝ se zobrazĂ pĹ™ed pĹ™epĂnaÄŤem mezi kandidáty a programem.', 'label': 'Preambule', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'default': 'Kandidáti', 'label': 'Nadpis záloĹľky pro kandidáty'}), 28: ('wagtail.blocks.CharBlock', (), {'default': 'Program', 'label': 'Nadpis záloĹľky pro program'}), 29: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage']}), 30: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Pokud nenĂ vybrán, pouĹľije se obrázek ze stránky kandidáta', 'label': 'Obrázek', 'required': False}), 31: ('wagtail.blocks.StructBlock', [[('page', 29), ('image', 30), ('description', 18)]], {}), 32: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis'}), 33: ('wagtail.blocks.CharBlock', (), {'label': 'Podnadpis', 'required': False}), 34: ('wagtail.blocks.CharBlock', (), {'label': 'PovolánĂ', 'required': False}), 35: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 36: ('wagtail.blocks.CharBlock', (), {'default': 'Zjisti vĂce', 'help_text': 'Pokud nenĂ vyplnÄ›no, odkaz tlaÄŤĂtka se nezobrazĂ', 'label': 'Text tlaÄŤĂtka', 'required': False}), 37: ('wagtail.blocks.StructBlock', [[('title', 32), ('subtitle', 33), ('job', 34), ('image', 30), ('description', 18), ('button_url', 35), ('button_text', 36)]], {}), 38: ('wagtail.blocks.StreamBlock', [[('candidate', 31), ('custom_candidate', 37)]], {'label': ' ', 'required': False}), 39: ('wagtail.blocks.StructBlock', [[('stream_candidates', 38)]], {'help_text': 'ZobrazĂ se ve velkĂ˝ch blocĂch na začátku stránky.', 'label': 'Osoby na ÄŤele kandidátky'}), 40: ('wagtail.blocks.CharBlock', (), {'default': 'OstatnĂ kandidáti', 'label': ' ', 'required': False}), 41: ('wagtail.blocks.CharBlock', (), {'label': 'ÄŚĂslo'}), 42: ('wagtail.blocks.StructBlock', [[('number', 41), ('page', 29), ('image', 30)]], {}), 43: ('wagtail.blocks.ListBlock', (42,), {'default': [], 'label': ' ', 'min_num': 0}), 44: ('wagtail.blocks.StructBlock', [[('heading', 40), ('candidates', 43)]], {'help_text': 'ZobrazĂ se v kompaktnĂm seznamu pod ÄŤelem kandidátky. NĂĹľe mĹŻĹľeš zmÄ›nit nadpis.', 'label': 'OstatnĂ osoby na kandidátce'}), 45: ('wagtail.blocks.CharBlock', (), {'help_text': "NapĹ™. 'VolebnĂ noviny'", 'label': 'Název sekce'}), 46: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 47: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 48: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 49: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 50: ('wagtail.blocks.StructBlock', [[('align', 47), ('color', 48), ('text', 49)]], {}), 51: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 52: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 53: ('wagtail.blocks.StructBlock', [[('left_text', 51), ('right_text', 52)]], {}), 54: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 55: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 56: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 57: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 58: ('wagtail.blocks.StructBlock', [[('headline', 54), ('tag', 55), ('style', 56), ('align', 57)]], {}), 59: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 60: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 61: ('wagtail.blocks.StructBlock', [[('color', 48), ('title', 59), ('picture', 60)]], {}), 62: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 63: ('wagtail.blocks.ListBlock', (62,), {'label': 'Odstavce'}), 64: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 65: ('wagtail.blocks.StructBlock', [[('color', 48), ('items', 63), ('picture', 64)]], {}), 66: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 67: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 68: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 69: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 70: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 71: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 72: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 73: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 74: ('wagtail.blocks.StructBlock', [[('bg_color', 66), ('image', 67), ('background', 68), ('title', 69), ('title_color', 70), ('content', 71), ('button_text', 72), ('button_url', 73)]], {'label': 'Karta'}), 75: ('wagtail.blocks.ListBlock', (74,), {'label': 'Karty'}), 76: ('wagtail.blocks.StructBlock', [[('cards', 75)]], {}), 77: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 78: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 79: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 80: ('wagtail.blocks.ListBlock', (79,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 81: ('wagtail.blocks.StructBlock', [[('gallery_items', 80)]], {'label': 'Galerie'}), 82: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 83: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 84: ('wagtail.blocks.StructBlock', [[('img', 82), ('caption', 83)]], {}), 85: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 86: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 87: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 88: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 89: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 90: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 91: ('wagtail.blocks.StructBlock', [[('poster_image', 87), ('video_url', 88), ('video_id', 89), ('is_full_width', 90)]], {}), 92: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 93: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 94: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 95: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 96: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('osm-mapnik', 'OSM Mapnik'), ('stadia-osm-bright', 'Stadia OSM Bright'), ('stadia-outdoors', 'Stadia Outdoors'), ('mapbox-streets', 'Mapbox Streets'), ('mapbox-outdoors', 'Mapbox Outdoors'), ('mapbox-light', 'Mapbox Light'), ('mapbox-dark', 'Mapbox Dark'), ('mapbox-satellite', 'Mapbox Satellite'), ('mapbox-pirate', 'Mapbox Pirate Theme')], 'label': 'Styl'}), 97: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 98: ('wagtail.blocks.StructBlock', [[('lat', 92), ('lon', 93), ('hex_color', 94), ('zoom', 95), ('style', 96), ('height', 97)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 99: ('wagtail.blocks.TextBlock', (), {'help_text': "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", 'label': 'Geodata', 'required': True}), 100: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 101: ('wagtail.blocks.StructBlock', [[('title', 9), ('description', 83), ('geojson', 99), ('image', 85), ('link', 12), ('hex_color', 100)]], {'required': True}), 102: ('wagtail.blocks.ListBlock', (101,), {'label': 'Součásti'}), 103: ('wagtail.blocks.StructBlock', [[('features', 102), ('zoom', 95), ('style', 96), ('height', 97)]], {'label': 'Mapová kolekce'}), 104: ('wagtail.blocks.StreamBlock', [[('text', 49), ('table', 77), ('figure', 84), ('youtube', 91), ('map_point', 98), ('map_collection', 103)]], {'label': 'Obsah', 'required': False}), 105: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 106: ('wagtail.blocks.StructBlock', [[('img', 85), ('headline', 86), ('content', 104), ('page', 105), ('link', 12)]], {}), 107: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 108: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black', 'ÄŚerná'), ('white', 'BĂlá'), ('pirati-yellow', 'Ĺ˝lutá'), ('grey-125', 'SvÄ›tle šedá'), ('blue-300', 'Modrá'), ('cyan-200', 'Tyrkysová'), ('green-400', 'Zelená'), ('violet-400', 'VĂnová'), ('red-600', 'ÄŚervená')], 'label': 'Barva'}), 109: ('wagtail.blocks.BooleanBlock', (), {'default': True, 'help_text': 'Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.', 'label': 'Animovat na hover', 'required': False}), 110: ('wagtail.blocks.StructBlock', [[('title', 107), ('color', 108), ('hoveractive', 109), ('page', 105), ('link', 12), ('align', 57)]], {}), 111: ('wagtail.blocks.ListBlock', (110,), {'label': 'TlaÄŤĂtka'}), 112: ('wagtail.blocks.StructBlock', [[('buttons', 111)]], {}), 113: ('wagtail.blocks.StreamBlock', [[('text', 49), ('table', 77), ('card', 106), ('figure', 84), ('youtube', 91), ('map_point', 98), ('map_collection', 103), ('button', 110), ('button_group', 112)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 114: ('wagtail.blocks.StreamBlock', [[('text', 49), ('table', 77), ('card', 106), ('figure', 84), ('youtube', 91), ('map_point', 98), ('map_collection', 103), ('button', 110), ('button_group', 112)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 115: ('wagtail.blocks.StructBlock', [[('left_column_content', 113), ('right_column_content', 114)]], {}), 116: ('wagtail.blocks.StreamBlock', [[('text', 49), ('table', 77), ('card', 106), ('figure', 84), ('youtube', 91), ('map_point', 98), ('map_collection', 103), ('button', 110), ('button_group', 112)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 117: ('wagtail.blocks.StructBlock', [[('left_column_content', 113), ('middle_column_content', 116), ('right_column_content', 114)]], {}), 118: ('wagtail.blocks.StructBlock', [[('poster_image', 87), ('video_url', 88), ('video_id', 89), ('is_full_width', 90)]], {'label': 'YouTube video'}), 119: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 120: ('wagtail.blocks.StreamBlock', [[('text', 46), ('headline', 58), ('table', 77)]], {'label': 'Obsah'}), 121: ('wagtail.blocks.StructBlock', [[('name', 119), ('content', 120)]], {}), 122: ('wagtail.blocks.StreamBlock', [[('text', 46), ('advanced_text', 50), ('two_columns_text', 53), ('headline', 58), ('headline_with_picture', 61), ('picture_list', 65), ('flip_cards', 76), ('table', 77), ('popout_table', 78), ('gallery', 81), ('figure', 84), ('card', 106), ('two_columns', 115), ('three_columns', 117), ('youtube', 118), ('map_point', 98), ('map_collection', 103), ('button', 110), ('button_group', 112), ('popout_point', 121)]], {'label': 'Obsah'}), 123: ('wagtail.blocks.StructBlock', [[('title', 45), ('child_blocks', 122)]], {}), 124: ('wagtail.blocks.ListBlock', (123,), {'default': [], 'help_text': 'PouĹľitelnĂ© napĹ™. pro zobrazenĂ volebnĂch novin na separátnĂ záloĹľce stránky s programem.', 'label': 'OstatnĂ záloĹľky', 'min_num': 0}), 125: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz'}), 126: ('wagtail.blocks.StructBlock', [[('text', 17), ('link', 125)]], {'label': 'Odkaz'}), 127: ('wagtail.blocks.ListBlock', (126,), {'default': [], 'help_text': 'Odkazy na jinĂ© části stránky, kterĂ© se zobrazĂ jako záloĹľka nahoĹ™e.', 'label': 'Odkazy zobrazenĂ© jako záloĹľky', 'min_num': 0}), 128: ('wagtail.blocks.CharBlock', (), {'default': 'Program', 'help_text': "NapĹ™. 'Program'", 'label': 'Nadpis'}), 129: ('wagtail.blocks.IntegerBlock', (), {'label': 'ÄŚĂslo'}), 130: ('wagtail.blocks.TextBlock', (), {'label': 'Obsah'}), 131: ('wagtail.blocks.StructBlock', [[('content', 130)]], {}), 132: ('wagtail.blocks.ListBlock', (131,), {'label': 'Body'}), 133: ('wagtail.blocks.StructBlock', [[('number', 129), ('name', 17), ('points', 132)]], {}), 134: ('wagtail.blocks.ListBlock', (133,), {'label': 'Kategorie'}), 135: ('wagtail.blocks.URLBlock', (), {'help_text': 'Pro zobrazenĂ odkazu na celou verzi programu musĂ bĂ˝t obÄ› následujĂcĂ pole vyplnÄ›ná.', 'label': 'Odkaz na celou verzi programu', 'required': False}), 136: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis odkazu na celou verzi programu', 'required': False}), 137: ('wagtail.blocks.StructBlock', [[('label', 128), ('categories', 134), ('long_version_url', 135), ('long_version_text', 136)]], {'template': 'styleguide2/includes/molecules/program/program_block.html'}), 138: ('wagtail.blocks.StreamBlock', [[('program_group', 7), ('program_group_crossroad', 15), ('program_group_popout', 25), ('carousel_program', 137)]], {'required': False}), 139: ('wagtail.blocks.StructBlock', [[('title', 0), ('preamble_content', 26), ('candidates_title', 27), ('program_title', 28), ('primary_candidates', 39), ('secondary_candidates', 44), ('other_views', 124), ('tab_links', 127), ('program', 138)]], {}), 140: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'page_type': ['elections.ElectionsFullProgramPage'], 'required': False}), 141: ('wagtail.blocks.StructBlock', [[('title', 0), ('program_page', 140)]], {})}, verbose_name='Programy'), + ), + ] diff --git a/shared/blocks/parents/video.py b/shared/blocks/parents/video.py index edece2c8..834c7032 100644 --- a/shared/blocks/parents/video.py +++ b/shared/blocks/parents/video.py @@ -28,6 +28,12 @@ class YouTubeVideoBlock(blocks.StructBlock): help_text="NenĂ tĹ™eba vyplĹovat, bude automaticky " "naÄŤteno z odkazu.", ) + is_full_width = blocks.BooleanBlock( + label="ZabĂrá celou šĂĹ™ku?", + required=True, + default=False, + ) + class Meta: label = "YouTube video" icon = "media" diff --git a/shared/templates/styleguide2/includes/atoms/buttons/round_button_block.html b/shared/templates/styleguide2/includes/atoms/buttons/round_button_block.html index e589484d..fbc28b7d 100644 --- a/shared/templates/styleguide2/includes/atoms/buttons/round_button_block.html +++ b/shared/templates/styleguide2/includes/atoms/buttons/round_button_block.html @@ -1,5 +1,5 @@ {% firstof self.page.url self.link as link %} -<div class="inline-block"> +<div class="inline-block py-4"> {% include "styleguide2/includes/atoms/buttons/round_button.html" with url=link text=self.title show_arrow_on_hover=self.hoveractive classes=color_classes %} </div> diff --git a/shared/templates/styleguide2/includes/atoms/youtube_video/youtube_video.html b/shared/templates/styleguide2/includes/atoms/youtube_video/youtube_video.html index 401a90e9..9fd23f68 100644 --- a/shared/templates/styleguide2/includes/atoms/youtube_video/youtube_video.html +++ b/shared/templates/styleguide2/includes/atoms/youtube_video/youtube_video.html @@ -4,7 +4,13 @@ class=" flex flex-col gap-2 mb-10 - relative max-w-[600px] + relative + + {% if not self.is_full_width %} + max-w-[600px] + {% else %} + w-full + {% endif %} group @@ -12,7 +18,11 @@ " id="ytVideo{{ self.video_id }}PosterContainer" > - {% image self.poster_image width-720 class="object-cover mb-2 aspect-video rounded opacity-50 duration-200 group-hover:blur-sm" %} + {% if not self.is_full_width %} + {% image self.poster_image width-720 width="720" height="480" class="object-cover mb-2 aspect-video rounded opacity-50 duration-200 group-hover:blur-sm" %} + {% else %} + {% image self.poster_image width-1920 width="1920" height="1080" class="object-cover mb-2 aspect-video rounded opacity-50 duration-200 group-hover:blur-sm" %} + {% endif %} <div class="absolute top-0 left-0 flex justify-center items-center w-full h-full" @@ -36,7 +46,15 @@ </div> <div - class="content-block aspect-video mb-10 max-w-[600px]" + class=" + content-block aspect-video mb-10 + + {% if not self.is_full_width %} + max-w-[600px] + {% else %} + w-full + {% endif %} + " id="ytVideo{{ self.video_id }}IframeContainer" style="display: none" > diff --git a/shared/templates/styleguide2/includes/molecules/menus/carousel.html b/shared/templates/styleguide2/includes/molecules/menus/carousel.html index 8d1d1a6b..25e7340f 100644 --- a/shared/templates/styleguide2/includes/molecules/menus/carousel.html +++ b/shared/templates/styleguide2/includes/molecules/menus/carousel.html @@ -40,9 +40,13 @@ poster="{{ mobile_background_image.url }}" {% endif %} > - {% if not self.mobile_image %} + {% if not self.mobile_image %} + {% if self.mobile_video_url %} + <source src="{{ self.mobile_video_url }}"> + {% else %} <source src="{% static 'styleguide2/images/background-images/bg-flag-mobile.mp4' %}"> {% endif %} + {% endif %} </video> <video @@ -64,7 +68,11 @@ {% endif %} > {% if not self.desktop_image %} - <source src="{% static 'styleguide2/images/background-images/bg-flag.mp4' %}"> + {% if self.desktop_video_url %} + <source src="{{ self.desktop_video_url }}"> + {% else %} + <source src="{% static 'styleguide2/images/background-images/bg-flag.mp4' %}"> + {% endif %} {% endif %} </video> diff --git a/uniweb/migrations/0121_alter_uniwebarticlepage_content_and_more.py b/uniweb/migrations/0121_alter_uniwebarticlepage_content_and_more.py new file mode 100644 index 00000000..c7f42acd --- /dev/null +++ b/uniweb/migrations/0121_alter_uniwebarticlepage_content_and_more.py @@ -0,0 +1,44 @@ +# Generated by Django 5.0.7 on 2025-03-11 19:56 + +import wagtail.fields +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('uniweb', '0120_rename_show_tansparent_header_uniwebflexiblepage_show_transparent_header'), + ] + + operations = [ + migrations.AlterField( + model_name='uniwebarticlepage', + name='content', + field=wagtail.fields.StreamField([('text', 0), ('advanced_text', 4), ('two_columns_text', 7), ('headline', 12), ('headline_with_picture', 15), ('picture_list', 19), ('flip_cards', 30), ('table', 31), ('popout_table', 32), ('gallery', 35), ('figure', 38), ('card', 62), ('two_columns', 71), ('three_columns', 73), ('youtube', 74), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68), ('popout_point', 78), ('quote', 81), ('download', 83)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {}), 46: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 48: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 49: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 50: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('osm-mapnik', 'OSM Mapnik'), ('stadia-osm-bright', 'Stadia OSM Bright'), ('stadia-outdoors', 'Stadia Outdoors'), ('mapbox-streets', 'Mapbox Streets'), ('mapbox-outdoors', 'Mapbox Outdoors'), ('mapbox-light', 'Mapbox Light'), ('mapbox-dark', 'Mapbox Dark'), ('mapbox-satellite', 'Mapbox Satellite'), ('mapbox-pirate', 'Mapbox Pirate Theme')], 'label': 'Styl'}), 51: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 52: ('wagtail.blocks.StructBlock', [[('lat', 46), ('lon', 47), ('hex_color', 48), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 53: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 54: ('wagtail.blocks.TextBlock', (), {'help_text': "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", 'label': 'Geodata', 'required': True}), 55: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 56: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 57: ('wagtail.blocks.StructBlock', [[('title', 53), ('description', 37), ('geojson', 54), ('image', 39), ('link', 55), ('hex_color', 56)]], {'required': True}), 58: ('wagtail.blocks.ListBlock', (57,), {'label': 'Součásti'}), 59: ('wagtail.blocks.StructBlock', [[('features', 58), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Mapová kolekce'}), 60: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59)]], {'label': 'Obsah', 'required': False}), 61: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 62: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 60), ('page', 61), ('link', 55)]], {}), 63: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 64: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black', 'ÄŚerná'), ('white', 'BĂlá'), ('pirati-yellow', 'Ĺ˝lutá'), ('grey-125', 'SvÄ›tle šedá'), ('blue-300', 'Modrá'), ('cyan-200', 'Tyrkysová'), ('green-400', 'Zelená'), ('violet-400', 'VĂnová'), ('red-600', 'ÄŚervená')], 'label': 'Barva'}), 65: ('wagtail.blocks.BooleanBlock', (), {'default': True, 'help_text': 'Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.', 'label': 'Animovat na hover', 'required': False}), 66: ('wagtail.blocks.StructBlock', [[('title', 63), ('color', 64), ('hoveractive', 65), ('page', 61), ('link', 55), ('align', 11)]], {}), 67: ('wagtail.blocks.ListBlock', (66,), {'label': 'TlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('buttons', 67)]], {}), 69: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('right_column_content', 70)]], {}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('middle_column_content', 72), ('right_column_content', 70)]], {}), 74: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {'label': 'YouTube video'}), 75: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 76: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 77: ('wagtail.blocks.StreamBlock', [[('text', 76), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 78: ('wagtail.blocks.StructBlock', [[('name', 75), ('content', 77)]], {}), 79: ('wagtail.blocks.CharBlock', (), {'label': 'Citace'}), 80: ('wagtail.blocks.CharBlock', (), {'label': 'JmĂ©no autora'}), 81: ('wagtail.blocks.StructBlock', [[('quote', 79), ('autor_name', 80)]], {}), 82: ('wagtail.documents.blocks.DocumentChooserBlock', (), {'label': 'StáhnutelnĂ˝ soubor'}), 83: ('wagtail.blocks.StructBlock', [[('file', 82)]], {})}, verbose_name='ÄŚlánek'), + ), + migrations.AlterField( + model_name='uniwebflexiblepage', + name='content', + field=wagtail.fields.StreamField([('text', 0), ('advanced_text', 4), ('two_columns_text', 7), ('headline', 12), ('headline_with_picture', 15), ('picture_list', 19), ('flip_cards', 30), ('table', 31), ('popout_table', 32), ('gallery', 35), ('figure', 38), ('card', 62), ('two_columns', 71), ('three_columns', 73), ('youtube', 74), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68), ('popout_point', 77), ('calendar', 80), ('newsletter', 85)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {}), 46: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 48: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 49: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 50: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('osm-mapnik', 'OSM Mapnik'), ('stadia-osm-bright', 'Stadia OSM Bright'), ('stadia-outdoors', 'Stadia Outdoors'), ('mapbox-streets', 'Mapbox Streets'), ('mapbox-outdoors', 'Mapbox Outdoors'), ('mapbox-light', 'Mapbox Light'), ('mapbox-dark', 'Mapbox Dark'), ('mapbox-satellite', 'Mapbox Satellite'), ('mapbox-pirate', 'Mapbox Pirate Theme')], 'label': 'Styl'}), 51: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 52: ('wagtail.blocks.StructBlock', [[('lat', 46), ('lon', 47), ('hex_color', 48), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 53: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 54: ('wagtail.blocks.TextBlock', (), {'help_text': "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", 'label': 'Geodata', 'required': True}), 55: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 56: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 57: ('wagtail.blocks.StructBlock', [[('title', 53), ('description', 37), ('geojson', 54), ('image', 39), ('link', 55), ('hex_color', 56)]], {'required': True}), 58: ('wagtail.blocks.ListBlock', (57,), {'label': 'Součásti'}), 59: ('wagtail.blocks.StructBlock', [[('features', 58), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Mapová kolekce'}), 60: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59)]], {'label': 'Obsah', 'required': False}), 61: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 62: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 60), ('page', 61), ('link', 55)]], {}), 63: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 64: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black', 'ÄŚerná'), ('white', 'BĂlá'), ('pirati-yellow', 'Ĺ˝lutá'), ('grey-125', 'SvÄ›tle šedá'), ('blue-300', 'Modrá'), ('cyan-200', 'Tyrkysová'), ('green-400', 'Zelená'), ('violet-400', 'VĂnová'), ('red-600', 'ÄŚervená')], 'label': 'Barva'}), 65: ('wagtail.blocks.BooleanBlock', (), {'default': True, 'help_text': 'Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.', 'label': 'Animovat na hover', 'required': False}), 66: ('wagtail.blocks.StructBlock', [[('title', 63), ('color', 64), ('hoveractive', 65), ('page', 61), ('link', 55), ('align', 11)]], {}), 67: ('wagtail.blocks.ListBlock', (66,), {'label': 'TlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('buttons', 67)]], {}), 69: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('right_column_content', 70)]], {}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('middle_column_content', 72), ('right_column_content', 70)]], {}), 74: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {'label': 'YouTube video'}), 75: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 76: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 77: ('wagtail.blocks.StructBlock', [[('name', 75), ('content', 76)]], {}), 78: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': False}), 79: ('wagtail.blocks.static_block.StaticBlock', (), {'admin_text': 'Adresa kalendáře se zadává v nastavenĂ hlavnĂ stránky webu', 'label': 'Volba kalendáře'}), 80: ('wagtail.blocks.StructBlock', [[('title', 78), ('info', 79)]], {}), 81: ('wagtail.blocks.CharBlock', (), {'label': 'ID newsletteru', 'required': True}), 82: ('wagtail.blocks.CharBlock', (), {'default': 'OdebĂrej náš', 'label': 'Nadpis bloku (1. řádek)', 'required': True}), 83: ('wagtail.blocks.CharBlock', (), {'default': 'newsletter', 'label': 'Nadpis bloku (2. řádek)', 'required': True}), 84: ('wagtail.blocks.CharBlock', (), {'default': 'Fake news tam nenajdeš, ale dozvĂš se, co chystáme doopravdy!', 'label': 'Popis newsletteru', 'required': True}), 85: ('wagtail.blocks.StructBlock', [[('list_id', 81), ('title_line_1', 82), ('title_line_2', 83), ('description', 84)]], {})}, verbose_name='obsah stránky'), + ), + migrations.AlterField( + model_name='uniwebformpage', + name='content_after', + field=wagtail.fields.StreamField([('text', 0), ('advanced_text', 4), ('two_columns_text', 7), ('headline', 12), ('headline_with_picture', 15), ('picture_list', 19), ('flip_cards', 30), ('table', 31), ('popout_table', 32), ('gallery', 35), ('figure', 38), ('card', 62), ('two_columns', 71), ('three_columns', 73), ('youtube', 74), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68), ('popout_point', 77), ('calendar', 80)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {}), 46: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 48: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 49: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 50: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('osm-mapnik', 'OSM Mapnik'), ('stadia-osm-bright', 'Stadia OSM Bright'), ('stadia-outdoors', 'Stadia Outdoors'), ('mapbox-streets', 'Mapbox Streets'), ('mapbox-outdoors', 'Mapbox Outdoors'), ('mapbox-light', 'Mapbox Light'), ('mapbox-dark', 'Mapbox Dark'), ('mapbox-satellite', 'Mapbox Satellite'), ('mapbox-pirate', 'Mapbox Pirate Theme')], 'label': 'Styl'}), 51: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 52: ('wagtail.blocks.StructBlock', [[('lat', 46), ('lon', 47), ('hex_color', 48), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 53: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 54: ('wagtail.blocks.TextBlock', (), {'help_text': "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", 'label': 'Geodata', 'required': True}), 55: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 56: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 57: ('wagtail.blocks.StructBlock', [[('title', 53), ('description', 37), ('geojson', 54), ('image', 39), ('link', 55), ('hex_color', 56)]], {'required': True}), 58: ('wagtail.blocks.ListBlock', (57,), {'label': 'Součásti'}), 59: ('wagtail.blocks.StructBlock', [[('features', 58), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Mapová kolekce'}), 60: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59)]], {'label': 'Obsah', 'required': False}), 61: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 62: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 60), ('page', 61), ('link', 55)]], {}), 63: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 64: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black', 'ÄŚerná'), ('white', 'BĂlá'), ('pirati-yellow', 'Ĺ˝lutá'), ('grey-125', 'SvÄ›tle šedá'), ('blue-300', 'Modrá'), ('cyan-200', 'Tyrkysová'), ('green-400', 'Zelená'), ('violet-400', 'VĂnová'), ('red-600', 'ÄŚervená')], 'label': 'Barva'}), 65: ('wagtail.blocks.BooleanBlock', (), {'default': True, 'help_text': 'Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.', 'label': 'Animovat na hover', 'required': False}), 66: ('wagtail.blocks.StructBlock', [[('title', 63), ('color', 64), ('hoveractive', 65), ('page', 61), ('link', 55), ('align', 11)]], {}), 67: ('wagtail.blocks.ListBlock', (66,), {'label': 'TlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('buttons', 67)]], {}), 69: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('right_column_content', 70)]], {}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('middle_column_content', 72), ('right_column_content', 70)]], {}), 74: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {'label': 'YouTube video'}), 75: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 76: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 77: ('wagtail.blocks.StructBlock', [[('name', 75), ('content', 76)]], {}), 78: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': False}), 79: ('wagtail.blocks.static_block.StaticBlock', (), {'admin_text': 'Adresa kalendáře se zadává v nastavenĂ hlavnĂ stránky webu', 'label': 'Volba kalendáře'}), 80: ('wagtail.blocks.StructBlock', [[('title', 78), ('info', 79)]], {})}, verbose_name='obsah stránky za formulářem'), + ), + migrations.AlterField( + model_name='uniwebformpage', + name='content_before', + field=wagtail.fields.StreamField([('text', 0), ('advanced_text', 4), ('two_columns_text', 7), ('headline', 12), ('headline_with_picture', 15), ('picture_list', 19), ('flip_cards', 30), ('table', 31), ('popout_table', 32), ('gallery', 35), ('figure', 38), ('card', 62), ('two_columns', 71), ('three_columns', 73), ('youtube', 74), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68), ('popout_point', 77), ('calendar', 80)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {}), 46: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 48: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 49: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 50: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('osm-mapnik', 'OSM Mapnik'), ('stadia-osm-bright', 'Stadia OSM Bright'), ('stadia-outdoors', 'Stadia Outdoors'), ('mapbox-streets', 'Mapbox Streets'), ('mapbox-outdoors', 'Mapbox Outdoors'), ('mapbox-light', 'Mapbox Light'), ('mapbox-dark', 'Mapbox Dark'), ('mapbox-satellite', 'Mapbox Satellite'), ('mapbox-pirate', 'Mapbox Pirate Theme')], 'label': 'Styl'}), 51: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 52: ('wagtail.blocks.StructBlock', [[('lat', 46), ('lon', 47), ('hex_color', 48), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 53: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 54: ('wagtail.blocks.TextBlock', (), {'help_text': "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", 'label': 'Geodata', 'required': True}), 55: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 56: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 57: ('wagtail.blocks.StructBlock', [[('title', 53), ('description', 37), ('geojson', 54), ('image', 39), ('link', 55), ('hex_color', 56)]], {'required': True}), 58: ('wagtail.blocks.ListBlock', (57,), {'label': 'Součásti'}), 59: ('wagtail.blocks.StructBlock', [[('features', 58), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Mapová kolekce'}), 60: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59)]], {'label': 'Obsah', 'required': False}), 61: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 62: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 60), ('page', 61), ('link', 55)]], {}), 63: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 64: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black', 'ÄŚerná'), ('white', 'BĂlá'), ('pirati-yellow', 'Ĺ˝lutá'), ('grey-125', 'SvÄ›tle šedá'), ('blue-300', 'Modrá'), ('cyan-200', 'Tyrkysová'), ('green-400', 'Zelená'), ('violet-400', 'VĂnová'), ('red-600', 'ÄŚervená')], 'label': 'Barva'}), 65: ('wagtail.blocks.BooleanBlock', (), {'default': True, 'help_text': 'Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.', 'label': 'Animovat na hover', 'required': False}), 66: ('wagtail.blocks.StructBlock', [[('title', 63), ('color', 64), ('hoveractive', 65), ('page', 61), ('link', 55), ('align', 11)]], {}), 67: ('wagtail.blocks.ListBlock', (66,), {'label': 'TlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('buttons', 67)]], {}), 69: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('right_column_content', 70)]], {}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('middle_column_content', 72), ('right_column_content', 70)]], {}), 74: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {'label': 'YouTube video'}), 75: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 76: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 77: ('wagtail.blocks.StructBlock', [[('name', 75), ('content', 76)]], {}), 78: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': False}), 79: ('wagtail.blocks.static_block.StaticBlock', (), {'admin_text': 'Adresa kalendáře se zadává v nastavenĂ hlavnĂ stránky webu', 'label': 'Volba kalendáře'}), 80: ('wagtail.blocks.StructBlock', [[('title', 78), ('info', 79)]], {})}, verbose_name='obsah stránky pĹ™ed formulářem'), + ), + migrations.AlterField( + model_name='uniwebformpage', + name='content_landing', + field=wagtail.fields.StreamField([('text', 0), ('advanced_text', 4), ('two_columns_text', 7), ('headline', 12), ('headline_with_picture', 15), ('picture_list', 19), ('flip_cards', 30), ('table', 31), ('popout_table', 32), ('gallery', 35), ('figure', 38), ('card', 62), ('two_columns', 71), ('three_columns', 73), ('youtube', 74), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68), ('popout_point', 77), ('calendar', 80)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {}), 46: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 48: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 49: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 50: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('osm-mapnik', 'OSM Mapnik'), ('stadia-osm-bright', 'Stadia OSM Bright'), ('stadia-outdoors', 'Stadia Outdoors'), ('mapbox-streets', 'Mapbox Streets'), ('mapbox-outdoors', 'Mapbox Outdoors'), ('mapbox-light', 'Mapbox Light'), ('mapbox-dark', 'Mapbox Dark'), ('mapbox-satellite', 'Mapbox Satellite'), ('mapbox-pirate', 'Mapbox Pirate Theme')], 'label': 'Styl'}), 51: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 52: ('wagtail.blocks.StructBlock', [[('lat', 46), ('lon', 47), ('hex_color', 48), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 53: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 54: ('wagtail.blocks.TextBlock', (), {'help_text': "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", 'label': 'Geodata', 'required': True}), 55: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 56: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 57: ('wagtail.blocks.StructBlock', [[('title', 53), ('description', 37), ('geojson', 54), ('image', 39), ('link', 55), ('hex_color', 56)]], {'required': True}), 58: ('wagtail.blocks.ListBlock', (57,), {'label': 'Součásti'}), 59: ('wagtail.blocks.StructBlock', [[('features', 58), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Mapová kolekce'}), 60: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59)]], {'label': 'Obsah', 'required': False}), 61: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 62: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 60), ('page', 61), ('link', 55)]], {}), 63: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 64: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black', 'ÄŚerná'), ('white', 'BĂlá'), ('pirati-yellow', 'Ĺ˝lutá'), ('grey-125', 'SvÄ›tle šedá'), ('blue-300', 'Modrá'), ('cyan-200', 'Tyrkysová'), ('green-400', 'Zelená'), ('violet-400', 'VĂnová'), ('red-600', 'ÄŚervená')], 'label': 'Barva'}), 65: ('wagtail.blocks.BooleanBlock', (), {'default': True, 'help_text': 'Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.', 'label': 'Animovat na hover', 'required': False}), 66: ('wagtail.blocks.StructBlock', [[('title', 63), ('color', 64), ('hoveractive', 65), ('page', 61), ('link', 55), ('align', 11)]], {}), 67: ('wagtail.blocks.ListBlock', (66,), {'label': 'TlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('buttons', 67)]], {}), 69: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('right_column_content', 70)]], {}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('middle_column_content', 72), ('right_column_content', 70)]], {}), 74: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {'label': 'YouTube video'}), 75: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 76: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 77: ('wagtail.blocks.StructBlock', [[('name', 75), ('content', 76)]], {}), 78: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': False}), 79: ('wagtail.blocks.static_block.StaticBlock', (), {'admin_text': 'Adresa kalendáře se zadává v nastavenĂ hlavnĂ stránky webu', 'label': 'Volba kalendáře'}), 80: ('wagtail.blocks.StructBlock', [[('title', 78), ('info', 79)]], {})}, verbose_name='Obsah stránky zobrazenĂ© po odeslánĂ formuláře'), + ), + migrations.AlterField( + model_name='uniwebhomepage', + name='content', + field=wagtail.fields.StreamField([('text', 0), ('advanced_text', 4), ('two_columns_text', 7), ('headline', 12), ('headline_with_picture', 15), ('picture_list', 19), ('flip_cards', 30), ('table', 31), ('popout_table', 32), ('gallery', 35), ('figure', 38), ('card', 62), ('two_columns', 71), ('three_columns', 73), ('youtube', 74), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68), ('popout_point', 77), ('calendar', 80), ('newsletter', 85), ('news_block', 88)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {}), 46: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 48: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 49: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 50: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('osm-mapnik', 'OSM Mapnik'), ('stadia-osm-bright', 'Stadia OSM Bright'), ('stadia-outdoors', 'Stadia Outdoors'), ('mapbox-streets', 'Mapbox Streets'), ('mapbox-outdoors', 'Mapbox Outdoors'), ('mapbox-light', 'Mapbox Light'), ('mapbox-dark', 'Mapbox Dark'), ('mapbox-satellite', 'Mapbox Satellite'), ('mapbox-pirate', 'Mapbox Pirate Theme')], 'label': 'Styl'}), 51: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 52: ('wagtail.blocks.StructBlock', [[('lat', 46), ('lon', 47), ('hex_color', 48), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 53: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 54: ('wagtail.blocks.TextBlock', (), {'help_text': "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", 'label': 'Geodata', 'required': True}), 55: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 56: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 57: ('wagtail.blocks.StructBlock', [[('title', 53), ('description', 37), ('geojson', 54), ('image', 39), ('link', 55), ('hex_color', 56)]], {'required': True}), 58: ('wagtail.blocks.ListBlock', (57,), {'label': 'Součásti'}), 59: ('wagtail.blocks.StructBlock', [[('features', 58), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Mapová kolekce'}), 60: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59)]], {'label': 'Obsah', 'required': False}), 61: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 62: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 60), ('page', 61), ('link', 55)]], {}), 63: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 64: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black', 'ÄŚerná'), ('white', 'BĂlá'), ('pirati-yellow', 'Ĺ˝lutá'), ('grey-125', 'SvÄ›tle šedá'), ('blue-300', 'Modrá'), ('cyan-200', 'Tyrkysová'), ('green-400', 'Zelená'), ('violet-400', 'VĂnová'), ('red-600', 'ÄŚervená')], 'label': 'Barva'}), 65: ('wagtail.blocks.BooleanBlock', (), {'default': True, 'help_text': 'Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.', 'label': 'Animovat na hover', 'required': False}), 66: ('wagtail.blocks.StructBlock', [[('title', 63), ('color', 64), ('hoveractive', 65), ('page', 61), ('link', 55), ('align', 11)]], {}), 67: ('wagtail.blocks.ListBlock', (66,), {'label': 'TlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('buttons', 67)]], {}), 69: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('right_column_content', 70)]], {}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('middle_column_content', 72), ('right_column_content', 70)]], {}), 74: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {'label': 'YouTube video'}), 75: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 76: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 77: ('wagtail.blocks.StructBlock', [[('name', 75), ('content', 76)]], {}), 78: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': False}), 79: ('wagtail.blocks.static_block.StaticBlock', (), {'admin_text': 'Adresa kalendáře se zadává v nastavenĂ hlavnĂ stránky webu', 'label': 'Volba kalendáře'}), 80: ('wagtail.blocks.StructBlock', [[('title', 78), ('info', 79)]], {}), 81: ('wagtail.blocks.CharBlock', (), {'label': 'ID newsletteru', 'required': True}), 82: ('wagtail.blocks.CharBlock', (), {'default': 'OdebĂrej náš', 'label': 'Nadpis bloku (1. řádek)', 'required': True}), 83: ('wagtail.blocks.CharBlock', (), {'default': 'newsletter', 'label': 'Nadpis bloku (2. řádek)', 'required': True}), 84: ('wagtail.blocks.CharBlock', (), {'default': 'Fake news tam nenajdeš, ale dozvĂš se, co chystáme doopravdy!', 'label': 'Popis newsletteru', 'required': True}), 85: ('wagtail.blocks.StructBlock', [[('list_id', 81), ('title_line_1', 82), ('title_line_2', 83), ('description', 84)]], {}), 86: ('wagtail.blocks.CharBlock', (), {'help_text': 'NejnovÄ›jšà články se naÄŤtou automaticky', 'label': 'Titulek'}), 87: ('wagtail.blocks.TextBlock', (), {'label': 'Popis', 'required': False}), 88: ('wagtail.blocks.StructBlock', [[('title', 86), ('description', 87)]], {'group': '3. OstatnĂ', 'template': 'styleguide2/includes/organisms/articles/district/articles_section.html'})}, verbose_name='obsah stránky'), + ), + ] -- GitLab