From 140b24209d90a4dc538089e64ca5517e307f796a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexa=20Valentov=C3=A1?= <git@imaniti.org> Date: Mon, 24 Mar 2025 13:56:54 +0100 Subject: [PATCH] Add ecomail to uniweb, district & main, hooks --- ...er_districtarticlepage_content_and_more.py | 9583 ++++++++++++++++- district/models.py | 6 +- ...0071_alter_electionsarticlepage_content.py | 810 +- ..._alter_mainarticlepage_content_and_more.py | 2044 +++- shared/static/styleguide2/pirati-ui.svg | 2 +- ...lter_uniwebarticlepage_content_and_more.py | 4950 ++++++++- ...age_ecomail_newsletter_list_id_and_more.py | 23 +- .../0130_uniwebhomepage_newsletter_list_id.py | 18 + uniweb/models.py | 9 + 9 files changed, 17368 insertions(+), 77 deletions(-) create mode 100644 uniweb/migrations/0130_uniwebhomepage_newsletter_list_id.py diff --git a/district/migrations/0317_alter_districtarticlepage_content_and_more.py b/district/migrations/0317_alter_districtarticlepage_content_and_more.py index 66a8811a..2046c698 100644 --- a/district/migrations/0317_alter_districtarticlepage_content_and_more.py +++ b/district/migrations/0317_alter_districtarticlepage_content_and_more.py @@ -1,60 +1,9583 @@ # Generated by Django 5.0.7 on 2025-03-20 11:55 -import shared.blocks.children.chart import wagtail.fields from django.db import migrations +import shared.blocks.children.chart + class Migration(migrations.Migration): - dependencies = [ - ('district', '0316_alter_districtcustompage_content'), + ("district", "0316_alter_districtcustompage_content"), ] 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', 63), ('two_columns', 73), ('three_columns', 75), ('youtube', 76), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70), ('popout_point', 80), ('quote', 83), ('download', 85)], 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, 'help_text': 'Pokud toto pole nenĂ zaškrtlĂ©, video bude užšà neĹľ text okolo.', 'label': 'ZabĂrá maximálnà šĂĹ™ku povolenou pro text?', 'required': False}), 45: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'help_text': 'Automaticky spustĂ video bez zvuku. Pozor, nÄ›kterĂ© prohlĂĹľeÄŤe blokujĂ i automatickĂ© pĹ™ehrávánĂ videĂ bez zvuku.', 'label': 'Spustit video automaticky?', 'required': False}), 46: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 48: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 49: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 50: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 51: ('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'}), 52: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 53: ('wagtail.blocks.StructBlock', [[('lat', 47), ('lon', 48), ('hex_color', 49), ('zoom', 50), ('style', 51), ('height', 52)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 54: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 55: ('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}), 56: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 57: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 58: ('wagtail.blocks.StructBlock', [[('title', 54), ('description', 37), ('geojson', 55), ('image', 39), ('link', 56), ('hex_color', 57)]], {'required': True}), 59: ('wagtail.blocks.ListBlock', (58,), {'label': 'Součásti'}), 60: ('wagtail.blocks.StructBlock', [[('features', 59), ('zoom', 50), ('style', 51), ('height', 52)]], {'label': 'Mapová kolekce'}), 61: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60)]], {'label': 'Obsah', 'required': False}), 62: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 63: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 61), ('page', 62), ('link', 56)]], {}), 64: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 65: ('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'}), 66: ('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}), 67: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('normal', 'NormálnĂ'), ('large', 'Velká'), ('huge', 'MasivnĂ')], 'label': 'Velikost tlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11), ('size', 67)]], {}), 69: ('wagtail.blocks.ListBlock', (68,), {'label': 'TlaÄŤĂtka'}), 70: ('wagtail.blocks.StructBlock', [[('buttons', 69)]], {}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 71), ('right_column_content', 72)]], {}), 74: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 75: ('wagtail.blocks.StructBlock', [[('left_column_content', 71), ('middle_column_content', 74), ('right_column_content', 72)]], {}), 76: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 77: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 78: ('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'}), 79: ('wagtail.blocks.StreamBlock', [[('text', 78), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 80: ('wagtail.blocks.StructBlock', [[('name', 77), ('content', 79)]], {}), 81: ('wagtail.blocks.CharBlock', (), {'label': 'Citace'}), 82: ('wagtail.blocks.CharBlock', (), {'label': 'JmĂ©no autora'}), 83: ('wagtail.blocks.StructBlock', [[('quote', 81), ('autor_name', 82)]], {}), 84: ('wagtail.documents.blocks.DocumentChooserBlock', (), {'label': 'StáhnutelnĂ˝ soubor'}), 85: ('wagtail.blocks.StructBlock', [[('file', 84)]], {})}, verbose_name='ÄŚlánek'), + 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", 63), + ("two_columns", 73), + ("three_columns", 75), + ("youtube", 76), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ("popout_point", 80), + ("quote", 83), + ("download", 85), + ], + 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, + "help_text": "Pokud toto pole nenĂ zaškrtlĂ©, video bude užšà neĹľ text okolo.", + "label": "ZabĂrá maximálnà šĂĹ™ku povolenou pro text?", + "required": False, + }, + ), + 45: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "help_text": "Automaticky spustĂ video bez zvuku. Pozor, nÄ›kterĂ© prohlĂĹľeÄŤe blokujĂ i automatickĂ© pĹ™ehrávánĂ videĂ bez zvuku.", + "label": "Spustit video automaticky?", + "required": False, + }, + ), + 46: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {}, + ), + 47: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 50.04075", "label": "ZemÄ›pisná šĂĹ™ka"}, + ), + 48: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 15.77659", "label": "ZemÄ›pisná dĂ©lka"}, + ), + 49: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva špendlĂku (HEX)", + }, + ), + 50: ( + "wagtail.blocks.IntegerBlock", + (), + { + "default": 15, + "label": "VĂ˝chozĂ zoom", + "max_value": 18, + "min_value": 1, + }, + ), + 51: ( + "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", + }, + ), + 52: ( + "wagtail.blocks.IntegerBlock", + (), + {"label": "Výška v px", "max_value": 1000, "min_value": 100}, + ), + 53: ( + "wagtail.blocks.StructBlock", + [ + [ + ("lat", 47), + ("lon", 48), + ("hex_color", 49), + ("zoom", 50), + ("style", 51), + ("height", 52), + ] + ], + {"label": "Ĺ pendlĂk na mapÄ›"}, + ), + 54: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": True}, + ), + 55: ( + "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, + }, + ), + 56: ( + "wagtail.blocks.URLBlock", + (), + {"label": "Odkaz", "required": False}, + ), + 57: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva (HEX)", + }, + ), + 58: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 54), + ("description", 37), + ("geojson", 55), + ("image", 39), + ("link", 56), + ("hex_color", 57), + ] + ], + {"required": True}, + ), + 59: ("wagtail.blocks.ListBlock", (58,), {"label": "Součásti"}), + 60: ( + "wagtail.blocks.StructBlock", + [ + [ + ("features", 59), + ("zoom", 50), + ("style", 51), + ("height", 52), + ] + ], + {"label": "Mapová kolekce"}, + ), + 61: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ] + ], + {"label": "Obsah", "required": False}, + ), + 62: ( + "wagtail.blocks.PageChooserBlock", + (), + {"label": "Stránka", "required": False}, + ), + 63: ( + "wagtail.blocks.StructBlock", + [ + [ + ("img", 39), + ("headline", 40), + ("content", 61), + ("page", 62), + ("link", 56), + ] + ], + {}, + ), + 64: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "max_length": 128, "required": True}, + ), + 65: ( + "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", + }, + ), + 66: ( + "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, + }, + ), + 67: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("normal", "NormálnĂ"), + ("large", "Velká"), + ("huge", "MasivnĂ"), + ], + "label": "Velikost tlaÄŤĂtka", + }, + ), + 68: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ("size", 67), + ] + ], + {}, + ), + 69: ("wagtail.blocks.ListBlock", (68,), {"label": "TlaÄŤĂtka"}), + 70: ("wagtail.blocks.StructBlock", [[("buttons", 69)]], {}), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 73: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 71), ("right_column_content", 72)]], + {}, + ), + 74: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 71), + ("middle_column_content", 74), + ("right_column_content", 72), + ] + ], + {}, + ), + 76: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 77: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 78: ( + "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", + }, + ), + 79: ( + "wagtail.blocks.StreamBlock", + [[("text", 78), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 80: ( + "wagtail.blocks.StructBlock", + [[("name", 77), ("content", 79)]], + {}, + ), + 81: ("wagtail.blocks.CharBlock", (), {"label": "Citace"}), + 82: ("wagtail.blocks.CharBlock", (), {"label": "JmĂ©no autora"}), + 83: ( + "wagtail.blocks.StructBlock", + [[("quote", 81), ("autor_name", 82)]], + {}, + ), + 84: ( + "wagtail.documents.blocks.DocumentChooserBlock", + (), + {"label": "StáhnutelnĂ˝ soubor"}, + ), + 85: ("wagtail.blocks.StructBlock", [[("file", 84)]], {}), + }, + 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', 63), ('two_columns', 73), ('three_columns', 75), ('youtube', 76), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70), ('popout_point', 79), ('chart', 101), ('related', 104), ('related_links', 104), ('badge_list', 109), ('badge', 107), ('contact', 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, 'help_text': 'Pokud toto pole nenĂ zaškrtlĂ©, video bude užšà neĹľ text okolo.', 'label': 'ZabĂrá maximálnà šĂĹ™ku povolenou pro text?', 'required': False}), 45: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'help_text': 'Automaticky spustĂ video bez zvuku. Pozor, nÄ›kterĂ© prohlĂĹľeÄŤe blokujĂ i automatickĂ© pĹ™ehrávánĂ videĂ bez zvuku.', 'label': 'Spustit video automaticky?', 'required': False}), 46: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 48: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 49: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 50: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 51: ('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'}), 52: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 53: ('wagtail.blocks.StructBlock', [[('lat', 47), ('lon', 48), ('hex_color', 49), ('zoom', 50), ('style', 51), ('height', 52)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 54: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 55: ('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}), 56: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 57: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 58: ('wagtail.blocks.StructBlock', [[('title', 54), ('description', 37), ('geojson', 55), ('image', 39), ('link', 56), ('hex_color', 57)]], {'required': True}), 59: ('wagtail.blocks.ListBlock', (58,), {'label': 'Součásti'}), 60: ('wagtail.blocks.StructBlock', [[('features', 59), ('zoom', 50), ('style', 51), ('height', 52)]], {'label': 'Mapová kolekce'}), 61: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60)]], {'label': 'Obsah', 'required': False}), 62: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 63: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 61), ('page', 62), ('link', 56)]], {}), 64: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 65: ('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'}), 66: ('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}), 67: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('normal', 'NormálnĂ'), ('large', 'Velká'), ('huge', 'MasivnĂ')], 'label': 'Velikost tlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11), ('size', 67)]], {}), 69: ('wagtail.blocks.ListBlock', (68,), {'label': 'TlaÄŤĂtka'}), 70: ('wagtail.blocks.StructBlock', [[('buttons', 69)]], {}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 71), ('right_column_content', 72)]], {}), 74: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 75: ('wagtail.blocks.StructBlock', [[('left_column_content', 71), ('middle_column_content', 74), ('right_column_content', 72)]], {}), 76: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 77: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 78: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 79: ('wagtail.blocks.StructBlock', [[('name', 77), ('content', 78)]], {}), 80: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'max_length': 120}), 81: ('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'}), 82: ('wagtail.blocks.BooleanBlock', (), {'help_text': 'MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.', 'label': 'Schovat body', 'required': False}), 83: ('wagtail.blocks.CharBlock', (), {'label': 'Skupina', 'max_length': 40}), 84: ('wagtail.blocks.ListBlock', (83,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnÄ› definovanĂ© skupiny', 'required': False}), 85: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ zdroje dat', 'max_length': 120}), 86: ('wagtail.blocks.IntegerBlock', (), {}), 87: ('wagtail.blocks.ListBlock', (86,), {'default': [0], 'label': 'Data'}), 88: ('wagtail.blocks.StructBlock', [[('label', 85), ('data', 87)]], {}), 89: ('wagtail.blocks.ListBlock', (88,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnĂ zdroje dat', 'required': False}), 90: ('wagtail.blocks.MultipleChoiceBlock', [], {'choices': shared.blocks.children.chart.get_redmine_projects, 'label': 'Projekty'}), 91: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen otevĹ™enĂ©', 'required': False}), 92: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen uzavĹ™enĂ©', 'required': False}), 93: ('wagtail.blocks.DateBlock', (), {'label': 'Min. datum vytvoĹ™enĂ', 'required': True}), 94: ('wagtail.blocks.DateBlock', (), {'label': 'Max. datum vytvoĹ™enĂ', 'required': True}), 95: ('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}), 96: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu', 'max_length': 128, 'required': True}), 97: ('wagtail.blocks.BooleanBlock', (), {'label': 'RozdÄ›lit podle projektu', 'required': False}), 98: ('wagtail.blocks.BooleanBlock', (), {'label': 'Pouze rĹŻst nahoru', 'required': False}), 99: ('wagtail.blocks.StructBlock', [[('projects', 90), ('is_open', 91), ('is_closed', 92), ('created_on_min_date', 93), ('created_on_max_date', 94), ('updated_on', 95), ('issue_label', 96), ('split_per_project', 97), ('only_grow', 98)]], {'label': 'Redmine Ăşkoly'}), 100: ('wagtail.blocks.ListBlock', (99,), {'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}), 101: ('wagtail.blocks.StructBlock', [[('title', 80), ('chart_type', 81), ('hide_points', 82), ('local_labels', 84), ('local_datasets', 89), ('redmine_issue_datasets', 100)]], {}), 102: ('wagtail.blocks.PageChooserBlock', ('district.DistrictArticlePage',), {'label': 'Aktualita', 'required': True}), 103: ('wagtail.blocks.ListBlock', (102,), {'label': 'Seznam aktualit', 'required': True}), 104: ('wagtail.blocks.StructBlock', [[('articles', 103)]], {}), 105: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Osoba', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage'], 'required': True}), 106: ('wagtail.blocks.CharBlock', (), {'help_text': 'VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.', 'label': 'Popisek', 'required': False}), 107: ('wagtail.blocks.StructBlock', [[('person', 105), ('caption', 106)]], {}), 108: ('wagtail.blocks.ListBlock', (107,), {'label': 'Vizitky'}), 109: ('wagtail.blocks.StructBlock', [[('people', 108)]], {}), 110: ('wagtail.blocks.CharBlock', (), {'label': 'Název pozice', 'required': False}), 111: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Osoba', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage']}), 112: ('wagtail.blocks.StructBlock', [[('position', 110), ('person', 111)]], {}), 113: ('wagtail.blocks.ListBlock', (112,), {}), 114: ('wagtail.blocks.StructBlock', [[('title', 54), ('contact_list', 113)]], {})}, verbose_name='Obsah'), + 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", 63), + ("two_columns", 73), + ("three_columns", 75), + ("youtube", 76), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ("popout_point", 79), + ("chart", 101), + ("related", 104), + ("related_links", 104), + ("badge_list", 109), + ("badge", 107), + ("contact", 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, + "help_text": "Pokud toto pole nenĂ zaškrtlĂ©, video bude užšà neĹľ text okolo.", + "label": "ZabĂrá maximálnà šĂĹ™ku povolenou pro text?", + "required": False, + }, + ), + 45: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "help_text": "Automaticky spustĂ video bez zvuku. Pozor, nÄ›kterĂ© prohlĂĹľeÄŤe blokujĂ i automatickĂ© pĹ™ehrávánĂ videĂ bez zvuku.", + "label": "Spustit video automaticky?", + "required": False, + }, + ), + 46: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {}, + ), + 47: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 50.04075", "label": "ZemÄ›pisná šĂĹ™ka"}, + ), + 48: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 15.77659", "label": "ZemÄ›pisná dĂ©lka"}, + ), + 49: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva špendlĂku (HEX)", + }, + ), + 50: ( + "wagtail.blocks.IntegerBlock", + (), + { + "default": 15, + "label": "VĂ˝chozĂ zoom", + "max_value": 18, + "min_value": 1, + }, + ), + 51: ( + "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", + }, + ), + 52: ( + "wagtail.blocks.IntegerBlock", + (), + {"label": "Výška v px", "max_value": 1000, "min_value": 100}, + ), + 53: ( + "wagtail.blocks.StructBlock", + [ + [ + ("lat", 47), + ("lon", 48), + ("hex_color", 49), + ("zoom", 50), + ("style", 51), + ("height", 52), + ] + ], + {"label": "Ĺ pendlĂk na mapÄ›"}, + ), + 54: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": True}, + ), + 55: ( + "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, + }, + ), + 56: ( + "wagtail.blocks.URLBlock", + (), + {"label": "Odkaz", "required": False}, + ), + 57: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva (HEX)", + }, + ), + 58: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 54), + ("description", 37), + ("geojson", 55), + ("image", 39), + ("link", 56), + ("hex_color", 57), + ] + ], + {"required": True}, + ), + 59: ("wagtail.blocks.ListBlock", (58,), {"label": "Součásti"}), + 60: ( + "wagtail.blocks.StructBlock", + [ + [ + ("features", 59), + ("zoom", 50), + ("style", 51), + ("height", 52), + ] + ], + {"label": "Mapová kolekce"}, + ), + 61: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ] + ], + {"label": "Obsah", "required": False}, + ), + 62: ( + "wagtail.blocks.PageChooserBlock", + (), + {"label": "Stránka", "required": False}, + ), + 63: ( + "wagtail.blocks.StructBlock", + [ + [ + ("img", 39), + ("headline", 40), + ("content", 61), + ("page", 62), + ("link", 56), + ] + ], + {}, + ), + 64: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "max_length": 128, "required": True}, + ), + 65: ( + "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", + }, + ), + 66: ( + "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, + }, + ), + 67: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("normal", "NormálnĂ"), + ("large", "Velká"), + ("huge", "MasivnĂ"), + ], + "label": "Velikost tlaÄŤĂtka", + }, + ), + 68: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ("size", 67), + ] + ], + {}, + ), + 69: ("wagtail.blocks.ListBlock", (68,), {"label": "TlaÄŤĂtka"}), + 70: ("wagtail.blocks.StructBlock", [[("buttons", 69)]], {}), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 73: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 71), ("right_column_content", 72)]], + {}, + ), + 74: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 71), + ("middle_column_content", 74), + ("right_column_content", 72), + ] + ], + {}, + ), + 76: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 77: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 78: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 79: ( + "wagtail.blocks.StructBlock", + [[("name", 77), ("content", 78)]], + {}, + ), + 80: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "max_length": 120}, + ), + 81: ( + "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", + }, + ), + 82: ( + "wagtail.blocks.BooleanBlock", + (), + { + "help_text": "MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.", + "label": "Schovat body", + "required": False, + }, + ), + 83: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Skupina", "max_length": 40}, + ), + 84: ( + "wagtail.blocks.ListBlock", + (83,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnÄ› definovanĂ© skupiny", + "required": False, + }, + ), + 85: ( + "wagtail.blocks.CharBlock", + (), + {"label": "OznaÄŤenĂ zdroje dat", "max_length": 120}, + ), + 86: ("wagtail.blocks.IntegerBlock", (), {}), + 87: ( + "wagtail.blocks.ListBlock", + (86,), + {"default": [0], "label": "Data"}, + ), + 88: ( + "wagtail.blocks.StructBlock", + [[("label", 85), ("data", 87)]], + {}, + ), + 89: ( + "wagtail.blocks.ListBlock", + (88,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnĂ zdroje dat", + "required": False, + }, + ), + 90: ( + "wagtail.blocks.MultipleChoiceBlock", + [], + { + "choices": shared.blocks.children.chart.get_redmine_projects, + "label": "Projekty", + }, + ), + 91: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen otevĹ™enĂ©", "required": False}, + ), + 92: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen uzavĹ™enĂ©", "required": False}, + ), + 93: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Min. datum vytvoĹ™enĂ", "required": True}, + ), + 94: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Max. datum vytvoĹ™enĂ", "required": True}, + ), + 95: ( + "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, + }, + ), + 96: ( + "wagtail.blocks.CharBlock", + (), + { + "label": "OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu", + "max_length": 128, + "required": True, + }, + ), + 97: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "RozdÄ›lit podle projektu", "required": False}, + ), + 98: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Pouze rĹŻst nahoru", "required": False}, + ), + 99: ( + "wagtail.blocks.StructBlock", + [ + [ + ("projects", 90), + ("is_open", 91), + ("is_closed", 92), + ("created_on_min_date", 93), + ("created_on_max_date", 94), + ("updated_on", 95), + ("issue_label", 96), + ("split_per_project", 97), + ("only_grow", 98), + ] + ], + {"label": "Redmine Ăşkoly"}, + ), + 100: ( + "wagtail.blocks.ListBlock", + (99,), + { + "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, + }, + ), + 101: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 80), + ("chart_type", 81), + ("hide_points", 82), + ("local_labels", 84), + ("local_datasets", 89), + ("redmine_issue_datasets", 100), + ] + ], + {}, + ), + 102: ( + "wagtail.blocks.PageChooserBlock", + ("district.DistrictArticlePage",), + {"label": "Aktualita", "required": True}, + ), + 103: ( + "wagtail.blocks.ListBlock", + (102,), + {"label": "Seznam aktualit", "required": True}, + ), + 104: ("wagtail.blocks.StructBlock", [[("articles", 103)]], {}), + 105: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Osoba", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + "required": True, + }, + ), + 106: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.", + "label": "Popisek", + "required": False, + }, + ), + 107: ( + "wagtail.blocks.StructBlock", + [[("person", 105), ("caption", 106)]], + {}, + ), + 108: ("wagtail.blocks.ListBlock", (107,), {"label": "Vizitky"}), + 109: ("wagtail.blocks.StructBlock", [[("people", 108)]], {}), + 110: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název pozice", "required": False}, + ), + 111: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Osoba", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + }, + ), + 112: ( + "wagtail.blocks.StructBlock", + [[("position", 110), ("person", 111)]], + {}, + ), + 113: ("wagtail.blocks.ListBlock", (112,), {}), + 114: ( + "wagtail.blocks.StructBlock", + [[("title", 54), ("contact_list", 113)]], + {}, + ), + }, + 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', 63), ('two_columns', 73), ('three_columns', 75), ('youtube', 76), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70), ('popout_point', 79), ('chart', 101), ('related', 104), ('related_links', 104), ('badge', 107), ('new_people_group', 116)], 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, 'help_text': 'Pokud toto pole nenĂ zaškrtlĂ©, video bude užšà neĹľ text okolo.', 'label': 'ZabĂrá maximálnà šĂĹ™ku povolenou pro text?', 'required': False}), 45: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'help_text': 'Automaticky spustĂ video bez zvuku. Pozor, nÄ›kterĂ© prohlĂĹľeÄŤe blokujĂ i automatickĂ© pĹ™ehrávánĂ videĂ bez zvuku.', 'label': 'Spustit video automaticky?', 'required': False}), 46: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 48: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 49: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 50: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 51: ('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'}), 52: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 53: ('wagtail.blocks.StructBlock', [[('lat', 47), ('lon', 48), ('hex_color', 49), ('zoom', 50), ('style', 51), ('height', 52)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 54: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 55: ('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}), 56: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 57: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 58: ('wagtail.blocks.StructBlock', [[('title', 54), ('description', 37), ('geojson', 55), ('image', 39), ('link', 56), ('hex_color', 57)]], {'required': True}), 59: ('wagtail.blocks.ListBlock', (58,), {'label': 'Součásti'}), 60: ('wagtail.blocks.StructBlock', [[('features', 59), ('zoom', 50), ('style', 51), ('height', 52)]], {'label': 'Mapová kolekce'}), 61: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60)]], {'label': 'Obsah', 'required': False}), 62: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 63: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 61), ('page', 62), ('link', 56)]], {}), 64: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 65: ('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'}), 66: ('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}), 67: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('normal', 'NormálnĂ'), ('large', 'Velká'), ('huge', 'MasivnĂ')], 'label': 'Velikost tlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11), ('size', 67)]], {}), 69: ('wagtail.blocks.ListBlock', (68,), {'label': 'TlaÄŤĂtka'}), 70: ('wagtail.blocks.StructBlock', [[('buttons', 69)]], {}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 71), ('right_column_content', 72)]], {}), 74: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 75: ('wagtail.blocks.StructBlock', [[('left_column_content', 71), ('middle_column_content', 74), ('right_column_content', 72)]], {}), 76: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 77: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 78: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 79: ('wagtail.blocks.StructBlock', [[('name', 77), ('content', 78)]], {}), 80: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'max_length': 120}), 81: ('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'}), 82: ('wagtail.blocks.BooleanBlock', (), {'help_text': 'MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.', 'label': 'Schovat body', 'required': False}), 83: ('wagtail.blocks.CharBlock', (), {'label': 'Skupina', 'max_length': 40}), 84: ('wagtail.blocks.ListBlock', (83,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnÄ› definovanĂ© skupiny', 'required': False}), 85: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ zdroje dat', 'max_length': 120}), 86: ('wagtail.blocks.IntegerBlock', (), {}), 87: ('wagtail.blocks.ListBlock', (86,), {'default': [0], 'label': 'Data'}), 88: ('wagtail.blocks.StructBlock', [[('label', 85), ('data', 87)]], {}), 89: ('wagtail.blocks.ListBlock', (88,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnĂ zdroje dat', 'required': False}), 90: ('wagtail.blocks.MultipleChoiceBlock', [], {'choices': shared.blocks.children.chart.get_redmine_projects, 'label': 'Projekty'}), 91: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen otevĹ™enĂ©', 'required': False}), 92: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen uzavĹ™enĂ©', 'required': False}), 93: ('wagtail.blocks.DateBlock', (), {'label': 'Min. datum vytvoĹ™enĂ', 'required': True}), 94: ('wagtail.blocks.DateBlock', (), {'label': 'Max. datum vytvoĹ™enĂ', 'required': True}), 95: ('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}), 96: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu', 'max_length': 128, 'required': True}), 97: ('wagtail.blocks.BooleanBlock', (), {'label': 'RozdÄ›lit podle projektu', 'required': False}), 98: ('wagtail.blocks.BooleanBlock', (), {'label': 'Pouze rĹŻst nahoru', 'required': False}), 99: ('wagtail.blocks.StructBlock', [[('projects', 90), ('is_open', 91), ('is_closed', 92), ('created_on_min_date', 93), ('created_on_max_date', 94), ('updated_on', 95), ('issue_label', 96), ('split_per_project', 97), ('only_grow', 98)]], {'label': 'Redmine Ăşkoly'}), 100: ('wagtail.blocks.ListBlock', (99,), {'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}), 101: ('wagtail.blocks.StructBlock', [[('title', 80), ('chart_type', 81), ('hide_points', 82), ('local_labels', 84), ('local_datasets', 89), ('redmine_issue_datasets', 100)]], {}), 102: ('wagtail.blocks.PageChooserBlock', ('district.DistrictArticlePage',), {'label': 'Aktualita', 'required': True}), 103: ('wagtail.blocks.ListBlock', (102,), {'label': 'Seznam aktualit', 'required': True}), 104: ('wagtail.blocks.StructBlock', [[('articles', 103)]], {}), 105: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Osoba', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage'], 'required': True}), 106: ('wagtail.blocks.CharBlock', (), {'help_text': 'VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.', 'label': 'Popisek', 'required': False}), 107: ('wagtail.blocks.StructBlock', [[('person', 105), ('caption', 106)]], {}), 108: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek'}), 109: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no', 'label': 'Slug skupiny', 'required': False}), 110: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage']}), 111: ('wagtail.blocks.ListBlock', (110,), {'default': [], 'help_text': 'S pozicemi z jejich podstránek', 'label': 'Osoby'}), 112: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage', 'district.DistrictPersonPage']}), 113: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.', 'label': 'Pozice', 'required': False}), 114: ('wagtail.blocks.StructBlock', [[('page', 112), ('position', 113)]], {}), 115: ('wagtail.blocks.ListBlock', (114,), {'default': [], 'help_text': 'S nastavitelnĂ˝mi pozicemi', 'label': 'Osoby'}), 116: ('wagtail.blocks.StructBlock', [[('title', 108), ('slug', 109), ('person_list', 111), ('person_list_with_custom_positions', 115)]], {})}, verbose_name='Obsah stránky'), + 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", 63), + ("two_columns", 73), + ("three_columns", 75), + ("youtube", 76), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ("popout_point", 79), + ("chart", 101), + ("related", 104), + ("related_links", 104), + ("badge", 107), + ("new_people_group", 116), + ], + 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, + "help_text": "Pokud toto pole nenĂ zaškrtlĂ©, video bude užšà neĹľ text okolo.", + "label": "ZabĂrá maximálnà šĂĹ™ku povolenou pro text?", + "required": False, + }, + ), + 45: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "help_text": "Automaticky spustĂ video bez zvuku. Pozor, nÄ›kterĂ© prohlĂĹľeÄŤe blokujĂ i automatickĂ© pĹ™ehrávánĂ videĂ bez zvuku.", + "label": "Spustit video automaticky?", + "required": False, + }, + ), + 46: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {}, + ), + 47: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 50.04075", "label": "ZemÄ›pisná šĂĹ™ka"}, + ), + 48: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 15.77659", "label": "ZemÄ›pisná dĂ©lka"}, + ), + 49: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva špendlĂku (HEX)", + }, + ), + 50: ( + "wagtail.blocks.IntegerBlock", + (), + { + "default": 15, + "label": "VĂ˝chozĂ zoom", + "max_value": 18, + "min_value": 1, + }, + ), + 51: ( + "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", + }, + ), + 52: ( + "wagtail.blocks.IntegerBlock", + (), + {"label": "Výška v px", "max_value": 1000, "min_value": 100}, + ), + 53: ( + "wagtail.blocks.StructBlock", + [ + [ + ("lat", 47), + ("lon", 48), + ("hex_color", 49), + ("zoom", 50), + ("style", 51), + ("height", 52), + ] + ], + {"label": "Ĺ pendlĂk na mapÄ›"}, + ), + 54: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": True}, + ), + 55: ( + "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, + }, + ), + 56: ( + "wagtail.blocks.URLBlock", + (), + {"label": "Odkaz", "required": False}, + ), + 57: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva (HEX)", + }, + ), + 58: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 54), + ("description", 37), + ("geojson", 55), + ("image", 39), + ("link", 56), + ("hex_color", 57), + ] + ], + {"required": True}, + ), + 59: ("wagtail.blocks.ListBlock", (58,), {"label": "Součásti"}), + 60: ( + "wagtail.blocks.StructBlock", + [ + [ + ("features", 59), + ("zoom", 50), + ("style", 51), + ("height", 52), + ] + ], + {"label": "Mapová kolekce"}, + ), + 61: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ] + ], + {"label": "Obsah", "required": False}, + ), + 62: ( + "wagtail.blocks.PageChooserBlock", + (), + {"label": "Stránka", "required": False}, + ), + 63: ( + "wagtail.blocks.StructBlock", + [ + [ + ("img", 39), + ("headline", 40), + ("content", 61), + ("page", 62), + ("link", 56), + ] + ], + {}, + ), + 64: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "max_length": 128, "required": True}, + ), + 65: ( + "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", + }, + ), + 66: ( + "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, + }, + ), + 67: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("normal", "NormálnĂ"), + ("large", "Velká"), + ("huge", "MasivnĂ"), + ], + "label": "Velikost tlaÄŤĂtka", + }, + ), + 68: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ("size", 67), + ] + ], + {}, + ), + 69: ("wagtail.blocks.ListBlock", (68,), {"label": "TlaÄŤĂtka"}), + 70: ("wagtail.blocks.StructBlock", [[("buttons", 69)]], {}), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 73: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 71), ("right_column_content", 72)]], + {}, + ), + 74: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 71), + ("middle_column_content", 74), + ("right_column_content", 72), + ] + ], + {}, + ), + 76: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 77: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 78: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 79: ( + "wagtail.blocks.StructBlock", + [[("name", 77), ("content", 78)]], + {}, + ), + 80: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "max_length": 120}, + ), + 81: ( + "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", + }, + ), + 82: ( + "wagtail.blocks.BooleanBlock", + (), + { + "help_text": "MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.", + "label": "Schovat body", + "required": False, + }, + ), + 83: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Skupina", "max_length": 40}, + ), + 84: ( + "wagtail.blocks.ListBlock", + (83,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnÄ› definovanĂ© skupiny", + "required": False, + }, + ), + 85: ( + "wagtail.blocks.CharBlock", + (), + {"label": "OznaÄŤenĂ zdroje dat", "max_length": 120}, + ), + 86: ("wagtail.blocks.IntegerBlock", (), {}), + 87: ( + "wagtail.blocks.ListBlock", + (86,), + {"default": [0], "label": "Data"}, + ), + 88: ( + "wagtail.blocks.StructBlock", + [[("label", 85), ("data", 87)]], + {}, + ), + 89: ( + "wagtail.blocks.ListBlock", + (88,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnĂ zdroje dat", + "required": False, + }, + ), + 90: ( + "wagtail.blocks.MultipleChoiceBlock", + [], + { + "choices": shared.blocks.children.chart.get_redmine_projects, + "label": "Projekty", + }, + ), + 91: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen otevĹ™enĂ©", "required": False}, + ), + 92: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen uzavĹ™enĂ©", "required": False}, + ), + 93: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Min. datum vytvoĹ™enĂ", "required": True}, + ), + 94: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Max. datum vytvoĹ™enĂ", "required": True}, + ), + 95: ( + "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, + }, + ), + 96: ( + "wagtail.blocks.CharBlock", + (), + { + "label": "OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu", + "max_length": 128, + "required": True, + }, + ), + 97: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "RozdÄ›lit podle projektu", "required": False}, + ), + 98: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Pouze rĹŻst nahoru", "required": False}, + ), + 99: ( + "wagtail.blocks.StructBlock", + [ + [ + ("projects", 90), + ("is_open", 91), + ("is_closed", 92), + ("created_on_min_date", 93), + ("created_on_max_date", 94), + ("updated_on", 95), + ("issue_label", 96), + ("split_per_project", 97), + ("only_grow", 98), + ] + ], + {"label": "Redmine Ăşkoly"}, + ), + 100: ( + "wagtail.blocks.ListBlock", + (99,), + { + "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, + }, + ), + 101: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 80), + ("chart_type", 81), + ("hide_points", 82), + ("local_labels", 84), + ("local_datasets", 89), + ("redmine_issue_datasets", 100), + ] + ], + {}, + ), + 102: ( + "wagtail.blocks.PageChooserBlock", + ("district.DistrictArticlePage",), + {"label": "Aktualita", "required": True}, + ), + 103: ( + "wagtail.blocks.ListBlock", + (102,), + {"label": "Seznam aktualit", "required": True}, + ), + 104: ("wagtail.blocks.StructBlock", [[("articles", 103)]], {}), + 105: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Osoba", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + "required": True, + }, + ), + 106: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.", + "label": "Popisek", + "required": False, + }, + ), + 107: ( + "wagtail.blocks.StructBlock", + [[("person", 105), ("caption", 106)]], + {}, + ), + 108: ("wagtail.blocks.CharBlock", (), {"label": "Titulek"}), + 109: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no", + "label": "Slug skupiny", + "required": False, + }, + ), + 110: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + }, + ), + 111: ( + "wagtail.blocks.ListBlock", + (110,), + { + "default": [], + "help_text": "S pozicemi z jejich podstránek", + "label": "Osoby", + }, + ), + 112: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + "district.DistrictPersonPage", + ], + }, + ), + 113: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.", + "label": "Pozice", + "required": False, + }, + ), + 114: ( + "wagtail.blocks.StructBlock", + [[("page", 112), ("position", 113)]], + {}, + ), + 115: ( + "wagtail.blocks.ListBlock", + (114,), + { + "default": [], + "help_text": "S nastavitelnĂ˝mi pozicemi", + "label": "Osoby", + }, + ), + 116: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 108), + ("slug", 109), + ("person_list", 111), + ("person_list_with_custom_positions", 115), + ] + ], + {}, + ), + }, + 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', 63), ('two_columns', 73), ('three_columns', 75), ('youtube', 76), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70), ('popout_point', 79), ('chart', 101), ('related', 104), ('related_links', 104), ('badge', 107), ('new_people_group', 116), ('newsletter', 121)], 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, 'help_text': 'Pokud toto pole nenĂ zaškrtlĂ©, video bude užšà neĹľ text okolo.', 'label': 'ZabĂrá maximálnà šĂĹ™ku povolenou pro text?', 'required': False}), 45: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'help_text': 'Automaticky spustĂ video bez zvuku. Pozor, nÄ›kterĂ© prohlĂĹľeÄŤe blokujĂ i automatickĂ© pĹ™ehrávánĂ videĂ bez zvuku.', 'label': 'Spustit video automaticky?', 'required': False}), 46: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 48: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 49: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 50: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 51: ('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'}), 52: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 53: ('wagtail.blocks.StructBlock', [[('lat', 47), ('lon', 48), ('hex_color', 49), ('zoom', 50), ('style', 51), ('height', 52)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 54: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 55: ('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}), 56: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 57: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 58: ('wagtail.blocks.StructBlock', [[('title', 54), ('description', 37), ('geojson', 55), ('image', 39), ('link', 56), ('hex_color', 57)]], {'required': True}), 59: ('wagtail.blocks.ListBlock', (58,), {'label': 'Součásti'}), 60: ('wagtail.blocks.StructBlock', [[('features', 59), ('zoom', 50), ('style', 51), ('height', 52)]], {'label': 'Mapová kolekce'}), 61: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60)]], {'label': 'Obsah', 'required': False}), 62: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 63: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 61), ('page', 62), ('link', 56)]], {}), 64: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 65: ('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'}), 66: ('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}), 67: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('normal', 'NormálnĂ'), ('large', 'Velká'), ('huge', 'MasivnĂ')], 'label': 'Velikost tlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11), ('size', 67)]], {}), 69: ('wagtail.blocks.ListBlock', (68,), {'label': 'TlaÄŤĂtka'}), 70: ('wagtail.blocks.StructBlock', [[('buttons', 69)]], {}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 71), ('right_column_content', 72)]], {}), 74: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 75: ('wagtail.blocks.StructBlock', [[('left_column_content', 71), ('middle_column_content', 74), ('right_column_content', 72)]], {}), 76: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 77: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 78: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 79: ('wagtail.blocks.StructBlock', [[('name', 77), ('content', 78)]], {}), 80: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'max_length': 120}), 81: ('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'}), 82: ('wagtail.blocks.BooleanBlock', (), {'help_text': 'MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.', 'label': 'Schovat body', 'required': False}), 83: ('wagtail.blocks.CharBlock', (), {'label': 'Skupina', 'max_length': 40}), 84: ('wagtail.blocks.ListBlock', (83,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnÄ› definovanĂ© skupiny', 'required': False}), 85: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ zdroje dat', 'max_length': 120}), 86: ('wagtail.blocks.IntegerBlock', (), {}), 87: ('wagtail.blocks.ListBlock', (86,), {'default': [0], 'label': 'Data'}), 88: ('wagtail.blocks.StructBlock', [[('label', 85), ('data', 87)]], {}), 89: ('wagtail.blocks.ListBlock', (88,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnĂ zdroje dat', 'required': False}), 90: ('wagtail.blocks.MultipleChoiceBlock', [], {'choices': shared.blocks.children.chart.get_redmine_projects, 'label': 'Projekty'}), 91: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen otevĹ™enĂ©', 'required': False}), 92: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen uzavĹ™enĂ©', 'required': False}), 93: ('wagtail.blocks.DateBlock', (), {'label': 'Min. datum vytvoĹ™enĂ', 'required': True}), 94: ('wagtail.blocks.DateBlock', (), {'label': 'Max. datum vytvoĹ™enĂ', 'required': True}), 95: ('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}), 96: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu', 'max_length': 128, 'required': True}), 97: ('wagtail.blocks.BooleanBlock', (), {'label': 'RozdÄ›lit podle projektu', 'required': False}), 98: ('wagtail.blocks.BooleanBlock', (), {'label': 'Pouze rĹŻst nahoru', 'required': False}), 99: ('wagtail.blocks.StructBlock', [[('projects', 90), ('is_open', 91), ('is_closed', 92), ('created_on_min_date', 93), ('created_on_max_date', 94), ('updated_on', 95), ('issue_label', 96), ('split_per_project', 97), ('only_grow', 98)]], {'label': 'Redmine Ăşkoly'}), 100: ('wagtail.blocks.ListBlock', (99,), {'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}), 101: ('wagtail.blocks.StructBlock', [[('title', 80), ('chart_type', 81), ('hide_points', 82), ('local_labels', 84), ('local_datasets', 89), ('redmine_issue_datasets', 100)]], {}), 102: ('wagtail.blocks.PageChooserBlock', ('district.DistrictArticlePage',), {'label': 'Aktualita', 'required': True}), 103: ('wagtail.blocks.ListBlock', (102,), {'label': 'Seznam aktualit', 'required': True}), 104: ('wagtail.blocks.StructBlock', [[('articles', 103)]], {}), 105: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Osoba', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage'], 'required': True}), 106: ('wagtail.blocks.CharBlock', (), {'help_text': 'VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.', 'label': 'Popisek', 'required': False}), 107: ('wagtail.blocks.StructBlock', [[('person', 105), ('caption', 106)]], {}), 108: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek'}), 109: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no', 'label': 'Slug skupiny', 'required': False}), 110: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage']}), 111: ('wagtail.blocks.ListBlock', (110,), {'default': [], 'help_text': 'S pozicemi z jejich podstránek', 'label': 'Osoby'}), 112: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage', 'district.DistrictPersonPage']}), 113: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.', 'label': 'Pozice', 'required': False}), 114: ('wagtail.blocks.StructBlock', [[('page', 112), ('position', 113)]], {}), 115: ('wagtail.blocks.ListBlock', (114,), {'default': [], 'help_text': 'S nastavitelnĂ˝mi pozicemi', 'label': 'Osoby'}), 116: ('wagtail.blocks.StructBlock', [[('title', 108), ('slug', 109), ('person_list', 111), ('person_list_with_custom_positions', 115)]], {}), 117: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud toto pole zĹŻstane nevyplnÄ›nĂ©, pouĹľije se nastavenĂ tohoto webu. V takovĂ©m pĹ™ĂpadÄ› se mĹŻĹľe pĹ™idat i odbÄ›ratel do Ecomailu.', 'label': 'ID newsletteru v Mailtrainu', 'required': False}), 118: ('wagtail.blocks.CharBlock', (), {'default': 'OdebĂrej náš', 'label': 'Nadpis bloku (1. řádek)', 'required': True}), 119: ('wagtail.blocks.CharBlock', (), {'default': 'newsletter', 'label': 'Nadpis bloku (2. řádek)', 'required': True}), 120: ('wagtail.blocks.CharBlock', (), {'default': 'Fake news tam nenajdeš, ale dozvĂš se, co chystáme doopravdy!', 'label': 'Popis newsletteru', 'required': True}), 121: ('wagtail.blocks.StructBlock', [[('list_id', 117), ('title_line_1', 118), ('title_line_2', 119), ('description', 120)]], {})}, verbose_name='Obsah'), + 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", 63), + ("two_columns", 73), + ("three_columns", 75), + ("youtube", 76), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ("popout_point", 79), + ("chart", 101), + ("related", 104), + ("related_links", 104), + ("badge", 107), + ("new_people_group", 116), + ("newsletter", 121), + ], + 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, + "help_text": "Pokud toto pole nenĂ zaškrtlĂ©, video bude užšà neĹľ text okolo.", + "label": "ZabĂrá maximálnà šĂĹ™ku povolenou pro text?", + "required": False, + }, + ), + 45: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "help_text": "Automaticky spustĂ video bez zvuku. Pozor, nÄ›kterĂ© prohlĂĹľeÄŤe blokujĂ i automatickĂ© pĹ™ehrávánĂ videĂ bez zvuku.", + "label": "Spustit video automaticky?", + "required": False, + }, + ), + 46: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {}, + ), + 47: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 50.04075", "label": "ZemÄ›pisná šĂĹ™ka"}, + ), + 48: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 15.77659", "label": "ZemÄ›pisná dĂ©lka"}, + ), + 49: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva špendlĂku (HEX)", + }, + ), + 50: ( + "wagtail.blocks.IntegerBlock", + (), + { + "default": 15, + "label": "VĂ˝chozĂ zoom", + "max_value": 18, + "min_value": 1, + }, + ), + 51: ( + "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", + }, + ), + 52: ( + "wagtail.blocks.IntegerBlock", + (), + {"label": "Výška v px", "max_value": 1000, "min_value": 100}, + ), + 53: ( + "wagtail.blocks.StructBlock", + [ + [ + ("lat", 47), + ("lon", 48), + ("hex_color", 49), + ("zoom", 50), + ("style", 51), + ("height", 52), + ] + ], + {"label": "Ĺ pendlĂk na mapÄ›"}, + ), + 54: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": True}, + ), + 55: ( + "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, + }, + ), + 56: ( + "wagtail.blocks.URLBlock", + (), + {"label": "Odkaz", "required": False}, + ), + 57: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva (HEX)", + }, + ), + 58: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 54), + ("description", 37), + ("geojson", 55), + ("image", 39), + ("link", 56), + ("hex_color", 57), + ] + ], + {"required": True}, + ), + 59: ("wagtail.blocks.ListBlock", (58,), {"label": "Součásti"}), + 60: ( + "wagtail.blocks.StructBlock", + [ + [ + ("features", 59), + ("zoom", 50), + ("style", 51), + ("height", 52), + ] + ], + {"label": "Mapová kolekce"}, + ), + 61: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ] + ], + {"label": "Obsah", "required": False}, + ), + 62: ( + "wagtail.blocks.PageChooserBlock", + (), + {"label": "Stránka", "required": False}, + ), + 63: ( + "wagtail.blocks.StructBlock", + [ + [ + ("img", 39), + ("headline", 40), + ("content", 61), + ("page", 62), + ("link", 56), + ] + ], + {}, + ), + 64: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "max_length": 128, "required": True}, + ), + 65: ( + "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", + }, + ), + 66: ( + "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, + }, + ), + 67: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("normal", "NormálnĂ"), + ("large", "Velká"), + ("huge", "MasivnĂ"), + ], + "label": "Velikost tlaÄŤĂtka", + }, + ), + 68: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ("size", 67), + ] + ], + {}, + ), + 69: ("wagtail.blocks.ListBlock", (68,), {"label": "TlaÄŤĂtka"}), + 70: ("wagtail.blocks.StructBlock", [[("buttons", 69)]], {}), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 73: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 71), ("right_column_content", 72)]], + {}, + ), + 74: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 71), + ("middle_column_content", 74), + ("right_column_content", 72), + ] + ], + {}, + ), + 76: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 77: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 78: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 79: ( + "wagtail.blocks.StructBlock", + [[("name", 77), ("content", 78)]], + {}, + ), + 80: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "max_length": 120}, + ), + 81: ( + "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", + }, + ), + 82: ( + "wagtail.blocks.BooleanBlock", + (), + { + "help_text": "MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.", + "label": "Schovat body", + "required": False, + }, + ), + 83: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Skupina", "max_length": 40}, + ), + 84: ( + "wagtail.blocks.ListBlock", + (83,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnÄ› definovanĂ© skupiny", + "required": False, + }, + ), + 85: ( + "wagtail.blocks.CharBlock", + (), + {"label": "OznaÄŤenĂ zdroje dat", "max_length": 120}, + ), + 86: ("wagtail.blocks.IntegerBlock", (), {}), + 87: ( + "wagtail.blocks.ListBlock", + (86,), + {"default": [0], "label": "Data"}, + ), + 88: ( + "wagtail.blocks.StructBlock", + [[("label", 85), ("data", 87)]], + {}, + ), + 89: ( + "wagtail.blocks.ListBlock", + (88,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnĂ zdroje dat", + "required": False, + }, + ), + 90: ( + "wagtail.blocks.MultipleChoiceBlock", + [], + { + "choices": shared.blocks.children.chart.get_redmine_projects, + "label": "Projekty", + }, + ), + 91: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen otevĹ™enĂ©", "required": False}, + ), + 92: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen uzavĹ™enĂ©", "required": False}, + ), + 93: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Min. datum vytvoĹ™enĂ", "required": True}, + ), + 94: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Max. datum vytvoĹ™enĂ", "required": True}, + ), + 95: ( + "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, + }, + ), + 96: ( + "wagtail.blocks.CharBlock", + (), + { + "label": "OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu", + "max_length": 128, + "required": True, + }, + ), + 97: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "RozdÄ›lit podle projektu", "required": False}, + ), + 98: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Pouze rĹŻst nahoru", "required": False}, + ), + 99: ( + "wagtail.blocks.StructBlock", + [ + [ + ("projects", 90), + ("is_open", 91), + ("is_closed", 92), + ("created_on_min_date", 93), + ("created_on_max_date", 94), + ("updated_on", 95), + ("issue_label", 96), + ("split_per_project", 97), + ("only_grow", 98), + ] + ], + {"label": "Redmine Ăşkoly"}, + ), + 100: ( + "wagtail.blocks.ListBlock", + (99,), + { + "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, + }, + ), + 101: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 80), + ("chart_type", 81), + ("hide_points", 82), + ("local_labels", 84), + ("local_datasets", 89), + ("redmine_issue_datasets", 100), + ] + ], + {}, + ), + 102: ( + "wagtail.blocks.PageChooserBlock", + ("district.DistrictArticlePage",), + {"label": "Aktualita", "required": True}, + ), + 103: ( + "wagtail.blocks.ListBlock", + (102,), + {"label": "Seznam aktualit", "required": True}, + ), + 104: ("wagtail.blocks.StructBlock", [[("articles", 103)]], {}), + 105: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Osoba", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + "required": True, + }, + ), + 106: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.", + "label": "Popisek", + "required": False, + }, + ), + 107: ( + "wagtail.blocks.StructBlock", + [[("person", 105), ("caption", 106)]], + {}, + ), + 108: ("wagtail.blocks.CharBlock", (), {"label": "Titulek"}), + 109: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no", + "label": "Slug skupiny", + "required": False, + }, + ), + 110: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + }, + ), + 111: ( + "wagtail.blocks.ListBlock", + (110,), + { + "default": [], + "help_text": "S pozicemi z jejich podstránek", + "label": "Osoby", + }, + ), + 112: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + "district.DistrictPersonPage", + ], + }, + ), + 113: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.", + "label": "Pozice", + "required": False, + }, + ), + 114: ( + "wagtail.blocks.StructBlock", + [[("page", 112), ("position", 113)]], + {}, + ), + 115: ( + "wagtail.blocks.ListBlock", + (114,), + { + "default": [], + "help_text": "S nastavitelnĂ˝mi pozicemi", + "label": "Osoby", + }, + ), + 116: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 108), + ("slug", 109), + ("person_list", 111), + ("person_list_with_custom_positions", 115), + ] + ], + {}, + ), + 117: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud toto pole zĹŻstane nevyplnÄ›nĂ©, pouĹľije se nastavenĂ tohoto webu. V takovĂ©m pĹ™ĂpadÄ› se mĹŻĹľe pĹ™idat i odbÄ›ratel do Ecomailu.", + "label": "ID newsletteru v Mailtrainu", + "required": False, + }, + ), + 118: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "OdebĂrej náš", + "label": "Nadpis bloku (1. řádek)", + "required": True, + }, + ), + 119: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "newsletter", + "label": "Nadpis bloku (2. řádek)", + "required": True, + }, + ), + 120: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "Fake news tam nenajdeš, ale dozvĂš se, co chystáme doopravdy!", + "label": "Popis newsletteru", + "required": True, + }, + ), + 121: ( + "wagtail.blocks.StructBlock", + [ + [ + ("list_id", 117), + ("title_line_1", 118), + ("title_line_2", 119), + ("description", 120), + ] + ], + {}, + ), + }, + 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', 63), ('two_columns', 73), ('three_columns', 75), ('youtube', 76), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70), ('popout_point', 79), ('chart', 101), ('related', 104), ('related_links', 104), ('badge', 107), ('new_people_group', 116)], 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, 'help_text': 'Pokud toto pole nenĂ zaškrtlĂ©, video bude užšà neĹľ text okolo.', 'label': 'ZabĂrá maximálnà šĂĹ™ku povolenou pro text?', 'required': False}), 45: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'help_text': 'Automaticky spustĂ video bez zvuku. Pozor, nÄ›kterĂ© prohlĂĹľeÄŤe blokujĂ i automatickĂ© pĹ™ehrávánĂ videĂ bez zvuku.', 'label': 'Spustit video automaticky?', 'required': False}), 46: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 48: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 49: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 50: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 51: ('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'}), 52: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 53: ('wagtail.blocks.StructBlock', [[('lat', 47), ('lon', 48), ('hex_color', 49), ('zoom', 50), ('style', 51), ('height', 52)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 54: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 55: ('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}), 56: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 57: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 58: ('wagtail.blocks.StructBlock', [[('title', 54), ('description', 37), ('geojson', 55), ('image', 39), ('link', 56), ('hex_color', 57)]], {'required': True}), 59: ('wagtail.blocks.ListBlock', (58,), {'label': 'Součásti'}), 60: ('wagtail.blocks.StructBlock', [[('features', 59), ('zoom', 50), ('style', 51), ('height', 52)]], {'label': 'Mapová kolekce'}), 61: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60)]], {'label': 'Obsah', 'required': False}), 62: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 63: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 61), ('page', 62), ('link', 56)]], {}), 64: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 65: ('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'}), 66: ('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}), 67: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('normal', 'NormálnĂ'), ('large', 'Velká'), ('huge', 'MasivnĂ')], 'label': 'Velikost tlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11), ('size', 67)]], {}), 69: ('wagtail.blocks.ListBlock', (68,), {'label': 'TlaÄŤĂtka'}), 70: ('wagtail.blocks.StructBlock', [[('buttons', 69)]], {}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 71), ('right_column_content', 72)]], {}), 74: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 75: ('wagtail.blocks.StructBlock', [[('left_column_content', 71), ('middle_column_content', 74), ('right_column_content', 72)]], {}), 76: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 77: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 78: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 79: ('wagtail.blocks.StructBlock', [[('name', 77), ('content', 78)]], {}), 80: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'max_length': 120}), 81: ('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'}), 82: ('wagtail.blocks.BooleanBlock', (), {'help_text': 'MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.', 'label': 'Schovat body', 'required': False}), 83: ('wagtail.blocks.CharBlock', (), {'label': 'Skupina', 'max_length': 40}), 84: ('wagtail.blocks.ListBlock', (83,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnÄ› definovanĂ© skupiny', 'required': False}), 85: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ zdroje dat', 'max_length': 120}), 86: ('wagtail.blocks.IntegerBlock', (), {}), 87: ('wagtail.blocks.ListBlock', (86,), {'default': [0], 'label': 'Data'}), 88: ('wagtail.blocks.StructBlock', [[('label', 85), ('data', 87)]], {}), 89: ('wagtail.blocks.ListBlock', (88,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnĂ zdroje dat', 'required': False}), 90: ('wagtail.blocks.MultipleChoiceBlock', [], {'choices': shared.blocks.children.chart.get_redmine_projects, 'label': 'Projekty'}), 91: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen otevĹ™enĂ©', 'required': False}), 92: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen uzavĹ™enĂ©', 'required': False}), 93: ('wagtail.blocks.DateBlock', (), {'label': 'Min. datum vytvoĹ™enĂ', 'required': True}), 94: ('wagtail.blocks.DateBlock', (), {'label': 'Max. datum vytvoĹ™enĂ', 'required': True}), 95: ('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}), 96: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu', 'max_length': 128, 'required': True}), 97: ('wagtail.blocks.BooleanBlock', (), {'label': 'RozdÄ›lit podle projektu', 'required': False}), 98: ('wagtail.blocks.BooleanBlock', (), {'label': 'Pouze rĹŻst nahoru', 'required': False}), 99: ('wagtail.blocks.StructBlock', [[('projects', 90), ('is_open', 91), ('is_closed', 92), ('created_on_min_date', 93), ('created_on_max_date', 94), ('updated_on', 95), ('issue_label', 96), ('split_per_project', 97), ('only_grow', 98)]], {'label': 'Redmine Ăşkoly'}), 100: ('wagtail.blocks.ListBlock', (99,), {'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}), 101: ('wagtail.blocks.StructBlock', [[('title', 80), ('chart_type', 81), ('hide_points', 82), ('local_labels', 84), ('local_datasets', 89), ('redmine_issue_datasets', 100)]], {}), 102: ('wagtail.blocks.PageChooserBlock', ('district.DistrictArticlePage',), {'label': 'Aktualita', 'required': True}), 103: ('wagtail.blocks.ListBlock', (102,), {'label': 'Seznam aktualit', 'required': True}), 104: ('wagtail.blocks.StructBlock', [[('articles', 103)]], {}), 105: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Osoba', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage'], 'required': True}), 106: ('wagtail.blocks.CharBlock', (), {'help_text': 'VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.', 'label': 'Popisek', 'required': False}), 107: ('wagtail.blocks.StructBlock', [[('person', 105), ('caption', 106)]], {}), 108: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek'}), 109: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no', 'label': 'Slug skupiny', 'required': False}), 110: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage']}), 111: ('wagtail.blocks.ListBlock', (110,), {'default': [], 'help_text': 'S pozicemi z jejich podstránek', 'label': 'Osoby'}), 112: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage', 'district.DistrictPersonPage']}), 113: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.', 'label': 'Pozice', 'required': False}), 114: ('wagtail.blocks.StructBlock', [[('page', 112), ('position', 113)]], {}), 115: ('wagtail.blocks.ListBlock', (114,), {'default': [], 'help_text': 'S nastavitelnĂ˝mi pozicemi', 'label': 'Osoby'}), 116: ('wagtail.blocks.StructBlock', [[('title', 108), ('slug', 109), ('person_list', 111), ('person_list_with_custom_positions', 115)]], {})}, verbose_name='Obsah ĂşvodnĂ'), + 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", 63), + ("two_columns", 73), + ("three_columns", 75), + ("youtube", 76), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ("popout_point", 79), + ("chart", 101), + ("related", 104), + ("related_links", 104), + ("badge", 107), + ("new_people_group", 116), + ], + 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, + "help_text": "Pokud toto pole nenĂ zaškrtlĂ©, video bude užšà neĹľ text okolo.", + "label": "ZabĂrá maximálnà šĂĹ™ku povolenou pro text?", + "required": False, + }, + ), + 45: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "help_text": "Automaticky spustĂ video bez zvuku. Pozor, nÄ›kterĂ© prohlĂĹľeÄŤe blokujĂ i automatickĂ© pĹ™ehrávánĂ videĂ bez zvuku.", + "label": "Spustit video automaticky?", + "required": False, + }, + ), + 46: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {}, + ), + 47: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 50.04075", "label": "ZemÄ›pisná šĂĹ™ka"}, + ), + 48: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 15.77659", "label": "ZemÄ›pisná dĂ©lka"}, + ), + 49: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva špendlĂku (HEX)", + }, + ), + 50: ( + "wagtail.blocks.IntegerBlock", + (), + { + "default": 15, + "label": "VĂ˝chozĂ zoom", + "max_value": 18, + "min_value": 1, + }, + ), + 51: ( + "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", + }, + ), + 52: ( + "wagtail.blocks.IntegerBlock", + (), + {"label": "Výška v px", "max_value": 1000, "min_value": 100}, + ), + 53: ( + "wagtail.blocks.StructBlock", + [ + [ + ("lat", 47), + ("lon", 48), + ("hex_color", 49), + ("zoom", 50), + ("style", 51), + ("height", 52), + ] + ], + {"label": "Ĺ pendlĂk na mapÄ›"}, + ), + 54: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": True}, + ), + 55: ( + "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, + }, + ), + 56: ( + "wagtail.blocks.URLBlock", + (), + {"label": "Odkaz", "required": False}, + ), + 57: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva (HEX)", + }, + ), + 58: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 54), + ("description", 37), + ("geojson", 55), + ("image", 39), + ("link", 56), + ("hex_color", 57), + ] + ], + {"required": True}, + ), + 59: ("wagtail.blocks.ListBlock", (58,), {"label": "Součásti"}), + 60: ( + "wagtail.blocks.StructBlock", + [ + [ + ("features", 59), + ("zoom", 50), + ("style", 51), + ("height", 52), + ] + ], + {"label": "Mapová kolekce"}, + ), + 61: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ] + ], + {"label": "Obsah", "required": False}, + ), + 62: ( + "wagtail.blocks.PageChooserBlock", + (), + {"label": "Stránka", "required": False}, + ), + 63: ( + "wagtail.blocks.StructBlock", + [ + [ + ("img", 39), + ("headline", 40), + ("content", 61), + ("page", 62), + ("link", 56), + ] + ], + {}, + ), + 64: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "max_length": 128, "required": True}, + ), + 65: ( + "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", + }, + ), + 66: ( + "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, + }, + ), + 67: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("normal", "NormálnĂ"), + ("large", "Velká"), + ("huge", "MasivnĂ"), + ], + "label": "Velikost tlaÄŤĂtka", + }, + ), + 68: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ("size", 67), + ] + ], + {}, + ), + 69: ("wagtail.blocks.ListBlock", (68,), {"label": "TlaÄŤĂtka"}), + 70: ("wagtail.blocks.StructBlock", [[("buttons", 69)]], {}), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 73: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 71), ("right_column_content", 72)]], + {}, + ), + 74: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 71), + ("middle_column_content", 74), + ("right_column_content", 72), + ] + ], + {}, + ), + 76: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 77: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 78: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 79: ( + "wagtail.blocks.StructBlock", + [[("name", 77), ("content", 78)]], + {}, + ), + 80: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "max_length": 120}, + ), + 81: ( + "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", + }, + ), + 82: ( + "wagtail.blocks.BooleanBlock", + (), + { + "help_text": "MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.", + "label": "Schovat body", + "required": False, + }, + ), + 83: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Skupina", "max_length": 40}, + ), + 84: ( + "wagtail.blocks.ListBlock", + (83,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnÄ› definovanĂ© skupiny", + "required": False, + }, + ), + 85: ( + "wagtail.blocks.CharBlock", + (), + {"label": "OznaÄŤenĂ zdroje dat", "max_length": 120}, + ), + 86: ("wagtail.blocks.IntegerBlock", (), {}), + 87: ( + "wagtail.blocks.ListBlock", + (86,), + {"default": [0], "label": "Data"}, + ), + 88: ( + "wagtail.blocks.StructBlock", + [[("label", 85), ("data", 87)]], + {}, + ), + 89: ( + "wagtail.blocks.ListBlock", + (88,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnĂ zdroje dat", + "required": False, + }, + ), + 90: ( + "wagtail.blocks.MultipleChoiceBlock", + [], + { + "choices": shared.blocks.children.chart.get_redmine_projects, + "label": "Projekty", + }, + ), + 91: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen otevĹ™enĂ©", "required": False}, + ), + 92: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen uzavĹ™enĂ©", "required": False}, + ), + 93: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Min. datum vytvoĹ™enĂ", "required": True}, + ), + 94: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Max. datum vytvoĹ™enĂ", "required": True}, + ), + 95: ( + "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, + }, + ), + 96: ( + "wagtail.blocks.CharBlock", + (), + { + "label": "OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu", + "max_length": 128, + "required": True, + }, + ), + 97: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "RozdÄ›lit podle projektu", "required": False}, + ), + 98: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Pouze rĹŻst nahoru", "required": False}, + ), + 99: ( + "wagtail.blocks.StructBlock", + [ + [ + ("projects", 90), + ("is_open", 91), + ("is_closed", 92), + ("created_on_min_date", 93), + ("created_on_max_date", 94), + ("updated_on", 95), + ("issue_label", 96), + ("split_per_project", 97), + ("only_grow", 98), + ] + ], + {"label": "Redmine Ăşkoly"}, + ), + 100: ( + "wagtail.blocks.ListBlock", + (99,), + { + "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, + }, + ), + 101: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 80), + ("chart_type", 81), + ("hide_points", 82), + ("local_labels", 84), + ("local_datasets", 89), + ("redmine_issue_datasets", 100), + ] + ], + {}, + ), + 102: ( + "wagtail.blocks.PageChooserBlock", + ("district.DistrictArticlePage",), + {"label": "Aktualita", "required": True}, + ), + 103: ( + "wagtail.blocks.ListBlock", + (102,), + {"label": "Seznam aktualit", "required": True}, + ), + 104: ("wagtail.blocks.StructBlock", [[("articles", 103)]], {}), + 105: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Osoba", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + "required": True, + }, + ), + 106: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.", + "label": "Popisek", + "required": False, + }, + ), + 107: ( + "wagtail.blocks.StructBlock", + [[("person", 105), ("caption", 106)]], + {}, + ), + 108: ("wagtail.blocks.CharBlock", (), {"label": "Titulek"}), + 109: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no", + "label": "Slug skupiny", + "required": False, + }, + ), + 110: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + }, + ), + 111: ( + "wagtail.blocks.ListBlock", + (110,), + { + "default": [], + "help_text": "S pozicemi z jejich podstránek", + "label": "Osoby", + }, + ), + 112: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + "district.DistrictPersonPage", + ], + }, + ), + 113: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.", + "label": "Pozice", + "required": False, + }, + ), + 114: ( + "wagtail.blocks.StructBlock", + [[("page", 112), ("position", 113)]], + {}, + ), + 115: ( + "wagtail.blocks.ListBlock", + (114,), + { + "default": [], + "help_text": "S nastavitelnĂ˝mi pozicemi", + "label": "Osoby", + }, + ), + 116: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 108), + ("slug", 109), + ("person_list", 111), + ("person_list_with_custom_positions", 115), + ] + ], + {}, + ), + }, + 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', 63), ('two_columns', 73), ('three_columns', 75), ('youtube', 76), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70), ('popout_point', 79), ('chart', 101), ('related', 104), ('related_links', 104), ('badge', 107), ('new_people_group', 116)], 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, 'help_text': 'Pokud toto pole nenĂ zaškrtlĂ©, video bude užšà neĹľ text okolo.', 'label': 'ZabĂrá maximálnà šĂĹ™ku povolenou pro text?', 'required': False}), 45: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'help_text': 'Automaticky spustĂ video bez zvuku. Pozor, nÄ›kterĂ© prohlĂĹľeÄŤe blokujĂ i automatickĂ© pĹ™ehrávánĂ videĂ bez zvuku.', 'label': 'Spustit video automaticky?', 'required': False}), 46: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 48: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 49: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 50: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 51: ('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'}), 52: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 53: ('wagtail.blocks.StructBlock', [[('lat', 47), ('lon', 48), ('hex_color', 49), ('zoom', 50), ('style', 51), ('height', 52)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 54: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 55: ('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}), 56: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 57: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 58: ('wagtail.blocks.StructBlock', [[('title', 54), ('description', 37), ('geojson', 55), ('image', 39), ('link', 56), ('hex_color', 57)]], {'required': True}), 59: ('wagtail.blocks.ListBlock', (58,), {'label': 'Součásti'}), 60: ('wagtail.blocks.StructBlock', [[('features', 59), ('zoom', 50), ('style', 51), ('height', 52)]], {'label': 'Mapová kolekce'}), 61: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60)]], {'label': 'Obsah', 'required': False}), 62: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 63: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 61), ('page', 62), ('link', 56)]], {}), 64: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 65: ('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'}), 66: ('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}), 67: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('normal', 'NormálnĂ'), ('large', 'Velká'), ('huge', 'MasivnĂ')], 'label': 'Velikost tlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11), ('size', 67)]], {}), 69: ('wagtail.blocks.ListBlock', (68,), {'label': 'TlaÄŤĂtka'}), 70: ('wagtail.blocks.StructBlock', [[('buttons', 69)]], {}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 71), ('right_column_content', 72)]], {}), 74: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 75: ('wagtail.blocks.StructBlock', [[('left_column_content', 71), ('middle_column_content', 74), ('right_column_content', 72)]], {}), 76: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 77: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 78: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 79: ('wagtail.blocks.StructBlock', [[('name', 77), ('content', 78)]], {}), 80: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'max_length': 120}), 81: ('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'}), 82: ('wagtail.blocks.BooleanBlock', (), {'help_text': 'MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.', 'label': 'Schovat body', 'required': False}), 83: ('wagtail.blocks.CharBlock', (), {'label': 'Skupina', 'max_length': 40}), 84: ('wagtail.blocks.ListBlock', (83,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnÄ› definovanĂ© skupiny', 'required': False}), 85: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ zdroje dat', 'max_length': 120}), 86: ('wagtail.blocks.IntegerBlock', (), {}), 87: ('wagtail.blocks.ListBlock', (86,), {'default': [0], 'label': 'Data'}), 88: ('wagtail.blocks.StructBlock', [[('label', 85), ('data', 87)]], {}), 89: ('wagtail.blocks.ListBlock', (88,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnĂ zdroje dat', 'required': False}), 90: ('wagtail.blocks.MultipleChoiceBlock', [], {'choices': shared.blocks.children.chart.get_redmine_projects, 'label': 'Projekty'}), 91: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen otevĹ™enĂ©', 'required': False}), 92: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen uzavĹ™enĂ©', 'required': False}), 93: ('wagtail.blocks.DateBlock', (), {'label': 'Min. datum vytvoĹ™enĂ', 'required': True}), 94: ('wagtail.blocks.DateBlock', (), {'label': 'Max. datum vytvoĹ™enĂ', 'required': True}), 95: ('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}), 96: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu', 'max_length': 128, 'required': True}), 97: ('wagtail.blocks.BooleanBlock', (), {'label': 'RozdÄ›lit podle projektu', 'required': False}), 98: ('wagtail.blocks.BooleanBlock', (), {'label': 'Pouze rĹŻst nahoru', 'required': False}), 99: ('wagtail.blocks.StructBlock', [[('projects', 90), ('is_open', 91), ('is_closed', 92), ('created_on_min_date', 93), ('created_on_max_date', 94), ('updated_on', 95), ('issue_label', 96), ('split_per_project', 97), ('only_grow', 98)]], {'label': 'Redmine Ăşkoly'}), 100: ('wagtail.blocks.ListBlock', (99,), {'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}), 101: ('wagtail.blocks.StructBlock', [[('title', 80), ('chart_type', 81), ('hide_points', 82), ('local_labels', 84), ('local_datasets', 89), ('redmine_issue_datasets', 100)]], {}), 102: ('wagtail.blocks.PageChooserBlock', ('district.DistrictArticlePage',), {'label': 'Aktualita', 'required': True}), 103: ('wagtail.blocks.ListBlock', (102,), {'label': 'Seznam aktualit', 'required': True}), 104: ('wagtail.blocks.StructBlock', [[('articles', 103)]], {}), 105: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Osoba', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage'], 'required': True}), 106: ('wagtail.blocks.CharBlock', (), {'help_text': 'VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.', 'label': 'Popisek', 'required': False}), 107: ('wagtail.blocks.StructBlock', [[('person', 105), ('caption', 106)]], {}), 108: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek'}), 109: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no', 'label': 'Slug skupiny', 'required': False}), 110: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage']}), 111: ('wagtail.blocks.ListBlock', (110,), {'default': [], 'help_text': 'S pozicemi z jejich podstránek', 'label': 'Osoby'}), 112: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage', 'district.DistrictPersonPage']}), 113: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.', 'label': 'Pozice', 'required': False}), 114: ('wagtail.blocks.StructBlock', [[('page', 112), ('position', 113)]], {}), 115: ('wagtail.blocks.ListBlock', (114,), {'default': [], 'help_text': 'S nastavitelnĂ˝mi pozicemi', 'label': 'Osoby'}), 116: ('wagtail.blocks.StructBlock', [[('title', 108), ('slug', 109), ('person_list', 111), ('person_list_with_custom_positions', 115)]], {})}, verbose_name='Obsah za mapou'), + 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", 63), + ("two_columns", 73), + ("three_columns", 75), + ("youtube", 76), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ("popout_point", 79), + ("chart", 101), + ("related", 104), + ("related_links", 104), + ("badge", 107), + ("new_people_group", 116), + ], + 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, + "help_text": "Pokud toto pole nenĂ zaškrtlĂ©, video bude užšà neĹľ text okolo.", + "label": "ZabĂrá maximálnà šĂĹ™ku povolenou pro text?", + "required": False, + }, + ), + 45: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "help_text": "Automaticky spustĂ video bez zvuku. Pozor, nÄ›kterĂ© prohlĂĹľeÄŤe blokujĂ i automatickĂ© pĹ™ehrávánĂ videĂ bez zvuku.", + "label": "Spustit video automaticky?", + "required": False, + }, + ), + 46: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {}, + ), + 47: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 50.04075", "label": "ZemÄ›pisná šĂĹ™ka"}, + ), + 48: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 15.77659", "label": "ZemÄ›pisná dĂ©lka"}, + ), + 49: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva špendlĂku (HEX)", + }, + ), + 50: ( + "wagtail.blocks.IntegerBlock", + (), + { + "default": 15, + "label": "VĂ˝chozĂ zoom", + "max_value": 18, + "min_value": 1, + }, + ), + 51: ( + "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", + }, + ), + 52: ( + "wagtail.blocks.IntegerBlock", + (), + {"label": "Výška v px", "max_value": 1000, "min_value": 100}, + ), + 53: ( + "wagtail.blocks.StructBlock", + [ + [ + ("lat", 47), + ("lon", 48), + ("hex_color", 49), + ("zoom", 50), + ("style", 51), + ("height", 52), + ] + ], + {"label": "Ĺ pendlĂk na mapÄ›"}, + ), + 54: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": True}, + ), + 55: ( + "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, + }, + ), + 56: ( + "wagtail.blocks.URLBlock", + (), + {"label": "Odkaz", "required": False}, + ), + 57: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva (HEX)", + }, + ), + 58: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 54), + ("description", 37), + ("geojson", 55), + ("image", 39), + ("link", 56), + ("hex_color", 57), + ] + ], + {"required": True}, + ), + 59: ("wagtail.blocks.ListBlock", (58,), {"label": "Součásti"}), + 60: ( + "wagtail.blocks.StructBlock", + [ + [ + ("features", 59), + ("zoom", 50), + ("style", 51), + ("height", 52), + ] + ], + {"label": "Mapová kolekce"}, + ), + 61: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ] + ], + {"label": "Obsah", "required": False}, + ), + 62: ( + "wagtail.blocks.PageChooserBlock", + (), + {"label": "Stránka", "required": False}, + ), + 63: ( + "wagtail.blocks.StructBlock", + [ + [ + ("img", 39), + ("headline", 40), + ("content", 61), + ("page", 62), + ("link", 56), + ] + ], + {}, + ), + 64: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "max_length": 128, "required": True}, + ), + 65: ( + "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", + }, + ), + 66: ( + "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, + }, + ), + 67: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("normal", "NormálnĂ"), + ("large", "Velká"), + ("huge", "MasivnĂ"), + ], + "label": "Velikost tlaÄŤĂtka", + }, + ), + 68: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ("size", 67), + ] + ], + {}, + ), + 69: ("wagtail.blocks.ListBlock", (68,), {"label": "TlaÄŤĂtka"}), + 70: ("wagtail.blocks.StructBlock", [[("buttons", 69)]], {}), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 73: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 71), ("right_column_content", 72)]], + {}, + ), + 74: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 71), + ("middle_column_content", 74), + ("right_column_content", 72), + ] + ], + {}, + ), + 76: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 77: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 78: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 79: ( + "wagtail.blocks.StructBlock", + [[("name", 77), ("content", 78)]], + {}, + ), + 80: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "max_length": 120}, + ), + 81: ( + "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", + }, + ), + 82: ( + "wagtail.blocks.BooleanBlock", + (), + { + "help_text": "MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.", + "label": "Schovat body", + "required": False, + }, + ), + 83: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Skupina", "max_length": 40}, + ), + 84: ( + "wagtail.blocks.ListBlock", + (83,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnÄ› definovanĂ© skupiny", + "required": False, + }, + ), + 85: ( + "wagtail.blocks.CharBlock", + (), + {"label": "OznaÄŤenĂ zdroje dat", "max_length": 120}, + ), + 86: ("wagtail.blocks.IntegerBlock", (), {}), + 87: ( + "wagtail.blocks.ListBlock", + (86,), + {"default": [0], "label": "Data"}, + ), + 88: ( + "wagtail.blocks.StructBlock", + [[("label", 85), ("data", 87)]], + {}, + ), + 89: ( + "wagtail.blocks.ListBlock", + (88,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnĂ zdroje dat", + "required": False, + }, + ), + 90: ( + "wagtail.blocks.MultipleChoiceBlock", + [], + { + "choices": shared.blocks.children.chart.get_redmine_projects, + "label": "Projekty", + }, + ), + 91: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen otevĹ™enĂ©", "required": False}, + ), + 92: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen uzavĹ™enĂ©", "required": False}, + ), + 93: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Min. datum vytvoĹ™enĂ", "required": True}, + ), + 94: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Max. datum vytvoĹ™enĂ", "required": True}, + ), + 95: ( + "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, + }, + ), + 96: ( + "wagtail.blocks.CharBlock", + (), + { + "label": "OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu", + "max_length": 128, + "required": True, + }, + ), + 97: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "RozdÄ›lit podle projektu", "required": False}, + ), + 98: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Pouze rĹŻst nahoru", "required": False}, + ), + 99: ( + "wagtail.blocks.StructBlock", + [ + [ + ("projects", 90), + ("is_open", 91), + ("is_closed", 92), + ("created_on_min_date", 93), + ("created_on_max_date", 94), + ("updated_on", 95), + ("issue_label", 96), + ("split_per_project", 97), + ("only_grow", 98), + ] + ], + {"label": "Redmine Ăşkoly"}, + ), + 100: ( + "wagtail.blocks.ListBlock", + (99,), + { + "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, + }, + ), + 101: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 80), + ("chart_type", 81), + ("hide_points", 82), + ("local_labels", 84), + ("local_datasets", 89), + ("redmine_issue_datasets", 100), + ] + ], + {}, + ), + 102: ( + "wagtail.blocks.PageChooserBlock", + ("district.DistrictArticlePage",), + {"label": "Aktualita", "required": True}, + ), + 103: ( + "wagtail.blocks.ListBlock", + (102,), + {"label": "Seznam aktualit", "required": True}, + ), + 104: ("wagtail.blocks.StructBlock", [[("articles", 103)]], {}), + 105: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Osoba", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + "required": True, + }, + ), + 106: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.", + "label": "Popisek", + "required": False, + }, + ), + 107: ( + "wagtail.blocks.StructBlock", + [[("person", 105), ("caption", 106)]], + {}, + ), + 108: ("wagtail.blocks.CharBlock", (), {"label": "Titulek"}), + 109: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no", + "label": "Slug skupiny", + "required": False, + }, + ), + 110: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + }, + ), + 111: ( + "wagtail.blocks.ListBlock", + (110,), + { + "default": [], + "help_text": "S pozicemi z jejich podstránek", + "label": "Osoby", + }, + ), + 112: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + "district.DistrictPersonPage", + ], + }, + ), + 113: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.", + "label": "Pozice", + "required": False, + }, + ), + 114: ( + "wagtail.blocks.StructBlock", + [[("page", 112), ("position", 113)]], + {}, + ), + 115: ( + "wagtail.blocks.ListBlock", + (114,), + { + "default": [], + "help_text": "S nastavitelnĂ˝mi pozicemi", + "label": "Osoby", + }, + ), + 116: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 108), + ("slug", 109), + ("person_list", 111), + ("person_list_with_custom_positions", 115), + ] + ], + {}, + ), + }, + 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', 63), ('two_columns', 73), ('three_columns', 75), ('youtube', 76), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70), ('popout_point', 79), ('chart', 101), ('related', 104), ('related_links', 104), ('badge', 107), ('new_people_group', 116)], 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, 'help_text': 'Pokud toto pole nenĂ zaškrtlĂ©, video bude užšà neĹľ text okolo.', 'label': 'ZabĂrá maximálnà šĂĹ™ku povolenou pro text?', 'required': False}), 45: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'help_text': 'Automaticky spustĂ video bez zvuku. Pozor, nÄ›kterĂ© prohlĂĹľeÄŤe blokujĂ i automatickĂ© pĹ™ehrávánĂ videĂ bez zvuku.', 'label': 'Spustit video automaticky?', 'required': False}), 46: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 48: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 49: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 50: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 51: ('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'}), 52: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 53: ('wagtail.blocks.StructBlock', [[('lat', 47), ('lon', 48), ('hex_color', 49), ('zoom', 50), ('style', 51), ('height', 52)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 54: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 55: ('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}), 56: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 57: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 58: ('wagtail.blocks.StructBlock', [[('title', 54), ('description', 37), ('geojson', 55), ('image', 39), ('link', 56), ('hex_color', 57)]], {'required': True}), 59: ('wagtail.blocks.ListBlock', (58,), {'label': 'Součásti'}), 60: ('wagtail.blocks.StructBlock', [[('features', 59), ('zoom', 50), ('style', 51), ('height', 52)]], {'label': 'Mapová kolekce'}), 61: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60)]], {'label': 'Obsah', 'required': False}), 62: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 63: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 61), ('page', 62), ('link', 56)]], {}), 64: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 65: ('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'}), 66: ('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}), 67: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('normal', 'NormálnĂ'), ('large', 'Velká'), ('huge', 'MasivnĂ')], 'label': 'Velikost tlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11), ('size', 67)]], {}), 69: ('wagtail.blocks.ListBlock', (68,), {'label': 'TlaÄŤĂtka'}), 70: ('wagtail.blocks.StructBlock', [[('buttons', 69)]], {}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 71), ('right_column_content', 72)]], {}), 74: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 75: ('wagtail.blocks.StructBlock', [[('left_column_content', 71), ('middle_column_content', 74), ('right_column_content', 72)]], {}), 76: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 77: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 78: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 79: ('wagtail.blocks.StructBlock', [[('name', 77), ('content', 78)]], {}), 80: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'max_length': 120}), 81: ('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'}), 82: ('wagtail.blocks.BooleanBlock', (), {'help_text': 'MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.', 'label': 'Schovat body', 'required': False}), 83: ('wagtail.blocks.CharBlock', (), {'label': 'Skupina', 'max_length': 40}), 84: ('wagtail.blocks.ListBlock', (83,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnÄ› definovanĂ© skupiny', 'required': False}), 85: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ zdroje dat', 'max_length': 120}), 86: ('wagtail.blocks.IntegerBlock', (), {}), 87: ('wagtail.blocks.ListBlock', (86,), {'default': [0], 'label': 'Data'}), 88: ('wagtail.blocks.StructBlock', [[('label', 85), ('data', 87)]], {}), 89: ('wagtail.blocks.ListBlock', (88,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnĂ zdroje dat', 'required': False}), 90: ('wagtail.blocks.MultipleChoiceBlock', [], {'choices': shared.blocks.children.chart.get_redmine_projects, 'label': 'Projekty'}), 91: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen otevĹ™enĂ©', 'required': False}), 92: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen uzavĹ™enĂ©', 'required': False}), 93: ('wagtail.blocks.DateBlock', (), {'label': 'Min. datum vytvoĹ™enĂ', 'required': True}), 94: ('wagtail.blocks.DateBlock', (), {'label': 'Max. datum vytvoĹ™enĂ', 'required': True}), 95: ('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}), 96: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu', 'max_length': 128, 'required': True}), 97: ('wagtail.blocks.BooleanBlock', (), {'label': 'RozdÄ›lit podle projektu', 'required': False}), 98: ('wagtail.blocks.BooleanBlock', (), {'label': 'Pouze rĹŻst nahoru', 'required': False}), 99: ('wagtail.blocks.StructBlock', [[('projects', 90), ('is_open', 91), ('is_closed', 92), ('created_on_min_date', 93), ('created_on_max_date', 94), ('updated_on', 95), ('issue_label', 96), ('split_per_project', 97), ('only_grow', 98)]], {'label': 'Redmine Ăşkoly'}), 100: ('wagtail.blocks.ListBlock', (99,), {'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}), 101: ('wagtail.blocks.StructBlock', [[('title', 80), ('chart_type', 81), ('hide_points', 82), ('local_labels', 84), ('local_datasets', 89), ('redmine_issue_datasets', 100)]], {}), 102: ('wagtail.blocks.PageChooserBlock', ('district.DistrictArticlePage',), {'label': 'Aktualita', 'required': True}), 103: ('wagtail.blocks.ListBlock', (102,), {'label': 'Seznam aktualit', 'required': True}), 104: ('wagtail.blocks.StructBlock', [[('articles', 103)]], {}), 105: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Osoba', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage'], 'required': True}), 106: ('wagtail.blocks.CharBlock', (), {'help_text': 'VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.', 'label': 'Popisek', 'required': False}), 107: ('wagtail.blocks.StructBlock', [[('person', 105), ('caption', 106)]], {}), 108: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek'}), 109: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no', 'label': 'Slug skupiny', 'required': False}), 110: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage']}), 111: ('wagtail.blocks.ListBlock', (110,), {'default': [], 'help_text': 'S pozicemi z jejich podstránek', 'label': 'Osoby'}), 112: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage', 'district.DistrictPersonPage']}), 113: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.', 'label': 'Pozice', 'required': False}), 114: ('wagtail.blocks.StructBlock', [[('page', 112), ('position', 113)]], {}), 115: ('wagtail.blocks.ListBlock', (114,), {'default': [], 'help_text': 'S nastavitelnĂ˝mi pozicemi', 'label': 'Osoby'}), 116: ('wagtail.blocks.StructBlock', [[('title', 108), ('slug', 109), ('person_list', 111), ('person_list_with_custom_positions', 115)]], {})}, verbose_name='Obsah v patiÄŤkovĂ© části'), + 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", 63), + ("two_columns", 73), + ("three_columns", 75), + ("youtube", 76), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ("popout_point", 79), + ("chart", 101), + ("related", 104), + ("related_links", 104), + ("badge", 107), + ("new_people_group", 116), + ], + 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, + "help_text": "Pokud toto pole nenĂ zaškrtlĂ©, video bude užšà neĹľ text okolo.", + "label": "ZabĂrá maximálnà šĂĹ™ku povolenou pro text?", + "required": False, + }, + ), + 45: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "help_text": "Automaticky spustĂ video bez zvuku. Pozor, nÄ›kterĂ© prohlĂĹľeÄŤe blokujĂ i automatickĂ© pĹ™ehrávánĂ videĂ bez zvuku.", + "label": "Spustit video automaticky?", + "required": False, + }, + ), + 46: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {}, + ), + 47: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 50.04075", "label": "ZemÄ›pisná šĂĹ™ka"}, + ), + 48: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 15.77659", "label": "ZemÄ›pisná dĂ©lka"}, + ), + 49: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva špendlĂku (HEX)", + }, + ), + 50: ( + "wagtail.blocks.IntegerBlock", + (), + { + "default": 15, + "label": "VĂ˝chozĂ zoom", + "max_value": 18, + "min_value": 1, + }, + ), + 51: ( + "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", + }, + ), + 52: ( + "wagtail.blocks.IntegerBlock", + (), + {"label": "Výška v px", "max_value": 1000, "min_value": 100}, + ), + 53: ( + "wagtail.blocks.StructBlock", + [ + [ + ("lat", 47), + ("lon", 48), + ("hex_color", 49), + ("zoom", 50), + ("style", 51), + ("height", 52), + ] + ], + {"label": "Ĺ pendlĂk na mapÄ›"}, + ), + 54: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": True}, + ), + 55: ( + "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, + }, + ), + 56: ( + "wagtail.blocks.URLBlock", + (), + {"label": "Odkaz", "required": False}, + ), + 57: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva (HEX)", + }, + ), + 58: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 54), + ("description", 37), + ("geojson", 55), + ("image", 39), + ("link", 56), + ("hex_color", 57), + ] + ], + {"required": True}, + ), + 59: ("wagtail.blocks.ListBlock", (58,), {"label": "Součásti"}), + 60: ( + "wagtail.blocks.StructBlock", + [ + [ + ("features", 59), + ("zoom", 50), + ("style", 51), + ("height", 52), + ] + ], + {"label": "Mapová kolekce"}, + ), + 61: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ] + ], + {"label": "Obsah", "required": False}, + ), + 62: ( + "wagtail.blocks.PageChooserBlock", + (), + {"label": "Stránka", "required": False}, + ), + 63: ( + "wagtail.blocks.StructBlock", + [ + [ + ("img", 39), + ("headline", 40), + ("content", 61), + ("page", 62), + ("link", 56), + ] + ], + {}, + ), + 64: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "max_length": 128, "required": True}, + ), + 65: ( + "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", + }, + ), + 66: ( + "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, + }, + ), + 67: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("normal", "NormálnĂ"), + ("large", "Velká"), + ("huge", "MasivnĂ"), + ], + "label": "Velikost tlaÄŤĂtka", + }, + ), + 68: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ("size", 67), + ] + ], + {}, + ), + 69: ("wagtail.blocks.ListBlock", (68,), {"label": "TlaÄŤĂtka"}), + 70: ("wagtail.blocks.StructBlock", [[("buttons", 69)]], {}), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 73: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 71), ("right_column_content", 72)]], + {}, + ), + 74: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 71), + ("middle_column_content", 74), + ("right_column_content", 72), + ] + ], + {}, + ), + 76: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 77: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 78: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 79: ( + "wagtail.blocks.StructBlock", + [[("name", 77), ("content", 78)]], + {}, + ), + 80: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "max_length": 120}, + ), + 81: ( + "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", + }, + ), + 82: ( + "wagtail.blocks.BooleanBlock", + (), + { + "help_text": "MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.", + "label": "Schovat body", + "required": False, + }, + ), + 83: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Skupina", "max_length": 40}, + ), + 84: ( + "wagtail.blocks.ListBlock", + (83,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnÄ› definovanĂ© skupiny", + "required": False, + }, + ), + 85: ( + "wagtail.blocks.CharBlock", + (), + {"label": "OznaÄŤenĂ zdroje dat", "max_length": 120}, + ), + 86: ("wagtail.blocks.IntegerBlock", (), {}), + 87: ( + "wagtail.blocks.ListBlock", + (86,), + {"default": [0], "label": "Data"}, + ), + 88: ( + "wagtail.blocks.StructBlock", + [[("label", 85), ("data", 87)]], + {}, + ), + 89: ( + "wagtail.blocks.ListBlock", + (88,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnĂ zdroje dat", + "required": False, + }, + ), + 90: ( + "wagtail.blocks.MultipleChoiceBlock", + [], + { + "choices": shared.blocks.children.chart.get_redmine_projects, + "label": "Projekty", + }, + ), + 91: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen otevĹ™enĂ©", "required": False}, + ), + 92: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen uzavĹ™enĂ©", "required": False}, + ), + 93: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Min. datum vytvoĹ™enĂ", "required": True}, + ), + 94: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Max. datum vytvoĹ™enĂ", "required": True}, + ), + 95: ( + "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, + }, + ), + 96: ( + "wagtail.blocks.CharBlock", + (), + { + "label": "OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu", + "max_length": 128, + "required": True, + }, + ), + 97: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "RozdÄ›lit podle projektu", "required": False}, + ), + 98: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Pouze rĹŻst nahoru", "required": False}, + ), + 99: ( + "wagtail.blocks.StructBlock", + [ + [ + ("projects", 90), + ("is_open", 91), + ("is_closed", 92), + ("created_on_min_date", 93), + ("created_on_max_date", 94), + ("updated_on", 95), + ("issue_label", 96), + ("split_per_project", 97), + ("only_grow", 98), + ] + ], + {"label": "Redmine Ăşkoly"}, + ), + 100: ( + "wagtail.blocks.ListBlock", + (99,), + { + "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, + }, + ), + 101: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 80), + ("chart_type", 81), + ("hide_points", 82), + ("local_labels", 84), + ("local_datasets", 89), + ("redmine_issue_datasets", 100), + ] + ], + {}, + ), + 102: ( + "wagtail.blocks.PageChooserBlock", + ("district.DistrictArticlePage",), + {"label": "Aktualita", "required": True}, + ), + 103: ( + "wagtail.blocks.ListBlock", + (102,), + {"label": "Seznam aktualit", "required": True}, + ), + 104: ("wagtail.blocks.StructBlock", [[("articles", 103)]], {}), + 105: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Osoba", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + "required": True, + }, + ), + 106: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.", + "label": "Popisek", + "required": False, + }, + ), + 107: ( + "wagtail.blocks.StructBlock", + [[("person", 105), ("caption", 106)]], + {}, + ), + 108: ("wagtail.blocks.CharBlock", (), {"label": "Titulek"}), + 109: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no", + "label": "Slug skupiny", + "required": False, + }, + ), + 110: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + }, + ), + 111: ( + "wagtail.blocks.ListBlock", + (110,), + { + "default": [], + "help_text": "S pozicemi z jejich podstránek", + "label": "Osoby", + }, + ), + 112: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + "district.DistrictPersonPage", + ], + }, + ), + 113: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.", + "label": "Pozice", + "required": False, + }, + ), + 114: ( + "wagtail.blocks.StructBlock", + [[("page", 112), ("position", 113)]], + {}, + ), + 115: ( + "wagtail.blocks.ListBlock", + (114,), + { + "default": [], + "help_text": "S nastavitelnĂ˝mi pozicemi", + "label": "Osoby", + }, + ), + 116: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 108), + ("slug", 109), + ("person_list", 111), + ("person_list_with_custom_positions", 115), + ] + ], + {}, + ), + }, + 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', 63), ('two_columns', 73), ('three_columns', 75), ('youtube', 76), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70), ('popout_point', 79), ('chart', 101), ('related', 104), ('related_links', 104), ('badge', 107), ('new_people_group', 116)], 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, 'help_text': 'Pokud toto pole nenĂ zaškrtlĂ©, video bude užšà neĹľ text okolo.', 'label': 'ZabĂrá maximálnà šĂĹ™ku povolenou pro text?', 'required': False}), 45: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'help_text': 'Automaticky spustĂ video bez zvuku. Pozor, nÄ›kterĂ© prohlĂĹľeÄŤe blokujĂ i automatickĂ© pĹ™ehrávánĂ videĂ bez zvuku.', 'label': 'Spustit video automaticky?', 'required': False}), 46: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 48: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 49: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 50: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 51: ('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'}), 52: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 53: ('wagtail.blocks.StructBlock', [[('lat', 47), ('lon', 48), ('hex_color', 49), ('zoom', 50), ('style', 51), ('height', 52)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 54: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 55: ('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}), 56: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 57: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 58: ('wagtail.blocks.StructBlock', [[('title', 54), ('description', 37), ('geojson', 55), ('image', 39), ('link', 56), ('hex_color', 57)]], {'required': True}), 59: ('wagtail.blocks.ListBlock', (58,), {'label': 'Součásti'}), 60: ('wagtail.blocks.StructBlock', [[('features', 59), ('zoom', 50), ('style', 51), ('height', 52)]], {'label': 'Mapová kolekce'}), 61: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60)]], {'label': 'Obsah', 'required': False}), 62: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 63: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 61), ('page', 62), ('link', 56)]], {}), 64: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 65: ('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'}), 66: ('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}), 67: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('normal', 'NormálnĂ'), ('large', 'Velká'), ('huge', 'MasivnĂ')], 'label': 'Velikost tlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11), ('size', 67)]], {}), 69: ('wagtail.blocks.ListBlock', (68,), {'label': 'TlaÄŤĂtka'}), 70: ('wagtail.blocks.StructBlock', [[('buttons', 69)]], {}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 71), ('right_column_content', 72)]], {}), 74: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 75: ('wagtail.blocks.StructBlock', [[('left_column_content', 71), ('middle_column_content', 74), ('right_column_content', 72)]], {}), 76: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 77: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 78: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 79: ('wagtail.blocks.StructBlock', [[('name', 77), ('content', 78)]], {}), 80: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'max_length': 120}), 81: ('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'}), 82: ('wagtail.blocks.BooleanBlock', (), {'help_text': 'MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.', 'label': 'Schovat body', 'required': False}), 83: ('wagtail.blocks.CharBlock', (), {'label': 'Skupina', 'max_length': 40}), 84: ('wagtail.blocks.ListBlock', (83,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnÄ› definovanĂ© skupiny', 'required': False}), 85: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ zdroje dat', 'max_length': 120}), 86: ('wagtail.blocks.IntegerBlock', (), {}), 87: ('wagtail.blocks.ListBlock', (86,), {'default': [0], 'label': 'Data'}), 88: ('wagtail.blocks.StructBlock', [[('label', 85), ('data', 87)]], {}), 89: ('wagtail.blocks.ListBlock', (88,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnĂ zdroje dat', 'required': False}), 90: ('wagtail.blocks.MultipleChoiceBlock', [], {'choices': shared.blocks.children.chart.get_redmine_projects, 'label': 'Projekty'}), 91: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen otevĹ™enĂ©', 'required': False}), 92: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen uzavĹ™enĂ©', 'required': False}), 93: ('wagtail.blocks.DateBlock', (), {'label': 'Min. datum vytvoĹ™enĂ', 'required': True}), 94: ('wagtail.blocks.DateBlock', (), {'label': 'Max. datum vytvoĹ™enĂ', 'required': True}), 95: ('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}), 96: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu', 'max_length': 128, 'required': True}), 97: ('wagtail.blocks.BooleanBlock', (), {'label': 'RozdÄ›lit podle projektu', 'required': False}), 98: ('wagtail.blocks.BooleanBlock', (), {'label': 'Pouze rĹŻst nahoru', 'required': False}), 99: ('wagtail.blocks.StructBlock', [[('projects', 90), ('is_open', 91), ('is_closed', 92), ('created_on_min_date', 93), ('created_on_max_date', 94), ('updated_on', 95), ('issue_label', 96), ('split_per_project', 97), ('only_grow', 98)]], {'label': 'Redmine Ăşkoly'}), 100: ('wagtail.blocks.ListBlock', (99,), {'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}), 101: ('wagtail.blocks.StructBlock', [[('title', 80), ('chart_type', 81), ('hide_points', 82), ('local_labels', 84), ('local_datasets', 89), ('redmine_issue_datasets', 100)]], {}), 102: ('wagtail.blocks.PageChooserBlock', ('district.DistrictArticlePage',), {'label': 'Aktualita', 'required': True}), 103: ('wagtail.blocks.ListBlock', (102,), {'label': 'Seznam aktualit', 'required': True}), 104: ('wagtail.blocks.StructBlock', [[('articles', 103)]], {}), 105: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Osoba', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage'], 'required': True}), 106: ('wagtail.blocks.CharBlock', (), {'help_text': 'VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.', 'label': 'Popisek', 'required': False}), 107: ('wagtail.blocks.StructBlock', [[('person', 105), ('caption', 106)]], {}), 108: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek'}), 109: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no', 'label': 'Slug skupiny', 'required': False}), 110: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage']}), 111: ('wagtail.blocks.ListBlock', (110,), {'default': [], 'help_text': 'S pozicemi z jejich podstránek', 'label': 'Osoby'}), 112: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage', 'district.DistrictPersonPage']}), 113: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.', 'label': 'Pozice', 'required': False}), 114: ('wagtail.blocks.StructBlock', [[('page', 112), ('position', 113)]], {}), 115: ('wagtail.blocks.ListBlock', (114,), {'default': [], 'help_text': 'S nastavitelnĂ˝mi pozicemi', 'label': 'Osoby'}), 116: ('wagtail.blocks.StructBlock', [[('title', 108), ('slug', 109), ('person_list', 111), ('person_list_with_custom_positions', 115)]], {})}, verbose_name='Obsah'), + 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", 63), + ("two_columns", 73), + ("three_columns", 75), + ("youtube", 76), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ("popout_point", 79), + ("chart", 101), + ("related", 104), + ("related_links", 104), + ("badge", 107), + ("new_people_group", 116), + ], + 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, + "help_text": "Pokud toto pole nenĂ zaškrtlĂ©, video bude užšà neĹľ text okolo.", + "label": "ZabĂrá maximálnà šĂĹ™ku povolenou pro text?", + "required": False, + }, + ), + 45: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "help_text": "Automaticky spustĂ video bez zvuku. Pozor, nÄ›kterĂ© prohlĂĹľeÄŤe blokujĂ i automatickĂ© pĹ™ehrávánĂ videĂ bez zvuku.", + "label": "Spustit video automaticky?", + "required": False, + }, + ), + 46: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {}, + ), + 47: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 50.04075", "label": "ZemÄ›pisná šĂĹ™ka"}, + ), + 48: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 15.77659", "label": "ZemÄ›pisná dĂ©lka"}, + ), + 49: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva špendlĂku (HEX)", + }, + ), + 50: ( + "wagtail.blocks.IntegerBlock", + (), + { + "default": 15, + "label": "VĂ˝chozĂ zoom", + "max_value": 18, + "min_value": 1, + }, + ), + 51: ( + "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", + }, + ), + 52: ( + "wagtail.blocks.IntegerBlock", + (), + {"label": "Výška v px", "max_value": 1000, "min_value": 100}, + ), + 53: ( + "wagtail.blocks.StructBlock", + [ + [ + ("lat", 47), + ("lon", 48), + ("hex_color", 49), + ("zoom", 50), + ("style", 51), + ("height", 52), + ] + ], + {"label": "Ĺ pendlĂk na mapÄ›"}, + ), + 54: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": True}, + ), + 55: ( + "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, + }, + ), + 56: ( + "wagtail.blocks.URLBlock", + (), + {"label": "Odkaz", "required": False}, + ), + 57: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva (HEX)", + }, + ), + 58: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 54), + ("description", 37), + ("geojson", 55), + ("image", 39), + ("link", 56), + ("hex_color", 57), + ] + ], + {"required": True}, + ), + 59: ("wagtail.blocks.ListBlock", (58,), {"label": "Součásti"}), + 60: ( + "wagtail.blocks.StructBlock", + [ + [ + ("features", 59), + ("zoom", 50), + ("style", 51), + ("height", 52), + ] + ], + {"label": "Mapová kolekce"}, + ), + 61: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ] + ], + {"label": "Obsah", "required": False}, + ), + 62: ( + "wagtail.blocks.PageChooserBlock", + (), + {"label": "Stránka", "required": False}, + ), + 63: ( + "wagtail.blocks.StructBlock", + [ + [ + ("img", 39), + ("headline", 40), + ("content", 61), + ("page", 62), + ("link", 56), + ] + ], + {}, + ), + 64: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "max_length": 128, "required": True}, + ), + 65: ( + "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", + }, + ), + 66: ( + "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, + }, + ), + 67: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("normal", "NormálnĂ"), + ("large", "Velká"), + ("huge", "MasivnĂ"), + ], + "label": "Velikost tlaÄŤĂtka", + }, + ), + 68: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ("size", 67), + ] + ], + {}, + ), + 69: ("wagtail.blocks.ListBlock", (68,), {"label": "TlaÄŤĂtka"}), + 70: ("wagtail.blocks.StructBlock", [[("buttons", 69)]], {}), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 73: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 71), ("right_column_content", 72)]], + {}, + ), + 74: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 71), + ("middle_column_content", 74), + ("right_column_content", 72), + ] + ], + {}, + ), + 76: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 77: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 78: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 79: ( + "wagtail.blocks.StructBlock", + [[("name", 77), ("content", 78)]], + {}, + ), + 80: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "max_length": 120}, + ), + 81: ( + "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", + }, + ), + 82: ( + "wagtail.blocks.BooleanBlock", + (), + { + "help_text": "MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.", + "label": "Schovat body", + "required": False, + }, + ), + 83: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Skupina", "max_length": 40}, + ), + 84: ( + "wagtail.blocks.ListBlock", + (83,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnÄ› definovanĂ© skupiny", + "required": False, + }, + ), + 85: ( + "wagtail.blocks.CharBlock", + (), + {"label": "OznaÄŤenĂ zdroje dat", "max_length": 120}, + ), + 86: ("wagtail.blocks.IntegerBlock", (), {}), + 87: ( + "wagtail.blocks.ListBlock", + (86,), + {"default": [0], "label": "Data"}, + ), + 88: ( + "wagtail.blocks.StructBlock", + [[("label", 85), ("data", 87)]], + {}, + ), + 89: ( + "wagtail.blocks.ListBlock", + (88,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnĂ zdroje dat", + "required": False, + }, + ), + 90: ( + "wagtail.blocks.MultipleChoiceBlock", + [], + { + "choices": shared.blocks.children.chart.get_redmine_projects, + "label": "Projekty", + }, + ), + 91: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen otevĹ™enĂ©", "required": False}, + ), + 92: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen uzavĹ™enĂ©", "required": False}, + ), + 93: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Min. datum vytvoĹ™enĂ", "required": True}, + ), + 94: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Max. datum vytvoĹ™enĂ", "required": True}, + ), + 95: ( + "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, + }, + ), + 96: ( + "wagtail.blocks.CharBlock", + (), + { + "label": "OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu", + "max_length": 128, + "required": True, + }, + ), + 97: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "RozdÄ›lit podle projektu", "required": False}, + ), + 98: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Pouze rĹŻst nahoru", "required": False}, + ), + 99: ( + "wagtail.blocks.StructBlock", + [ + [ + ("projects", 90), + ("is_open", 91), + ("is_closed", 92), + ("created_on_min_date", 93), + ("created_on_max_date", 94), + ("updated_on", 95), + ("issue_label", 96), + ("split_per_project", 97), + ("only_grow", 98), + ] + ], + {"label": "Redmine Ăşkoly"}, + ), + 100: ( + "wagtail.blocks.ListBlock", + (99,), + { + "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, + }, + ), + 101: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 80), + ("chart_type", 81), + ("hide_points", 82), + ("local_labels", 84), + ("local_datasets", 89), + ("redmine_issue_datasets", 100), + ] + ], + {}, + ), + 102: ( + "wagtail.blocks.PageChooserBlock", + ("district.DistrictArticlePage",), + {"label": "Aktualita", "required": True}, + ), + 103: ( + "wagtail.blocks.ListBlock", + (102,), + {"label": "Seznam aktualit", "required": True}, + ), + 104: ("wagtail.blocks.StructBlock", [[("articles", 103)]], {}), + 105: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Osoba", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + "required": True, + }, + ), + 106: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.", + "label": "Popisek", + "required": False, + }, + ), + 107: ( + "wagtail.blocks.StructBlock", + [[("person", 105), ("caption", 106)]], + {}, + ), + 108: ("wagtail.blocks.CharBlock", (), {"label": "Titulek"}), + 109: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no", + "label": "Slug skupiny", + "required": False, + }, + ), + 110: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + }, + ), + 111: ( + "wagtail.blocks.ListBlock", + (110,), + { + "default": [], + "help_text": "S pozicemi z jejich podstránek", + "label": "Osoby", + }, + ), + 112: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + "district.DistrictPersonPage", + ], + }, + ), + 113: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.", + "label": "Pozice", + "required": False, + }, + ), + 114: ( + "wagtail.blocks.StructBlock", + [[("page", 112), ("position", 113)]], + {}, + ), + 115: ( + "wagtail.blocks.ListBlock", + (114,), + { + "default": [], + "help_text": "S nastavitelnĂ˝mi pozicemi", + "label": "Osoby", + }, + ), + 116: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 108), + ("slug", 109), + ("person_list", 111), + ("person_list_with_custom_positions", 115), + ] + ], + {}, + ), + }, + 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', 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': ['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, 'help_text': 'Pokud toto pole nenĂ zaškrtlĂ©, video bude užšà neĹľ text okolo.', 'label': 'ZabĂrá maximálnà šĂĹ™ku povolenou pro text?', 'required': False}), 91: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'help_text': 'Automaticky spustĂ video bez zvuku. Pozor, nÄ›kterĂ© prohlĂĹľeÄŤe blokujĂ i automatickĂ© pĹ™ehrávánĂ videĂ bez zvuku.', 'label': 'Spustit video automaticky?', 'required': False}), 92: ('wagtail.blocks.StructBlock', [[('poster_image', 87), ('video_url', 88), ('video_id', 89), ('is_full_width', 90), ('autoplay', 91)]], {}), 93: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 94: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 95: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 96: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 97: ('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'}), 98: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 99: ('wagtail.blocks.StructBlock', [[('lat', 93), ('lon', 94), ('hex_color', 95), ('zoom', 96), ('style', 97), ('height', 98)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 100: ('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}), 101: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 102: ('wagtail.blocks.StructBlock', [[('title', 9), ('description', 83), ('geojson', 100), ('image', 85), ('link', 12), ('hex_color', 101)]], {'required': True}), 103: ('wagtail.blocks.ListBlock', (102,), {'label': 'Součásti'}), 104: ('wagtail.blocks.StructBlock', [[('features', 103), ('zoom', 96), ('style', 97), ('height', 98)]], {'label': 'Mapová kolekce'}), 105: ('wagtail.blocks.StreamBlock', [[('text', 49), ('table', 77), ('figure', 84), ('youtube', 92), ('map_point', 99), ('map_collection', 104)]], {'label': 'Obsah', 'required': False}), 106: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 107: ('wagtail.blocks.StructBlock', [[('img', 85), ('headline', 86), ('content', 105), ('page', 106), ('link', 12)]], {}), 108: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 109: ('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'}), 110: ('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}), 111: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('normal', 'NormálnĂ'), ('large', 'Velká'), ('huge', 'MasivnĂ')], 'label': 'Velikost tlaÄŤĂtka'}), 112: ('wagtail.blocks.StructBlock', [[('title', 108), ('color', 109), ('hoveractive', 110), ('page', 106), ('link', 12), ('align', 57), ('size', 111)]], {}), 113: ('wagtail.blocks.ListBlock', (112,), {'label': 'TlaÄŤĂtka'}), 114: ('wagtail.blocks.StructBlock', [[('buttons', 113)]], {}), 115: ('wagtail.blocks.StreamBlock', [[('text', 49), ('table', 77), ('card', 107), ('figure', 84), ('youtube', 92), ('map_point', 99), ('map_collection', 104), ('button', 112), ('button_group', 114)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 116: ('wagtail.blocks.StreamBlock', [[('text', 49), ('table', 77), ('card', 107), ('figure', 84), ('youtube', 92), ('map_point', 99), ('map_collection', 104), ('button', 112), ('button_group', 114)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 117: ('wagtail.blocks.StructBlock', [[('left_column_content', 115), ('right_column_content', 116)]], {}), 118: ('wagtail.blocks.StreamBlock', [[('text', 49), ('table', 77), ('card', 107), ('figure', 84), ('youtube', 92), ('map_point', 99), ('map_collection', 104), ('button', 112), ('button_group', 114)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 119: ('wagtail.blocks.StructBlock', [[('left_column_content', 115), ('middle_column_content', 118), ('right_column_content', 116)]], {}), 120: ('wagtail.blocks.StructBlock', [[('poster_image', 87), ('video_url', 88), ('video_id', 89), ('is_full_width', 90), ('autoplay', 91)]], {'label': 'YouTube video'}), 121: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 122: ('wagtail.blocks.StreamBlock', [[('text', 46), ('headline', 58), ('table', 77)]], {'label': 'Obsah'}), 123: ('wagtail.blocks.StructBlock', [[('name', 121), ('content', 122)]], {}), 124: ('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', 107), ('two_columns', 117), ('three_columns', 119), ('youtube', 120), ('map_point', 99), ('map_collection', 104), ('button', 112), ('button_group', 114), ('popout_point', 123)]], {'label': 'Obsah'}), 125: ('wagtail.blocks.StructBlock', [[('title', 45), ('child_blocks', 124)]], {}), 126: ('wagtail.blocks.ListBlock', (125,), {'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}), 127: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz'}), 128: ('wagtail.blocks.StructBlock', [[('text', 17), ('link', 127)]], {'label': 'Odkaz'}), 129: ('wagtail.blocks.ListBlock', (128,), {'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}), 130: ('wagtail.blocks.CharBlock', (), {'default': 'Program', 'help_text': "NapĹ™. 'Program'", 'label': 'Nadpis'}), 131: ('wagtail.blocks.IntegerBlock', (), {'label': 'ÄŚĂslo'}), 132: ('wagtail.blocks.TextBlock', (), {'label': 'Obsah'}), 133: ('wagtail.blocks.StructBlock', [[('content', 132)]], {}), 134: ('wagtail.blocks.ListBlock', (133,), {'label': 'Body'}), 135: ('wagtail.blocks.StructBlock', [[('number', 131), ('name', 17), ('points', 134)]], {}), 136: ('wagtail.blocks.ListBlock', (135,), {'label': 'Kategorie'}), 137: ('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}), 138: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis odkazu na celou verzi programu', 'required': False}), 139: ('wagtail.blocks.StructBlock', [[('label', 130), ('categories', 136), ('long_version_url', 137), ('long_version_text', 138)]], {'template': 'styleguide2/includes/molecules/program/program_block.html'}), 140: ('wagtail.blocks.StreamBlock', [[('program_group', 7), ('program_group_crossroad', 15), ('program_group_popout', 25), ('carousel_program', 139)]], {'required': False}), 141: ('wagtail.blocks.StructBlock', [[('title', 0), ('preamble_content', 26), ('candidates_title', 27), ('program_title', 28), ('primary_candidates', 39), ('secondary_candidates', 44), ('other_views', 126), ('tab_links', 129), ('program', 140)]], {})}, verbose_name='Programy'), + model_name="districtnewprogrampage", + name="program", + field=wagtail.fields.StreamField( + [ + ("program_group", 7), + ("program_group_crossroad", 15), + ("program_group_popout", 25), + ("program_group_with_candidates", 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": [ + "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, + "help_text": "Pokud toto pole nenĂ zaškrtlĂ©, video bude užšà neĹľ text okolo.", + "label": "ZabĂrá maximálnà šĂĹ™ku povolenou pro text?", + "required": False, + }, + ), + 91: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "help_text": "Automaticky spustĂ video bez zvuku. Pozor, nÄ›kterĂ© prohlĂĹľeÄŤe blokujĂ i automatickĂ© pĹ™ehrávánĂ videĂ bez zvuku.", + "label": "Spustit video automaticky?", + "required": False, + }, + ), + 92: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 87), + ("video_url", 88), + ("video_id", 89), + ("is_full_width", 90), + ("autoplay", 91), + ] + ], + {}, + ), + 93: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 50.04075", "label": "ZemÄ›pisná šĂĹ™ka"}, + ), + 94: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 15.77659", "label": "ZemÄ›pisná dĂ©lka"}, + ), + 95: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva špendlĂku (HEX)", + }, + ), + 96: ( + "wagtail.blocks.IntegerBlock", + (), + { + "default": 15, + "label": "VĂ˝chozĂ zoom", + "max_value": 18, + "min_value": 1, + }, + ), + 97: ( + "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", + }, + ), + 98: ( + "wagtail.blocks.IntegerBlock", + (), + {"label": "Výška v px", "max_value": 1000, "min_value": 100}, + ), + 99: ( + "wagtail.blocks.StructBlock", + [ + [ + ("lat", 93), + ("lon", 94), + ("hex_color", 95), + ("zoom", 96), + ("style", 97), + ("height", 98), + ] + ], + {"label": "Ĺ pendlĂk na mapÄ›"}, + ), + 100: ( + "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, + }, + ), + 101: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva (HEX)", + }, + ), + 102: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 9), + ("description", 83), + ("geojson", 100), + ("image", 85), + ("link", 12), + ("hex_color", 101), + ] + ], + {"required": True}, + ), + 103: ("wagtail.blocks.ListBlock", (102,), {"label": "Součásti"}), + 104: ( + "wagtail.blocks.StructBlock", + [ + [ + ("features", 103), + ("zoom", 96), + ("style", 97), + ("height", 98), + ] + ], + {"label": "Mapová kolekce"}, + ), + 105: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 49), + ("table", 77), + ("figure", 84), + ("youtube", 92), + ("map_point", 99), + ("map_collection", 104), + ] + ], + {"label": "Obsah", "required": False}, + ), + 106: ( + "wagtail.blocks.PageChooserBlock", + (), + {"label": "Stránka", "required": False}, + ), + 107: ( + "wagtail.blocks.StructBlock", + [ + [ + ("img", 85), + ("headline", 86), + ("content", 105), + ("page", 106), + ("link", 12), + ] + ], + {}, + ), + 108: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "max_length": 128, "required": True}, + ), + 109: ( + "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", + }, + ), + 110: ( + "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, + }, + ), + 111: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("normal", "NormálnĂ"), + ("large", "Velká"), + ("huge", "MasivnĂ"), + ], + "label": "Velikost tlaÄŤĂtka", + }, + ), + 112: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 108), + ("color", 109), + ("hoveractive", 110), + ("page", 106), + ("link", 12), + ("align", 57), + ("size", 111), + ] + ], + {}, + ), + 113: ("wagtail.blocks.ListBlock", (112,), {"label": "TlaÄŤĂtka"}), + 114: ("wagtail.blocks.StructBlock", [[("buttons", 113)]], {}), + 115: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 49), + ("table", 77), + ("card", 107), + ("figure", 84), + ("youtube", 92), + ("map_point", 99), + ("map_collection", 104), + ("button", 112), + ("button_group", 114), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 116: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 49), + ("table", 77), + ("card", 107), + ("figure", 84), + ("youtube", 92), + ("map_point", 99), + ("map_collection", 104), + ("button", 112), + ("button_group", 114), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 117: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 115), ("right_column_content", 116)]], + {}, + ), + 118: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 49), + ("table", 77), + ("card", 107), + ("figure", 84), + ("youtube", 92), + ("map_point", 99), + ("map_collection", 104), + ("button", 112), + ("button_group", 114), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 119: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 115), + ("middle_column_content", 118), + ("right_column_content", 116), + ] + ], + {}, + ), + 120: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 87), + ("video_url", 88), + ("video_id", 89), + ("is_full_width", 90), + ("autoplay", 91), + ] + ], + {"label": "YouTube video"}, + ), + 121: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 122: ( + "wagtail.blocks.StreamBlock", + [[("text", 46), ("headline", 58), ("table", 77)]], + {"label": "Obsah"}, + ), + 123: ( + "wagtail.blocks.StructBlock", + [[("name", 121), ("content", 122)]], + {}, + ), + 124: ( + "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", 107), + ("two_columns", 117), + ("three_columns", 119), + ("youtube", 120), + ("map_point", 99), + ("map_collection", 104), + ("button", 112), + ("button_group", 114), + ("popout_point", 123), + ] + ], + {"label": "Obsah"}, + ), + 125: ( + "wagtail.blocks.StructBlock", + [[("title", 45), ("child_blocks", 124)]], + {}, + ), + 126: ( + "wagtail.blocks.ListBlock", + (125,), + { + "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, + }, + ), + 127: ("wagtail.blocks.URLBlock", (), {"label": "Odkaz"}), + 128: ( + "wagtail.blocks.StructBlock", + [[("text", 17), ("link", 127)]], + {"label": "Odkaz"}, + ), + 129: ( + "wagtail.blocks.ListBlock", + (128,), + { + "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, + }, + ), + 130: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "Program", + "help_text": "NapĹ™. 'Program'", + "label": "Nadpis", + }, + ), + 131: ("wagtail.blocks.IntegerBlock", (), {"label": "ÄŚĂslo"}), + 132: ("wagtail.blocks.TextBlock", (), {"label": "Obsah"}), + 133: ("wagtail.blocks.StructBlock", [[("content", 132)]], {}), + 134: ("wagtail.blocks.ListBlock", (133,), {"label": "Body"}), + 135: ( + "wagtail.blocks.StructBlock", + [[("number", 131), ("name", 17), ("points", 134)]], + {}, + ), + 136: ("wagtail.blocks.ListBlock", (135,), {"label": "Kategorie"}), + 137: ( + "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, + }, + ), + 138: ( + "wagtail.blocks.CharBlock", + (), + { + "label": "Nadpis odkazu na celou verzi programu", + "required": False, + }, + ), + 139: ( + "wagtail.blocks.StructBlock", + [ + [ + ("label", 130), + ("categories", 136), + ("long_version_url", 137), + ("long_version_text", 138), + ] + ], + { + "template": "styleguide2/includes/molecules/program/program_block.html" + }, + ), + 140: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("program_group", 7), + ("program_group_crossroad", 15), + ("program_group_popout", 25), + ("carousel_program", 139), + ] + ], + {"required": False}, + ), + 141: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 0), + ("preamble_content", 26), + ("candidates_title", 27), + ("program_title", 28), + ("primary_candidates", 39), + ("secondary_candidates", 44), + ("other_views", 126), + ("tab_links", 129), + ("program", 140), + ] + ], + {}, + ), + }, + verbose_name="Programy", + ), ), ] diff --git a/district/models.py b/district/models.py index 883624cf..8ee614df 100644 --- a/district/models.py +++ b/district/models.py @@ -65,11 +65,7 @@ from shared.models import ( SubpageMixin, ) from shared.templatetags.shared_filters import markdown -from shared.utils import ( - make_promote_panels, - strip_all_html_tags, - trim_to_length, -) +from shared.utils import make_promote_panels, strip_all_html_tags, trim_to_length from . import blocks from .forms import DistrictArticlesPageForm diff --git a/elections/migrations/0071_alter_electionsarticlepage_content.py b/elections/migrations/0071_alter_electionsarticlepage_content.py index f5a8709a..cfe14bbb 100644 --- a/elections/migrations/0071_alter_electionsarticlepage_content.py +++ b/elections/migrations/0071_alter_electionsarticlepage_content.py @@ -5,15 +5,815 @@ from django.db import migrations class Migration(migrations.Migration): - dependencies = [ - ('elections', '0070_alter_electionsarticlepage_content'), + ("elections", "0070_alter_electionsarticlepage_content"), ] 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', 63), ('two_columns', 73), ('three_columns', 75), ('youtube', 76), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70), ('popout_point', 80), ('quote', 83), ('download', 85)], 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, 'help_text': 'Pokud toto pole nenĂ zaškrtlĂ©, video bude užšà neĹľ text okolo.', 'label': 'ZabĂrá maximálnà šĂĹ™ku povolenou pro text?', 'required': False}), 45: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'help_text': 'Automaticky spustĂ video bez zvuku. Pozor, nÄ›kterĂ© prohlĂĹľeÄŤe blokujĂ i automatickĂ© pĹ™ehrávánĂ videĂ bez zvuku.', 'label': 'Spustit video automaticky?', 'required': False}), 46: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 48: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 49: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 50: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 51: ('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'}), 52: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 53: ('wagtail.blocks.StructBlock', [[('lat', 47), ('lon', 48), ('hex_color', 49), ('zoom', 50), ('style', 51), ('height', 52)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 54: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 55: ('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}), 56: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 57: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 58: ('wagtail.blocks.StructBlock', [[('title', 54), ('description', 37), ('geojson', 55), ('image', 39), ('link', 56), ('hex_color', 57)]], {'required': True}), 59: ('wagtail.blocks.ListBlock', (58,), {'label': 'Součásti'}), 60: ('wagtail.blocks.StructBlock', [[('features', 59), ('zoom', 50), ('style', 51), ('height', 52)]], {'label': 'Mapová kolekce'}), 61: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60)]], {'label': 'Obsah', 'required': False}), 62: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 63: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 61), ('page', 62), ('link', 56)]], {}), 64: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 65: ('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'}), 66: ('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}), 67: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('normal', 'NormálnĂ'), ('large', 'Velká'), ('huge', 'MasivnĂ')], 'label': 'Velikost tlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11), ('size', 67)]], {}), 69: ('wagtail.blocks.ListBlock', (68,), {'label': 'TlaÄŤĂtka'}), 70: ('wagtail.blocks.StructBlock', [[('buttons', 69)]], {}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 71), ('right_column_content', 72)]], {}), 74: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 75: ('wagtail.blocks.StructBlock', [[('left_column_content', 71), ('middle_column_content', 74), ('right_column_content', 72)]], {}), 76: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 77: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 78: ('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'}), 79: ('wagtail.blocks.StreamBlock', [[('text', 78), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 80: ('wagtail.blocks.StructBlock', [[('name', 77), ('content', 79)]], {}), 81: ('wagtail.blocks.CharBlock', (), {'label': 'Citace'}), 82: ('wagtail.blocks.CharBlock', (), {'label': 'JmĂ©no autora'}), 83: ('wagtail.blocks.StructBlock', [[('quote', 81), ('autor_name', 82)]], {}), 84: ('wagtail.documents.blocks.DocumentChooserBlock', (), {'label': 'StáhnutelnĂ˝ soubor'}), 85: ('wagtail.blocks.StructBlock', [[('file', 84)]], {})}, verbose_name='ÄŚlánek'), + 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", 63), + ("two_columns", 73), + ("three_columns", 75), + ("youtube", 76), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ("popout_point", 80), + ("quote", 83), + ("download", 85), + ], + 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, + "help_text": "Pokud toto pole nenĂ zaškrtlĂ©, video bude užšà neĹľ text okolo.", + "label": "ZabĂrá maximálnà šĂĹ™ku povolenou pro text?", + "required": False, + }, + ), + 45: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "help_text": "Automaticky spustĂ video bez zvuku. Pozor, nÄ›kterĂ© prohlĂĹľeÄŤe blokujĂ i automatickĂ© pĹ™ehrávánĂ videĂ bez zvuku.", + "label": "Spustit video automaticky?", + "required": False, + }, + ), + 46: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {}, + ), + 47: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 50.04075", "label": "ZemÄ›pisná šĂĹ™ka"}, + ), + 48: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 15.77659", "label": "ZemÄ›pisná dĂ©lka"}, + ), + 49: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva špendlĂku (HEX)", + }, + ), + 50: ( + "wagtail.blocks.IntegerBlock", + (), + { + "default": 15, + "label": "VĂ˝chozĂ zoom", + "max_value": 18, + "min_value": 1, + }, + ), + 51: ( + "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", + }, + ), + 52: ( + "wagtail.blocks.IntegerBlock", + (), + {"label": "Výška v px", "max_value": 1000, "min_value": 100}, + ), + 53: ( + "wagtail.blocks.StructBlock", + [ + [ + ("lat", 47), + ("lon", 48), + ("hex_color", 49), + ("zoom", 50), + ("style", 51), + ("height", 52), + ] + ], + {"label": "Ĺ pendlĂk na mapÄ›"}, + ), + 54: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": True}, + ), + 55: ( + "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, + }, + ), + 56: ( + "wagtail.blocks.URLBlock", + (), + {"label": "Odkaz", "required": False}, + ), + 57: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva (HEX)", + }, + ), + 58: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 54), + ("description", 37), + ("geojson", 55), + ("image", 39), + ("link", 56), + ("hex_color", 57), + ] + ], + {"required": True}, + ), + 59: ("wagtail.blocks.ListBlock", (58,), {"label": "Součásti"}), + 60: ( + "wagtail.blocks.StructBlock", + [ + [ + ("features", 59), + ("zoom", 50), + ("style", 51), + ("height", 52), + ] + ], + {"label": "Mapová kolekce"}, + ), + 61: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ] + ], + {"label": "Obsah", "required": False}, + ), + 62: ( + "wagtail.blocks.PageChooserBlock", + (), + {"label": "Stránka", "required": False}, + ), + 63: ( + "wagtail.blocks.StructBlock", + [ + [ + ("img", 39), + ("headline", 40), + ("content", 61), + ("page", 62), + ("link", 56), + ] + ], + {}, + ), + 64: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "max_length": 128, "required": True}, + ), + 65: ( + "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", + }, + ), + 66: ( + "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, + }, + ), + 67: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("normal", "NormálnĂ"), + ("large", "Velká"), + ("huge", "MasivnĂ"), + ], + "label": "Velikost tlaÄŤĂtka", + }, + ), + 68: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ("size", 67), + ] + ], + {}, + ), + 69: ("wagtail.blocks.ListBlock", (68,), {"label": "TlaÄŤĂtka"}), + 70: ("wagtail.blocks.StructBlock", [[("buttons", 69)]], {}), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 73: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 71), ("right_column_content", 72)]], + {}, + ), + 74: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 71), + ("middle_column_content", 74), + ("right_column_content", 72), + ] + ], + {}, + ), + 76: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 77: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 78: ( + "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", + }, + ), + 79: ( + "wagtail.blocks.StreamBlock", + [[("text", 78), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 80: ( + "wagtail.blocks.StructBlock", + [[("name", 77), ("content", 79)]], + {}, + ), + 81: ("wagtail.blocks.CharBlock", (), {"label": "Citace"}), + 82: ("wagtail.blocks.CharBlock", (), {"label": "JmĂ©no autora"}), + 83: ( + "wagtail.blocks.StructBlock", + [[("quote", 81), ("autor_name", 82)]], + {}, + ), + 84: ( + "wagtail.documents.blocks.DocumentChooserBlock", + (), + {"label": "StáhnutelnĂ˝ soubor"}, + ), + 85: ("wagtail.blocks.StructBlock", [[("file", 84)]], {}), + }, + verbose_name="ÄŚlánek", + ), ), ] diff --git a/main/migrations/0155_alter_mainarticlepage_content_and_more.py b/main/migrations/0155_alter_mainarticlepage_content_and_more.py index a014d798..627ec0cf 100644 --- a/main/migrations/0155_alter_mainarticlepage_content_and_more.py +++ b/main/migrations/0155_alter_mainarticlepage_content_and_more.py @@ -5,20 +5,2048 @@ from django.db import migrations class Migration(migrations.Migration): - dependencies = [ - ('main', '0154_mainhomepage_ecomail_newsletter_list_id_and_more'), + ("main", "0154_mainhomepage_ecomail_newsletter_list_id_and_more"), ] 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', 63), ('two_columns', 73), ('three_columns', 75), ('youtube', 76), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70), ('popout_point', 80), ('quote', 83), ('download', 85)], 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, 'help_text': 'Pokud toto pole nenĂ zaškrtlĂ©, video bude užšà neĹľ text okolo.', 'label': 'ZabĂrá maximálnà šĂĹ™ku povolenou pro text?', 'required': False}), 45: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'help_text': 'Automaticky spustĂ video bez zvuku. Pozor, nÄ›kterĂ© prohlĂĹľeÄŤe blokujĂ i automatickĂ© pĹ™ehrávánĂ videĂ bez zvuku.', 'label': 'Spustit video automaticky?', 'required': False}), 46: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 48: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 49: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 50: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 51: ('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'}), 52: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 53: ('wagtail.blocks.StructBlock', [[('lat', 47), ('lon', 48), ('hex_color', 49), ('zoom', 50), ('style', 51), ('height', 52)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 54: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 55: ('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}), 56: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 57: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 58: ('wagtail.blocks.StructBlock', [[('title', 54), ('description', 37), ('geojson', 55), ('image', 39), ('link', 56), ('hex_color', 57)]], {'required': True}), 59: ('wagtail.blocks.ListBlock', (58,), {'label': 'Součásti'}), 60: ('wagtail.blocks.StructBlock', [[('features', 59), ('zoom', 50), ('style', 51), ('height', 52)]], {'label': 'Mapová kolekce'}), 61: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60)]], {'label': 'Obsah', 'required': False}), 62: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 63: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 61), ('page', 62), ('link', 56)]], {}), 64: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 65: ('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'}), 66: ('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}), 67: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('normal', 'NormálnĂ'), ('large', 'Velká'), ('huge', 'MasivnĂ')], 'label': 'Velikost tlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11), ('size', 67)]], {}), 69: ('wagtail.blocks.ListBlock', (68,), {'label': 'TlaÄŤĂtka'}), 70: ('wagtail.blocks.StructBlock', [[('buttons', 69)]], {}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 71), ('right_column_content', 72)]], {}), 74: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 75: ('wagtail.blocks.StructBlock', [[('left_column_content', 71), ('middle_column_content', 74), ('right_column_content', 72)]], {}), 76: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 77: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 78: ('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'}), 79: ('wagtail.blocks.StreamBlock', [[('text', 78), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 80: ('wagtail.blocks.StructBlock', [[('name', 77), ('content', 79)]], {}), 81: ('wagtail.blocks.CharBlock', (), {'label': 'Citace'}), 82: ('wagtail.blocks.CharBlock', (), {'label': 'JmĂ©no autora'}), 83: ('wagtail.blocks.StructBlock', [[('quote', 81), ('autor_name', 82)]], {}), 84: ('wagtail.documents.blocks.DocumentChooserBlock', (), {'label': 'StáhnutelnĂ˝ soubor'}), 85: ('wagtail.blocks.StructBlock', [[('file', 84)]], {})}, verbose_name='ÄŚlánek'), + 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", 63), + ("two_columns", 73), + ("three_columns", 75), + ("youtube", 76), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ("popout_point", 80), + ("quote", 83), + ("download", 85), + ], + 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, + "help_text": "Pokud toto pole nenĂ zaškrtlĂ©, video bude užšà neĹľ text okolo.", + "label": "ZabĂrá maximálnà šĂĹ™ku povolenou pro text?", + "required": False, + }, + ), + 45: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "help_text": "Automaticky spustĂ video bez zvuku. Pozor, nÄ›kterĂ© prohlĂĹľeÄŤe blokujĂ i automatickĂ© pĹ™ehrávánĂ videĂ bez zvuku.", + "label": "Spustit video automaticky?", + "required": False, + }, + ), + 46: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {}, + ), + 47: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 50.04075", "label": "ZemÄ›pisná šĂĹ™ka"}, + ), + 48: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 15.77659", "label": "ZemÄ›pisná dĂ©lka"}, + ), + 49: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva špendlĂku (HEX)", + }, + ), + 50: ( + "wagtail.blocks.IntegerBlock", + (), + { + "default": 15, + "label": "VĂ˝chozĂ zoom", + "max_value": 18, + "min_value": 1, + }, + ), + 51: ( + "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", + }, + ), + 52: ( + "wagtail.blocks.IntegerBlock", + (), + {"label": "Výška v px", "max_value": 1000, "min_value": 100}, + ), + 53: ( + "wagtail.blocks.StructBlock", + [ + [ + ("lat", 47), + ("lon", 48), + ("hex_color", 49), + ("zoom", 50), + ("style", 51), + ("height", 52), + ] + ], + {"label": "Ĺ pendlĂk na mapÄ›"}, + ), + 54: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": True}, + ), + 55: ( + "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, + }, + ), + 56: ( + "wagtail.blocks.URLBlock", + (), + {"label": "Odkaz", "required": False}, + ), + 57: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva (HEX)", + }, + ), + 58: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 54), + ("description", 37), + ("geojson", 55), + ("image", 39), + ("link", 56), + ("hex_color", 57), + ] + ], + {"required": True}, + ), + 59: ("wagtail.blocks.ListBlock", (58,), {"label": "Součásti"}), + 60: ( + "wagtail.blocks.StructBlock", + [ + [ + ("features", 59), + ("zoom", 50), + ("style", 51), + ("height", 52), + ] + ], + {"label": "Mapová kolekce"}, + ), + 61: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ] + ], + {"label": "Obsah", "required": False}, + ), + 62: ( + "wagtail.blocks.PageChooserBlock", + (), + {"label": "Stránka", "required": False}, + ), + 63: ( + "wagtail.blocks.StructBlock", + [ + [ + ("img", 39), + ("headline", 40), + ("content", 61), + ("page", 62), + ("link", 56), + ] + ], + {}, + ), + 64: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "max_length": 128, "required": True}, + ), + 65: ( + "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", + }, + ), + 66: ( + "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, + }, + ), + 67: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("normal", "NormálnĂ"), + ("large", "Velká"), + ("huge", "MasivnĂ"), + ], + "label": "Velikost tlaÄŤĂtka", + }, + ), + 68: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ("size", 67), + ] + ], + {}, + ), + 69: ("wagtail.blocks.ListBlock", (68,), {"label": "TlaÄŤĂtka"}), + 70: ("wagtail.blocks.StructBlock", [[("buttons", 69)]], {}), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 73: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 71), ("right_column_content", 72)]], + {}, + ), + 74: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 71), + ("middle_column_content", 74), + ("right_column_content", 72), + ] + ], + {}, + ), + 76: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 77: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 78: ( + "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", + }, + ), + 79: ( + "wagtail.blocks.StreamBlock", + [[("text", 78), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 80: ( + "wagtail.blocks.StructBlock", + [[("name", 77), ("content", 79)]], + {}, + ), + 81: ("wagtail.blocks.CharBlock", (), {"label": "Citace"}), + 82: ("wagtail.blocks.CharBlock", (), {"label": "JmĂ©no autora"}), + 83: ( + "wagtail.blocks.StructBlock", + [[("quote", 81), ("autor_name", 82)]], + {}, + ), + 84: ( + "wagtail.documents.blocks.DocumentChooserBlock", + (), + {"label": "StáhnutelnĂ˝ soubor"}, + ), + 85: ("wagtail.blocks.StructBlock", [[("file", 84)]], {}), + }, + 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', 141), ('elections_program', 143)], 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, 'help_text': 'Pokud toto pole nenĂ zaškrtlĂ©, video bude užšà neĹľ text okolo.', 'label': 'ZabĂrá maximálnà šĂĹ™ku povolenou pro text?', 'required': False}), 91: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'help_text': 'Automaticky spustĂ video bez zvuku. Pozor, nÄ›kterĂ© prohlĂĹľeÄŤe blokujĂ i automatickĂ© pĹ™ehrávánĂ videĂ bez zvuku.', 'label': 'Spustit video automaticky?', 'required': False}), 92: ('wagtail.blocks.StructBlock', [[('poster_image', 87), ('video_url', 88), ('video_id', 89), ('is_full_width', 90), ('autoplay', 91)]], {}), 93: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 94: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 95: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 96: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 97: ('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'}), 98: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 99: ('wagtail.blocks.StructBlock', [[('lat', 93), ('lon', 94), ('hex_color', 95), ('zoom', 96), ('style', 97), ('height', 98)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 100: ('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}), 101: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 102: ('wagtail.blocks.StructBlock', [[('title', 9), ('description', 83), ('geojson', 100), ('image', 85), ('link', 12), ('hex_color', 101)]], {'required': True}), 103: ('wagtail.blocks.ListBlock', (102,), {'label': 'Součásti'}), 104: ('wagtail.blocks.StructBlock', [[('features', 103), ('zoom', 96), ('style', 97), ('height', 98)]], {'label': 'Mapová kolekce'}), 105: ('wagtail.blocks.StreamBlock', [[('text', 49), ('table', 77), ('figure', 84), ('youtube', 92), ('map_point', 99), ('map_collection', 104)]], {'label': 'Obsah', 'required': False}), 106: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 107: ('wagtail.blocks.StructBlock', [[('img', 85), ('headline', 86), ('content', 105), ('page', 106), ('link', 12)]], {}), 108: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 109: ('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'}), 110: ('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}), 111: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('normal', 'NormálnĂ'), ('large', 'Velká'), ('huge', 'MasivnĂ')], 'label': 'Velikost tlaÄŤĂtka'}), 112: ('wagtail.blocks.StructBlock', [[('title', 108), ('color', 109), ('hoveractive', 110), ('page', 106), ('link', 12), ('align', 57), ('size', 111)]], {}), 113: ('wagtail.blocks.ListBlock', (112,), {'label': 'TlaÄŤĂtka'}), 114: ('wagtail.blocks.StructBlock', [[('buttons', 113)]], {}), 115: ('wagtail.blocks.StreamBlock', [[('text', 49), ('table', 77), ('card', 107), ('figure', 84), ('youtube', 92), ('map_point', 99), ('map_collection', 104), ('button', 112), ('button_group', 114)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 116: ('wagtail.blocks.StreamBlock', [[('text', 49), ('table', 77), ('card', 107), ('figure', 84), ('youtube', 92), ('map_point', 99), ('map_collection', 104), ('button', 112), ('button_group', 114)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 117: ('wagtail.blocks.StructBlock', [[('left_column_content', 115), ('right_column_content', 116)]], {}), 118: ('wagtail.blocks.StreamBlock', [[('text', 49), ('table', 77), ('card', 107), ('figure', 84), ('youtube', 92), ('map_point', 99), ('map_collection', 104), ('button', 112), ('button_group', 114)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 119: ('wagtail.blocks.StructBlock', [[('left_column_content', 115), ('middle_column_content', 118), ('right_column_content', 116)]], {}), 120: ('wagtail.blocks.StructBlock', [[('poster_image', 87), ('video_url', 88), ('video_id', 89), ('is_full_width', 90), ('autoplay', 91)]], {'label': 'YouTube video'}), 121: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 122: ('wagtail.blocks.StreamBlock', [[('text', 46), ('headline', 58), ('table', 77)]], {'label': 'Obsah'}), 123: ('wagtail.blocks.StructBlock', [[('name', 121), ('content', 122)]], {}), 124: ('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', 107), ('two_columns', 117), ('three_columns', 119), ('youtube', 120), ('map_point', 99), ('map_collection', 104), ('button', 112), ('button_group', 114), ('popout_point', 123)]], {'label': 'Obsah'}), 125: ('wagtail.blocks.StructBlock', [[('title', 45), ('child_blocks', 124)]], {}), 126: ('wagtail.blocks.ListBlock', (125,), {'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}), 127: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz'}), 128: ('wagtail.blocks.StructBlock', [[('text', 17), ('link', 127)]], {'label': 'Odkaz'}), 129: ('wagtail.blocks.ListBlock', (128,), {'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}), 130: ('wagtail.blocks.CharBlock', (), {'default': 'Program', 'help_text': "NapĹ™. 'Program'", 'label': 'Nadpis'}), 131: ('wagtail.blocks.IntegerBlock', (), {'label': 'ÄŚĂslo'}), 132: ('wagtail.blocks.TextBlock', (), {'label': 'Obsah'}), 133: ('wagtail.blocks.StructBlock', [[('content', 132)]], {}), 134: ('wagtail.blocks.ListBlock', (133,), {'label': 'Body'}), 135: ('wagtail.blocks.StructBlock', [[('number', 131), ('name', 17), ('points', 134)]], {}), 136: ('wagtail.blocks.ListBlock', (135,), {'label': 'Kategorie'}), 137: ('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}), 138: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis odkazu na celou verzi programu', 'required': False}), 139: ('wagtail.blocks.StructBlock', [[('label', 130), ('categories', 136), ('long_version_url', 137), ('long_version_text', 138)]], {'template': 'styleguide2/includes/molecules/program/program_block.html'}), 140: ('wagtail.blocks.StreamBlock', [[('program_group', 7), ('program_group_crossroad', 15), ('program_group_popout', 25), ('carousel_program', 139)]], {'required': False}), 141: ('wagtail.blocks.StructBlock', [[('title', 0), ('preamble_content', 26), ('candidates_title', 27), ('program_title', 28), ('primary_candidates', 39), ('secondary_candidates', 44), ('other_views', 126), ('tab_links', 129), ('program', 140)]], {}), 142: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'page_type': ['elections.ElectionsFullProgramPage'], 'required': False}), 143: ('wagtail.blocks.StructBlock', [[('title', 0), ('program_page', 142)]], {})}, verbose_name='Programy'), + model_name="mainprogrampage", + name="program", + field=wagtail.fields.StreamField( + [ + ("program_group", 7), + ("program_group_crossroad", 15), + ("program_group_popout", 25), + ("program_group_with_candidates", 141), + ("elections_program", 143), + ], + 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, + "help_text": "Pokud toto pole nenĂ zaškrtlĂ©, video bude užšà neĹľ text okolo.", + "label": "ZabĂrá maximálnà šĂĹ™ku povolenou pro text?", + "required": False, + }, + ), + 91: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "help_text": "Automaticky spustĂ video bez zvuku. Pozor, nÄ›kterĂ© prohlĂĹľeÄŤe blokujĂ i automatickĂ© pĹ™ehrávánĂ videĂ bez zvuku.", + "label": "Spustit video automaticky?", + "required": False, + }, + ), + 92: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 87), + ("video_url", 88), + ("video_id", 89), + ("is_full_width", 90), + ("autoplay", 91), + ] + ], + {}, + ), + 93: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 50.04075", "label": "ZemÄ›pisná šĂĹ™ka"}, + ), + 94: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 15.77659", "label": "ZemÄ›pisná dĂ©lka"}, + ), + 95: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva špendlĂku (HEX)", + }, + ), + 96: ( + "wagtail.blocks.IntegerBlock", + (), + { + "default": 15, + "label": "VĂ˝chozĂ zoom", + "max_value": 18, + "min_value": 1, + }, + ), + 97: ( + "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", + }, + ), + 98: ( + "wagtail.blocks.IntegerBlock", + (), + {"label": "Výška v px", "max_value": 1000, "min_value": 100}, + ), + 99: ( + "wagtail.blocks.StructBlock", + [ + [ + ("lat", 93), + ("lon", 94), + ("hex_color", 95), + ("zoom", 96), + ("style", 97), + ("height", 98), + ] + ], + {"label": "Ĺ pendlĂk na mapÄ›"}, + ), + 100: ( + "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, + }, + ), + 101: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva (HEX)", + }, + ), + 102: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 9), + ("description", 83), + ("geojson", 100), + ("image", 85), + ("link", 12), + ("hex_color", 101), + ] + ], + {"required": True}, + ), + 103: ("wagtail.blocks.ListBlock", (102,), {"label": "Součásti"}), + 104: ( + "wagtail.blocks.StructBlock", + [ + [ + ("features", 103), + ("zoom", 96), + ("style", 97), + ("height", 98), + ] + ], + {"label": "Mapová kolekce"}, + ), + 105: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 49), + ("table", 77), + ("figure", 84), + ("youtube", 92), + ("map_point", 99), + ("map_collection", 104), + ] + ], + {"label": "Obsah", "required": False}, + ), + 106: ( + "wagtail.blocks.PageChooserBlock", + (), + {"label": "Stránka", "required": False}, + ), + 107: ( + "wagtail.blocks.StructBlock", + [ + [ + ("img", 85), + ("headline", 86), + ("content", 105), + ("page", 106), + ("link", 12), + ] + ], + {}, + ), + 108: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "max_length": 128, "required": True}, + ), + 109: ( + "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", + }, + ), + 110: ( + "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, + }, + ), + 111: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("normal", "NormálnĂ"), + ("large", "Velká"), + ("huge", "MasivnĂ"), + ], + "label": "Velikost tlaÄŤĂtka", + }, + ), + 112: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 108), + ("color", 109), + ("hoveractive", 110), + ("page", 106), + ("link", 12), + ("align", 57), + ("size", 111), + ] + ], + {}, + ), + 113: ("wagtail.blocks.ListBlock", (112,), {"label": "TlaÄŤĂtka"}), + 114: ("wagtail.blocks.StructBlock", [[("buttons", 113)]], {}), + 115: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 49), + ("table", 77), + ("card", 107), + ("figure", 84), + ("youtube", 92), + ("map_point", 99), + ("map_collection", 104), + ("button", 112), + ("button_group", 114), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 116: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 49), + ("table", 77), + ("card", 107), + ("figure", 84), + ("youtube", 92), + ("map_point", 99), + ("map_collection", 104), + ("button", 112), + ("button_group", 114), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 117: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 115), ("right_column_content", 116)]], + {}, + ), + 118: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 49), + ("table", 77), + ("card", 107), + ("figure", 84), + ("youtube", 92), + ("map_point", 99), + ("map_collection", 104), + ("button", 112), + ("button_group", 114), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 119: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 115), + ("middle_column_content", 118), + ("right_column_content", 116), + ] + ], + {}, + ), + 120: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 87), + ("video_url", 88), + ("video_id", 89), + ("is_full_width", 90), + ("autoplay", 91), + ] + ], + {"label": "YouTube video"}, + ), + 121: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 122: ( + "wagtail.blocks.StreamBlock", + [[("text", 46), ("headline", 58), ("table", 77)]], + {"label": "Obsah"}, + ), + 123: ( + "wagtail.blocks.StructBlock", + [[("name", 121), ("content", 122)]], + {}, + ), + 124: ( + "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", 107), + ("two_columns", 117), + ("three_columns", 119), + ("youtube", 120), + ("map_point", 99), + ("map_collection", 104), + ("button", 112), + ("button_group", 114), + ("popout_point", 123), + ] + ], + {"label": "Obsah"}, + ), + 125: ( + "wagtail.blocks.StructBlock", + [[("title", 45), ("child_blocks", 124)]], + {}, + ), + 126: ( + "wagtail.blocks.ListBlock", + (125,), + { + "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, + }, + ), + 127: ("wagtail.blocks.URLBlock", (), {"label": "Odkaz"}), + 128: ( + "wagtail.blocks.StructBlock", + [[("text", 17), ("link", 127)]], + {"label": "Odkaz"}, + ), + 129: ( + "wagtail.blocks.ListBlock", + (128,), + { + "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, + }, + ), + 130: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "Program", + "help_text": "NapĹ™. 'Program'", + "label": "Nadpis", + }, + ), + 131: ("wagtail.blocks.IntegerBlock", (), {"label": "ÄŚĂslo"}), + 132: ("wagtail.blocks.TextBlock", (), {"label": "Obsah"}), + 133: ("wagtail.blocks.StructBlock", [[("content", 132)]], {}), + 134: ("wagtail.blocks.ListBlock", (133,), {"label": "Body"}), + 135: ( + "wagtail.blocks.StructBlock", + [[("number", 131), ("name", 17), ("points", 134)]], + {}, + ), + 136: ("wagtail.blocks.ListBlock", (135,), {"label": "Kategorie"}), + 137: ( + "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, + }, + ), + 138: ( + "wagtail.blocks.CharBlock", + (), + { + "label": "Nadpis odkazu na celou verzi programu", + "required": False, + }, + ), + 139: ( + "wagtail.blocks.StructBlock", + [ + [ + ("label", 130), + ("categories", 136), + ("long_version_url", 137), + ("long_version_text", 138), + ] + ], + { + "template": "styleguide2/includes/molecules/program/program_block.html" + }, + ), + 140: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("program_group", 7), + ("program_group_crossroad", 15), + ("program_group_popout", 25), + ("carousel_program", 139), + ] + ], + {"required": False}, + ), + 141: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 0), + ("preamble_content", 26), + ("candidates_title", 27), + ("program_title", 28), + ("primary_candidates", 39), + ("secondary_candidates", 44), + ("other_views", 126), + ("tab_links", 129), + ("program", 140), + ] + ], + {}, + ), + 142: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Stránka", + "page_type": ["elections.ElectionsFullProgramPage"], + "required": False, + }, + ), + 143: ( + "wagtail.blocks.StructBlock", + [[("title", 0), ("program_page", 142)]], + {}, + ), + }, + verbose_name="Programy", + ), ), ] diff --git a/shared/static/styleguide2/pirati-ui.svg b/shared/static/styleguide2/pirati-ui.svg index ffc20ecc..c6e3a71a 100644 --- a/shared/static/styleguide2/pirati-ui.svg +++ b/shared/static/styleguide2/pirati-ui.svg @@ -127,4 +127,4 @@ <glyph unicode="" glyph-name="price-tags" horiz-adv-x="1280" d="M1232 960h-384c-26.4 0-63.274-15.274-81.942-33.942l-476.116-476.116c-18.668-18.668-18.668-49.214 0-67.882l412.118-412.118c18.668-18.668 49.214-18.668 67.882 0l476.118 476.118c18.666 18.666 33.94 55.54 33.94 81.94v384c0 26.4-21.6 48-48 48zM992 576c-53.020 0-96 42.98-96 96s42.98 96 96 96 96-42.98 96-96-42.98-96-96-96zM128 416l544 544h-80c-26.4 0-63.274-15.274-81.942-33.942l-476.116-476.116c-18.668-18.668-18.668-49.214 0-67.882l412.118-412.118c18.668-18.668 49.214-18.668 67.882 0l30.058 30.058-416 416z" /> <glyph unicode="" glyph-name="twitter" horiz-adv-x="1001" d="M596.009 526.629l372.819 433.371h-88.346l-323.718-376.29-258.553 376.29h-298.21l390.983-569.018-390.983-454.457h88.351l341.855 397.375 273.051-397.375h298.21l-405.458 590.103zM475 385.969l-354.815 507.521h135.702l624.636-893.48h-135.702l-269.821 385.959z" /> <glyph unicode="" glyph-name="stats-dots" d="M128 64h896v-128h-1024v1024h128zM288 128c-53.020 0-96 42.98-96 96s42.98 96 96 96c2.828 0 5.622-0.148 8.388-0.386l103.192 171.986c-9.84 15.070-15.58 33.062-15.58 52.402 0 53.020 42.98 96 96 96s96-42.98 96-96c0-19.342-5.74-37.332-15.58-52.402l103.192-171.986c2.766 0.238 5.56 0.386 8.388 0.386 2.136 0 4.248-0.094 6.35-0.23l170.356 298.122c-10.536 15.408-16.706 34.036-16.706 54.11 0 53.020 42.98 96 96 96s96-42.98 96-96c0-53.020-42.98-96-96-96-2.14 0-4.248 0.094-6.35 0.232l-170.356-298.124c10.536-15.406 16.706-34.036 16.706-54.11 0-53.020-42.98-96-96-96s-96 42.98-96 96c0 19.34 5.74 37.332 15.578 52.402l-103.19 171.984c-2.766-0.238-5.56-0.386-8.388-0.386s-5.622 0.146-8.388 0.386l-103.192-171.986c9.84-15.068 15.58-33.060 15.58-52.4 0-53.020-42.98-96-96-96z" /> -</font></defs></svg> \ No newline at end of file +</font></defs></svg> diff --git a/uniweb/migrations/0128_alter_uniwebarticlepage_content_and_more.py b/uniweb/migrations/0128_alter_uniwebarticlepage_content_and_more.py index 868376aa..1f7373a8 100644 --- a/uniweb/migrations/0128_alter_uniwebarticlepage_content_and_more.py +++ b/uniweb/migrations/0128_alter_uniwebarticlepage_content_and_more.py @@ -5,40 +5,4950 @@ from django.db import migrations class Migration(migrations.Migration): - dependencies = [ - ('uniweb', '0127_alter_uniwebflexiblepage_content_and_more'), + ("uniweb", "0127_alter_uniwebflexiblepage_content_and_more"), ] 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', 63), ('two_columns', 73), ('three_columns', 75), ('youtube', 76), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70), ('popout_point', 80), ('quote', 83), ('download', 85)], 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, 'help_text': 'Pokud toto pole nenĂ zaškrtlĂ©, video bude užšà neĹľ text okolo.', 'label': 'ZabĂrá maximálnà šĂĹ™ku povolenou pro text?', 'required': False}), 45: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'help_text': 'Automaticky spustĂ video bez zvuku. Pozor, nÄ›kterĂ© prohlĂĹľeÄŤe blokujĂ i automatickĂ© pĹ™ehrávánĂ videĂ bez zvuku.', 'label': 'Spustit video automaticky?', 'required': False}), 46: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 48: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 49: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 50: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 51: ('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'}), 52: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 53: ('wagtail.blocks.StructBlock', [[('lat', 47), ('lon', 48), ('hex_color', 49), ('zoom', 50), ('style', 51), ('height', 52)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 54: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 55: ('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}), 56: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 57: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 58: ('wagtail.blocks.StructBlock', [[('title', 54), ('description', 37), ('geojson', 55), ('image', 39), ('link', 56), ('hex_color', 57)]], {'required': True}), 59: ('wagtail.blocks.ListBlock', (58,), {'label': 'Součásti'}), 60: ('wagtail.blocks.StructBlock', [[('features', 59), ('zoom', 50), ('style', 51), ('height', 52)]], {'label': 'Mapová kolekce'}), 61: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60)]], {'label': 'Obsah', 'required': False}), 62: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 63: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 61), ('page', 62), ('link', 56)]], {}), 64: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 65: ('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'}), 66: ('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}), 67: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('normal', 'NormálnĂ'), ('large', 'Velká'), ('huge', 'MasivnĂ')], 'label': 'Velikost tlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11), ('size', 67)]], {}), 69: ('wagtail.blocks.ListBlock', (68,), {'label': 'TlaÄŤĂtka'}), 70: ('wagtail.blocks.StructBlock', [[('buttons', 69)]], {}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 71), ('right_column_content', 72)]], {}), 74: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 75: ('wagtail.blocks.StructBlock', [[('left_column_content', 71), ('middle_column_content', 74), ('right_column_content', 72)]], {}), 76: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 77: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 78: ('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'}), 79: ('wagtail.blocks.StreamBlock', [[('text', 78), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 80: ('wagtail.blocks.StructBlock', [[('name', 77), ('content', 79)]], {}), 81: ('wagtail.blocks.CharBlock', (), {'label': 'Citace'}), 82: ('wagtail.blocks.CharBlock', (), {'label': 'JmĂ©no autora'}), 83: ('wagtail.blocks.StructBlock', [[('quote', 81), ('autor_name', 82)]], {}), 84: ('wagtail.documents.blocks.DocumentChooserBlock', (), {'label': 'StáhnutelnĂ˝ soubor'}), 85: ('wagtail.blocks.StructBlock', [[('file', 84)]], {})}, verbose_name='ÄŚlánek'), + 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", 63), + ("two_columns", 73), + ("three_columns", 75), + ("youtube", 76), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ("popout_point", 80), + ("quote", 83), + ("download", 85), + ], + 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, + "help_text": "Pokud toto pole nenĂ zaškrtlĂ©, video bude užšà neĹľ text okolo.", + "label": "ZabĂrá maximálnà šĂĹ™ku povolenou pro text?", + "required": False, + }, + ), + 45: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "help_text": "Automaticky spustĂ video bez zvuku. Pozor, nÄ›kterĂ© prohlĂĹľeÄŤe blokujĂ i automatickĂ© pĹ™ehrávánĂ videĂ bez zvuku.", + "label": "Spustit video automaticky?", + "required": False, + }, + ), + 46: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {}, + ), + 47: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 50.04075", "label": "ZemÄ›pisná šĂĹ™ka"}, + ), + 48: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 15.77659", "label": "ZemÄ›pisná dĂ©lka"}, + ), + 49: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva špendlĂku (HEX)", + }, + ), + 50: ( + "wagtail.blocks.IntegerBlock", + (), + { + "default": 15, + "label": "VĂ˝chozĂ zoom", + "max_value": 18, + "min_value": 1, + }, + ), + 51: ( + "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", + }, + ), + 52: ( + "wagtail.blocks.IntegerBlock", + (), + {"label": "Výška v px", "max_value": 1000, "min_value": 100}, + ), + 53: ( + "wagtail.blocks.StructBlock", + [ + [ + ("lat", 47), + ("lon", 48), + ("hex_color", 49), + ("zoom", 50), + ("style", 51), + ("height", 52), + ] + ], + {"label": "Ĺ pendlĂk na mapÄ›"}, + ), + 54: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": True}, + ), + 55: ( + "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, + }, + ), + 56: ( + "wagtail.blocks.URLBlock", + (), + {"label": "Odkaz", "required": False}, + ), + 57: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva (HEX)", + }, + ), + 58: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 54), + ("description", 37), + ("geojson", 55), + ("image", 39), + ("link", 56), + ("hex_color", 57), + ] + ], + {"required": True}, + ), + 59: ("wagtail.blocks.ListBlock", (58,), {"label": "Součásti"}), + 60: ( + "wagtail.blocks.StructBlock", + [ + [ + ("features", 59), + ("zoom", 50), + ("style", 51), + ("height", 52), + ] + ], + {"label": "Mapová kolekce"}, + ), + 61: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ] + ], + {"label": "Obsah", "required": False}, + ), + 62: ( + "wagtail.blocks.PageChooserBlock", + (), + {"label": "Stránka", "required": False}, + ), + 63: ( + "wagtail.blocks.StructBlock", + [ + [ + ("img", 39), + ("headline", 40), + ("content", 61), + ("page", 62), + ("link", 56), + ] + ], + {}, + ), + 64: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "max_length": 128, "required": True}, + ), + 65: ( + "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", + }, + ), + 66: ( + "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, + }, + ), + 67: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("normal", "NormálnĂ"), + ("large", "Velká"), + ("huge", "MasivnĂ"), + ], + "label": "Velikost tlaÄŤĂtka", + }, + ), + 68: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ("size", 67), + ] + ], + {}, + ), + 69: ("wagtail.blocks.ListBlock", (68,), {"label": "TlaÄŤĂtka"}), + 70: ("wagtail.blocks.StructBlock", [[("buttons", 69)]], {}), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 73: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 71), ("right_column_content", 72)]], + {}, + ), + 74: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 71), + ("middle_column_content", 74), + ("right_column_content", 72), + ] + ], + {}, + ), + 76: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 77: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 78: ( + "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", + }, + ), + 79: ( + "wagtail.blocks.StreamBlock", + [[("text", 78), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 80: ( + "wagtail.blocks.StructBlock", + [[("name", 77), ("content", 79)]], + {}, + ), + 81: ("wagtail.blocks.CharBlock", (), {"label": "Citace"}), + 82: ("wagtail.blocks.CharBlock", (), {"label": "JmĂ©no autora"}), + 83: ( + "wagtail.blocks.StructBlock", + [[("quote", 81), ("autor_name", 82)]], + {}, + ), + 84: ( + "wagtail.documents.blocks.DocumentChooserBlock", + (), + {"label": "StáhnutelnĂ˝ soubor"}, + ), + 85: ("wagtail.blocks.StructBlock", [[("file", 84)]], {}), + }, + 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', 63), ('two_columns', 73), ('three_columns', 75), ('youtube', 76), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70), ('popout_point', 79), ('calendar', 82), ('newsletter', 87)], 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, 'help_text': 'Pokud toto pole nenĂ zaškrtlĂ©, video bude užšà neĹľ text okolo.', 'label': 'ZabĂrá maximálnà šĂĹ™ku povolenou pro text?', 'required': False}), 45: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'help_text': 'Automaticky spustĂ video bez zvuku. Pozor, nÄ›kterĂ© prohlĂĹľeÄŤe blokujĂ i automatickĂ© pĹ™ehrávánĂ videĂ bez zvuku.', 'label': 'Spustit video automaticky?', 'required': False}), 46: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 48: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 49: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 50: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 51: ('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'}), 52: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 53: ('wagtail.blocks.StructBlock', [[('lat', 47), ('lon', 48), ('hex_color', 49), ('zoom', 50), ('style', 51), ('height', 52)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 54: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 55: ('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}), 56: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 57: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 58: ('wagtail.blocks.StructBlock', [[('title', 54), ('description', 37), ('geojson', 55), ('image', 39), ('link', 56), ('hex_color', 57)]], {'required': True}), 59: ('wagtail.blocks.ListBlock', (58,), {'label': 'Součásti'}), 60: ('wagtail.blocks.StructBlock', [[('features', 59), ('zoom', 50), ('style', 51), ('height', 52)]], {'label': 'Mapová kolekce'}), 61: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60)]], {'label': 'Obsah', 'required': False}), 62: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 63: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 61), ('page', 62), ('link', 56)]], {}), 64: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 65: ('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'}), 66: ('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}), 67: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('normal', 'NormálnĂ'), ('large', 'Velká'), ('huge', 'MasivnĂ')], 'label': 'Velikost tlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11), ('size', 67)]], {}), 69: ('wagtail.blocks.ListBlock', (68,), {'label': 'TlaÄŤĂtka'}), 70: ('wagtail.blocks.StructBlock', [[('buttons', 69)]], {}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 71), ('right_column_content', 72)]], {}), 74: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 75: ('wagtail.blocks.StructBlock', [[('left_column_content', 71), ('middle_column_content', 74), ('right_column_content', 72)]], {}), 76: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 77: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 78: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 79: ('wagtail.blocks.StructBlock', [[('name', 77), ('content', 78)]], {}), 80: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': False}), 81: ('wagtail.blocks.static_block.StaticBlock', (), {'admin_text': 'Adresa kalendáře se zadává v nastavenĂ hlavnĂ stránky webu', 'label': 'Volba kalendáře'}), 82: ('wagtail.blocks.StructBlock', [[('title', 80), ('info', 81)]], {}), 83: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud toto pole zĹŻstane nevyplnÄ›nĂ©, pouĹľije se nastavenĂ tohoto webu. V takovĂ©m pĹ™ĂpadÄ› se mĹŻĹľe pĹ™idat i odbÄ›ratel do Ecomailu.', 'label': 'ID newsletteru v Mailtrainu', 'required': False}), 84: ('wagtail.blocks.CharBlock', (), {'default': 'OdebĂrej náš', 'label': 'Nadpis bloku (1. řádek)', 'required': True}), 85: ('wagtail.blocks.CharBlock', (), {'default': 'newsletter', 'label': 'Nadpis bloku (2. řádek)', 'required': True}), 86: ('wagtail.blocks.CharBlock', (), {'default': 'Fake news tam nenajdeš, ale dozvĂš se, co chystáme doopravdy!', 'label': 'Popis newsletteru', 'required': True}), 87: ('wagtail.blocks.StructBlock', [[('list_id', 83), ('title_line_1', 84), ('title_line_2', 85), ('description', 86)]], {})}, verbose_name='obsah stránky'), + 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", 63), + ("two_columns", 73), + ("three_columns", 75), + ("youtube", 76), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ("popout_point", 79), + ("calendar", 82), + ("newsletter", 87), + ], + 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, + "help_text": "Pokud toto pole nenĂ zaškrtlĂ©, video bude užšà neĹľ text okolo.", + "label": "ZabĂrá maximálnà šĂĹ™ku povolenou pro text?", + "required": False, + }, + ), + 45: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "help_text": "Automaticky spustĂ video bez zvuku. Pozor, nÄ›kterĂ© prohlĂĹľeÄŤe blokujĂ i automatickĂ© pĹ™ehrávánĂ videĂ bez zvuku.", + "label": "Spustit video automaticky?", + "required": False, + }, + ), + 46: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {}, + ), + 47: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 50.04075", "label": "ZemÄ›pisná šĂĹ™ka"}, + ), + 48: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 15.77659", "label": "ZemÄ›pisná dĂ©lka"}, + ), + 49: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva špendlĂku (HEX)", + }, + ), + 50: ( + "wagtail.blocks.IntegerBlock", + (), + { + "default": 15, + "label": "VĂ˝chozĂ zoom", + "max_value": 18, + "min_value": 1, + }, + ), + 51: ( + "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", + }, + ), + 52: ( + "wagtail.blocks.IntegerBlock", + (), + {"label": "Výška v px", "max_value": 1000, "min_value": 100}, + ), + 53: ( + "wagtail.blocks.StructBlock", + [ + [ + ("lat", 47), + ("lon", 48), + ("hex_color", 49), + ("zoom", 50), + ("style", 51), + ("height", 52), + ] + ], + {"label": "Ĺ pendlĂk na mapÄ›"}, + ), + 54: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": True}, + ), + 55: ( + "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, + }, + ), + 56: ( + "wagtail.blocks.URLBlock", + (), + {"label": "Odkaz", "required": False}, + ), + 57: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva (HEX)", + }, + ), + 58: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 54), + ("description", 37), + ("geojson", 55), + ("image", 39), + ("link", 56), + ("hex_color", 57), + ] + ], + {"required": True}, + ), + 59: ("wagtail.blocks.ListBlock", (58,), {"label": "Součásti"}), + 60: ( + "wagtail.blocks.StructBlock", + [ + [ + ("features", 59), + ("zoom", 50), + ("style", 51), + ("height", 52), + ] + ], + {"label": "Mapová kolekce"}, + ), + 61: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ] + ], + {"label": "Obsah", "required": False}, + ), + 62: ( + "wagtail.blocks.PageChooserBlock", + (), + {"label": "Stránka", "required": False}, + ), + 63: ( + "wagtail.blocks.StructBlock", + [ + [ + ("img", 39), + ("headline", 40), + ("content", 61), + ("page", 62), + ("link", 56), + ] + ], + {}, + ), + 64: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "max_length": 128, "required": True}, + ), + 65: ( + "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", + }, + ), + 66: ( + "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, + }, + ), + 67: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("normal", "NormálnĂ"), + ("large", "Velká"), + ("huge", "MasivnĂ"), + ], + "label": "Velikost tlaÄŤĂtka", + }, + ), + 68: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ("size", 67), + ] + ], + {}, + ), + 69: ("wagtail.blocks.ListBlock", (68,), {"label": "TlaÄŤĂtka"}), + 70: ("wagtail.blocks.StructBlock", [[("buttons", 69)]], {}), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 73: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 71), ("right_column_content", 72)]], + {}, + ), + 74: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 71), + ("middle_column_content", 74), + ("right_column_content", 72), + ] + ], + {}, + ), + 76: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 77: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 78: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 79: ( + "wagtail.blocks.StructBlock", + [[("name", 77), ("content", 78)]], + {}, + ), + 80: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": False}, + ), + 81: ( + "wagtail.blocks.static_block.StaticBlock", + (), + { + "admin_text": "Adresa kalendáře se zadává v nastavenĂ hlavnĂ stránky webu", + "label": "Volba kalendáře", + }, + ), + 82: ( + "wagtail.blocks.StructBlock", + [[("title", 80), ("info", 81)]], + {}, + ), + 83: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud toto pole zĹŻstane nevyplnÄ›nĂ©, pouĹľije se nastavenĂ tohoto webu. V takovĂ©m pĹ™ĂpadÄ› se mĹŻĹľe pĹ™idat i odbÄ›ratel do Ecomailu.", + "label": "ID newsletteru v Mailtrainu", + "required": False, + }, + ), + 84: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "OdebĂrej náš", + "label": "Nadpis bloku (1. řádek)", + "required": True, + }, + ), + 85: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "newsletter", + "label": "Nadpis bloku (2. řádek)", + "required": True, + }, + ), + 86: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "Fake news tam nenajdeš, ale dozvĂš se, co chystáme doopravdy!", + "label": "Popis newsletteru", + "required": True, + }, + ), + 87: ( + "wagtail.blocks.StructBlock", + [ + [ + ("list_id", 83), + ("title_line_1", 84), + ("title_line_2", 85), + ("description", 86), + ] + ], + {}, + ), + }, + 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', 63), ('two_columns', 73), ('three_columns', 75), ('youtube', 76), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70), ('popout_point', 79), ('calendar', 82)], 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, 'help_text': 'Pokud toto pole nenĂ zaškrtlĂ©, video bude užšà neĹľ text okolo.', 'label': 'ZabĂrá maximálnà šĂĹ™ku povolenou pro text?', 'required': False}), 45: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'help_text': 'Automaticky spustĂ video bez zvuku. Pozor, nÄ›kterĂ© prohlĂĹľeÄŤe blokujĂ i automatickĂ© pĹ™ehrávánĂ videĂ bez zvuku.', 'label': 'Spustit video automaticky?', 'required': False}), 46: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 48: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 49: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 50: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 51: ('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'}), 52: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 53: ('wagtail.blocks.StructBlock', [[('lat', 47), ('lon', 48), ('hex_color', 49), ('zoom', 50), ('style', 51), ('height', 52)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 54: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 55: ('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}), 56: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 57: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 58: ('wagtail.blocks.StructBlock', [[('title', 54), ('description', 37), ('geojson', 55), ('image', 39), ('link', 56), ('hex_color', 57)]], {'required': True}), 59: ('wagtail.blocks.ListBlock', (58,), {'label': 'Součásti'}), 60: ('wagtail.blocks.StructBlock', [[('features', 59), ('zoom', 50), ('style', 51), ('height', 52)]], {'label': 'Mapová kolekce'}), 61: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60)]], {'label': 'Obsah', 'required': False}), 62: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 63: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 61), ('page', 62), ('link', 56)]], {}), 64: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 65: ('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'}), 66: ('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}), 67: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('normal', 'NormálnĂ'), ('large', 'Velká'), ('huge', 'MasivnĂ')], 'label': 'Velikost tlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11), ('size', 67)]], {}), 69: ('wagtail.blocks.ListBlock', (68,), {'label': 'TlaÄŤĂtka'}), 70: ('wagtail.blocks.StructBlock', [[('buttons', 69)]], {}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 71), ('right_column_content', 72)]], {}), 74: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 75: ('wagtail.blocks.StructBlock', [[('left_column_content', 71), ('middle_column_content', 74), ('right_column_content', 72)]], {}), 76: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 77: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 78: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 79: ('wagtail.blocks.StructBlock', [[('name', 77), ('content', 78)]], {}), 80: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': False}), 81: ('wagtail.blocks.static_block.StaticBlock', (), {'admin_text': 'Adresa kalendáře se zadává v nastavenĂ hlavnĂ stránky webu', 'label': 'Volba kalendáře'}), 82: ('wagtail.blocks.StructBlock', [[('title', 80), ('info', 81)]], {})}, verbose_name='obsah stránky za formulářem'), + 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", 63), + ("two_columns", 73), + ("three_columns", 75), + ("youtube", 76), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ("popout_point", 79), + ("calendar", 82), + ], + 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, + "help_text": "Pokud toto pole nenĂ zaškrtlĂ©, video bude užšà neĹľ text okolo.", + "label": "ZabĂrá maximálnà šĂĹ™ku povolenou pro text?", + "required": False, + }, + ), + 45: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "help_text": "Automaticky spustĂ video bez zvuku. Pozor, nÄ›kterĂ© prohlĂĹľeÄŤe blokujĂ i automatickĂ© pĹ™ehrávánĂ videĂ bez zvuku.", + "label": "Spustit video automaticky?", + "required": False, + }, + ), + 46: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {}, + ), + 47: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 50.04075", "label": "ZemÄ›pisná šĂĹ™ka"}, + ), + 48: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 15.77659", "label": "ZemÄ›pisná dĂ©lka"}, + ), + 49: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva špendlĂku (HEX)", + }, + ), + 50: ( + "wagtail.blocks.IntegerBlock", + (), + { + "default": 15, + "label": "VĂ˝chozĂ zoom", + "max_value": 18, + "min_value": 1, + }, + ), + 51: ( + "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", + }, + ), + 52: ( + "wagtail.blocks.IntegerBlock", + (), + {"label": "Výška v px", "max_value": 1000, "min_value": 100}, + ), + 53: ( + "wagtail.blocks.StructBlock", + [ + [ + ("lat", 47), + ("lon", 48), + ("hex_color", 49), + ("zoom", 50), + ("style", 51), + ("height", 52), + ] + ], + {"label": "Ĺ pendlĂk na mapÄ›"}, + ), + 54: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": True}, + ), + 55: ( + "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, + }, + ), + 56: ( + "wagtail.blocks.URLBlock", + (), + {"label": "Odkaz", "required": False}, + ), + 57: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva (HEX)", + }, + ), + 58: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 54), + ("description", 37), + ("geojson", 55), + ("image", 39), + ("link", 56), + ("hex_color", 57), + ] + ], + {"required": True}, + ), + 59: ("wagtail.blocks.ListBlock", (58,), {"label": "Součásti"}), + 60: ( + "wagtail.blocks.StructBlock", + [ + [ + ("features", 59), + ("zoom", 50), + ("style", 51), + ("height", 52), + ] + ], + {"label": "Mapová kolekce"}, + ), + 61: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ] + ], + {"label": "Obsah", "required": False}, + ), + 62: ( + "wagtail.blocks.PageChooserBlock", + (), + {"label": "Stránka", "required": False}, + ), + 63: ( + "wagtail.blocks.StructBlock", + [ + [ + ("img", 39), + ("headline", 40), + ("content", 61), + ("page", 62), + ("link", 56), + ] + ], + {}, + ), + 64: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "max_length": 128, "required": True}, + ), + 65: ( + "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", + }, + ), + 66: ( + "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, + }, + ), + 67: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("normal", "NormálnĂ"), + ("large", "Velká"), + ("huge", "MasivnĂ"), + ], + "label": "Velikost tlaÄŤĂtka", + }, + ), + 68: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ("size", 67), + ] + ], + {}, + ), + 69: ("wagtail.blocks.ListBlock", (68,), {"label": "TlaÄŤĂtka"}), + 70: ("wagtail.blocks.StructBlock", [[("buttons", 69)]], {}), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 73: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 71), ("right_column_content", 72)]], + {}, + ), + 74: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 71), + ("middle_column_content", 74), + ("right_column_content", 72), + ] + ], + {}, + ), + 76: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 77: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 78: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 79: ( + "wagtail.blocks.StructBlock", + [[("name", 77), ("content", 78)]], + {}, + ), + 80: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": False}, + ), + 81: ( + "wagtail.blocks.static_block.StaticBlock", + (), + { + "admin_text": "Adresa kalendáře se zadává v nastavenĂ hlavnĂ stránky webu", + "label": "Volba kalendáře", + }, + ), + 82: ( + "wagtail.blocks.StructBlock", + [[("title", 80), ("info", 81)]], + {}, + ), + }, + 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', 63), ('two_columns', 73), ('three_columns', 75), ('youtube', 76), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70), ('popout_point', 79), ('calendar', 82)], 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, 'help_text': 'Pokud toto pole nenĂ zaškrtlĂ©, video bude užšà neĹľ text okolo.', 'label': 'ZabĂrá maximálnà šĂĹ™ku povolenou pro text?', 'required': False}), 45: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'help_text': 'Automaticky spustĂ video bez zvuku. Pozor, nÄ›kterĂ© prohlĂĹľeÄŤe blokujĂ i automatickĂ© pĹ™ehrávánĂ videĂ bez zvuku.', 'label': 'Spustit video automaticky?', 'required': False}), 46: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 48: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 49: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 50: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 51: ('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'}), 52: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 53: ('wagtail.blocks.StructBlock', [[('lat', 47), ('lon', 48), ('hex_color', 49), ('zoom', 50), ('style', 51), ('height', 52)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 54: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 55: ('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}), 56: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 57: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 58: ('wagtail.blocks.StructBlock', [[('title', 54), ('description', 37), ('geojson', 55), ('image', 39), ('link', 56), ('hex_color', 57)]], {'required': True}), 59: ('wagtail.blocks.ListBlock', (58,), {'label': 'Součásti'}), 60: ('wagtail.blocks.StructBlock', [[('features', 59), ('zoom', 50), ('style', 51), ('height', 52)]], {'label': 'Mapová kolekce'}), 61: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60)]], {'label': 'Obsah', 'required': False}), 62: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 63: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 61), ('page', 62), ('link', 56)]], {}), 64: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 65: ('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'}), 66: ('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}), 67: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('normal', 'NormálnĂ'), ('large', 'Velká'), ('huge', 'MasivnĂ')], 'label': 'Velikost tlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11), ('size', 67)]], {}), 69: ('wagtail.blocks.ListBlock', (68,), {'label': 'TlaÄŤĂtka'}), 70: ('wagtail.blocks.StructBlock', [[('buttons', 69)]], {}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 71), ('right_column_content', 72)]], {}), 74: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 75: ('wagtail.blocks.StructBlock', [[('left_column_content', 71), ('middle_column_content', 74), ('right_column_content', 72)]], {}), 76: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 77: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 78: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 79: ('wagtail.blocks.StructBlock', [[('name', 77), ('content', 78)]], {}), 80: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': False}), 81: ('wagtail.blocks.static_block.StaticBlock', (), {'admin_text': 'Adresa kalendáře se zadává v nastavenĂ hlavnĂ stránky webu', 'label': 'Volba kalendáře'}), 82: ('wagtail.blocks.StructBlock', [[('title', 80), ('info', 81)]], {})}, verbose_name='obsah stránky pĹ™ed formulářem'), + 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", 63), + ("two_columns", 73), + ("three_columns", 75), + ("youtube", 76), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ("popout_point", 79), + ("calendar", 82), + ], + 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, + "help_text": "Pokud toto pole nenĂ zaškrtlĂ©, video bude užšà neĹľ text okolo.", + "label": "ZabĂrá maximálnà šĂĹ™ku povolenou pro text?", + "required": False, + }, + ), + 45: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "help_text": "Automaticky spustĂ video bez zvuku. Pozor, nÄ›kterĂ© prohlĂĹľeÄŤe blokujĂ i automatickĂ© pĹ™ehrávánĂ videĂ bez zvuku.", + "label": "Spustit video automaticky?", + "required": False, + }, + ), + 46: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {}, + ), + 47: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 50.04075", "label": "ZemÄ›pisná šĂĹ™ka"}, + ), + 48: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 15.77659", "label": "ZemÄ›pisná dĂ©lka"}, + ), + 49: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva špendlĂku (HEX)", + }, + ), + 50: ( + "wagtail.blocks.IntegerBlock", + (), + { + "default": 15, + "label": "VĂ˝chozĂ zoom", + "max_value": 18, + "min_value": 1, + }, + ), + 51: ( + "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", + }, + ), + 52: ( + "wagtail.blocks.IntegerBlock", + (), + {"label": "Výška v px", "max_value": 1000, "min_value": 100}, + ), + 53: ( + "wagtail.blocks.StructBlock", + [ + [ + ("lat", 47), + ("lon", 48), + ("hex_color", 49), + ("zoom", 50), + ("style", 51), + ("height", 52), + ] + ], + {"label": "Ĺ pendlĂk na mapÄ›"}, + ), + 54: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": True}, + ), + 55: ( + "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, + }, + ), + 56: ( + "wagtail.blocks.URLBlock", + (), + {"label": "Odkaz", "required": False}, + ), + 57: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva (HEX)", + }, + ), + 58: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 54), + ("description", 37), + ("geojson", 55), + ("image", 39), + ("link", 56), + ("hex_color", 57), + ] + ], + {"required": True}, + ), + 59: ("wagtail.blocks.ListBlock", (58,), {"label": "Součásti"}), + 60: ( + "wagtail.blocks.StructBlock", + [ + [ + ("features", 59), + ("zoom", 50), + ("style", 51), + ("height", 52), + ] + ], + {"label": "Mapová kolekce"}, + ), + 61: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ] + ], + {"label": "Obsah", "required": False}, + ), + 62: ( + "wagtail.blocks.PageChooserBlock", + (), + {"label": "Stránka", "required": False}, + ), + 63: ( + "wagtail.blocks.StructBlock", + [ + [ + ("img", 39), + ("headline", 40), + ("content", 61), + ("page", 62), + ("link", 56), + ] + ], + {}, + ), + 64: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "max_length": 128, "required": True}, + ), + 65: ( + "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", + }, + ), + 66: ( + "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, + }, + ), + 67: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("normal", "NormálnĂ"), + ("large", "Velká"), + ("huge", "MasivnĂ"), + ], + "label": "Velikost tlaÄŤĂtka", + }, + ), + 68: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ("size", 67), + ] + ], + {}, + ), + 69: ("wagtail.blocks.ListBlock", (68,), {"label": "TlaÄŤĂtka"}), + 70: ("wagtail.blocks.StructBlock", [[("buttons", 69)]], {}), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 73: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 71), ("right_column_content", 72)]], + {}, + ), + 74: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 71), + ("middle_column_content", 74), + ("right_column_content", 72), + ] + ], + {}, + ), + 76: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 77: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 78: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 79: ( + "wagtail.blocks.StructBlock", + [[("name", 77), ("content", 78)]], + {}, + ), + 80: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": False}, + ), + 81: ( + "wagtail.blocks.static_block.StaticBlock", + (), + { + "admin_text": "Adresa kalendáře se zadává v nastavenĂ hlavnĂ stránky webu", + "label": "Volba kalendáře", + }, + ), + 82: ( + "wagtail.blocks.StructBlock", + [[("title", 80), ("info", 81)]], + {}, + ), + }, + 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', 63), ('two_columns', 73), ('three_columns', 75), ('youtube', 76), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70), ('popout_point', 79), ('calendar', 82)], 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, 'help_text': 'Pokud toto pole nenĂ zaškrtlĂ©, video bude užšà neĹľ text okolo.', 'label': 'ZabĂrá maximálnà šĂĹ™ku povolenou pro text?', 'required': False}), 45: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'help_text': 'Automaticky spustĂ video bez zvuku. Pozor, nÄ›kterĂ© prohlĂĹľeÄŤe blokujĂ i automatickĂ© pĹ™ehrávánĂ videĂ bez zvuku.', 'label': 'Spustit video automaticky?', 'required': False}), 46: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 48: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 49: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 50: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 51: ('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'}), 52: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 53: ('wagtail.blocks.StructBlock', [[('lat', 47), ('lon', 48), ('hex_color', 49), ('zoom', 50), ('style', 51), ('height', 52)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 54: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 55: ('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}), 56: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 57: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 58: ('wagtail.blocks.StructBlock', [[('title', 54), ('description', 37), ('geojson', 55), ('image', 39), ('link', 56), ('hex_color', 57)]], {'required': True}), 59: ('wagtail.blocks.ListBlock', (58,), {'label': 'Součásti'}), 60: ('wagtail.blocks.StructBlock', [[('features', 59), ('zoom', 50), ('style', 51), ('height', 52)]], {'label': 'Mapová kolekce'}), 61: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60)]], {'label': 'Obsah', 'required': False}), 62: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 63: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 61), ('page', 62), ('link', 56)]], {}), 64: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 65: ('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'}), 66: ('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}), 67: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('normal', 'NormálnĂ'), ('large', 'Velká'), ('huge', 'MasivnĂ')], 'label': 'Velikost tlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11), ('size', 67)]], {}), 69: ('wagtail.blocks.ListBlock', (68,), {'label': 'TlaÄŤĂtka'}), 70: ('wagtail.blocks.StructBlock', [[('buttons', 69)]], {}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 71), ('right_column_content', 72)]], {}), 74: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 75: ('wagtail.blocks.StructBlock', [[('left_column_content', 71), ('middle_column_content', 74), ('right_column_content', 72)]], {}), 76: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 77: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 78: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 79: ('wagtail.blocks.StructBlock', [[('name', 77), ('content', 78)]], {}), 80: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': False}), 81: ('wagtail.blocks.static_block.StaticBlock', (), {'admin_text': 'Adresa kalendáře se zadává v nastavenĂ hlavnĂ stránky webu', 'label': 'Volba kalendáře'}), 82: ('wagtail.blocks.StructBlock', [[('title', 80), ('info', 81)]], {})}, verbose_name='Obsah stránky zobrazenĂ© po odeslánĂ formuláře'), + 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", 63), + ("two_columns", 73), + ("three_columns", 75), + ("youtube", 76), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ("popout_point", 79), + ("calendar", 82), + ], + 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, + "help_text": "Pokud toto pole nenĂ zaškrtlĂ©, video bude užšà neĹľ text okolo.", + "label": "ZabĂrá maximálnà šĂĹ™ku povolenou pro text?", + "required": False, + }, + ), + 45: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "help_text": "Automaticky spustĂ video bez zvuku. Pozor, nÄ›kterĂ© prohlĂĹľeÄŤe blokujĂ i automatickĂ© pĹ™ehrávánĂ videĂ bez zvuku.", + "label": "Spustit video automaticky?", + "required": False, + }, + ), + 46: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {}, + ), + 47: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 50.04075", "label": "ZemÄ›pisná šĂĹ™ka"}, + ), + 48: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 15.77659", "label": "ZemÄ›pisná dĂ©lka"}, + ), + 49: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva špendlĂku (HEX)", + }, + ), + 50: ( + "wagtail.blocks.IntegerBlock", + (), + { + "default": 15, + "label": "VĂ˝chozĂ zoom", + "max_value": 18, + "min_value": 1, + }, + ), + 51: ( + "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", + }, + ), + 52: ( + "wagtail.blocks.IntegerBlock", + (), + {"label": "Výška v px", "max_value": 1000, "min_value": 100}, + ), + 53: ( + "wagtail.blocks.StructBlock", + [ + [ + ("lat", 47), + ("lon", 48), + ("hex_color", 49), + ("zoom", 50), + ("style", 51), + ("height", 52), + ] + ], + {"label": "Ĺ pendlĂk na mapÄ›"}, + ), + 54: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": True}, + ), + 55: ( + "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, + }, + ), + 56: ( + "wagtail.blocks.URLBlock", + (), + {"label": "Odkaz", "required": False}, + ), + 57: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva (HEX)", + }, + ), + 58: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 54), + ("description", 37), + ("geojson", 55), + ("image", 39), + ("link", 56), + ("hex_color", 57), + ] + ], + {"required": True}, + ), + 59: ("wagtail.blocks.ListBlock", (58,), {"label": "Součásti"}), + 60: ( + "wagtail.blocks.StructBlock", + [ + [ + ("features", 59), + ("zoom", 50), + ("style", 51), + ("height", 52), + ] + ], + {"label": "Mapová kolekce"}, + ), + 61: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ] + ], + {"label": "Obsah", "required": False}, + ), + 62: ( + "wagtail.blocks.PageChooserBlock", + (), + {"label": "Stránka", "required": False}, + ), + 63: ( + "wagtail.blocks.StructBlock", + [ + [ + ("img", 39), + ("headline", 40), + ("content", 61), + ("page", 62), + ("link", 56), + ] + ], + {}, + ), + 64: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "max_length": 128, "required": True}, + ), + 65: ( + "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", + }, + ), + 66: ( + "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, + }, + ), + 67: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("normal", "NormálnĂ"), + ("large", "Velká"), + ("huge", "MasivnĂ"), + ], + "label": "Velikost tlaÄŤĂtka", + }, + ), + 68: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ("size", 67), + ] + ], + {}, + ), + 69: ("wagtail.blocks.ListBlock", (68,), {"label": "TlaÄŤĂtka"}), + 70: ("wagtail.blocks.StructBlock", [[("buttons", 69)]], {}), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 73: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 71), ("right_column_content", 72)]], + {}, + ), + 74: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 71), + ("middle_column_content", 74), + ("right_column_content", 72), + ] + ], + {}, + ), + 76: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 77: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 78: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 79: ( + "wagtail.blocks.StructBlock", + [[("name", 77), ("content", 78)]], + {}, + ), + 80: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": False}, + ), + 81: ( + "wagtail.blocks.static_block.StaticBlock", + (), + { + "admin_text": "Adresa kalendáře se zadává v nastavenĂ hlavnĂ stránky webu", + "label": "Volba kalendáře", + }, + ), + 82: ( + "wagtail.blocks.StructBlock", + [[("title", 80), ("info", 81)]], + {}, + ), + }, + 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', 63), ('two_columns', 73), ('three_columns', 75), ('youtube', 76), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70), ('popout_point', 79), ('calendar', 82), ('newsletter', 87), ('news_block', 90)], 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, 'help_text': 'Pokud toto pole nenĂ zaškrtlĂ©, video bude užšà neĹľ text okolo.', 'label': 'ZabĂrá maximálnà šĂĹ™ku povolenou pro text?', 'required': False}), 45: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'help_text': 'Automaticky spustĂ video bez zvuku. Pozor, nÄ›kterĂ© prohlĂĹľeÄŤe blokujĂ i automatickĂ© pĹ™ehrávánĂ videĂ bez zvuku.', 'label': 'Spustit video automaticky?', 'required': False}), 46: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 48: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 49: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 50: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 51: ('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'}), 52: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 53: ('wagtail.blocks.StructBlock', [[('lat', 47), ('lon', 48), ('hex_color', 49), ('zoom', 50), ('style', 51), ('height', 52)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 54: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 55: ('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}), 56: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 57: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 58: ('wagtail.blocks.StructBlock', [[('title', 54), ('description', 37), ('geojson', 55), ('image', 39), ('link', 56), ('hex_color', 57)]], {'required': True}), 59: ('wagtail.blocks.ListBlock', (58,), {'label': 'Součásti'}), 60: ('wagtail.blocks.StructBlock', [[('features', 59), ('zoom', 50), ('style', 51), ('height', 52)]], {'label': 'Mapová kolekce'}), 61: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60)]], {'label': 'Obsah', 'required': False}), 62: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 63: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 61), ('page', 62), ('link', 56)]], {}), 64: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 65: ('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'}), 66: ('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}), 67: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('normal', 'NormálnĂ'), ('large', 'Velká'), ('huge', 'MasivnĂ')], 'label': 'Velikost tlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11), ('size', 67)]], {}), 69: ('wagtail.blocks.ListBlock', (68,), {'label': 'TlaÄŤĂtka'}), 70: ('wagtail.blocks.StructBlock', [[('buttons', 69)]], {}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 71), ('right_column_content', 72)]], {}), 74: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 68), ('button_group', 70)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 75: ('wagtail.blocks.StructBlock', [[('left_column_content', 71), ('middle_column_content', 74), ('right_column_content', 72)]], {}), 76: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 77: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 78: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 79: ('wagtail.blocks.StructBlock', [[('name', 77), ('content', 78)]], {}), 80: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': False}), 81: ('wagtail.blocks.static_block.StaticBlock', (), {'admin_text': 'Adresa kalendáře se zadává v nastavenĂ hlavnĂ stránky webu', 'label': 'Volba kalendáře'}), 82: ('wagtail.blocks.StructBlock', [[('title', 80), ('info', 81)]], {}), 83: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud toto pole zĹŻstane nevyplnÄ›nĂ©, pouĹľije se nastavenĂ tohoto webu. V takovĂ©m pĹ™ĂpadÄ› se mĹŻĹľe pĹ™idat i odbÄ›ratel do Ecomailu.', 'label': 'ID newsletteru v Mailtrainu', 'required': False}), 84: ('wagtail.blocks.CharBlock', (), {'default': 'OdebĂrej náš', 'label': 'Nadpis bloku (1. řádek)', 'required': True}), 85: ('wagtail.blocks.CharBlock', (), {'default': 'newsletter', 'label': 'Nadpis bloku (2. řádek)', 'required': True}), 86: ('wagtail.blocks.CharBlock', (), {'default': 'Fake news tam nenajdeš, ale dozvĂš se, co chystáme doopravdy!', 'label': 'Popis newsletteru', 'required': True}), 87: ('wagtail.blocks.StructBlock', [[('list_id', 83), ('title_line_1', 84), ('title_line_2', 85), ('description', 86)]], {}), 88: ('wagtail.blocks.CharBlock', (), {'help_text': 'NejnovÄ›jšà články se naÄŤtou automaticky', 'label': 'Titulek'}), 89: ('wagtail.blocks.TextBlock', (), {'label': 'Popis', 'required': False}), 90: ('wagtail.blocks.StructBlock', [[('title', 88), ('description', 89)]], {'group': '3. OstatnĂ', 'template': 'styleguide2/includes/organisms/articles/district/articles_section.html'})}, verbose_name='obsah stránky'), + 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", 63), + ("two_columns", 73), + ("three_columns", 75), + ("youtube", 76), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ("popout_point", 79), + ("calendar", 82), + ("newsletter", 87), + ("news_block", 90), + ], + 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, + "help_text": "Pokud toto pole nenĂ zaškrtlĂ©, video bude užšà neĹľ text okolo.", + "label": "ZabĂrá maximálnà šĂĹ™ku povolenou pro text?", + "required": False, + }, + ), + 45: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "help_text": "Automaticky spustĂ video bez zvuku. Pozor, nÄ›kterĂ© prohlĂĹľeÄŤe blokujĂ i automatickĂ© pĹ™ehrávánĂ videĂ bez zvuku.", + "label": "Spustit video automaticky?", + "required": False, + }, + ), + 46: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {}, + ), + 47: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 50.04075", "label": "ZemÄ›pisná šĂĹ™ka"}, + ), + 48: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 15.77659", "label": "ZemÄ›pisná dĂ©lka"}, + ), + 49: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva špendlĂku (HEX)", + }, + ), + 50: ( + "wagtail.blocks.IntegerBlock", + (), + { + "default": 15, + "label": "VĂ˝chozĂ zoom", + "max_value": 18, + "min_value": 1, + }, + ), + 51: ( + "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", + }, + ), + 52: ( + "wagtail.blocks.IntegerBlock", + (), + {"label": "Výška v px", "max_value": 1000, "min_value": 100}, + ), + 53: ( + "wagtail.blocks.StructBlock", + [ + [ + ("lat", 47), + ("lon", 48), + ("hex_color", 49), + ("zoom", 50), + ("style", 51), + ("height", 52), + ] + ], + {"label": "Ĺ pendlĂk na mapÄ›"}, + ), + 54: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": True}, + ), + 55: ( + "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, + }, + ), + 56: ( + "wagtail.blocks.URLBlock", + (), + {"label": "Odkaz", "required": False}, + ), + 57: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva (HEX)", + }, + ), + 58: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 54), + ("description", 37), + ("geojson", 55), + ("image", 39), + ("link", 56), + ("hex_color", 57), + ] + ], + {"required": True}, + ), + 59: ("wagtail.blocks.ListBlock", (58,), {"label": "Součásti"}), + 60: ( + "wagtail.blocks.StructBlock", + [ + [ + ("features", 59), + ("zoom", 50), + ("style", 51), + ("height", 52), + ] + ], + {"label": "Mapová kolekce"}, + ), + 61: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ] + ], + {"label": "Obsah", "required": False}, + ), + 62: ( + "wagtail.blocks.PageChooserBlock", + (), + {"label": "Stránka", "required": False}, + ), + 63: ( + "wagtail.blocks.StructBlock", + [ + [ + ("img", 39), + ("headline", 40), + ("content", 61), + ("page", 62), + ("link", 56), + ] + ], + {}, + ), + 64: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "max_length": 128, "required": True}, + ), + 65: ( + "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", + }, + ), + 66: ( + "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, + }, + ), + 67: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("normal", "NormálnĂ"), + ("large", "Velká"), + ("huge", "MasivnĂ"), + ], + "label": "Velikost tlaÄŤĂtka", + }, + ), + 68: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ("size", 67), + ] + ], + {}, + ), + 69: ("wagtail.blocks.ListBlock", (68,), {"label": "TlaÄŤĂtka"}), + 70: ("wagtail.blocks.StructBlock", [[("buttons", 69)]], {}), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 73: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 71), ("right_column_content", 72)]], + {}, + ), + 74: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 68), + ("button_group", 70), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 71), + ("middle_column_content", 74), + ("right_column_content", 72), + ] + ], + {}, + ), + 76: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 77: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 78: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 79: ( + "wagtail.blocks.StructBlock", + [[("name", 77), ("content", 78)]], + {}, + ), + 80: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": False}, + ), + 81: ( + "wagtail.blocks.static_block.StaticBlock", + (), + { + "admin_text": "Adresa kalendáře se zadává v nastavenĂ hlavnĂ stránky webu", + "label": "Volba kalendáře", + }, + ), + 82: ( + "wagtail.blocks.StructBlock", + [[("title", 80), ("info", 81)]], + {}, + ), + 83: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud toto pole zĹŻstane nevyplnÄ›nĂ©, pouĹľije se nastavenĂ tohoto webu. V takovĂ©m pĹ™ĂpadÄ› se mĹŻĹľe pĹ™idat i odbÄ›ratel do Ecomailu.", + "label": "ID newsletteru v Mailtrainu", + "required": False, + }, + ), + 84: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "OdebĂrej náš", + "label": "Nadpis bloku (1. řádek)", + "required": True, + }, + ), + 85: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "newsletter", + "label": "Nadpis bloku (2. řádek)", + "required": True, + }, + ), + 86: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "Fake news tam nenajdeš, ale dozvĂš se, co chystáme doopravdy!", + "label": "Popis newsletteru", + "required": True, + }, + ), + 87: ( + "wagtail.blocks.StructBlock", + [ + [ + ("list_id", 83), + ("title_line_1", 84), + ("title_line_2", 85), + ("description", 86), + ] + ], + {}, + ), + 88: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NejnovÄ›jšà články se naÄŤtou automaticky", + "label": "Titulek", + }, + ), + 89: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Popis", "required": False}, + ), + 90: ( + "wagtail.blocks.StructBlock", + [[("title", 88), ("description", 89)]], + { + "group": "3. OstatnĂ", + "template": "styleguide2/includes/organisms/articles/district/articles_section.html", + }, + ), + }, + verbose_name="obsah stránky", + ), ), ] diff --git a/uniweb/migrations/0129_uniwebhomepage_ecomail_newsletter_list_id_and_more.py b/uniweb/migrations/0129_uniwebhomepage_ecomail_newsletter_list_id_and_more.py index 99e2b76e..8df6debd 100644 --- a/uniweb/migrations/0129_uniwebhomepage_ecomail_newsletter_list_id_and_more.py +++ b/uniweb/migrations/0129_uniwebhomepage_ecomail_newsletter_list_id_and_more.py @@ -4,20 +4,27 @@ from django.db import migrations, models class Migration(migrations.Migration): - dependencies = [ - ('uniweb', '0128_alter_uniwebarticlepage_content_and_more'), + ("uniweb", "0128_alter_uniwebarticlepage_content_and_more"), ] operations = [ migrations.AddField( - model_name='uniwebhomepage', - name='ecomail_newsletter_list_id', - field=models.IntegerField(blank=True, null=True, verbose_name='ID Ecomail newsletteru'), + model_name="uniwebhomepage", + name="ecomail_newsletter_list_id", + field=models.IntegerField( + blank=True, null=True, verbose_name="ID Ecomail newsletteru" + ), ), migrations.AddField( - model_name='uniwebhomepage', - name='ecomail_newsletter_list_tags', - field=models.CharField(blank=True, help_text="OddÄ›lte čárkou, napĹ™Ăklad 'Tag1,Tag2,Tag3'. Bez mezer.", max_length=128, null=True, verbose_name='Tagy k pĹ™idánĂ novĂ˝m odbÄ›ratelĹŻm na Ecomailu'), + model_name="uniwebhomepage", + name="ecomail_newsletter_list_tags", + field=models.CharField( + blank=True, + help_text="OddÄ›lte čárkou, napĹ™Ăklad 'Tag1,Tag2,Tag3'. Bez mezer.", + max_length=128, + null=True, + verbose_name="Tagy k pĹ™idánĂ novĂ˝m odbÄ›ratelĹŻm na Ecomailu", + ), ), ] diff --git a/uniweb/migrations/0130_uniwebhomepage_newsletter_list_id.py b/uniweb/migrations/0130_uniwebhomepage_newsletter_list_id.py new file mode 100644 index 00000000..21ac5709 --- /dev/null +++ b/uniweb/migrations/0130_uniwebhomepage_newsletter_list_id.py @@ -0,0 +1,18 @@ +# Generated by Django 5.0.7 on 2025-03-24 12:49 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('uniweb', '0129_uniwebhomepage_ecomail_newsletter_list_id_and_more'), + ] + + operations = [ + migrations.AddField( + model_name='uniwebhomepage', + name='newsletter_list_id', + field=models.CharField(blank=True, help_text='ID newsletteru z Mailtrainu. Po vyplnÄ›nĂ se formulář pro odbÄ›r newsletteru zobrazĂ na ĂşvodnĂ stránce a na stránce s kontakty.', max_length=20, null=True, verbose_name='ID Mailtrain newsletteru'), + ), + ] diff --git a/uniweb/models.py b/uniweb/models.py index 9bb7a4e0..8fef561a 100644 --- a/uniweb/models.py +++ b/uniweb/models.py @@ -167,6 +167,14 @@ class UniwebHomePage( help_text="OddÄ›lte čárkou, napĹ™Ăklad 'Tag1,Tag2,Tag3'. Bez mezer.", ) + newsletter_list_id = models.CharField( + "ID Mailtrain newsletteru", + max_length=20, + blank=True, + null=True, + help_text="ID newsletteru z Mailtrainu. Po vyplnÄ›nĂ se formulář pro odbÄ›r newsletteru zobrazĂ na ĂşvodnĂ stránce a na stránce s kontakty.", + ) + ### PANELS content_panels = MainHomePageMixin.content_panels + [ @@ -201,6 +209,7 @@ class UniwebHomePage( [ FieldPanel("ecomail_newsletter_list_id"), FieldPanel("ecomail_newsletter_list_tags"), + FieldPanel("newsletter_list_id"), ], "Newsletter", ), -- GitLab