diff --git a/district/migrations/0307_alter_districthomepage_content.py b/district/migrations/0307_alter_districthomepage_content.py index 6564643ec27f83253c36347ce4758ff75c574f7d..bd857b75fd697b4659fad8998160e35e5b0cd7c0 100644 --- a/district/migrations/0307_alter_districthomepage_content.py +++ b/district/migrations/0307_alter_districthomepage_content.py @@ -7,15 +7,299 @@ import shared.blocks.children.misc class Migration(migrations.Migration): - dependencies = [ - ('district', '0306_remove_districthomepage_menu_button_name_and_more'), + ("district", "0306_remove_districthomepage_menu_button_name_and_more"), ] operations = [ migrations.AlterField( - model_name='districthomepage', - name='content', - field=wagtail.fields.StreamField([('fullscreen_header_block', 11), ('news_block', 14), ('elections_block', 23), ('people_block', 27), ('calendar_block', 30), ('carousel_program', 41), ('newsletter_block', 42)], blank=True, block_lookup={0: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Pokud nenĂ vybráno video, ukáže se na desktopu.', 'label': 'Obrázek na pozadĂ (desktop)', 'required': False}), 1: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Pokud nenĂ vybráno video, ukáže se na mobilu.', 'label': 'Obrázek na pozadĂ (mobil)', 'required': False}), 2: ('wagtail.blocks.URLBlock', (), {'help_text': 'Pokud je vybráno, ukáže se na desktopech s povolenĂ˝m autoplayem mĂsto obrázku.', 'label': 'Video (desktop)', 'required': False}), 3: ('wagtail.blocks.URLBlock', (), {'help_text': 'Pokud je vybráno, ukáže se na mobilech s povolenĂ˝m autoplayem mĂsto obrázku.', 'label': 'Video (mobil)', 'required': False}), 4: ('wagtail.blocks.TextBlock', (), {'label': 'Desktop prvnà řádek', 'required': False}), 5: ('wagtail.blocks.TextBlock', (), {'label': 'Desktop druhĂ˝ řádek', 'required': False}), 6: ('wagtail.blocks.TextBlock', (), {'label': 'PrvnĂ mobilnà řádek', 'required': False}), 7: ('wagtail.blocks.TextBlock', (), {'label': 'DruhĂ˝ mobilnà řádek', 'required': False}), 8: ('wagtail.blocks.TextBlock', (), {'label': 'TĹ™etĂ mobilnà řádek', 'required': False}), 9: ('wagtail.blocks.URLBlock', (), {'help_text': 'Bez odkazu tlaÄŤĂtko nebude viditelnĂ©.', 'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 10: ('wagtail.blocks.CharBlock', (), {'help_text': 'Odkaz funguje i bez tlaÄŤĂtka. Pokud chceš tlaÄŤĂtko skrĂ˝t, nevyplĹuj text.', 'label': 'Text tlaÄŤĂtka', 'required': False}), 11: ('wagtail.blocks.StructBlock', [[('desktop_image', 0), ('mobile_image', 1), ('desktop_video_url', 2), ('mobile_video_url', 3), ('desktop_line_1', 4), ('desktop_line_2', 5), ('mobile_line_1', 6), ('mobile_line_2', 7), ('mobile_line_3', 8), ('button_url', 9), ('button_text', 10)]], {}), 12: ('wagtail.blocks.CharBlock', (), {'help_text': 'NejnovÄ›jšà články se naÄŤtou automaticky', 'label': 'Titulek'}), 13: ('wagtail.blocks.TextBlock', (), {'label': 'Popis', 'required': False}), 14: ('wagtail.blocks.StructBlock', [[('title', 12), ('description', 13)]], {'template': 'styleguide2/includes/organisms/articles/district/articles_section.html'}), 15: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 16: ('wagtail.blocks.CharBlock', (), {'default': 'AktuálnÄ› zbĂ˝vá', 'label': 'Text pĹ™ed odpoÄŤtem', 'required': True}), 17: ('wagtail.blocks.DateTimeBlock', (), {'label': 'Datum & ÄŤas voleb', 'required': True}), 18: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 19: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 20: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 21: ('wagtail.blocks.StructBlock', [[('title', 18), ('page', 19), ('link', 20)]], {}), 22: ('wagtail.blocks.ListBlock', (21,), {'label': 'TlaÄŤĂtka', 'required': False}), 23: ('wagtail.blocks.StructBlock', [[('title', 15), ('text_before_countdown', 16), ('countdown_timestamp', 17), ('buttons', 22)]], {}), 24: ('wagtail.blocks.CharBlock', (), {'label': 'Prvnà řádek titulku'}), 25: ('wagtail.blocks.CharBlock', (), {'label': 'DruhĂ˝ řádek titulku', 'required': False}), 26: ('wagtail.blocks.ListBlock', (shared.blocks.children.misc.PersonBoxBlock,), {'label': 'BoxĂky'}), 27: ('wagtail.blocks.StructBlock', [[('title_line_1', 24), ('title_line_2', 25), ('description', 13), ('list', 26)]], {'template': 'styleguide2/includes/organisms/main_section/district/representatives_section.html'}), 28: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': False}), 29: ('wagtail.blocks.static_block.StaticBlock', (), {'admin_text': 'Adresa kalendáře se zadává v nastavenĂ hlavnĂ stránky webu', 'label': 'Volba kalendáře'}), 30: ('wagtail.blocks.StructBlock', [[('title', 28), ('info', 29)]], {}), 31: ('wagtail.blocks.CharBlock', (), {'default': 'Program', 'help_text': "NapĹ™. 'Program'", 'label': 'Nadpis'}), 32: ('wagtail.blocks.IntegerBlock', (), {'label': 'ÄŚĂslo'}), 33: ('wagtail.blocks.CharBlock', (), {'label': 'Název'}), 34: ('wagtail.blocks.TextBlock', (), {'label': 'Obsah'}), 35: ('wagtail.blocks.StructBlock', [[('content', 34)]], {}), 36: ('wagtail.blocks.ListBlock', (35,), {'label': 'Body'}), 37: ('wagtail.blocks.StructBlock', [[('number', 32), ('name', 33), ('points', 36)]], {}), 38: ('wagtail.blocks.ListBlock', (37,), {'label': 'Kategorie'}), 39: ('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}), 40: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis odkazu na celou verzi programu', 'required': False}), 41: ('wagtail.blocks.StructBlock', [[('label', 31), ('categories', 38), ('long_version_url', 39), ('long_version_text', 40)]], {}), 42: ('wagtail.blocks.StructBlock', [[]], {})}, verbose_name='Obsah'), + model_name="districthomepage", + name="content", + field=wagtail.fields.StreamField( + [ + ("fullscreen_header_block", 11), + ("news_block", 14), + ("elections_block", 23), + ("people_block", 27), + ("calendar_block", 30), + ("carousel_program", 41), + ("newsletter_block", 42), + ], + blank=True, + block_lookup={ + 0: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Pokud nenĂ vybráno video, ukáže se na desktopu.", + "label": "Obrázek na pozadĂ (desktop)", + "required": False, + }, + ), + 1: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Pokud nenĂ vybráno video, ukáže se na mobilu.", + "label": "Obrázek na pozadĂ (mobil)", + "required": False, + }, + ), + 2: ( + "wagtail.blocks.URLBlock", + (), + { + "help_text": "Pokud je vybráno, ukáže se na desktopech s povolenĂ˝m autoplayem mĂsto obrázku.", + "label": "Video (desktop)", + "required": False, + }, + ), + 3: ( + "wagtail.blocks.URLBlock", + (), + { + "help_text": "Pokud je vybráno, ukáže se na mobilech s povolenĂ˝m autoplayem mĂsto obrázku.", + "label": "Video (mobil)", + "required": False, + }, + ), + 4: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Desktop prvnà řádek", "required": False}, + ), + 5: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Desktop druhĂ˝ řádek", "required": False}, + ), + 6: ( + "wagtail.blocks.TextBlock", + (), + {"label": "PrvnĂ mobilnà řádek", "required": False}, + ), + 7: ( + "wagtail.blocks.TextBlock", + (), + {"label": "DruhĂ˝ mobilnà řádek", "required": False}, + ), + 8: ( + "wagtail.blocks.TextBlock", + (), + {"label": "TĹ™etĂ mobilnà řádek", "required": False}, + ), + 9: ( + "wagtail.blocks.URLBlock", + (), + { + "help_text": "Bez odkazu tlaÄŤĂtko nebude viditelnĂ©.", + "label": "Odkaz tlaÄŤĂtka", + "required": False, + }, + ), + 10: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Odkaz funguje i bez tlaÄŤĂtka. Pokud chceš tlaÄŤĂtko skrĂ˝t, nevyplĹuj text.", + "label": "Text tlaÄŤĂtka", + "required": False, + }, + ), + 11: ( + "wagtail.blocks.StructBlock", + [ + [ + ("desktop_image", 0), + ("mobile_image", 1), + ("desktop_video_url", 2), + ("mobile_video_url", 3), + ("desktop_line_1", 4), + ("desktop_line_2", 5), + ("mobile_line_1", 6), + ("mobile_line_2", 7), + ("mobile_line_3", 8), + ("button_url", 9), + ("button_text", 10), + ] + ], + {}, + ), + 12: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NejnovÄ›jšà články se naÄŤtou automaticky", + "label": "Titulek", + }, + ), + 13: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Popis", "required": False}, + ), + 14: ( + "wagtail.blocks.StructBlock", + [[("title", 12), ("description", 13)]], + { + "template": "styleguide2/includes/organisms/articles/district/articles_section.html" + }, + ), + 15: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": True}, + ), + 16: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "AktuálnÄ› zbĂ˝vá", + "label": "Text pĹ™ed odpoÄŤtem", + "required": True, + }, + ), + 17: ( + "wagtail.blocks.DateTimeBlock", + (), + {"label": "Datum & ÄŤas voleb", "required": True}, + ), + 18: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "max_length": 128, "required": True}, + ), + 19: ( + "wagtail.blocks.PageChooserBlock", + (), + {"label": "Stránka", "required": False}, + ), + 20: ( + "wagtail.blocks.URLBlock", + (), + {"label": "Odkaz", "required": False}, + ), + 21: ( + "wagtail.blocks.StructBlock", + [[("title", 18), ("page", 19), ("link", 20)]], + {}, + ), + 22: ( + "wagtail.blocks.ListBlock", + (21,), + {"label": "TlaÄŤĂtka", "required": False}, + ), + 23: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 15), + ("text_before_countdown", 16), + ("countdown_timestamp", 17), + ("buttons", 22), + ] + ], + {}, + ), + 24: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Prvnà řádek titulku"}, + ), + 25: ( + "wagtail.blocks.CharBlock", + (), + {"label": "DruhĂ˝ řádek titulku", "required": False}, + ), + 26: ( + "wagtail.blocks.ListBlock", + (shared.blocks.children.misc.PersonBoxBlock,), + {"label": "BoxĂky"}, + ), + 27: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title_line_1", 24), + ("title_line_2", 25), + ("description", 13), + ("list", 26), + ] + ], + { + "template": "styleguide2/includes/organisms/main_section/district/representatives_section.html" + }, + ), + 28: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": False}, + ), + 29: ( + "wagtail.blocks.static_block.StaticBlock", + (), + { + "admin_text": "Adresa kalendáře se zadává v nastavenĂ hlavnĂ stránky webu", + "label": "Volba kalendáře", + }, + ), + 30: ( + "wagtail.blocks.StructBlock", + [[("title", 28), ("info", 29)]], + {}, + ), + 31: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "Program", + "help_text": "NapĹ™. 'Program'", + "label": "Nadpis", + }, + ), + 32: ("wagtail.blocks.IntegerBlock", (), {"label": "ÄŚĂslo"}), + 33: ("wagtail.blocks.CharBlock", (), {"label": "Název"}), + 34: ("wagtail.blocks.TextBlock", (), {"label": "Obsah"}), + 35: ("wagtail.blocks.StructBlock", [[("content", 34)]], {}), + 36: ("wagtail.blocks.ListBlock", (35,), {"label": "Body"}), + 37: ( + "wagtail.blocks.StructBlock", + [[("number", 32), ("name", 33), ("points", 36)]], + {}, + ), + 38: ("wagtail.blocks.ListBlock", (37,), {"label": "Kategorie"}), + 39: ( + "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, + }, + ), + 40: ( + "wagtail.blocks.CharBlock", + (), + { + "label": "Nadpis odkazu na celou verzi programu", + "required": False, + }, + ), + 41: ( + "wagtail.blocks.StructBlock", + [ + [ + ("label", 31), + ("categories", 38), + ("long_version_url", 39), + ("long_version_text", 40), + ] + ], + {}, + ), + 42: ("wagtail.blocks.StructBlock", [[]], {}), + }, + verbose_name="Obsah", + ), ), ] diff --git a/district/migrations/0308_districthomepage_has_expanded_navbar.py b/district/migrations/0308_districthomepage_has_expanded_navbar.py index d3b618915701589cef3456acc2f053338d3cfa92..8019cc0e4ea15a9f7db97c062cd51c998c4f47b4 100644 --- a/district/migrations/0308_districthomepage_has_expanded_navbar.py +++ b/district/migrations/0308_districthomepage_has_expanded_navbar.py @@ -4,15 +4,18 @@ from django.db import migrations, models class Migration(migrations.Migration): - dependencies = [ - ('district', '0307_alter_districthomepage_content'), + ("district", "0307_alter_districthomepage_content"), ] operations = [ migrations.AddField( - model_name='districthomepage', - name='has_expanded_navbar', - field=models.BooleanField(default=True, help_text='Pokud je toto pole zaškrtlĂ©, navigaÄŤnĂ lišta bude vĹľdy mĂt rezervovanĂ© mĂsto na obrazovce.', verbose_name='Má rozšĂĹ™enĂ˝ navbar?'), + model_name="districthomepage", + name="has_expanded_navbar", + field=models.BooleanField( + default=True, + help_text="Pokud je toto pole zaškrtlĂ©, navigaÄŤnĂ lišta bude vĹľdy mĂt rezervovanĂ© mĂsto na obrazovce.", + verbose_name="Má rozšĂĹ™enĂ˝ navbar?", + ), ), ] diff --git a/district/migrations/0309_alter_districtarticlepage_content_and_more.py b/district/migrations/0309_alter_districtarticlepage_content_and_more.py index 714ddbb7799b1b9170fa3ac22911e85f01ead4a7..06544d18b2740abe0ba05ed25da0cea1e0ef47d2 100644 --- a/district/migrations/0309_alter_districtarticlepage_content_and_more.py +++ b/district/migrations/0309_alter_districtarticlepage_content_and_more.py @@ -1,60 +1,9345 @@ # Generated by Django 5.0.7 on 2025-03-11 19:56 -import shared.blocks.children.chart import wagtail.fields from django.db import migrations +import shared.blocks.children.chart + class Migration(migrations.Migration): - dependencies = [ - ('district', '0308_districthomepage_has_expanded_navbar'), + ("district", "0308_districthomepage_has_expanded_navbar"), ] operations = [ migrations.AlterField( - model_name='districtarticlepage', - name='content', - field=wagtail.fields.StreamField([('text', 0), ('advanced_text', 4), ('two_columns_text', 7), ('headline', 12), ('headline_with_picture', 15), ('picture_list', 19), ('flip_cards', 30), ('table', 31), ('popout_table', 32), ('gallery', 35), ('figure', 38), ('card', 62), ('two_columns', 71), ('three_columns', 73), ('youtube', 74), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68), ('popout_point', 78), ('quote', 81), ('download', 83)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {}), 46: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 48: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 49: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 50: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('osm-mapnik', 'OSM Mapnik'), ('stadia-osm-bright', 'Stadia OSM Bright'), ('stadia-outdoors', 'Stadia Outdoors'), ('mapbox-streets', 'Mapbox Streets'), ('mapbox-outdoors', 'Mapbox Outdoors'), ('mapbox-light', 'Mapbox Light'), ('mapbox-dark', 'Mapbox Dark'), ('mapbox-satellite', 'Mapbox Satellite'), ('mapbox-pirate', 'Mapbox Pirate Theme')], 'label': 'Styl'}), 51: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 52: ('wagtail.blocks.StructBlock', [[('lat', 46), ('lon', 47), ('hex_color', 48), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 53: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 54: ('wagtail.blocks.TextBlock', (), {'help_text': "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", 'label': 'Geodata', 'required': True}), 55: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 56: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 57: ('wagtail.blocks.StructBlock', [[('title', 53), ('description', 37), ('geojson', 54), ('image', 39), ('link', 55), ('hex_color', 56)]], {'required': True}), 58: ('wagtail.blocks.ListBlock', (57,), {'label': 'Součásti'}), 59: ('wagtail.blocks.StructBlock', [[('features', 58), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Mapová kolekce'}), 60: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59)]], {'label': 'Obsah', 'required': False}), 61: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 62: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 60), ('page', 61), ('link', 55)]], {}), 63: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 64: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black', 'ÄŚerná'), ('white', 'BĂlá'), ('pirati-yellow', 'Ĺ˝lutá'), ('grey-125', 'SvÄ›tle šedá'), ('blue-300', 'Modrá'), ('cyan-200', 'Tyrkysová'), ('green-400', 'Zelená'), ('violet-400', 'VĂnová'), ('red-600', 'ÄŚervená')], 'label': 'Barva'}), 65: ('wagtail.blocks.BooleanBlock', (), {'default': True, 'help_text': 'Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.', 'label': 'Animovat na hover', 'required': False}), 66: ('wagtail.blocks.StructBlock', [[('title', 63), ('color', 64), ('hoveractive', 65), ('page', 61), ('link', 55), ('align', 11)]], {}), 67: ('wagtail.blocks.ListBlock', (66,), {'label': 'TlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('buttons', 67)]], {}), 69: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('right_column_content', 70)]], {}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('middle_column_content', 72), ('right_column_content', 70)]], {}), 74: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {'label': 'YouTube video'}), 75: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 76: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 77: ('wagtail.blocks.StreamBlock', [[('text', 76), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 78: ('wagtail.blocks.StructBlock', [[('name', 75), ('content', 77)]], {}), 79: ('wagtail.blocks.CharBlock', (), {'label': 'Citace'}), 80: ('wagtail.blocks.CharBlock', (), {'label': 'JmĂ©no autora'}), 81: ('wagtail.blocks.StructBlock', [[('quote', 79), ('autor_name', 80)]], {}), 82: ('wagtail.documents.blocks.DocumentChooserBlock', (), {'label': 'StáhnutelnĂ˝ soubor'}), 83: ('wagtail.blocks.StructBlock', [[('file', 82)]], {})}, verbose_name='ÄŚlánek'), + model_name="districtarticlepage", + name="content", + field=wagtail.fields.StreamField( + [ + ("text", 0), + ("advanced_text", 4), + ("two_columns_text", 7), + ("headline", 12), + ("headline_with_picture", 15), + ("picture_list", 19), + ("flip_cards", 30), + ("table", 31), + ("popout_table", 32), + ("gallery", 35), + ("figure", 38), + ("card", 62), + ("two_columns", 71), + ("three_columns", 73), + ("youtube", 74), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ("popout_point", 78), + ("quote", 81), + ("download", 83), + ], + blank=True, + block_lookup={ + 0: ( + "wagtail.blocks.RichTextBlock", + (), + { + "template": "styleguide2/includes/atoms/text/prose_richtext.html" + }, + ), + 1: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("left", "vlevo"), + ("center", "uprostĹ™ed"), + ("right", "vpravo"), + ], + "label": "zarovnánĂ", + }, + ), + 2: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black_on_white", "ÄŤerná na bĂlĂ©"), + ("black_on_yellow", "ÄŤerná na ĹľlutĂ©"), + ("white_on_black", "bĂlá na ÄŤernĂ©"), + ("white_on_blue", "bĂlá na modrĂ©"), + ("white_on_cyan", "bĂlá na tyrkysovĂ©"), + ("white_on_violet", "bĂlá na fialovĂ©"), + ], + "label": "barva", + }, + ), + 3: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + }, + ), + 4: ( + "wagtail.blocks.StructBlock", + [[("align", 1), ("color", 2), ("text", 3)]], + {}, + ), + 5: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "levĂ˝ sloupec", + }, + ), + 6: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "pravĂ˝ sloupec", + }, + ), + 7: ( + "wagtail.blocks.StructBlock", + [[("left_text", 5), ("right_text", 6)]], + {}, + ), + 8: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Nadpis", "max_length": 300, "required": True}, + ), + 9: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("h1", "H1"), + ("h2", "H2"), + ("h3", "H3"), + ("h4", "H4"), + ("h5", "H5"), + ("h6", "H6"), + ], + "help_text": "ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.", + "label": "ĂšroveĹ nadpisu", + }, + ), + 10: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("head-alt-xl", "VelkĂ˝, Bebas Neue - 6XL"), + ("head-alt-lg", "StĹ™ednĂ, Bebas Neue - 4XL"), + ("head-alt-md", "ZákladnĂ velikost - Roboto - MD"), + ("head-alt-sm", "MalĂ˝ - Roboto - SM"), + ("head-alt-xs", "Extra malĂ˝ - Roboto - XS"), + ], + "help_text": "Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.", + "label": "Velikost", + }, + ), + 11: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("auto", "Automaticky"), + ("center", "Na stĹ™ed"), + ], + "label": "ZarovnánĂ", + }, + ), + 12: ( + "wagtail.blocks.StructBlock", + [[("headline", 8), ("tag", 9), ("style", 10), ("align", 11)]], + {}, + ), + 13: ("wagtail.blocks.CharBlock", (), {"label": "nadpis"}), + 14: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)", + "label": "obrázek", + }, + ), + 15: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("title", 13), ("picture", 14)]], + {}, + ), + 16: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "Odstavec", + }, + ), + 17: ("wagtail.blocks.ListBlock", (16,), {"label": "Odstavce"}), + 18: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)", + "label": "Obrázek", + }, + ), + 19: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("items", 17), ("picture", 18)]], + {}, + ), + 20: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "FEC900", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva pozadĂ", + }, + ), + 21: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.", + "label": "Obrázek", + "required": False, + }, + ), + 22: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje obrázek. Nelze vybrat obÄ› najednou.", + "label": "PozadĂ", + "required": False, + }, + ), + 23: ( + "wagtail.blocks.TextBlock", + (), + {"help_text": "ĹádkovánĂ je manuálnĂ.", "label": "Nadpis"}, + ), + 24: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva textu", + }, + ), + 25: ("wagtail.blocks.RichTextBlock", (), {"label": "Obsah"}), + 26: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.", + "label": "Nadpis tlaÄŤĂtka", + "required": False, + }, + ), + 27: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Odkaz tlaÄŤĂtka", "required": False}, + ), + 28: ( + "wagtail.blocks.StructBlock", + [ + [ + ("bg_color", 20), + ("image", 21), + ("background", 22), + ("title", 23), + ("title_color", 24), + ("content", 25), + ("button_text", 26), + ("button_url", 27), + ] + ], + {"label": "Karta"}, + ), + 29: ("wagtail.blocks.ListBlock", (28,), {"label": "Karty"}), + 30: ("wagtail.blocks.StructBlock", [[("cards", 29)]], {}), + 31: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "Tabulka", + "template": "styleguide2/includes/atoms/table/table.html", + }, + ), + 32: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "RozbalovacĂ tabulka", + "template": "styleguide2/includes/atoms/table/popout_table.html", + }, + ), + 33: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "obrázek", "required": True}, + ), + 34: ( + "wagtail.blocks.ListBlock", + (33,), + {"group": "3. OstatnĂ", "icon": "image", "label": "Galerie"}, + ), + 35: ( + "wagtail.blocks.StructBlock", + [[("gallery_items", 34)]], + {"label": "Galerie"}, + ), + 36: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": True}, + ), + 37: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Popisek", "required": False}, + ), + 38: ( + "wagtail.blocks.StructBlock", + [[("img", 36), ("caption", 37)]], + {}, + ), + 39: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": False}, + ), + 40: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Titulek", "required": False}, + ), + 41: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.", + "label": "Náhled videa (automatickĂ© pole)", + "required": False, + }, + ), + 42: ( + "wagtail.blocks.URLBlock", + (), + { + "help_text": "Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.", + "label": "Odkaz na video", + "required": False, + }, + ), + 43: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.", + "label": "ID videa (automatickĂ© pole)", + "required": False, + }, + ), + 44: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "label": "ZabĂrá celou šĂĹ™ku?", + "required": True, + }, + ), + 45: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ] + ], + {}, + ), + 46: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 50.04075", "label": "ZemÄ›pisná šĂĹ™ka"}, + ), + 47: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 15.77659", "label": "ZemÄ›pisná dĂ©lka"}, + ), + 48: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva špendlĂku (HEX)", + }, + ), + 49: ( + "wagtail.blocks.IntegerBlock", + (), + { + "default": 15, + "label": "VĂ˝chozĂ zoom", + "max_value": 18, + "min_value": 1, + }, + ), + 50: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("osm-mapnik", "OSM Mapnik"), + ("stadia-osm-bright", "Stadia OSM Bright"), + ("stadia-outdoors", "Stadia Outdoors"), + ("mapbox-streets", "Mapbox Streets"), + ("mapbox-outdoors", "Mapbox Outdoors"), + ("mapbox-light", "Mapbox Light"), + ("mapbox-dark", "Mapbox Dark"), + ("mapbox-satellite", "Mapbox Satellite"), + ("mapbox-pirate", "Mapbox Pirate Theme"), + ], + "label": "Styl", + }, + ), + 51: ( + "wagtail.blocks.IntegerBlock", + (), + {"label": "Výška v px", "max_value": 1000, "min_value": 100}, + ), + 52: ( + "wagtail.blocks.StructBlock", + [ + [ + ("lat", 46), + ("lon", 47), + ("hex_color", 48), + ("zoom", 49), + ("style", 50), + ("height", 51), + ] + ], + {"label": "Ĺ pendlĂk na mapÄ›"}, + ), + 53: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": True}, + ), + 54: ( + "wagtail.blocks.TextBlock", + (), + { + "help_text": "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", + "label": "Geodata", + "required": True, + }, + ), + 55: ( + "wagtail.blocks.URLBlock", + (), + {"label": "Odkaz", "required": False}, + ), + 56: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva (HEX)", + }, + ), + 57: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 53), + ("description", 37), + ("geojson", 54), + ("image", 39), + ("link", 55), + ("hex_color", 56), + ] + ], + {"required": True}, + ), + 58: ("wagtail.blocks.ListBlock", (57,), {"label": "Součásti"}), + 59: ( + "wagtail.blocks.StructBlock", + [ + [ + ("features", 58), + ("zoom", 49), + ("style", 50), + ("height", 51), + ] + ], + {"label": "Mapová kolekce"}, + ), + 60: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ] + ], + {"label": "Obsah", "required": False}, + ), + 61: ( + "wagtail.blocks.PageChooserBlock", + (), + {"label": "Stránka", "required": False}, + ), + 62: ( + "wagtail.blocks.StructBlock", + [ + [ + ("img", 39), + ("headline", 40), + ("content", 60), + ("page", 61), + ("link", 55), + ] + ], + {}, + ), + 63: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "max_length": 128, "required": True}, + ), + 64: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black", "ÄŚerná"), + ("white", "BĂlá"), + ("pirati-yellow", "Ĺ˝lutá"), + ("grey-125", "SvÄ›tle šedá"), + ("blue-300", "Modrá"), + ("cyan-200", "Tyrkysová"), + ("green-400", "Zelená"), + ("violet-400", "VĂnová"), + ("red-600", "ÄŚervená"), + ], + "label": "Barva", + }, + ), + 65: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": True, + "help_text": "Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.", + "label": "Animovat na hover", + "required": False, + }, + ), + 66: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 63), + ("color", 64), + ("hoveractive", 65), + ("page", 61), + ("link", 55), + ("align", 11), + ] + ], + {}, + ), + 67: ("wagtail.blocks.ListBlock", (66,), {"label": "TlaÄŤĂtka"}), + 68: ("wagtail.blocks.StructBlock", [[("buttons", 67)]], {}), + 69: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 69), ("right_column_content", 70)]], + {}, + ), + 72: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 73: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 69), + ("middle_column_content", 72), + ("right_column_content", 70), + ] + ], + {}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ] + ], + {"label": "YouTube video"}, + ), + 75: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 76: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + "template": "styleguide2/includes/atoms/text/prose_richtext.html", + }, + ), + 77: ( + "wagtail.blocks.StreamBlock", + [[("text", 76), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 78: ( + "wagtail.blocks.StructBlock", + [[("name", 75), ("content", 77)]], + {}, + ), + 79: ("wagtail.blocks.CharBlock", (), {"label": "Citace"}), + 80: ("wagtail.blocks.CharBlock", (), {"label": "JmĂ©no autora"}), + 81: ( + "wagtail.blocks.StructBlock", + [[("quote", 79), ("autor_name", 80)]], + {}, + ), + 82: ( + "wagtail.documents.blocks.DocumentChooserBlock", + (), + {"label": "StáhnutelnĂ˝ soubor"}, + ), + 83: ("wagtail.blocks.StructBlock", [[("file", 82)]], {}), + }, + verbose_name="ÄŚlánek", + ), ), migrations.AlterField( - model_name='districtcenterpage', - name='content', - field=wagtail.fields.StreamField([('text', 0), ('advanced_text', 4), ('two_columns_text', 7), ('headline', 12), ('headline_with_picture', 15), ('picture_list', 19), ('flip_cards', 30), ('table', 31), ('popout_table', 32), ('gallery', 35), ('figure', 38), ('card', 62), ('two_columns', 71), ('three_columns', 73), ('youtube', 74), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68), ('popout_point', 77), ('chart', 99), ('related', 102), ('related_links', 102), ('badge_list', 107), ('badge', 105), ('contact', 112)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {}), 46: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 48: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 49: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 50: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('osm-mapnik', 'OSM Mapnik'), ('stadia-osm-bright', 'Stadia OSM Bright'), ('stadia-outdoors', 'Stadia Outdoors'), ('mapbox-streets', 'Mapbox Streets'), ('mapbox-outdoors', 'Mapbox Outdoors'), ('mapbox-light', 'Mapbox Light'), ('mapbox-dark', 'Mapbox Dark'), ('mapbox-satellite', 'Mapbox Satellite'), ('mapbox-pirate', 'Mapbox Pirate Theme')], 'label': 'Styl'}), 51: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 52: ('wagtail.blocks.StructBlock', [[('lat', 46), ('lon', 47), ('hex_color', 48), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 53: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 54: ('wagtail.blocks.TextBlock', (), {'help_text': "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", 'label': 'Geodata', 'required': True}), 55: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 56: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 57: ('wagtail.blocks.StructBlock', [[('title', 53), ('description', 37), ('geojson', 54), ('image', 39), ('link', 55), ('hex_color', 56)]], {'required': True}), 58: ('wagtail.blocks.ListBlock', (57,), {'label': 'Součásti'}), 59: ('wagtail.blocks.StructBlock', [[('features', 58), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Mapová kolekce'}), 60: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59)]], {'label': 'Obsah', 'required': False}), 61: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 62: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 60), ('page', 61), ('link', 55)]], {}), 63: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 64: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black', 'ÄŚerná'), ('white', 'BĂlá'), ('pirati-yellow', 'Ĺ˝lutá'), ('grey-125', 'SvÄ›tle šedá'), ('blue-300', 'Modrá'), ('cyan-200', 'Tyrkysová'), ('green-400', 'Zelená'), ('violet-400', 'VĂnová'), ('red-600', 'ÄŚervená')], 'label': 'Barva'}), 65: ('wagtail.blocks.BooleanBlock', (), {'default': True, 'help_text': 'Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.', 'label': 'Animovat na hover', 'required': False}), 66: ('wagtail.blocks.StructBlock', [[('title', 63), ('color', 64), ('hoveractive', 65), ('page', 61), ('link', 55), ('align', 11)]], {}), 67: ('wagtail.blocks.ListBlock', (66,), {'label': 'TlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('buttons', 67)]], {}), 69: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('right_column_content', 70)]], {}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('middle_column_content', 72), ('right_column_content', 70)]], {}), 74: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {'label': 'YouTube video'}), 75: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 76: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 77: ('wagtail.blocks.StructBlock', [[('name', 75), ('content', 76)]], {}), 78: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'max_length': 120}), 79: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('bar', 'Graf se sloupci'), ('horizontalBar', 'Graf s vodorovnĂ˝mi sloupci'), ('pie', 'KoláčovĂ˝ graf'), ('doughnut', 'DonutovĂ˝ graf'), ('polarArea', 'Graf polárnĂ oblasti'), ('radar', 'RadarovĂ˝ graf'), ('line', 'Graf s liniemi')], 'label': 'Typ'}), 80: ('wagtail.blocks.BooleanBlock', (), {'help_text': 'MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.', 'label': 'Schovat body', 'required': False}), 81: ('wagtail.blocks.CharBlock', (), {'label': 'Skupina', 'max_length': 40}), 82: ('wagtail.blocks.ListBlock', (81,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnÄ› definovanĂ© skupiny', 'required': False}), 83: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ zdroje dat', 'max_length': 120}), 84: ('wagtail.blocks.IntegerBlock', (), {}), 85: ('wagtail.blocks.ListBlock', (84,), {'default': [0], 'label': 'Data'}), 86: ('wagtail.blocks.StructBlock', [[('label', 83), ('data', 85)]], {}), 87: ('wagtail.blocks.ListBlock', (86,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnĂ zdroje dat', 'required': False}), 88: ('wagtail.blocks.MultipleChoiceBlock', [], {'choices': shared.blocks.children.chart.get_redmine_projects, 'label': 'Projekty'}), 89: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen otevĹ™enĂ©', 'required': False}), 90: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen uzavĹ™enĂ©', 'required': False}), 91: ('wagtail.blocks.DateBlock', (), {'label': 'Min. datum vytvoĹ™enĂ', 'required': True}), 92: ('wagtail.blocks.DateBlock', (), {'label': 'Max. datum vytvoĹ™enĂ', 'required': True}), 93: ('wagtail.blocks.CharBlock', (), {'help_text': 'NapĹ™. <=2023-01-01. VĂce informacĂ na pi2.cz/redmine-api', 'label': 'Filtr pro datum aktualizace', 'max_length': 128, 'required': False}), 94: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu', 'max_length': 128, 'required': True}), 95: ('wagtail.blocks.BooleanBlock', (), {'label': 'RozdÄ›lit podle projektu', 'required': False}), 96: ('wagtail.blocks.BooleanBlock', (), {'label': 'Pouze rĹŻst nahoru', 'required': False}), 97: ('wagtail.blocks.StructBlock', [[('projects', 88), ('is_open', 89), ('is_closed', 90), ('created_on_min_date', 91), ('created_on_max_date', 92), ('updated_on', 93), ('issue_label', 94), ('split_per_project', 95), ('only_grow', 96)]], {'label': 'Redmine Ăşkoly'}), 98: ('wagtail.blocks.ListBlock', (97,), {'blank': True, 'default': [], 'help_text': 'Ăškoly, podle doby vytvoĹ™enĂ. Pokud definuješ vĂce zdrojĹŻ, datumy v nich musĂ bĂ˝t stejnĂ©.', 'label': 'Zdroje dat z Redmine (Ăşkoly)', 'required': False}), 99: ('wagtail.blocks.StructBlock', [[('title', 78), ('chart_type', 79), ('hide_points', 80), ('local_labels', 82), ('local_datasets', 87), ('redmine_issue_datasets', 98)]], {}), 100: ('wagtail.blocks.PageChooserBlock', ('district.DistrictArticlePage',), {'label': 'Aktualita', 'required': True}), 101: ('wagtail.blocks.ListBlock', (100,), {'label': 'Seznam aktualit', 'required': True}), 102: ('wagtail.blocks.StructBlock', [[('articles', 101)]], {}), 103: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Osoba', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage'], 'required': True}), 104: ('wagtail.blocks.CharBlock', (), {'help_text': 'VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.', 'label': 'Popisek', 'required': False}), 105: ('wagtail.blocks.StructBlock', [[('person', 103), ('caption', 104)]], {}), 106: ('wagtail.blocks.ListBlock', (105,), {'label': 'Vizitky'}), 107: ('wagtail.blocks.StructBlock', [[('people', 106)]], {}), 108: ('wagtail.blocks.CharBlock', (), {'label': 'Název pozice', 'required': False}), 109: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Osoba', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage']}), 110: ('wagtail.blocks.StructBlock', [[('position', 108), ('person', 109)]], {}), 111: ('wagtail.blocks.ListBlock', (110,), {}), 112: ('wagtail.blocks.StructBlock', [[('title', 53), ('contact_list', 111)]], {})}, verbose_name='Obsah'), + model_name="districtcenterpage", + name="content", + field=wagtail.fields.StreamField( + [ + ("text", 0), + ("advanced_text", 4), + ("two_columns_text", 7), + ("headline", 12), + ("headline_with_picture", 15), + ("picture_list", 19), + ("flip_cards", 30), + ("table", 31), + ("popout_table", 32), + ("gallery", 35), + ("figure", 38), + ("card", 62), + ("two_columns", 71), + ("three_columns", 73), + ("youtube", 74), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ("popout_point", 77), + ("chart", 99), + ("related", 102), + ("related_links", 102), + ("badge_list", 107), + ("badge", 105), + ("contact", 112), + ], + blank=True, + block_lookup={ + 0: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + "template": "styleguide2/includes/atoms/text/prose_richtext.html", + }, + ), + 1: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("left", "vlevo"), + ("center", "uprostĹ™ed"), + ("right", "vpravo"), + ], + "label": "zarovnánĂ", + }, + ), + 2: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black_on_white", "ÄŤerná na bĂlĂ©"), + ("black_on_yellow", "ÄŤerná na ĹľlutĂ©"), + ("white_on_black", "bĂlá na ÄŤernĂ©"), + ("white_on_blue", "bĂlá na modrĂ©"), + ("white_on_cyan", "bĂlá na tyrkysovĂ©"), + ("white_on_violet", "bĂlá na fialovĂ©"), + ], + "label": "barva", + }, + ), + 3: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + }, + ), + 4: ( + "wagtail.blocks.StructBlock", + [[("align", 1), ("color", 2), ("text", 3)]], + {}, + ), + 5: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "levĂ˝ sloupec", + }, + ), + 6: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "pravĂ˝ sloupec", + }, + ), + 7: ( + "wagtail.blocks.StructBlock", + [[("left_text", 5), ("right_text", 6)]], + {}, + ), + 8: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Nadpis", "max_length": 300, "required": True}, + ), + 9: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("h1", "H1"), + ("h2", "H2"), + ("h3", "H3"), + ("h4", "H4"), + ("h5", "H5"), + ("h6", "H6"), + ], + "help_text": "ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.", + "label": "ĂšroveĹ nadpisu", + }, + ), + 10: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("head-alt-xl", "VelkĂ˝, Bebas Neue - 6XL"), + ("head-alt-lg", "StĹ™ednĂ, Bebas Neue - 4XL"), + ("head-alt-md", "ZákladnĂ velikost - Roboto - MD"), + ("head-alt-sm", "MalĂ˝ - Roboto - SM"), + ("head-alt-xs", "Extra malĂ˝ - Roboto - XS"), + ], + "help_text": "Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.", + "label": "Velikost", + }, + ), + 11: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("auto", "Automaticky"), + ("center", "Na stĹ™ed"), + ], + "label": "ZarovnánĂ", + }, + ), + 12: ( + "wagtail.blocks.StructBlock", + [[("headline", 8), ("tag", 9), ("style", 10), ("align", 11)]], + {}, + ), + 13: ("wagtail.blocks.CharBlock", (), {"label": "nadpis"}), + 14: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)", + "label": "obrázek", + }, + ), + 15: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("title", 13), ("picture", 14)]], + {}, + ), + 16: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "Odstavec", + }, + ), + 17: ("wagtail.blocks.ListBlock", (16,), {"label": "Odstavce"}), + 18: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)", + "label": "Obrázek", + }, + ), + 19: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("items", 17), ("picture", 18)]], + {}, + ), + 20: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "FEC900", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva pozadĂ", + }, + ), + 21: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.", + "label": "Obrázek", + "required": False, + }, + ), + 22: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje obrázek. Nelze vybrat obÄ› najednou.", + "label": "PozadĂ", + "required": False, + }, + ), + 23: ( + "wagtail.blocks.TextBlock", + (), + {"help_text": "ĹádkovánĂ je manuálnĂ.", "label": "Nadpis"}, + ), + 24: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva textu", + }, + ), + 25: ("wagtail.blocks.RichTextBlock", (), {"label": "Obsah"}), + 26: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.", + "label": "Nadpis tlaÄŤĂtka", + "required": False, + }, + ), + 27: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Odkaz tlaÄŤĂtka", "required": False}, + ), + 28: ( + "wagtail.blocks.StructBlock", + [ + [ + ("bg_color", 20), + ("image", 21), + ("background", 22), + ("title", 23), + ("title_color", 24), + ("content", 25), + ("button_text", 26), + ("button_url", 27), + ] + ], + {"label": "Karta"}, + ), + 29: ("wagtail.blocks.ListBlock", (28,), {"label": "Karty"}), + 30: ("wagtail.blocks.StructBlock", [[("cards", 29)]], {}), + 31: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "Tabulka", + "template": "styleguide2/includes/atoms/table/table.html", + }, + ), + 32: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "RozbalovacĂ tabulka", + "template": "styleguide2/includes/atoms/table/popout_table.html", + }, + ), + 33: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "obrázek", "required": True}, + ), + 34: ( + "wagtail.blocks.ListBlock", + (33,), + {"group": "3. OstatnĂ", "icon": "image", "label": "Galerie"}, + ), + 35: ( + "wagtail.blocks.StructBlock", + [[("gallery_items", 34)]], + {"label": "Galerie"}, + ), + 36: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": True}, + ), + 37: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Popisek", "required": False}, + ), + 38: ( + "wagtail.blocks.StructBlock", + [[("img", 36), ("caption", 37)]], + {}, + ), + 39: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": False}, + ), + 40: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Titulek", "required": False}, + ), + 41: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.", + "label": "Náhled videa (automatickĂ© pole)", + "required": False, + }, + ), + 42: ( + "wagtail.blocks.URLBlock", + (), + { + "help_text": "Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.", + "label": "Odkaz na video", + "required": False, + }, + ), + 43: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.", + "label": "ID videa (automatickĂ© pole)", + "required": False, + }, + ), + 44: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "label": "ZabĂrá celou šĂĹ™ku?", + "required": True, + }, + ), + 45: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ] + ], + {}, + ), + 46: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 50.04075", "label": "ZemÄ›pisná šĂĹ™ka"}, + ), + 47: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 15.77659", "label": "ZemÄ›pisná dĂ©lka"}, + ), + 48: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva špendlĂku (HEX)", + }, + ), + 49: ( + "wagtail.blocks.IntegerBlock", + (), + { + "default": 15, + "label": "VĂ˝chozĂ zoom", + "max_value": 18, + "min_value": 1, + }, + ), + 50: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("osm-mapnik", "OSM Mapnik"), + ("stadia-osm-bright", "Stadia OSM Bright"), + ("stadia-outdoors", "Stadia Outdoors"), + ("mapbox-streets", "Mapbox Streets"), + ("mapbox-outdoors", "Mapbox Outdoors"), + ("mapbox-light", "Mapbox Light"), + ("mapbox-dark", "Mapbox Dark"), + ("mapbox-satellite", "Mapbox Satellite"), + ("mapbox-pirate", "Mapbox Pirate Theme"), + ], + "label": "Styl", + }, + ), + 51: ( + "wagtail.blocks.IntegerBlock", + (), + {"label": "Výška v px", "max_value": 1000, "min_value": 100}, + ), + 52: ( + "wagtail.blocks.StructBlock", + [ + [ + ("lat", 46), + ("lon", 47), + ("hex_color", 48), + ("zoom", 49), + ("style", 50), + ("height", 51), + ] + ], + {"label": "Ĺ pendlĂk na mapÄ›"}, + ), + 53: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": True}, + ), + 54: ( + "wagtail.blocks.TextBlock", + (), + { + "help_text": "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", + "label": "Geodata", + "required": True, + }, + ), + 55: ( + "wagtail.blocks.URLBlock", + (), + {"label": "Odkaz", "required": False}, + ), + 56: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva (HEX)", + }, + ), + 57: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 53), + ("description", 37), + ("geojson", 54), + ("image", 39), + ("link", 55), + ("hex_color", 56), + ] + ], + {"required": True}, + ), + 58: ("wagtail.blocks.ListBlock", (57,), {"label": "Součásti"}), + 59: ( + "wagtail.blocks.StructBlock", + [ + [ + ("features", 58), + ("zoom", 49), + ("style", 50), + ("height", 51), + ] + ], + {"label": "Mapová kolekce"}, + ), + 60: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ] + ], + {"label": "Obsah", "required": False}, + ), + 61: ( + "wagtail.blocks.PageChooserBlock", + (), + {"label": "Stránka", "required": False}, + ), + 62: ( + "wagtail.blocks.StructBlock", + [ + [ + ("img", 39), + ("headline", 40), + ("content", 60), + ("page", 61), + ("link", 55), + ] + ], + {}, + ), + 63: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "max_length": 128, "required": True}, + ), + 64: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black", "ÄŚerná"), + ("white", "BĂlá"), + ("pirati-yellow", "Ĺ˝lutá"), + ("grey-125", "SvÄ›tle šedá"), + ("blue-300", "Modrá"), + ("cyan-200", "Tyrkysová"), + ("green-400", "Zelená"), + ("violet-400", "VĂnová"), + ("red-600", "ÄŚervená"), + ], + "label": "Barva", + }, + ), + 65: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": True, + "help_text": "Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.", + "label": "Animovat na hover", + "required": False, + }, + ), + 66: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 63), + ("color", 64), + ("hoveractive", 65), + ("page", 61), + ("link", 55), + ("align", 11), + ] + ], + {}, + ), + 67: ("wagtail.blocks.ListBlock", (66,), {"label": "TlaÄŤĂtka"}), + 68: ("wagtail.blocks.StructBlock", [[("buttons", 67)]], {}), + 69: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 69), ("right_column_content", 70)]], + {}, + ), + 72: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 73: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 69), + ("middle_column_content", 72), + ("right_column_content", 70), + ] + ], + {}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ] + ], + {"label": "YouTube video"}, + ), + 75: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 76: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 77: ( + "wagtail.blocks.StructBlock", + [[("name", 75), ("content", 76)]], + {}, + ), + 78: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "max_length": 120}, + ), + 79: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("bar", "Graf se sloupci"), + ("horizontalBar", "Graf s vodorovnĂ˝mi sloupci"), + ("pie", "KoláčovĂ˝ graf"), + ("doughnut", "DonutovĂ˝ graf"), + ("polarArea", "Graf polárnĂ oblasti"), + ("radar", "RadarovĂ˝ graf"), + ("line", "Graf s liniemi"), + ], + "label": "Typ", + }, + ), + 80: ( + "wagtail.blocks.BooleanBlock", + (), + { + "help_text": "MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.", + "label": "Schovat body", + "required": False, + }, + ), + 81: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Skupina", "max_length": 40}, + ), + 82: ( + "wagtail.blocks.ListBlock", + (81,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnÄ› definovanĂ© skupiny", + "required": False, + }, + ), + 83: ( + "wagtail.blocks.CharBlock", + (), + {"label": "OznaÄŤenĂ zdroje dat", "max_length": 120}, + ), + 84: ("wagtail.blocks.IntegerBlock", (), {}), + 85: ( + "wagtail.blocks.ListBlock", + (84,), + {"default": [0], "label": "Data"}, + ), + 86: ( + "wagtail.blocks.StructBlock", + [[("label", 83), ("data", 85)]], + {}, + ), + 87: ( + "wagtail.blocks.ListBlock", + (86,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnĂ zdroje dat", + "required": False, + }, + ), + 88: ( + "wagtail.blocks.MultipleChoiceBlock", + [], + { + "choices": shared.blocks.children.chart.get_redmine_projects, + "label": "Projekty", + }, + ), + 89: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen otevĹ™enĂ©", "required": False}, + ), + 90: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen uzavĹ™enĂ©", "required": False}, + ), + 91: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Min. datum vytvoĹ™enĂ", "required": True}, + ), + 92: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Max. datum vytvoĹ™enĂ", "required": True}, + ), + 93: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NapĹ™. <=2023-01-01. VĂce informacĂ na pi2.cz/redmine-api", + "label": "Filtr pro datum aktualizace", + "max_length": 128, + "required": False, + }, + ), + 94: ( + "wagtail.blocks.CharBlock", + (), + { + "label": "OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu", + "max_length": 128, + "required": True, + }, + ), + 95: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "RozdÄ›lit podle projektu", "required": False}, + ), + 96: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Pouze rĹŻst nahoru", "required": False}, + ), + 97: ( + "wagtail.blocks.StructBlock", + [ + [ + ("projects", 88), + ("is_open", 89), + ("is_closed", 90), + ("created_on_min_date", 91), + ("created_on_max_date", 92), + ("updated_on", 93), + ("issue_label", 94), + ("split_per_project", 95), + ("only_grow", 96), + ] + ], + {"label": "Redmine Ăşkoly"}, + ), + 98: ( + "wagtail.blocks.ListBlock", + (97,), + { + "blank": True, + "default": [], + "help_text": "Ăškoly, podle doby vytvoĹ™enĂ. Pokud definuješ vĂce zdrojĹŻ, datumy v nich musĂ bĂ˝t stejnĂ©.", + "label": "Zdroje dat z Redmine (Ăşkoly)", + "required": False, + }, + ), + 99: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 78), + ("chart_type", 79), + ("hide_points", 80), + ("local_labels", 82), + ("local_datasets", 87), + ("redmine_issue_datasets", 98), + ] + ], + {}, + ), + 100: ( + "wagtail.blocks.PageChooserBlock", + ("district.DistrictArticlePage",), + {"label": "Aktualita", "required": True}, + ), + 101: ( + "wagtail.blocks.ListBlock", + (100,), + {"label": "Seznam aktualit", "required": True}, + ), + 102: ("wagtail.blocks.StructBlock", [[("articles", 101)]], {}), + 103: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Osoba", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + "required": True, + }, + ), + 104: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.", + "label": "Popisek", + "required": False, + }, + ), + 105: ( + "wagtail.blocks.StructBlock", + [[("person", 103), ("caption", 104)]], + {}, + ), + 106: ("wagtail.blocks.ListBlock", (105,), {"label": "Vizitky"}), + 107: ("wagtail.blocks.StructBlock", [[("people", 106)]], {}), + 108: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název pozice", "required": False}, + ), + 109: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Osoba", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + }, + ), + 110: ( + "wagtail.blocks.StructBlock", + [[("position", 108), ("person", 109)]], + {}, + ), + 111: ("wagtail.blocks.ListBlock", (110,), {}), + 112: ( + "wagtail.blocks.StructBlock", + [[("title", 53), ("contact_list", 111)]], + {}, + ), + }, + verbose_name="Obsah", + ), ), migrations.AlterField( - model_name='districtcrossroadpage', - name='content', - field=wagtail.fields.StreamField([('text', 0), ('advanced_text', 4), ('two_columns_text', 7), ('headline', 12), ('headline_with_picture', 15), ('picture_list', 19), ('flip_cards', 30), ('table', 31), ('popout_table', 32), ('gallery', 35), ('figure', 38), ('card', 62), ('two_columns', 71), ('three_columns', 73), ('youtube', 74), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68), ('popout_point', 77), ('chart', 99), ('related', 102), ('related_links', 102), ('badge', 105), ('new_people_group', 114)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {}), 46: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 48: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 49: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 50: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('osm-mapnik', 'OSM Mapnik'), ('stadia-osm-bright', 'Stadia OSM Bright'), ('stadia-outdoors', 'Stadia Outdoors'), ('mapbox-streets', 'Mapbox Streets'), ('mapbox-outdoors', 'Mapbox Outdoors'), ('mapbox-light', 'Mapbox Light'), ('mapbox-dark', 'Mapbox Dark'), ('mapbox-satellite', 'Mapbox Satellite'), ('mapbox-pirate', 'Mapbox Pirate Theme')], 'label': 'Styl'}), 51: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 52: ('wagtail.blocks.StructBlock', [[('lat', 46), ('lon', 47), ('hex_color', 48), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 53: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 54: ('wagtail.blocks.TextBlock', (), {'help_text': "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", 'label': 'Geodata', 'required': True}), 55: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 56: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 57: ('wagtail.blocks.StructBlock', [[('title', 53), ('description', 37), ('geojson', 54), ('image', 39), ('link', 55), ('hex_color', 56)]], {'required': True}), 58: ('wagtail.blocks.ListBlock', (57,), {'label': 'Součásti'}), 59: ('wagtail.blocks.StructBlock', [[('features', 58), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Mapová kolekce'}), 60: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59)]], {'label': 'Obsah', 'required': False}), 61: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 62: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 60), ('page', 61), ('link', 55)]], {}), 63: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 64: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black', 'ÄŚerná'), ('white', 'BĂlá'), ('pirati-yellow', 'Ĺ˝lutá'), ('grey-125', 'SvÄ›tle šedá'), ('blue-300', 'Modrá'), ('cyan-200', 'Tyrkysová'), ('green-400', 'Zelená'), ('violet-400', 'VĂnová'), ('red-600', 'ÄŚervená')], 'label': 'Barva'}), 65: ('wagtail.blocks.BooleanBlock', (), {'default': True, 'help_text': 'Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.', 'label': 'Animovat na hover', 'required': False}), 66: ('wagtail.blocks.StructBlock', [[('title', 63), ('color', 64), ('hoveractive', 65), ('page', 61), ('link', 55), ('align', 11)]], {}), 67: ('wagtail.blocks.ListBlock', (66,), {'label': 'TlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('buttons', 67)]], {}), 69: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('right_column_content', 70)]], {}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('middle_column_content', 72), ('right_column_content', 70)]], {}), 74: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {'label': 'YouTube video'}), 75: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 76: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 77: ('wagtail.blocks.StructBlock', [[('name', 75), ('content', 76)]], {}), 78: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'max_length': 120}), 79: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('bar', 'Graf se sloupci'), ('horizontalBar', 'Graf s vodorovnĂ˝mi sloupci'), ('pie', 'KoláčovĂ˝ graf'), ('doughnut', 'DonutovĂ˝ graf'), ('polarArea', 'Graf polárnĂ oblasti'), ('radar', 'RadarovĂ˝ graf'), ('line', 'Graf s liniemi')], 'label': 'Typ'}), 80: ('wagtail.blocks.BooleanBlock', (), {'help_text': 'MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.', 'label': 'Schovat body', 'required': False}), 81: ('wagtail.blocks.CharBlock', (), {'label': 'Skupina', 'max_length': 40}), 82: ('wagtail.blocks.ListBlock', (81,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnÄ› definovanĂ© skupiny', 'required': False}), 83: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ zdroje dat', 'max_length': 120}), 84: ('wagtail.blocks.IntegerBlock', (), {}), 85: ('wagtail.blocks.ListBlock', (84,), {'default': [0], 'label': 'Data'}), 86: ('wagtail.blocks.StructBlock', [[('label', 83), ('data', 85)]], {}), 87: ('wagtail.blocks.ListBlock', (86,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnĂ zdroje dat', 'required': False}), 88: ('wagtail.blocks.MultipleChoiceBlock', [], {'choices': shared.blocks.children.chart.get_redmine_projects, 'label': 'Projekty'}), 89: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen otevĹ™enĂ©', 'required': False}), 90: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen uzavĹ™enĂ©', 'required': False}), 91: ('wagtail.blocks.DateBlock', (), {'label': 'Min. datum vytvoĹ™enĂ', 'required': True}), 92: ('wagtail.blocks.DateBlock', (), {'label': 'Max. datum vytvoĹ™enĂ', 'required': True}), 93: ('wagtail.blocks.CharBlock', (), {'help_text': 'NapĹ™. <=2023-01-01. VĂce informacĂ na pi2.cz/redmine-api', 'label': 'Filtr pro datum aktualizace', 'max_length': 128, 'required': False}), 94: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu', 'max_length': 128, 'required': True}), 95: ('wagtail.blocks.BooleanBlock', (), {'label': 'RozdÄ›lit podle projektu', 'required': False}), 96: ('wagtail.blocks.BooleanBlock', (), {'label': 'Pouze rĹŻst nahoru', 'required': False}), 97: ('wagtail.blocks.StructBlock', [[('projects', 88), ('is_open', 89), ('is_closed', 90), ('created_on_min_date', 91), ('created_on_max_date', 92), ('updated_on', 93), ('issue_label', 94), ('split_per_project', 95), ('only_grow', 96)]], {'label': 'Redmine Ăşkoly'}), 98: ('wagtail.blocks.ListBlock', (97,), {'blank': True, 'default': [], 'help_text': 'Ăškoly, podle doby vytvoĹ™enĂ. Pokud definuješ vĂce zdrojĹŻ, datumy v nich musĂ bĂ˝t stejnĂ©.', 'label': 'Zdroje dat z Redmine (Ăşkoly)', 'required': False}), 99: ('wagtail.blocks.StructBlock', [[('title', 78), ('chart_type', 79), ('hide_points', 80), ('local_labels', 82), ('local_datasets', 87), ('redmine_issue_datasets', 98)]], {}), 100: ('wagtail.blocks.PageChooserBlock', ('district.DistrictArticlePage',), {'label': 'Aktualita', 'required': True}), 101: ('wagtail.blocks.ListBlock', (100,), {'label': 'Seznam aktualit', 'required': True}), 102: ('wagtail.blocks.StructBlock', [[('articles', 101)]], {}), 103: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Osoba', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage'], 'required': True}), 104: ('wagtail.blocks.CharBlock', (), {'help_text': 'VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.', 'label': 'Popisek', 'required': False}), 105: ('wagtail.blocks.StructBlock', [[('person', 103), ('caption', 104)]], {}), 106: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek'}), 107: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no', 'label': 'Slug skupiny', 'required': False}), 108: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage']}), 109: ('wagtail.blocks.ListBlock', (108,), {'default': [], 'help_text': 'S pozicemi z jejich podstránek', 'label': 'Osoby'}), 110: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage', 'district.DistrictPersonPage']}), 111: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.', 'label': 'Pozice', 'required': False}), 112: ('wagtail.blocks.StructBlock', [[('page', 110), ('position', 111)]], {}), 113: ('wagtail.blocks.ListBlock', (112,), {'default': [], 'help_text': 'S nastavitelnĂ˝mi pozicemi', 'label': 'Osoby'}), 114: ('wagtail.blocks.StructBlock', [[('title', 106), ('slug', 107), ('person_list', 109), ('person_list_with_custom_positions', 113)]], {})}, verbose_name='Obsah stránky'), + model_name="districtcrossroadpage", + name="content", + field=wagtail.fields.StreamField( + [ + ("text", 0), + ("advanced_text", 4), + ("two_columns_text", 7), + ("headline", 12), + ("headline_with_picture", 15), + ("picture_list", 19), + ("flip_cards", 30), + ("table", 31), + ("popout_table", 32), + ("gallery", 35), + ("figure", 38), + ("card", 62), + ("two_columns", 71), + ("three_columns", 73), + ("youtube", 74), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ("popout_point", 77), + ("chart", 99), + ("related", 102), + ("related_links", 102), + ("badge", 105), + ("new_people_group", 114), + ], + blank=True, + block_lookup={ + 0: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + "template": "styleguide2/includes/atoms/text/prose_richtext.html", + }, + ), + 1: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("left", "vlevo"), + ("center", "uprostĹ™ed"), + ("right", "vpravo"), + ], + "label": "zarovnánĂ", + }, + ), + 2: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black_on_white", "ÄŤerná na bĂlĂ©"), + ("black_on_yellow", "ÄŤerná na ĹľlutĂ©"), + ("white_on_black", "bĂlá na ÄŤernĂ©"), + ("white_on_blue", "bĂlá na modrĂ©"), + ("white_on_cyan", "bĂlá na tyrkysovĂ©"), + ("white_on_violet", "bĂlá na fialovĂ©"), + ], + "label": "barva", + }, + ), + 3: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + }, + ), + 4: ( + "wagtail.blocks.StructBlock", + [[("align", 1), ("color", 2), ("text", 3)]], + {}, + ), + 5: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "levĂ˝ sloupec", + }, + ), + 6: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "pravĂ˝ sloupec", + }, + ), + 7: ( + "wagtail.blocks.StructBlock", + [[("left_text", 5), ("right_text", 6)]], + {}, + ), + 8: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Nadpis", "max_length": 300, "required": True}, + ), + 9: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("h1", "H1"), + ("h2", "H2"), + ("h3", "H3"), + ("h4", "H4"), + ("h5", "H5"), + ("h6", "H6"), + ], + "help_text": "ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.", + "label": "ĂšroveĹ nadpisu", + }, + ), + 10: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("head-alt-xl", "VelkĂ˝, Bebas Neue - 6XL"), + ("head-alt-lg", "StĹ™ednĂ, Bebas Neue - 4XL"), + ("head-alt-md", "ZákladnĂ velikost - Roboto - MD"), + ("head-alt-sm", "MalĂ˝ - Roboto - SM"), + ("head-alt-xs", "Extra malĂ˝ - Roboto - XS"), + ], + "help_text": "Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.", + "label": "Velikost", + }, + ), + 11: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("auto", "Automaticky"), + ("center", "Na stĹ™ed"), + ], + "label": "ZarovnánĂ", + }, + ), + 12: ( + "wagtail.blocks.StructBlock", + [[("headline", 8), ("tag", 9), ("style", 10), ("align", 11)]], + {}, + ), + 13: ("wagtail.blocks.CharBlock", (), {"label": "nadpis"}), + 14: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)", + "label": "obrázek", + }, + ), + 15: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("title", 13), ("picture", 14)]], + {}, + ), + 16: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "Odstavec", + }, + ), + 17: ("wagtail.blocks.ListBlock", (16,), {"label": "Odstavce"}), + 18: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)", + "label": "Obrázek", + }, + ), + 19: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("items", 17), ("picture", 18)]], + {}, + ), + 20: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "FEC900", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva pozadĂ", + }, + ), + 21: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.", + "label": "Obrázek", + "required": False, + }, + ), + 22: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje obrázek. Nelze vybrat obÄ› najednou.", + "label": "PozadĂ", + "required": False, + }, + ), + 23: ( + "wagtail.blocks.TextBlock", + (), + {"help_text": "ĹádkovánĂ je manuálnĂ.", "label": "Nadpis"}, + ), + 24: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva textu", + }, + ), + 25: ("wagtail.blocks.RichTextBlock", (), {"label": "Obsah"}), + 26: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.", + "label": "Nadpis tlaÄŤĂtka", + "required": False, + }, + ), + 27: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Odkaz tlaÄŤĂtka", "required": False}, + ), + 28: ( + "wagtail.blocks.StructBlock", + [ + [ + ("bg_color", 20), + ("image", 21), + ("background", 22), + ("title", 23), + ("title_color", 24), + ("content", 25), + ("button_text", 26), + ("button_url", 27), + ] + ], + {"label": "Karta"}, + ), + 29: ("wagtail.blocks.ListBlock", (28,), {"label": "Karty"}), + 30: ("wagtail.blocks.StructBlock", [[("cards", 29)]], {}), + 31: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "Tabulka", + "template": "styleguide2/includes/atoms/table/table.html", + }, + ), + 32: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "RozbalovacĂ tabulka", + "template": "styleguide2/includes/atoms/table/popout_table.html", + }, + ), + 33: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "obrázek", "required": True}, + ), + 34: ( + "wagtail.blocks.ListBlock", + (33,), + {"group": "3. OstatnĂ", "icon": "image", "label": "Galerie"}, + ), + 35: ( + "wagtail.blocks.StructBlock", + [[("gallery_items", 34)]], + {"label": "Galerie"}, + ), + 36: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": True}, + ), + 37: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Popisek", "required": False}, + ), + 38: ( + "wagtail.blocks.StructBlock", + [[("img", 36), ("caption", 37)]], + {}, + ), + 39: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": False}, + ), + 40: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Titulek", "required": False}, + ), + 41: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.", + "label": "Náhled videa (automatickĂ© pole)", + "required": False, + }, + ), + 42: ( + "wagtail.blocks.URLBlock", + (), + { + "help_text": "Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.", + "label": "Odkaz na video", + "required": False, + }, + ), + 43: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.", + "label": "ID videa (automatickĂ© pole)", + "required": False, + }, + ), + 44: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "label": "ZabĂrá celou šĂĹ™ku?", + "required": True, + }, + ), + 45: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ] + ], + {}, + ), + 46: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 50.04075", "label": "ZemÄ›pisná šĂĹ™ka"}, + ), + 47: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 15.77659", "label": "ZemÄ›pisná dĂ©lka"}, + ), + 48: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva špendlĂku (HEX)", + }, + ), + 49: ( + "wagtail.blocks.IntegerBlock", + (), + { + "default": 15, + "label": "VĂ˝chozĂ zoom", + "max_value": 18, + "min_value": 1, + }, + ), + 50: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("osm-mapnik", "OSM Mapnik"), + ("stadia-osm-bright", "Stadia OSM Bright"), + ("stadia-outdoors", "Stadia Outdoors"), + ("mapbox-streets", "Mapbox Streets"), + ("mapbox-outdoors", "Mapbox Outdoors"), + ("mapbox-light", "Mapbox Light"), + ("mapbox-dark", "Mapbox Dark"), + ("mapbox-satellite", "Mapbox Satellite"), + ("mapbox-pirate", "Mapbox Pirate Theme"), + ], + "label": "Styl", + }, + ), + 51: ( + "wagtail.blocks.IntegerBlock", + (), + {"label": "Výška v px", "max_value": 1000, "min_value": 100}, + ), + 52: ( + "wagtail.blocks.StructBlock", + [ + [ + ("lat", 46), + ("lon", 47), + ("hex_color", 48), + ("zoom", 49), + ("style", 50), + ("height", 51), + ] + ], + {"label": "Ĺ pendlĂk na mapÄ›"}, + ), + 53: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": True}, + ), + 54: ( + "wagtail.blocks.TextBlock", + (), + { + "help_text": "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", + "label": "Geodata", + "required": True, + }, + ), + 55: ( + "wagtail.blocks.URLBlock", + (), + {"label": "Odkaz", "required": False}, + ), + 56: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva (HEX)", + }, + ), + 57: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 53), + ("description", 37), + ("geojson", 54), + ("image", 39), + ("link", 55), + ("hex_color", 56), + ] + ], + {"required": True}, + ), + 58: ("wagtail.blocks.ListBlock", (57,), {"label": "Součásti"}), + 59: ( + "wagtail.blocks.StructBlock", + [ + [ + ("features", 58), + ("zoom", 49), + ("style", 50), + ("height", 51), + ] + ], + {"label": "Mapová kolekce"}, + ), + 60: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ] + ], + {"label": "Obsah", "required": False}, + ), + 61: ( + "wagtail.blocks.PageChooserBlock", + (), + {"label": "Stránka", "required": False}, + ), + 62: ( + "wagtail.blocks.StructBlock", + [ + [ + ("img", 39), + ("headline", 40), + ("content", 60), + ("page", 61), + ("link", 55), + ] + ], + {}, + ), + 63: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "max_length": 128, "required": True}, + ), + 64: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black", "ÄŚerná"), + ("white", "BĂlá"), + ("pirati-yellow", "Ĺ˝lutá"), + ("grey-125", "SvÄ›tle šedá"), + ("blue-300", "Modrá"), + ("cyan-200", "Tyrkysová"), + ("green-400", "Zelená"), + ("violet-400", "VĂnová"), + ("red-600", "ÄŚervená"), + ], + "label": "Barva", + }, + ), + 65: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": True, + "help_text": "Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.", + "label": "Animovat na hover", + "required": False, + }, + ), + 66: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 63), + ("color", 64), + ("hoveractive", 65), + ("page", 61), + ("link", 55), + ("align", 11), + ] + ], + {}, + ), + 67: ("wagtail.blocks.ListBlock", (66,), {"label": "TlaÄŤĂtka"}), + 68: ("wagtail.blocks.StructBlock", [[("buttons", 67)]], {}), + 69: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 69), ("right_column_content", 70)]], + {}, + ), + 72: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 73: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 69), + ("middle_column_content", 72), + ("right_column_content", 70), + ] + ], + {}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ] + ], + {"label": "YouTube video"}, + ), + 75: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 76: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 77: ( + "wagtail.blocks.StructBlock", + [[("name", 75), ("content", 76)]], + {}, + ), + 78: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "max_length": 120}, + ), + 79: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("bar", "Graf se sloupci"), + ("horizontalBar", "Graf s vodorovnĂ˝mi sloupci"), + ("pie", "KoláčovĂ˝ graf"), + ("doughnut", "DonutovĂ˝ graf"), + ("polarArea", "Graf polárnĂ oblasti"), + ("radar", "RadarovĂ˝ graf"), + ("line", "Graf s liniemi"), + ], + "label": "Typ", + }, + ), + 80: ( + "wagtail.blocks.BooleanBlock", + (), + { + "help_text": "MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.", + "label": "Schovat body", + "required": False, + }, + ), + 81: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Skupina", "max_length": 40}, + ), + 82: ( + "wagtail.blocks.ListBlock", + (81,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnÄ› definovanĂ© skupiny", + "required": False, + }, + ), + 83: ( + "wagtail.blocks.CharBlock", + (), + {"label": "OznaÄŤenĂ zdroje dat", "max_length": 120}, + ), + 84: ("wagtail.blocks.IntegerBlock", (), {}), + 85: ( + "wagtail.blocks.ListBlock", + (84,), + {"default": [0], "label": "Data"}, + ), + 86: ( + "wagtail.blocks.StructBlock", + [[("label", 83), ("data", 85)]], + {}, + ), + 87: ( + "wagtail.blocks.ListBlock", + (86,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnĂ zdroje dat", + "required": False, + }, + ), + 88: ( + "wagtail.blocks.MultipleChoiceBlock", + [], + { + "choices": shared.blocks.children.chart.get_redmine_projects, + "label": "Projekty", + }, + ), + 89: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen otevĹ™enĂ©", "required": False}, + ), + 90: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen uzavĹ™enĂ©", "required": False}, + ), + 91: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Min. datum vytvoĹ™enĂ", "required": True}, + ), + 92: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Max. datum vytvoĹ™enĂ", "required": True}, + ), + 93: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NapĹ™. <=2023-01-01. VĂce informacĂ na pi2.cz/redmine-api", + "label": "Filtr pro datum aktualizace", + "max_length": 128, + "required": False, + }, + ), + 94: ( + "wagtail.blocks.CharBlock", + (), + { + "label": "OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu", + "max_length": 128, + "required": True, + }, + ), + 95: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "RozdÄ›lit podle projektu", "required": False}, + ), + 96: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Pouze rĹŻst nahoru", "required": False}, + ), + 97: ( + "wagtail.blocks.StructBlock", + [ + [ + ("projects", 88), + ("is_open", 89), + ("is_closed", 90), + ("created_on_min_date", 91), + ("created_on_max_date", 92), + ("updated_on", 93), + ("issue_label", 94), + ("split_per_project", 95), + ("only_grow", 96), + ] + ], + {"label": "Redmine Ăşkoly"}, + ), + 98: ( + "wagtail.blocks.ListBlock", + (97,), + { + "blank": True, + "default": [], + "help_text": "Ăškoly, podle doby vytvoĹ™enĂ. Pokud definuješ vĂce zdrojĹŻ, datumy v nich musĂ bĂ˝t stejnĂ©.", + "label": "Zdroje dat z Redmine (Ăşkoly)", + "required": False, + }, + ), + 99: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 78), + ("chart_type", 79), + ("hide_points", 80), + ("local_labels", 82), + ("local_datasets", 87), + ("redmine_issue_datasets", 98), + ] + ], + {}, + ), + 100: ( + "wagtail.blocks.PageChooserBlock", + ("district.DistrictArticlePage",), + {"label": "Aktualita", "required": True}, + ), + 101: ( + "wagtail.blocks.ListBlock", + (100,), + {"label": "Seznam aktualit", "required": True}, + ), + 102: ("wagtail.blocks.StructBlock", [[("articles", 101)]], {}), + 103: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Osoba", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + "required": True, + }, + ), + 104: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.", + "label": "Popisek", + "required": False, + }, + ), + 105: ( + "wagtail.blocks.StructBlock", + [[("person", 103), ("caption", 104)]], + {}, + ), + 106: ("wagtail.blocks.CharBlock", (), {"label": "Titulek"}), + 107: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no", + "label": "Slug skupiny", + "required": False, + }, + ), + 108: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + }, + ), + 109: ( + "wagtail.blocks.ListBlock", + (108,), + { + "default": [], + "help_text": "S pozicemi z jejich podstránek", + "label": "Osoby", + }, + ), + 110: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + "district.DistrictPersonPage", + ], + }, + ), + 111: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.", + "label": "Pozice", + "required": False, + }, + ), + 112: ( + "wagtail.blocks.StructBlock", + [[("page", 110), ("position", 111)]], + {}, + ), + 113: ( + "wagtail.blocks.ListBlock", + (112,), + { + "default": [], + "help_text": "S nastavitelnĂ˝mi pozicemi", + "label": "Osoby", + }, + ), + 114: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 106), + ("slug", 107), + ("person_list", 109), + ("person_list_with_custom_positions", 113), + ] + ], + {}, + ), + }, + verbose_name="Obsah stránky", + ), ), migrations.AlterField( - model_name='districtcustompage', - name='content', - field=wagtail.fields.StreamField([('text', 0), ('advanced_text', 4), ('two_columns_text', 7), ('headline', 12), ('headline_with_picture', 15), ('picture_list', 19), ('flip_cards', 30), ('table', 31), ('popout_table', 32), ('gallery', 35), ('figure', 38), ('card', 62), ('two_columns', 71), ('three_columns', 73), ('youtube', 74), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68), ('popout_point', 77), ('chart', 99), ('related', 102), ('related_links', 102), ('badge', 105), ('new_people_group', 114), ('newsletter', 119)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {}), 46: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 48: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 49: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 50: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('osm-mapnik', 'OSM Mapnik'), ('stadia-osm-bright', 'Stadia OSM Bright'), ('stadia-outdoors', 'Stadia Outdoors'), ('mapbox-streets', 'Mapbox Streets'), ('mapbox-outdoors', 'Mapbox Outdoors'), ('mapbox-light', 'Mapbox Light'), ('mapbox-dark', 'Mapbox Dark'), ('mapbox-satellite', 'Mapbox Satellite'), ('mapbox-pirate', 'Mapbox Pirate Theme')], 'label': 'Styl'}), 51: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 52: ('wagtail.blocks.StructBlock', [[('lat', 46), ('lon', 47), ('hex_color', 48), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 53: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 54: ('wagtail.blocks.TextBlock', (), {'help_text': "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", 'label': 'Geodata', 'required': True}), 55: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 56: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 57: ('wagtail.blocks.StructBlock', [[('title', 53), ('description', 37), ('geojson', 54), ('image', 39), ('link', 55), ('hex_color', 56)]], {'required': True}), 58: ('wagtail.blocks.ListBlock', (57,), {'label': 'Součásti'}), 59: ('wagtail.blocks.StructBlock', [[('features', 58), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Mapová kolekce'}), 60: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59)]], {'label': 'Obsah', 'required': False}), 61: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 62: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 60), ('page', 61), ('link', 55)]], {}), 63: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 64: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black', 'ÄŚerná'), ('white', 'BĂlá'), ('pirati-yellow', 'Ĺ˝lutá'), ('grey-125', 'SvÄ›tle šedá'), ('blue-300', 'Modrá'), ('cyan-200', 'Tyrkysová'), ('green-400', 'Zelená'), ('violet-400', 'VĂnová'), ('red-600', 'ÄŚervená')], 'label': 'Barva'}), 65: ('wagtail.blocks.BooleanBlock', (), {'default': True, 'help_text': 'Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.', 'label': 'Animovat na hover', 'required': False}), 66: ('wagtail.blocks.StructBlock', [[('title', 63), ('color', 64), ('hoveractive', 65), ('page', 61), ('link', 55), ('align', 11)]], {}), 67: ('wagtail.blocks.ListBlock', (66,), {'label': 'TlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('buttons', 67)]], {}), 69: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('right_column_content', 70)]], {}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('middle_column_content', 72), ('right_column_content', 70)]], {}), 74: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {'label': 'YouTube video'}), 75: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 76: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 77: ('wagtail.blocks.StructBlock', [[('name', 75), ('content', 76)]], {}), 78: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'max_length': 120}), 79: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('bar', 'Graf se sloupci'), ('horizontalBar', 'Graf s vodorovnĂ˝mi sloupci'), ('pie', 'KoláčovĂ˝ graf'), ('doughnut', 'DonutovĂ˝ graf'), ('polarArea', 'Graf polárnĂ oblasti'), ('radar', 'RadarovĂ˝ graf'), ('line', 'Graf s liniemi')], 'label': 'Typ'}), 80: ('wagtail.blocks.BooleanBlock', (), {'help_text': 'MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.', 'label': 'Schovat body', 'required': False}), 81: ('wagtail.blocks.CharBlock', (), {'label': 'Skupina', 'max_length': 40}), 82: ('wagtail.blocks.ListBlock', (81,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnÄ› definovanĂ© skupiny', 'required': False}), 83: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ zdroje dat', 'max_length': 120}), 84: ('wagtail.blocks.IntegerBlock', (), {}), 85: ('wagtail.blocks.ListBlock', (84,), {'default': [0], 'label': 'Data'}), 86: ('wagtail.blocks.StructBlock', [[('label', 83), ('data', 85)]], {}), 87: ('wagtail.blocks.ListBlock', (86,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnĂ zdroje dat', 'required': False}), 88: ('wagtail.blocks.MultipleChoiceBlock', [], {'choices': shared.blocks.children.chart.get_redmine_projects, 'label': 'Projekty'}), 89: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen otevĹ™enĂ©', 'required': False}), 90: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen uzavĹ™enĂ©', 'required': False}), 91: ('wagtail.blocks.DateBlock', (), {'label': 'Min. datum vytvoĹ™enĂ', 'required': True}), 92: ('wagtail.blocks.DateBlock', (), {'label': 'Max. datum vytvoĹ™enĂ', 'required': True}), 93: ('wagtail.blocks.CharBlock', (), {'help_text': 'NapĹ™. <=2023-01-01. VĂce informacĂ na pi2.cz/redmine-api', 'label': 'Filtr pro datum aktualizace', 'max_length': 128, 'required': False}), 94: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu', 'max_length': 128, 'required': True}), 95: ('wagtail.blocks.BooleanBlock', (), {'label': 'RozdÄ›lit podle projektu', 'required': False}), 96: ('wagtail.blocks.BooleanBlock', (), {'label': 'Pouze rĹŻst nahoru', 'required': False}), 97: ('wagtail.blocks.StructBlock', [[('projects', 88), ('is_open', 89), ('is_closed', 90), ('created_on_min_date', 91), ('created_on_max_date', 92), ('updated_on', 93), ('issue_label', 94), ('split_per_project', 95), ('only_grow', 96)]], {'label': 'Redmine Ăşkoly'}), 98: ('wagtail.blocks.ListBlock', (97,), {'blank': True, 'default': [], 'help_text': 'Ăškoly, podle doby vytvoĹ™enĂ. Pokud definuješ vĂce zdrojĹŻ, datumy v nich musĂ bĂ˝t stejnĂ©.', 'label': 'Zdroje dat z Redmine (Ăşkoly)', 'required': False}), 99: ('wagtail.blocks.StructBlock', [[('title', 78), ('chart_type', 79), ('hide_points', 80), ('local_labels', 82), ('local_datasets', 87), ('redmine_issue_datasets', 98)]], {}), 100: ('wagtail.blocks.PageChooserBlock', ('district.DistrictArticlePage',), {'label': 'Aktualita', 'required': True}), 101: ('wagtail.blocks.ListBlock', (100,), {'label': 'Seznam aktualit', 'required': True}), 102: ('wagtail.blocks.StructBlock', [[('articles', 101)]], {}), 103: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Osoba', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage'], 'required': True}), 104: ('wagtail.blocks.CharBlock', (), {'help_text': 'VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.', 'label': 'Popisek', 'required': False}), 105: ('wagtail.blocks.StructBlock', [[('person', 103), ('caption', 104)]], {}), 106: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek'}), 107: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no', 'label': 'Slug skupiny', 'required': False}), 108: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage']}), 109: ('wagtail.blocks.ListBlock', (108,), {'default': [], 'help_text': 'S pozicemi z jejich podstránek', 'label': 'Osoby'}), 110: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage', 'district.DistrictPersonPage']}), 111: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.', 'label': 'Pozice', 'required': False}), 112: ('wagtail.blocks.StructBlock', [[('page', 110), ('position', 111)]], {}), 113: ('wagtail.blocks.ListBlock', (112,), {'default': [], 'help_text': 'S nastavitelnĂ˝mi pozicemi', 'label': 'Osoby'}), 114: ('wagtail.blocks.StructBlock', [[('title', 106), ('slug', 107), ('person_list', 109), ('person_list_with_custom_positions', 113)]], {}), 115: ('wagtail.blocks.CharBlock', (), {'label': 'ID newsletteru', 'required': True}), 116: ('wagtail.blocks.CharBlock', (), {'default': 'OdebĂrej náš', 'label': 'Nadpis bloku (1. řádek)', 'required': True}), 117: ('wagtail.blocks.CharBlock', (), {'default': 'newsletter', 'label': 'Nadpis bloku (2. řádek)', 'required': True}), 118: ('wagtail.blocks.CharBlock', (), {'default': 'Fake news tam nenajdeš, ale dozvĂš se, co chystáme doopravdy!', 'label': 'Popis newsletteru', 'required': True}), 119: ('wagtail.blocks.StructBlock', [[('list_id', 115), ('title_line_1', 116), ('title_line_2', 117), ('description', 118)]], {})}, verbose_name='Obsah'), + model_name="districtcustompage", + name="content", + field=wagtail.fields.StreamField( + [ + ("text", 0), + ("advanced_text", 4), + ("two_columns_text", 7), + ("headline", 12), + ("headline_with_picture", 15), + ("picture_list", 19), + ("flip_cards", 30), + ("table", 31), + ("popout_table", 32), + ("gallery", 35), + ("figure", 38), + ("card", 62), + ("two_columns", 71), + ("three_columns", 73), + ("youtube", 74), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ("popout_point", 77), + ("chart", 99), + ("related", 102), + ("related_links", 102), + ("badge", 105), + ("new_people_group", 114), + ("newsletter", 119), + ], + blank=True, + block_lookup={ + 0: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + "template": "styleguide2/includes/atoms/text/prose_richtext.html", + }, + ), + 1: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("left", "vlevo"), + ("center", "uprostĹ™ed"), + ("right", "vpravo"), + ], + "label": "zarovnánĂ", + }, + ), + 2: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black_on_white", "ÄŤerná na bĂlĂ©"), + ("black_on_yellow", "ÄŤerná na ĹľlutĂ©"), + ("white_on_black", "bĂlá na ÄŤernĂ©"), + ("white_on_blue", "bĂlá na modrĂ©"), + ("white_on_cyan", "bĂlá na tyrkysovĂ©"), + ("white_on_violet", "bĂlá na fialovĂ©"), + ], + "label": "barva", + }, + ), + 3: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + }, + ), + 4: ( + "wagtail.blocks.StructBlock", + [[("align", 1), ("color", 2), ("text", 3)]], + {}, + ), + 5: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "levĂ˝ sloupec", + }, + ), + 6: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "pravĂ˝ sloupec", + }, + ), + 7: ( + "wagtail.blocks.StructBlock", + [[("left_text", 5), ("right_text", 6)]], + {}, + ), + 8: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Nadpis", "max_length": 300, "required": True}, + ), + 9: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("h1", "H1"), + ("h2", "H2"), + ("h3", "H3"), + ("h4", "H4"), + ("h5", "H5"), + ("h6", "H6"), + ], + "help_text": "ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.", + "label": "ĂšroveĹ nadpisu", + }, + ), + 10: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("head-alt-xl", "VelkĂ˝, Bebas Neue - 6XL"), + ("head-alt-lg", "StĹ™ednĂ, Bebas Neue - 4XL"), + ("head-alt-md", "ZákladnĂ velikost - Roboto - MD"), + ("head-alt-sm", "MalĂ˝ - Roboto - SM"), + ("head-alt-xs", "Extra malĂ˝ - Roboto - XS"), + ], + "help_text": "Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.", + "label": "Velikost", + }, + ), + 11: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("auto", "Automaticky"), + ("center", "Na stĹ™ed"), + ], + "label": "ZarovnánĂ", + }, + ), + 12: ( + "wagtail.blocks.StructBlock", + [[("headline", 8), ("tag", 9), ("style", 10), ("align", 11)]], + {}, + ), + 13: ("wagtail.blocks.CharBlock", (), {"label": "nadpis"}), + 14: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)", + "label": "obrázek", + }, + ), + 15: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("title", 13), ("picture", 14)]], + {}, + ), + 16: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "Odstavec", + }, + ), + 17: ("wagtail.blocks.ListBlock", (16,), {"label": "Odstavce"}), + 18: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)", + "label": "Obrázek", + }, + ), + 19: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("items", 17), ("picture", 18)]], + {}, + ), + 20: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "FEC900", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva pozadĂ", + }, + ), + 21: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.", + "label": "Obrázek", + "required": False, + }, + ), + 22: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje obrázek. Nelze vybrat obÄ› najednou.", + "label": "PozadĂ", + "required": False, + }, + ), + 23: ( + "wagtail.blocks.TextBlock", + (), + {"help_text": "ĹádkovánĂ je manuálnĂ.", "label": "Nadpis"}, + ), + 24: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva textu", + }, + ), + 25: ("wagtail.blocks.RichTextBlock", (), {"label": "Obsah"}), + 26: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.", + "label": "Nadpis tlaÄŤĂtka", + "required": False, + }, + ), + 27: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Odkaz tlaÄŤĂtka", "required": False}, + ), + 28: ( + "wagtail.blocks.StructBlock", + [ + [ + ("bg_color", 20), + ("image", 21), + ("background", 22), + ("title", 23), + ("title_color", 24), + ("content", 25), + ("button_text", 26), + ("button_url", 27), + ] + ], + {"label": "Karta"}, + ), + 29: ("wagtail.blocks.ListBlock", (28,), {"label": "Karty"}), + 30: ("wagtail.blocks.StructBlock", [[("cards", 29)]], {}), + 31: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "Tabulka", + "template": "styleguide2/includes/atoms/table/table.html", + }, + ), + 32: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "RozbalovacĂ tabulka", + "template": "styleguide2/includes/atoms/table/popout_table.html", + }, + ), + 33: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "obrázek", "required": True}, + ), + 34: ( + "wagtail.blocks.ListBlock", + (33,), + {"group": "3. OstatnĂ", "icon": "image", "label": "Galerie"}, + ), + 35: ( + "wagtail.blocks.StructBlock", + [[("gallery_items", 34)]], + {"label": "Galerie"}, + ), + 36: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": True}, + ), + 37: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Popisek", "required": False}, + ), + 38: ( + "wagtail.blocks.StructBlock", + [[("img", 36), ("caption", 37)]], + {}, + ), + 39: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": False}, + ), + 40: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Titulek", "required": False}, + ), + 41: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.", + "label": "Náhled videa (automatickĂ© pole)", + "required": False, + }, + ), + 42: ( + "wagtail.blocks.URLBlock", + (), + { + "help_text": "Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.", + "label": "Odkaz na video", + "required": False, + }, + ), + 43: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.", + "label": "ID videa (automatickĂ© pole)", + "required": False, + }, + ), + 44: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "label": "ZabĂrá celou šĂĹ™ku?", + "required": True, + }, + ), + 45: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ] + ], + {}, + ), + 46: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 50.04075", "label": "ZemÄ›pisná šĂĹ™ka"}, + ), + 47: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 15.77659", "label": "ZemÄ›pisná dĂ©lka"}, + ), + 48: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva špendlĂku (HEX)", + }, + ), + 49: ( + "wagtail.blocks.IntegerBlock", + (), + { + "default": 15, + "label": "VĂ˝chozĂ zoom", + "max_value": 18, + "min_value": 1, + }, + ), + 50: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("osm-mapnik", "OSM Mapnik"), + ("stadia-osm-bright", "Stadia OSM Bright"), + ("stadia-outdoors", "Stadia Outdoors"), + ("mapbox-streets", "Mapbox Streets"), + ("mapbox-outdoors", "Mapbox Outdoors"), + ("mapbox-light", "Mapbox Light"), + ("mapbox-dark", "Mapbox Dark"), + ("mapbox-satellite", "Mapbox Satellite"), + ("mapbox-pirate", "Mapbox Pirate Theme"), + ], + "label": "Styl", + }, + ), + 51: ( + "wagtail.blocks.IntegerBlock", + (), + {"label": "Výška v px", "max_value": 1000, "min_value": 100}, + ), + 52: ( + "wagtail.blocks.StructBlock", + [ + [ + ("lat", 46), + ("lon", 47), + ("hex_color", 48), + ("zoom", 49), + ("style", 50), + ("height", 51), + ] + ], + {"label": "Ĺ pendlĂk na mapÄ›"}, + ), + 53: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": True}, + ), + 54: ( + "wagtail.blocks.TextBlock", + (), + { + "help_text": "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", + "label": "Geodata", + "required": True, + }, + ), + 55: ( + "wagtail.blocks.URLBlock", + (), + {"label": "Odkaz", "required": False}, + ), + 56: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva (HEX)", + }, + ), + 57: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 53), + ("description", 37), + ("geojson", 54), + ("image", 39), + ("link", 55), + ("hex_color", 56), + ] + ], + {"required": True}, + ), + 58: ("wagtail.blocks.ListBlock", (57,), {"label": "Součásti"}), + 59: ( + "wagtail.blocks.StructBlock", + [ + [ + ("features", 58), + ("zoom", 49), + ("style", 50), + ("height", 51), + ] + ], + {"label": "Mapová kolekce"}, + ), + 60: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ] + ], + {"label": "Obsah", "required": False}, + ), + 61: ( + "wagtail.blocks.PageChooserBlock", + (), + {"label": "Stránka", "required": False}, + ), + 62: ( + "wagtail.blocks.StructBlock", + [ + [ + ("img", 39), + ("headline", 40), + ("content", 60), + ("page", 61), + ("link", 55), + ] + ], + {}, + ), + 63: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "max_length": 128, "required": True}, + ), + 64: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black", "ÄŚerná"), + ("white", "BĂlá"), + ("pirati-yellow", "Ĺ˝lutá"), + ("grey-125", "SvÄ›tle šedá"), + ("blue-300", "Modrá"), + ("cyan-200", "Tyrkysová"), + ("green-400", "Zelená"), + ("violet-400", "VĂnová"), + ("red-600", "ÄŚervená"), + ], + "label": "Barva", + }, + ), + 65: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": True, + "help_text": "Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.", + "label": "Animovat na hover", + "required": False, + }, + ), + 66: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 63), + ("color", 64), + ("hoveractive", 65), + ("page", 61), + ("link", 55), + ("align", 11), + ] + ], + {}, + ), + 67: ("wagtail.blocks.ListBlock", (66,), {"label": "TlaÄŤĂtka"}), + 68: ("wagtail.blocks.StructBlock", [[("buttons", 67)]], {}), + 69: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 69), ("right_column_content", 70)]], + {}, + ), + 72: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 73: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 69), + ("middle_column_content", 72), + ("right_column_content", 70), + ] + ], + {}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ] + ], + {"label": "YouTube video"}, + ), + 75: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 76: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 77: ( + "wagtail.blocks.StructBlock", + [[("name", 75), ("content", 76)]], + {}, + ), + 78: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "max_length": 120}, + ), + 79: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("bar", "Graf se sloupci"), + ("horizontalBar", "Graf s vodorovnĂ˝mi sloupci"), + ("pie", "KoláčovĂ˝ graf"), + ("doughnut", "DonutovĂ˝ graf"), + ("polarArea", "Graf polárnĂ oblasti"), + ("radar", "RadarovĂ˝ graf"), + ("line", "Graf s liniemi"), + ], + "label": "Typ", + }, + ), + 80: ( + "wagtail.blocks.BooleanBlock", + (), + { + "help_text": "MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.", + "label": "Schovat body", + "required": False, + }, + ), + 81: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Skupina", "max_length": 40}, + ), + 82: ( + "wagtail.blocks.ListBlock", + (81,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnÄ› definovanĂ© skupiny", + "required": False, + }, + ), + 83: ( + "wagtail.blocks.CharBlock", + (), + {"label": "OznaÄŤenĂ zdroje dat", "max_length": 120}, + ), + 84: ("wagtail.blocks.IntegerBlock", (), {}), + 85: ( + "wagtail.blocks.ListBlock", + (84,), + {"default": [0], "label": "Data"}, + ), + 86: ( + "wagtail.blocks.StructBlock", + [[("label", 83), ("data", 85)]], + {}, + ), + 87: ( + "wagtail.blocks.ListBlock", + (86,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnĂ zdroje dat", + "required": False, + }, + ), + 88: ( + "wagtail.blocks.MultipleChoiceBlock", + [], + { + "choices": shared.blocks.children.chart.get_redmine_projects, + "label": "Projekty", + }, + ), + 89: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen otevĹ™enĂ©", "required": False}, + ), + 90: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen uzavĹ™enĂ©", "required": False}, + ), + 91: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Min. datum vytvoĹ™enĂ", "required": True}, + ), + 92: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Max. datum vytvoĹ™enĂ", "required": True}, + ), + 93: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NapĹ™. <=2023-01-01. VĂce informacĂ na pi2.cz/redmine-api", + "label": "Filtr pro datum aktualizace", + "max_length": 128, + "required": False, + }, + ), + 94: ( + "wagtail.blocks.CharBlock", + (), + { + "label": "OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu", + "max_length": 128, + "required": True, + }, + ), + 95: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "RozdÄ›lit podle projektu", "required": False}, + ), + 96: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Pouze rĹŻst nahoru", "required": False}, + ), + 97: ( + "wagtail.blocks.StructBlock", + [ + [ + ("projects", 88), + ("is_open", 89), + ("is_closed", 90), + ("created_on_min_date", 91), + ("created_on_max_date", 92), + ("updated_on", 93), + ("issue_label", 94), + ("split_per_project", 95), + ("only_grow", 96), + ] + ], + {"label": "Redmine Ăşkoly"}, + ), + 98: ( + "wagtail.blocks.ListBlock", + (97,), + { + "blank": True, + "default": [], + "help_text": "Ăškoly, podle doby vytvoĹ™enĂ. Pokud definuješ vĂce zdrojĹŻ, datumy v nich musĂ bĂ˝t stejnĂ©.", + "label": "Zdroje dat z Redmine (Ăşkoly)", + "required": False, + }, + ), + 99: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 78), + ("chart_type", 79), + ("hide_points", 80), + ("local_labels", 82), + ("local_datasets", 87), + ("redmine_issue_datasets", 98), + ] + ], + {}, + ), + 100: ( + "wagtail.blocks.PageChooserBlock", + ("district.DistrictArticlePage",), + {"label": "Aktualita", "required": True}, + ), + 101: ( + "wagtail.blocks.ListBlock", + (100,), + {"label": "Seznam aktualit", "required": True}, + ), + 102: ("wagtail.blocks.StructBlock", [[("articles", 101)]], {}), + 103: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Osoba", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + "required": True, + }, + ), + 104: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.", + "label": "Popisek", + "required": False, + }, + ), + 105: ( + "wagtail.blocks.StructBlock", + [[("person", 103), ("caption", 104)]], + {}, + ), + 106: ("wagtail.blocks.CharBlock", (), {"label": "Titulek"}), + 107: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no", + "label": "Slug skupiny", + "required": False, + }, + ), + 108: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + }, + ), + 109: ( + "wagtail.blocks.ListBlock", + (108,), + { + "default": [], + "help_text": "S pozicemi z jejich podstránek", + "label": "Osoby", + }, + ), + 110: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + "district.DistrictPersonPage", + ], + }, + ), + 111: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.", + "label": "Pozice", + "required": False, + }, + ), + 112: ( + "wagtail.blocks.StructBlock", + [[("page", 110), ("position", 111)]], + {}, + ), + 113: ( + "wagtail.blocks.ListBlock", + (112,), + { + "default": [], + "help_text": "S nastavitelnĂ˝mi pozicemi", + "label": "Osoby", + }, + ), + 114: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 106), + ("slug", 107), + ("person_list", 109), + ("person_list_with_custom_positions", 113), + ] + ], + {}, + ), + 115: ( + "wagtail.blocks.CharBlock", + (), + {"label": "ID newsletteru", "required": True}, + ), + 116: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "OdebĂrej náš", + "label": "Nadpis bloku (1. řádek)", + "required": True, + }, + ), + 117: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "newsletter", + "label": "Nadpis bloku (2. řádek)", + "required": True, + }, + ), + 118: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "Fake news tam nenajdeš, ale dozvĂš se, co chystáme doopravdy!", + "label": "Popis newsletteru", + "required": True, + }, + ), + 119: ( + "wagtail.blocks.StructBlock", + [ + [ + ("list_id", 115), + ("title_line_1", 116), + ("title_line_2", 117), + ("description", 118), + ] + ], + {}, + ), + }, + verbose_name="Obsah", + ), ), migrations.AlterField( - model_name='districtgeofeaturecollectionpage', - name='content', - field=wagtail.fields.StreamField([('text', 0), ('advanced_text', 4), ('two_columns_text', 7), ('headline', 12), ('headline_with_picture', 15), ('picture_list', 19), ('flip_cards', 30), ('table', 31), ('popout_table', 32), ('gallery', 35), ('figure', 38), ('card', 62), ('two_columns', 71), ('three_columns', 73), ('youtube', 74), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68), ('popout_point', 77), ('chart', 99), ('related', 102), ('related_links', 102), ('badge', 105), ('new_people_group', 114)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {}), 46: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 48: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 49: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 50: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('osm-mapnik', 'OSM Mapnik'), ('stadia-osm-bright', 'Stadia OSM Bright'), ('stadia-outdoors', 'Stadia Outdoors'), ('mapbox-streets', 'Mapbox Streets'), ('mapbox-outdoors', 'Mapbox Outdoors'), ('mapbox-light', 'Mapbox Light'), ('mapbox-dark', 'Mapbox Dark'), ('mapbox-satellite', 'Mapbox Satellite'), ('mapbox-pirate', 'Mapbox Pirate Theme')], 'label': 'Styl'}), 51: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 52: ('wagtail.blocks.StructBlock', [[('lat', 46), ('lon', 47), ('hex_color', 48), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 53: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 54: ('wagtail.blocks.TextBlock', (), {'help_text': "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", 'label': 'Geodata', 'required': True}), 55: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 56: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 57: ('wagtail.blocks.StructBlock', [[('title', 53), ('description', 37), ('geojson', 54), ('image', 39), ('link', 55), ('hex_color', 56)]], {'required': True}), 58: ('wagtail.blocks.ListBlock', (57,), {'label': 'Součásti'}), 59: ('wagtail.blocks.StructBlock', [[('features', 58), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Mapová kolekce'}), 60: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59)]], {'label': 'Obsah', 'required': False}), 61: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 62: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 60), ('page', 61), ('link', 55)]], {}), 63: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 64: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black', 'ÄŚerná'), ('white', 'BĂlá'), ('pirati-yellow', 'Ĺ˝lutá'), ('grey-125', 'SvÄ›tle šedá'), ('blue-300', 'Modrá'), ('cyan-200', 'Tyrkysová'), ('green-400', 'Zelená'), ('violet-400', 'VĂnová'), ('red-600', 'ÄŚervená')], 'label': 'Barva'}), 65: ('wagtail.blocks.BooleanBlock', (), {'default': True, 'help_text': 'Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.', 'label': 'Animovat na hover', 'required': False}), 66: ('wagtail.blocks.StructBlock', [[('title', 63), ('color', 64), ('hoveractive', 65), ('page', 61), ('link', 55), ('align', 11)]], {}), 67: ('wagtail.blocks.ListBlock', (66,), {'label': 'TlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('buttons', 67)]], {}), 69: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('right_column_content', 70)]], {}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('middle_column_content', 72), ('right_column_content', 70)]], {}), 74: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {'label': 'YouTube video'}), 75: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 76: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 77: ('wagtail.blocks.StructBlock', [[('name', 75), ('content', 76)]], {}), 78: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'max_length': 120}), 79: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('bar', 'Graf se sloupci'), ('horizontalBar', 'Graf s vodorovnĂ˝mi sloupci'), ('pie', 'KoláčovĂ˝ graf'), ('doughnut', 'DonutovĂ˝ graf'), ('polarArea', 'Graf polárnĂ oblasti'), ('radar', 'RadarovĂ˝ graf'), ('line', 'Graf s liniemi')], 'label': 'Typ'}), 80: ('wagtail.blocks.BooleanBlock', (), {'help_text': 'MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.', 'label': 'Schovat body', 'required': False}), 81: ('wagtail.blocks.CharBlock', (), {'label': 'Skupina', 'max_length': 40}), 82: ('wagtail.blocks.ListBlock', (81,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnÄ› definovanĂ© skupiny', 'required': False}), 83: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ zdroje dat', 'max_length': 120}), 84: ('wagtail.blocks.IntegerBlock', (), {}), 85: ('wagtail.blocks.ListBlock', (84,), {'default': [0], 'label': 'Data'}), 86: ('wagtail.blocks.StructBlock', [[('label', 83), ('data', 85)]], {}), 87: ('wagtail.blocks.ListBlock', (86,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnĂ zdroje dat', 'required': False}), 88: ('wagtail.blocks.MultipleChoiceBlock', [], {'choices': shared.blocks.children.chart.get_redmine_projects, 'label': 'Projekty'}), 89: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen otevĹ™enĂ©', 'required': False}), 90: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen uzavĹ™enĂ©', 'required': False}), 91: ('wagtail.blocks.DateBlock', (), {'label': 'Min. datum vytvoĹ™enĂ', 'required': True}), 92: ('wagtail.blocks.DateBlock', (), {'label': 'Max. datum vytvoĹ™enĂ', 'required': True}), 93: ('wagtail.blocks.CharBlock', (), {'help_text': 'NapĹ™. <=2023-01-01. VĂce informacĂ na pi2.cz/redmine-api', 'label': 'Filtr pro datum aktualizace', 'max_length': 128, 'required': False}), 94: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu', 'max_length': 128, 'required': True}), 95: ('wagtail.blocks.BooleanBlock', (), {'label': 'RozdÄ›lit podle projektu', 'required': False}), 96: ('wagtail.blocks.BooleanBlock', (), {'label': 'Pouze rĹŻst nahoru', 'required': False}), 97: ('wagtail.blocks.StructBlock', [[('projects', 88), ('is_open', 89), ('is_closed', 90), ('created_on_min_date', 91), ('created_on_max_date', 92), ('updated_on', 93), ('issue_label', 94), ('split_per_project', 95), ('only_grow', 96)]], {'label': 'Redmine Ăşkoly'}), 98: ('wagtail.blocks.ListBlock', (97,), {'blank': True, 'default': [], 'help_text': 'Ăškoly, podle doby vytvoĹ™enĂ. Pokud definuješ vĂce zdrojĹŻ, datumy v nich musĂ bĂ˝t stejnĂ©.', 'label': 'Zdroje dat z Redmine (Ăşkoly)', 'required': False}), 99: ('wagtail.blocks.StructBlock', [[('title', 78), ('chart_type', 79), ('hide_points', 80), ('local_labels', 82), ('local_datasets', 87), ('redmine_issue_datasets', 98)]], {}), 100: ('wagtail.blocks.PageChooserBlock', ('district.DistrictArticlePage',), {'label': 'Aktualita', 'required': True}), 101: ('wagtail.blocks.ListBlock', (100,), {'label': 'Seznam aktualit', 'required': True}), 102: ('wagtail.blocks.StructBlock', [[('articles', 101)]], {}), 103: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Osoba', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage'], 'required': True}), 104: ('wagtail.blocks.CharBlock', (), {'help_text': 'VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.', 'label': 'Popisek', 'required': False}), 105: ('wagtail.blocks.StructBlock', [[('person', 103), ('caption', 104)]], {}), 106: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek'}), 107: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no', 'label': 'Slug skupiny', 'required': False}), 108: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage']}), 109: ('wagtail.blocks.ListBlock', (108,), {'default': [], 'help_text': 'S pozicemi z jejich podstránek', 'label': 'Osoby'}), 110: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage', 'district.DistrictPersonPage']}), 111: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.', 'label': 'Pozice', 'required': False}), 112: ('wagtail.blocks.StructBlock', [[('page', 110), ('position', 111)]], {}), 113: ('wagtail.blocks.ListBlock', (112,), {'default': [], 'help_text': 'S nastavitelnĂ˝mi pozicemi', 'label': 'Osoby'}), 114: ('wagtail.blocks.StructBlock', [[('title', 106), ('slug', 107), ('person_list', 109), ('person_list_with_custom_positions', 113)]], {})}, verbose_name='Obsah ĂşvodnĂ'), + model_name="districtgeofeaturecollectionpage", + name="content", + field=wagtail.fields.StreamField( + [ + ("text", 0), + ("advanced_text", 4), + ("two_columns_text", 7), + ("headline", 12), + ("headline_with_picture", 15), + ("picture_list", 19), + ("flip_cards", 30), + ("table", 31), + ("popout_table", 32), + ("gallery", 35), + ("figure", 38), + ("card", 62), + ("two_columns", 71), + ("three_columns", 73), + ("youtube", 74), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ("popout_point", 77), + ("chart", 99), + ("related", 102), + ("related_links", 102), + ("badge", 105), + ("new_people_group", 114), + ], + blank=True, + block_lookup={ + 0: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + "template": "styleguide2/includes/atoms/text/prose_richtext.html", + }, + ), + 1: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("left", "vlevo"), + ("center", "uprostĹ™ed"), + ("right", "vpravo"), + ], + "label": "zarovnánĂ", + }, + ), + 2: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black_on_white", "ÄŤerná na bĂlĂ©"), + ("black_on_yellow", "ÄŤerná na ĹľlutĂ©"), + ("white_on_black", "bĂlá na ÄŤernĂ©"), + ("white_on_blue", "bĂlá na modrĂ©"), + ("white_on_cyan", "bĂlá na tyrkysovĂ©"), + ("white_on_violet", "bĂlá na fialovĂ©"), + ], + "label": "barva", + }, + ), + 3: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + }, + ), + 4: ( + "wagtail.blocks.StructBlock", + [[("align", 1), ("color", 2), ("text", 3)]], + {}, + ), + 5: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "levĂ˝ sloupec", + }, + ), + 6: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "pravĂ˝ sloupec", + }, + ), + 7: ( + "wagtail.blocks.StructBlock", + [[("left_text", 5), ("right_text", 6)]], + {}, + ), + 8: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Nadpis", "max_length": 300, "required": True}, + ), + 9: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("h1", "H1"), + ("h2", "H2"), + ("h3", "H3"), + ("h4", "H4"), + ("h5", "H5"), + ("h6", "H6"), + ], + "help_text": "ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.", + "label": "ĂšroveĹ nadpisu", + }, + ), + 10: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("head-alt-xl", "VelkĂ˝, Bebas Neue - 6XL"), + ("head-alt-lg", "StĹ™ednĂ, Bebas Neue - 4XL"), + ("head-alt-md", "ZákladnĂ velikost - Roboto - MD"), + ("head-alt-sm", "MalĂ˝ - Roboto - SM"), + ("head-alt-xs", "Extra malĂ˝ - Roboto - XS"), + ], + "help_text": "Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.", + "label": "Velikost", + }, + ), + 11: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("auto", "Automaticky"), + ("center", "Na stĹ™ed"), + ], + "label": "ZarovnánĂ", + }, + ), + 12: ( + "wagtail.blocks.StructBlock", + [[("headline", 8), ("tag", 9), ("style", 10), ("align", 11)]], + {}, + ), + 13: ("wagtail.blocks.CharBlock", (), {"label": "nadpis"}), + 14: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)", + "label": "obrázek", + }, + ), + 15: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("title", 13), ("picture", 14)]], + {}, + ), + 16: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "Odstavec", + }, + ), + 17: ("wagtail.blocks.ListBlock", (16,), {"label": "Odstavce"}), + 18: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)", + "label": "Obrázek", + }, + ), + 19: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("items", 17), ("picture", 18)]], + {}, + ), + 20: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "FEC900", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva pozadĂ", + }, + ), + 21: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.", + "label": "Obrázek", + "required": False, + }, + ), + 22: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje obrázek. Nelze vybrat obÄ› najednou.", + "label": "PozadĂ", + "required": False, + }, + ), + 23: ( + "wagtail.blocks.TextBlock", + (), + {"help_text": "ĹádkovánĂ je manuálnĂ.", "label": "Nadpis"}, + ), + 24: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva textu", + }, + ), + 25: ("wagtail.blocks.RichTextBlock", (), {"label": "Obsah"}), + 26: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.", + "label": "Nadpis tlaÄŤĂtka", + "required": False, + }, + ), + 27: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Odkaz tlaÄŤĂtka", "required": False}, + ), + 28: ( + "wagtail.blocks.StructBlock", + [ + [ + ("bg_color", 20), + ("image", 21), + ("background", 22), + ("title", 23), + ("title_color", 24), + ("content", 25), + ("button_text", 26), + ("button_url", 27), + ] + ], + {"label": "Karta"}, + ), + 29: ("wagtail.blocks.ListBlock", (28,), {"label": "Karty"}), + 30: ("wagtail.blocks.StructBlock", [[("cards", 29)]], {}), + 31: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "Tabulka", + "template": "styleguide2/includes/atoms/table/table.html", + }, + ), + 32: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "RozbalovacĂ tabulka", + "template": "styleguide2/includes/atoms/table/popout_table.html", + }, + ), + 33: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "obrázek", "required": True}, + ), + 34: ( + "wagtail.blocks.ListBlock", + (33,), + {"group": "3. OstatnĂ", "icon": "image", "label": "Galerie"}, + ), + 35: ( + "wagtail.blocks.StructBlock", + [[("gallery_items", 34)]], + {"label": "Galerie"}, + ), + 36: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": True}, + ), + 37: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Popisek", "required": False}, + ), + 38: ( + "wagtail.blocks.StructBlock", + [[("img", 36), ("caption", 37)]], + {}, + ), + 39: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": False}, + ), + 40: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Titulek", "required": False}, + ), + 41: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.", + "label": "Náhled videa (automatickĂ© pole)", + "required": False, + }, + ), + 42: ( + "wagtail.blocks.URLBlock", + (), + { + "help_text": "Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.", + "label": "Odkaz na video", + "required": False, + }, + ), + 43: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.", + "label": "ID videa (automatickĂ© pole)", + "required": False, + }, + ), + 44: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "label": "ZabĂrá celou šĂĹ™ku?", + "required": True, + }, + ), + 45: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ] + ], + {}, + ), + 46: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 50.04075", "label": "ZemÄ›pisná šĂĹ™ka"}, + ), + 47: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 15.77659", "label": "ZemÄ›pisná dĂ©lka"}, + ), + 48: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva špendlĂku (HEX)", + }, + ), + 49: ( + "wagtail.blocks.IntegerBlock", + (), + { + "default": 15, + "label": "VĂ˝chozĂ zoom", + "max_value": 18, + "min_value": 1, + }, + ), + 50: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("osm-mapnik", "OSM Mapnik"), + ("stadia-osm-bright", "Stadia OSM Bright"), + ("stadia-outdoors", "Stadia Outdoors"), + ("mapbox-streets", "Mapbox Streets"), + ("mapbox-outdoors", "Mapbox Outdoors"), + ("mapbox-light", "Mapbox Light"), + ("mapbox-dark", "Mapbox Dark"), + ("mapbox-satellite", "Mapbox Satellite"), + ("mapbox-pirate", "Mapbox Pirate Theme"), + ], + "label": "Styl", + }, + ), + 51: ( + "wagtail.blocks.IntegerBlock", + (), + {"label": "Výška v px", "max_value": 1000, "min_value": 100}, + ), + 52: ( + "wagtail.blocks.StructBlock", + [ + [ + ("lat", 46), + ("lon", 47), + ("hex_color", 48), + ("zoom", 49), + ("style", 50), + ("height", 51), + ] + ], + {"label": "Ĺ pendlĂk na mapÄ›"}, + ), + 53: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": True}, + ), + 54: ( + "wagtail.blocks.TextBlock", + (), + { + "help_text": "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", + "label": "Geodata", + "required": True, + }, + ), + 55: ( + "wagtail.blocks.URLBlock", + (), + {"label": "Odkaz", "required": False}, + ), + 56: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva (HEX)", + }, + ), + 57: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 53), + ("description", 37), + ("geojson", 54), + ("image", 39), + ("link", 55), + ("hex_color", 56), + ] + ], + {"required": True}, + ), + 58: ("wagtail.blocks.ListBlock", (57,), {"label": "Součásti"}), + 59: ( + "wagtail.blocks.StructBlock", + [ + [ + ("features", 58), + ("zoom", 49), + ("style", 50), + ("height", 51), + ] + ], + {"label": "Mapová kolekce"}, + ), + 60: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ] + ], + {"label": "Obsah", "required": False}, + ), + 61: ( + "wagtail.blocks.PageChooserBlock", + (), + {"label": "Stránka", "required": False}, + ), + 62: ( + "wagtail.blocks.StructBlock", + [ + [ + ("img", 39), + ("headline", 40), + ("content", 60), + ("page", 61), + ("link", 55), + ] + ], + {}, + ), + 63: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "max_length": 128, "required": True}, + ), + 64: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black", "ÄŚerná"), + ("white", "BĂlá"), + ("pirati-yellow", "Ĺ˝lutá"), + ("grey-125", "SvÄ›tle šedá"), + ("blue-300", "Modrá"), + ("cyan-200", "Tyrkysová"), + ("green-400", "Zelená"), + ("violet-400", "VĂnová"), + ("red-600", "ÄŚervená"), + ], + "label": "Barva", + }, + ), + 65: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": True, + "help_text": "Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.", + "label": "Animovat na hover", + "required": False, + }, + ), + 66: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 63), + ("color", 64), + ("hoveractive", 65), + ("page", 61), + ("link", 55), + ("align", 11), + ] + ], + {}, + ), + 67: ("wagtail.blocks.ListBlock", (66,), {"label": "TlaÄŤĂtka"}), + 68: ("wagtail.blocks.StructBlock", [[("buttons", 67)]], {}), + 69: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 69), ("right_column_content", 70)]], + {}, + ), + 72: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 73: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 69), + ("middle_column_content", 72), + ("right_column_content", 70), + ] + ], + {}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ] + ], + {"label": "YouTube video"}, + ), + 75: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 76: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 77: ( + "wagtail.blocks.StructBlock", + [[("name", 75), ("content", 76)]], + {}, + ), + 78: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "max_length": 120}, + ), + 79: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("bar", "Graf se sloupci"), + ("horizontalBar", "Graf s vodorovnĂ˝mi sloupci"), + ("pie", "KoláčovĂ˝ graf"), + ("doughnut", "DonutovĂ˝ graf"), + ("polarArea", "Graf polárnĂ oblasti"), + ("radar", "RadarovĂ˝ graf"), + ("line", "Graf s liniemi"), + ], + "label": "Typ", + }, + ), + 80: ( + "wagtail.blocks.BooleanBlock", + (), + { + "help_text": "MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.", + "label": "Schovat body", + "required": False, + }, + ), + 81: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Skupina", "max_length": 40}, + ), + 82: ( + "wagtail.blocks.ListBlock", + (81,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnÄ› definovanĂ© skupiny", + "required": False, + }, + ), + 83: ( + "wagtail.blocks.CharBlock", + (), + {"label": "OznaÄŤenĂ zdroje dat", "max_length": 120}, + ), + 84: ("wagtail.blocks.IntegerBlock", (), {}), + 85: ( + "wagtail.blocks.ListBlock", + (84,), + {"default": [0], "label": "Data"}, + ), + 86: ( + "wagtail.blocks.StructBlock", + [[("label", 83), ("data", 85)]], + {}, + ), + 87: ( + "wagtail.blocks.ListBlock", + (86,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnĂ zdroje dat", + "required": False, + }, + ), + 88: ( + "wagtail.blocks.MultipleChoiceBlock", + [], + { + "choices": shared.blocks.children.chart.get_redmine_projects, + "label": "Projekty", + }, + ), + 89: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen otevĹ™enĂ©", "required": False}, + ), + 90: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen uzavĹ™enĂ©", "required": False}, + ), + 91: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Min. datum vytvoĹ™enĂ", "required": True}, + ), + 92: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Max. datum vytvoĹ™enĂ", "required": True}, + ), + 93: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NapĹ™. <=2023-01-01. VĂce informacĂ na pi2.cz/redmine-api", + "label": "Filtr pro datum aktualizace", + "max_length": 128, + "required": False, + }, + ), + 94: ( + "wagtail.blocks.CharBlock", + (), + { + "label": "OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu", + "max_length": 128, + "required": True, + }, + ), + 95: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "RozdÄ›lit podle projektu", "required": False}, + ), + 96: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Pouze rĹŻst nahoru", "required": False}, + ), + 97: ( + "wagtail.blocks.StructBlock", + [ + [ + ("projects", 88), + ("is_open", 89), + ("is_closed", 90), + ("created_on_min_date", 91), + ("created_on_max_date", 92), + ("updated_on", 93), + ("issue_label", 94), + ("split_per_project", 95), + ("only_grow", 96), + ] + ], + {"label": "Redmine Ăşkoly"}, + ), + 98: ( + "wagtail.blocks.ListBlock", + (97,), + { + "blank": True, + "default": [], + "help_text": "Ăškoly, podle doby vytvoĹ™enĂ. Pokud definuješ vĂce zdrojĹŻ, datumy v nich musĂ bĂ˝t stejnĂ©.", + "label": "Zdroje dat z Redmine (Ăşkoly)", + "required": False, + }, + ), + 99: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 78), + ("chart_type", 79), + ("hide_points", 80), + ("local_labels", 82), + ("local_datasets", 87), + ("redmine_issue_datasets", 98), + ] + ], + {}, + ), + 100: ( + "wagtail.blocks.PageChooserBlock", + ("district.DistrictArticlePage",), + {"label": "Aktualita", "required": True}, + ), + 101: ( + "wagtail.blocks.ListBlock", + (100,), + {"label": "Seznam aktualit", "required": True}, + ), + 102: ("wagtail.blocks.StructBlock", [[("articles", 101)]], {}), + 103: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Osoba", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + "required": True, + }, + ), + 104: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.", + "label": "Popisek", + "required": False, + }, + ), + 105: ( + "wagtail.blocks.StructBlock", + [[("person", 103), ("caption", 104)]], + {}, + ), + 106: ("wagtail.blocks.CharBlock", (), {"label": "Titulek"}), + 107: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no", + "label": "Slug skupiny", + "required": False, + }, + ), + 108: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + }, + ), + 109: ( + "wagtail.blocks.ListBlock", + (108,), + { + "default": [], + "help_text": "S pozicemi z jejich podstránek", + "label": "Osoby", + }, + ), + 110: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + "district.DistrictPersonPage", + ], + }, + ), + 111: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.", + "label": "Pozice", + "required": False, + }, + ), + 112: ( + "wagtail.blocks.StructBlock", + [[("page", 110), ("position", 111)]], + {}, + ), + 113: ( + "wagtail.blocks.ListBlock", + (112,), + { + "default": [], + "help_text": "S nastavitelnĂ˝mi pozicemi", + "label": "Osoby", + }, + ), + 114: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 106), + ("slug", 107), + ("person_list", 109), + ("person_list_with_custom_positions", 113), + ] + ], + {}, + ), + }, + verbose_name="Obsah ĂşvodnĂ", + ), ), migrations.AlterField( - model_name='districtgeofeaturecollectionpage', - name='content_after', - field=wagtail.fields.StreamField([('text', 0), ('advanced_text', 4), ('two_columns_text', 7), ('headline', 12), ('headline_with_picture', 15), ('picture_list', 19), ('flip_cards', 30), ('table', 31), ('popout_table', 32), ('gallery', 35), ('figure', 38), ('card', 62), ('two_columns', 71), ('three_columns', 73), ('youtube', 74), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68), ('popout_point', 77), ('chart', 99), ('related', 102), ('related_links', 102), ('badge', 105), ('new_people_group', 114)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {}), 46: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 48: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 49: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 50: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('osm-mapnik', 'OSM Mapnik'), ('stadia-osm-bright', 'Stadia OSM Bright'), ('stadia-outdoors', 'Stadia Outdoors'), ('mapbox-streets', 'Mapbox Streets'), ('mapbox-outdoors', 'Mapbox Outdoors'), ('mapbox-light', 'Mapbox Light'), ('mapbox-dark', 'Mapbox Dark'), ('mapbox-satellite', 'Mapbox Satellite'), ('mapbox-pirate', 'Mapbox Pirate Theme')], 'label': 'Styl'}), 51: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 52: ('wagtail.blocks.StructBlock', [[('lat', 46), ('lon', 47), ('hex_color', 48), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 53: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 54: ('wagtail.blocks.TextBlock', (), {'help_text': "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", 'label': 'Geodata', 'required': True}), 55: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 56: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 57: ('wagtail.blocks.StructBlock', [[('title', 53), ('description', 37), ('geojson', 54), ('image', 39), ('link', 55), ('hex_color', 56)]], {'required': True}), 58: ('wagtail.blocks.ListBlock', (57,), {'label': 'Součásti'}), 59: ('wagtail.blocks.StructBlock', [[('features', 58), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Mapová kolekce'}), 60: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59)]], {'label': 'Obsah', 'required': False}), 61: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 62: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 60), ('page', 61), ('link', 55)]], {}), 63: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 64: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black', 'ÄŚerná'), ('white', 'BĂlá'), ('pirati-yellow', 'Ĺ˝lutá'), ('grey-125', 'SvÄ›tle šedá'), ('blue-300', 'Modrá'), ('cyan-200', 'Tyrkysová'), ('green-400', 'Zelená'), ('violet-400', 'VĂnová'), ('red-600', 'ÄŚervená')], 'label': 'Barva'}), 65: ('wagtail.blocks.BooleanBlock', (), {'default': True, 'help_text': 'Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.', 'label': 'Animovat na hover', 'required': False}), 66: ('wagtail.blocks.StructBlock', [[('title', 63), ('color', 64), ('hoveractive', 65), ('page', 61), ('link', 55), ('align', 11)]], {}), 67: ('wagtail.blocks.ListBlock', (66,), {'label': 'TlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('buttons', 67)]], {}), 69: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('right_column_content', 70)]], {}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('middle_column_content', 72), ('right_column_content', 70)]], {}), 74: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {'label': 'YouTube video'}), 75: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 76: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 77: ('wagtail.blocks.StructBlock', [[('name', 75), ('content', 76)]], {}), 78: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'max_length': 120}), 79: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('bar', 'Graf se sloupci'), ('horizontalBar', 'Graf s vodorovnĂ˝mi sloupci'), ('pie', 'KoláčovĂ˝ graf'), ('doughnut', 'DonutovĂ˝ graf'), ('polarArea', 'Graf polárnĂ oblasti'), ('radar', 'RadarovĂ˝ graf'), ('line', 'Graf s liniemi')], 'label': 'Typ'}), 80: ('wagtail.blocks.BooleanBlock', (), {'help_text': 'MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.', 'label': 'Schovat body', 'required': False}), 81: ('wagtail.blocks.CharBlock', (), {'label': 'Skupina', 'max_length': 40}), 82: ('wagtail.blocks.ListBlock', (81,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnÄ› definovanĂ© skupiny', 'required': False}), 83: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ zdroje dat', 'max_length': 120}), 84: ('wagtail.blocks.IntegerBlock', (), {}), 85: ('wagtail.blocks.ListBlock', (84,), {'default': [0], 'label': 'Data'}), 86: ('wagtail.blocks.StructBlock', [[('label', 83), ('data', 85)]], {}), 87: ('wagtail.blocks.ListBlock', (86,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnĂ zdroje dat', 'required': False}), 88: ('wagtail.blocks.MultipleChoiceBlock', [], {'choices': shared.blocks.children.chart.get_redmine_projects, 'label': 'Projekty'}), 89: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen otevĹ™enĂ©', 'required': False}), 90: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen uzavĹ™enĂ©', 'required': False}), 91: ('wagtail.blocks.DateBlock', (), {'label': 'Min. datum vytvoĹ™enĂ', 'required': True}), 92: ('wagtail.blocks.DateBlock', (), {'label': 'Max. datum vytvoĹ™enĂ', 'required': True}), 93: ('wagtail.blocks.CharBlock', (), {'help_text': 'NapĹ™. <=2023-01-01. VĂce informacĂ na pi2.cz/redmine-api', 'label': 'Filtr pro datum aktualizace', 'max_length': 128, 'required': False}), 94: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu', 'max_length': 128, 'required': True}), 95: ('wagtail.blocks.BooleanBlock', (), {'label': 'RozdÄ›lit podle projektu', 'required': False}), 96: ('wagtail.blocks.BooleanBlock', (), {'label': 'Pouze rĹŻst nahoru', 'required': False}), 97: ('wagtail.blocks.StructBlock', [[('projects', 88), ('is_open', 89), ('is_closed', 90), ('created_on_min_date', 91), ('created_on_max_date', 92), ('updated_on', 93), ('issue_label', 94), ('split_per_project', 95), ('only_grow', 96)]], {'label': 'Redmine Ăşkoly'}), 98: ('wagtail.blocks.ListBlock', (97,), {'blank': True, 'default': [], 'help_text': 'Ăškoly, podle doby vytvoĹ™enĂ. Pokud definuješ vĂce zdrojĹŻ, datumy v nich musĂ bĂ˝t stejnĂ©.', 'label': 'Zdroje dat z Redmine (Ăşkoly)', 'required': False}), 99: ('wagtail.blocks.StructBlock', [[('title', 78), ('chart_type', 79), ('hide_points', 80), ('local_labels', 82), ('local_datasets', 87), ('redmine_issue_datasets', 98)]], {}), 100: ('wagtail.blocks.PageChooserBlock', ('district.DistrictArticlePage',), {'label': 'Aktualita', 'required': True}), 101: ('wagtail.blocks.ListBlock', (100,), {'label': 'Seznam aktualit', 'required': True}), 102: ('wagtail.blocks.StructBlock', [[('articles', 101)]], {}), 103: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Osoba', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage'], 'required': True}), 104: ('wagtail.blocks.CharBlock', (), {'help_text': 'VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.', 'label': 'Popisek', 'required': False}), 105: ('wagtail.blocks.StructBlock', [[('person', 103), ('caption', 104)]], {}), 106: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek'}), 107: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no', 'label': 'Slug skupiny', 'required': False}), 108: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage']}), 109: ('wagtail.blocks.ListBlock', (108,), {'default': [], 'help_text': 'S pozicemi z jejich podstránek', 'label': 'Osoby'}), 110: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage', 'district.DistrictPersonPage']}), 111: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.', 'label': 'Pozice', 'required': False}), 112: ('wagtail.blocks.StructBlock', [[('page', 110), ('position', 111)]], {}), 113: ('wagtail.blocks.ListBlock', (112,), {'default': [], 'help_text': 'S nastavitelnĂ˝mi pozicemi', 'label': 'Osoby'}), 114: ('wagtail.blocks.StructBlock', [[('title', 106), ('slug', 107), ('person_list', 109), ('person_list_with_custom_positions', 113)]], {})}, verbose_name='Obsah za mapou'), + model_name="districtgeofeaturecollectionpage", + name="content_after", + field=wagtail.fields.StreamField( + [ + ("text", 0), + ("advanced_text", 4), + ("two_columns_text", 7), + ("headline", 12), + ("headline_with_picture", 15), + ("picture_list", 19), + ("flip_cards", 30), + ("table", 31), + ("popout_table", 32), + ("gallery", 35), + ("figure", 38), + ("card", 62), + ("two_columns", 71), + ("three_columns", 73), + ("youtube", 74), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ("popout_point", 77), + ("chart", 99), + ("related", 102), + ("related_links", 102), + ("badge", 105), + ("new_people_group", 114), + ], + blank=True, + block_lookup={ + 0: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + "template": "styleguide2/includes/atoms/text/prose_richtext.html", + }, + ), + 1: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("left", "vlevo"), + ("center", "uprostĹ™ed"), + ("right", "vpravo"), + ], + "label": "zarovnánĂ", + }, + ), + 2: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black_on_white", "ÄŤerná na bĂlĂ©"), + ("black_on_yellow", "ÄŤerná na ĹľlutĂ©"), + ("white_on_black", "bĂlá na ÄŤernĂ©"), + ("white_on_blue", "bĂlá na modrĂ©"), + ("white_on_cyan", "bĂlá na tyrkysovĂ©"), + ("white_on_violet", "bĂlá na fialovĂ©"), + ], + "label": "barva", + }, + ), + 3: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + }, + ), + 4: ( + "wagtail.blocks.StructBlock", + [[("align", 1), ("color", 2), ("text", 3)]], + {}, + ), + 5: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "levĂ˝ sloupec", + }, + ), + 6: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "pravĂ˝ sloupec", + }, + ), + 7: ( + "wagtail.blocks.StructBlock", + [[("left_text", 5), ("right_text", 6)]], + {}, + ), + 8: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Nadpis", "max_length": 300, "required": True}, + ), + 9: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("h1", "H1"), + ("h2", "H2"), + ("h3", "H3"), + ("h4", "H4"), + ("h5", "H5"), + ("h6", "H6"), + ], + "help_text": "ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.", + "label": "ĂšroveĹ nadpisu", + }, + ), + 10: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("head-alt-xl", "VelkĂ˝, Bebas Neue - 6XL"), + ("head-alt-lg", "StĹ™ednĂ, Bebas Neue - 4XL"), + ("head-alt-md", "ZákladnĂ velikost - Roboto - MD"), + ("head-alt-sm", "MalĂ˝ - Roboto - SM"), + ("head-alt-xs", "Extra malĂ˝ - Roboto - XS"), + ], + "help_text": "Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.", + "label": "Velikost", + }, + ), + 11: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("auto", "Automaticky"), + ("center", "Na stĹ™ed"), + ], + "label": "ZarovnánĂ", + }, + ), + 12: ( + "wagtail.blocks.StructBlock", + [[("headline", 8), ("tag", 9), ("style", 10), ("align", 11)]], + {}, + ), + 13: ("wagtail.blocks.CharBlock", (), {"label": "nadpis"}), + 14: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)", + "label": "obrázek", + }, + ), + 15: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("title", 13), ("picture", 14)]], + {}, + ), + 16: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "Odstavec", + }, + ), + 17: ("wagtail.blocks.ListBlock", (16,), {"label": "Odstavce"}), + 18: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)", + "label": "Obrázek", + }, + ), + 19: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("items", 17), ("picture", 18)]], + {}, + ), + 20: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "FEC900", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva pozadĂ", + }, + ), + 21: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.", + "label": "Obrázek", + "required": False, + }, + ), + 22: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje obrázek. Nelze vybrat obÄ› najednou.", + "label": "PozadĂ", + "required": False, + }, + ), + 23: ( + "wagtail.blocks.TextBlock", + (), + {"help_text": "ĹádkovánĂ je manuálnĂ.", "label": "Nadpis"}, + ), + 24: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva textu", + }, + ), + 25: ("wagtail.blocks.RichTextBlock", (), {"label": "Obsah"}), + 26: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.", + "label": "Nadpis tlaÄŤĂtka", + "required": False, + }, + ), + 27: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Odkaz tlaÄŤĂtka", "required": False}, + ), + 28: ( + "wagtail.blocks.StructBlock", + [ + [ + ("bg_color", 20), + ("image", 21), + ("background", 22), + ("title", 23), + ("title_color", 24), + ("content", 25), + ("button_text", 26), + ("button_url", 27), + ] + ], + {"label": "Karta"}, + ), + 29: ("wagtail.blocks.ListBlock", (28,), {"label": "Karty"}), + 30: ("wagtail.blocks.StructBlock", [[("cards", 29)]], {}), + 31: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "Tabulka", + "template": "styleguide2/includes/atoms/table/table.html", + }, + ), + 32: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "RozbalovacĂ tabulka", + "template": "styleguide2/includes/atoms/table/popout_table.html", + }, + ), + 33: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "obrázek", "required": True}, + ), + 34: ( + "wagtail.blocks.ListBlock", + (33,), + {"group": "3. OstatnĂ", "icon": "image", "label": "Galerie"}, + ), + 35: ( + "wagtail.blocks.StructBlock", + [[("gallery_items", 34)]], + {"label": "Galerie"}, + ), + 36: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": True}, + ), + 37: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Popisek", "required": False}, + ), + 38: ( + "wagtail.blocks.StructBlock", + [[("img", 36), ("caption", 37)]], + {}, + ), + 39: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": False}, + ), + 40: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Titulek", "required": False}, + ), + 41: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.", + "label": "Náhled videa (automatickĂ© pole)", + "required": False, + }, + ), + 42: ( + "wagtail.blocks.URLBlock", + (), + { + "help_text": "Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.", + "label": "Odkaz na video", + "required": False, + }, + ), + 43: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.", + "label": "ID videa (automatickĂ© pole)", + "required": False, + }, + ), + 44: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "label": "ZabĂrá celou šĂĹ™ku?", + "required": True, + }, + ), + 45: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ] + ], + {}, + ), + 46: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 50.04075", "label": "ZemÄ›pisná šĂĹ™ka"}, + ), + 47: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 15.77659", "label": "ZemÄ›pisná dĂ©lka"}, + ), + 48: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva špendlĂku (HEX)", + }, + ), + 49: ( + "wagtail.blocks.IntegerBlock", + (), + { + "default": 15, + "label": "VĂ˝chozĂ zoom", + "max_value": 18, + "min_value": 1, + }, + ), + 50: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("osm-mapnik", "OSM Mapnik"), + ("stadia-osm-bright", "Stadia OSM Bright"), + ("stadia-outdoors", "Stadia Outdoors"), + ("mapbox-streets", "Mapbox Streets"), + ("mapbox-outdoors", "Mapbox Outdoors"), + ("mapbox-light", "Mapbox Light"), + ("mapbox-dark", "Mapbox Dark"), + ("mapbox-satellite", "Mapbox Satellite"), + ("mapbox-pirate", "Mapbox Pirate Theme"), + ], + "label": "Styl", + }, + ), + 51: ( + "wagtail.blocks.IntegerBlock", + (), + {"label": "Výška v px", "max_value": 1000, "min_value": 100}, + ), + 52: ( + "wagtail.blocks.StructBlock", + [ + [ + ("lat", 46), + ("lon", 47), + ("hex_color", 48), + ("zoom", 49), + ("style", 50), + ("height", 51), + ] + ], + {"label": "Ĺ pendlĂk na mapÄ›"}, + ), + 53: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": True}, + ), + 54: ( + "wagtail.blocks.TextBlock", + (), + { + "help_text": "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", + "label": "Geodata", + "required": True, + }, + ), + 55: ( + "wagtail.blocks.URLBlock", + (), + {"label": "Odkaz", "required": False}, + ), + 56: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva (HEX)", + }, + ), + 57: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 53), + ("description", 37), + ("geojson", 54), + ("image", 39), + ("link", 55), + ("hex_color", 56), + ] + ], + {"required": True}, + ), + 58: ("wagtail.blocks.ListBlock", (57,), {"label": "Součásti"}), + 59: ( + "wagtail.blocks.StructBlock", + [ + [ + ("features", 58), + ("zoom", 49), + ("style", 50), + ("height", 51), + ] + ], + {"label": "Mapová kolekce"}, + ), + 60: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ] + ], + {"label": "Obsah", "required": False}, + ), + 61: ( + "wagtail.blocks.PageChooserBlock", + (), + {"label": "Stránka", "required": False}, + ), + 62: ( + "wagtail.blocks.StructBlock", + [ + [ + ("img", 39), + ("headline", 40), + ("content", 60), + ("page", 61), + ("link", 55), + ] + ], + {}, + ), + 63: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "max_length": 128, "required": True}, + ), + 64: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black", "ÄŚerná"), + ("white", "BĂlá"), + ("pirati-yellow", "Ĺ˝lutá"), + ("grey-125", "SvÄ›tle šedá"), + ("blue-300", "Modrá"), + ("cyan-200", "Tyrkysová"), + ("green-400", "Zelená"), + ("violet-400", "VĂnová"), + ("red-600", "ÄŚervená"), + ], + "label": "Barva", + }, + ), + 65: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": True, + "help_text": "Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.", + "label": "Animovat na hover", + "required": False, + }, + ), + 66: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 63), + ("color", 64), + ("hoveractive", 65), + ("page", 61), + ("link", 55), + ("align", 11), + ] + ], + {}, + ), + 67: ("wagtail.blocks.ListBlock", (66,), {"label": "TlaÄŤĂtka"}), + 68: ("wagtail.blocks.StructBlock", [[("buttons", 67)]], {}), + 69: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 69), ("right_column_content", 70)]], + {}, + ), + 72: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 73: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 69), + ("middle_column_content", 72), + ("right_column_content", 70), + ] + ], + {}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ] + ], + {"label": "YouTube video"}, + ), + 75: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 76: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 77: ( + "wagtail.blocks.StructBlock", + [[("name", 75), ("content", 76)]], + {}, + ), + 78: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "max_length": 120}, + ), + 79: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("bar", "Graf se sloupci"), + ("horizontalBar", "Graf s vodorovnĂ˝mi sloupci"), + ("pie", "KoláčovĂ˝ graf"), + ("doughnut", "DonutovĂ˝ graf"), + ("polarArea", "Graf polárnĂ oblasti"), + ("radar", "RadarovĂ˝ graf"), + ("line", "Graf s liniemi"), + ], + "label": "Typ", + }, + ), + 80: ( + "wagtail.blocks.BooleanBlock", + (), + { + "help_text": "MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.", + "label": "Schovat body", + "required": False, + }, + ), + 81: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Skupina", "max_length": 40}, + ), + 82: ( + "wagtail.blocks.ListBlock", + (81,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnÄ› definovanĂ© skupiny", + "required": False, + }, + ), + 83: ( + "wagtail.blocks.CharBlock", + (), + {"label": "OznaÄŤenĂ zdroje dat", "max_length": 120}, + ), + 84: ("wagtail.blocks.IntegerBlock", (), {}), + 85: ( + "wagtail.blocks.ListBlock", + (84,), + {"default": [0], "label": "Data"}, + ), + 86: ( + "wagtail.blocks.StructBlock", + [[("label", 83), ("data", 85)]], + {}, + ), + 87: ( + "wagtail.blocks.ListBlock", + (86,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnĂ zdroje dat", + "required": False, + }, + ), + 88: ( + "wagtail.blocks.MultipleChoiceBlock", + [], + { + "choices": shared.blocks.children.chart.get_redmine_projects, + "label": "Projekty", + }, + ), + 89: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen otevĹ™enĂ©", "required": False}, + ), + 90: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen uzavĹ™enĂ©", "required": False}, + ), + 91: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Min. datum vytvoĹ™enĂ", "required": True}, + ), + 92: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Max. datum vytvoĹ™enĂ", "required": True}, + ), + 93: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NapĹ™. <=2023-01-01. VĂce informacĂ na pi2.cz/redmine-api", + "label": "Filtr pro datum aktualizace", + "max_length": 128, + "required": False, + }, + ), + 94: ( + "wagtail.blocks.CharBlock", + (), + { + "label": "OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu", + "max_length": 128, + "required": True, + }, + ), + 95: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "RozdÄ›lit podle projektu", "required": False}, + ), + 96: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Pouze rĹŻst nahoru", "required": False}, + ), + 97: ( + "wagtail.blocks.StructBlock", + [ + [ + ("projects", 88), + ("is_open", 89), + ("is_closed", 90), + ("created_on_min_date", 91), + ("created_on_max_date", 92), + ("updated_on", 93), + ("issue_label", 94), + ("split_per_project", 95), + ("only_grow", 96), + ] + ], + {"label": "Redmine Ăşkoly"}, + ), + 98: ( + "wagtail.blocks.ListBlock", + (97,), + { + "blank": True, + "default": [], + "help_text": "Ăškoly, podle doby vytvoĹ™enĂ. Pokud definuješ vĂce zdrojĹŻ, datumy v nich musĂ bĂ˝t stejnĂ©.", + "label": "Zdroje dat z Redmine (Ăşkoly)", + "required": False, + }, + ), + 99: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 78), + ("chart_type", 79), + ("hide_points", 80), + ("local_labels", 82), + ("local_datasets", 87), + ("redmine_issue_datasets", 98), + ] + ], + {}, + ), + 100: ( + "wagtail.blocks.PageChooserBlock", + ("district.DistrictArticlePage",), + {"label": "Aktualita", "required": True}, + ), + 101: ( + "wagtail.blocks.ListBlock", + (100,), + {"label": "Seznam aktualit", "required": True}, + ), + 102: ("wagtail.blocks.StructBlock", [[("articles", 101)]], {}), + 103: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Osoba", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + "required": True, + }, + ), + 104: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.", + "label": "Popisek", + "required": False, + }, + ), + 105: ( + "wagtail.blocks.StructBlock", + [[("person", 103), ("caption", 104)]], + {}, + ), + 106: ("wagtail.blocks.CharBlock", (), {"label": "Titulek"}), + 107: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no", + "label": "Slug skupiny", + "required": False, + }, + ), + 108: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + }, + ), + 109: ( + "wagtail.blocks.ListBlock", + (108,), + { + "default": [], + "help_text": "S pozicemi z jejich podstránek", + "label": "Osoby", + }, + ), + 110: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + "district.DistrictPersonPage", + ], + }, + ), + 111: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.", + "label": "Pozice", + "required": False, + }, + ), + 112: ( + "wagtail.blocks.StructBlock", + [[("page", 110), ("position", 111)]], + {}, + ), + 113: ( + "wagtail.blocks.ListBlock", + (112,), + { + "default": [], + "help_text": "S nastavitelnĂ˝mi pozicemi", + "label": "Osoby", + }, + ), + 114: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 106), + ("slug", 107), + ("person_list", 109), + ("person_list_with_custom_positions", 113), + ] + ], + {}, + ), + }, + verbose_name="Obsah za mapou", + ), ), migrations.AlterField( - model_name='districtgeofeaturecollectionpage', - name='content_footer', - field=wagtail.fields.StreamField([('text', 0), ('advanced_text', 4), ('two_columns_text', 7), ('headline', 12), ('headline_with_picture', 15), ('picture_list', 19), ('flip_cards', 30), ('table', 31), ('popout_table', 32), ('gallery', 35), ('figure', 38), ('card', 62), ('two_columns', 71), ('three_columns', 73), ('youtube', 74), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68), ('popout_point', 77), ('chart', 99), ('related', 102), ('related_links', 102), ('badge', 105), ('new_people_group', 114)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {}), 46: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 48: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 49: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 50: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('osm-mapnik', 'OSM Mapnik'), ('stadia-osm-bright', 'Stadia OSM Bright'), ('stadia-outdoors', 'Stadia Outdoors'), ('mapbox-streets', 'Mapbox Streets'), ('mapbox-outdoors', 'Mapbox Outdoors'), ('mapbox-light', 'Mapbox Light'), ('mapbox-dark', 'Mapbox Dark'), ('mapbox-satellite', 'Mapbox Satellite'), ('mapbox-pirate', 'Mapbox Pirate Theme')], 'label': 'Styl'}), 51: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 52: ('wagtail.blocks.StructBlock', [[('lat', 46), ('lon', 47), ('hex_color', 48), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 53: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 54: ('wagtail.blocks.TextBlock', (), {'help_text': "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", 'label': 'Geodata', 'required': True}), 55: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 56: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 57: ('wagtail.blocks.StructBlock', [[('title', 53), ('description', 37), ('geojson', 54), ('image', 39), ('link', 55), ('hex_color', 56)]], {'required': True}), 58: ('wagtail.blocks.ListBlock', (57,), {'label': 'Součásti'}), 59: ('wagtail.blocks.StructBlock', [[('features', 58), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Mapová kolekce'}), 60: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59)]], {'label': 'Obsah', 'required': False}), 61: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 62: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 60), ('page', 61), ('link', 55)]], {}), 63: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 64: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black', 'ÄŚerná'), ('white', 'BĂlá'), ('pirati-yellow', 'Ĺ˝lutá'), ('grey-125', 'SvÄ›tle šedá'), ('blue-300', 'Modrá'), ('cyan-200', 'Tyrkysová'), ('green-400', 'Zelená'), ('violet-400', 'VĂnová'), ('red-600', 'ÄŚervená')], 'label': 'Barva'}), 65: ('wagtail.blocks.BooleanBlock', (), {'default': True, 'help_text': 'Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.', 'label': 'Animovat na hover', 'required': False}), 66: ('wagtail.blocks.StructBlock', [[('title', 63), ('color', 64), ('hoveractive', 65), ('page', 61), ('link', 55), ('align', 11)]], {}), 67: ('wagtail.blocks.ListBlock', (66,), {'label': 'TlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('buttons', 67)]], {}), 69: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('right_column_content', 70)]], {}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('middle_column_content', 72), ('right_column_content', 70)]], {}), 74: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {'label': 'YouTube video'}), 75: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 76: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 77: ('wagtail.blocks.StructBlock', [[('name', 75), ('content', 76)]], {}), 78: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'max_length': 120}), 79: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('bar', 'Graf se sloupci'), ('horizontalBar', 'Graf s vodorovnĂ˝mi sloupci'), ('pie', 'KoláčovĂ˝ graf'), ('doughnut', 'DonutovĂ˝ graf'), ('polarArea', 'Graf polárnĂ oblasti'), ('radar', 'RadarovĂ˝ graf'), ('line', 'Graf s liniemi')], 'label': 'Typ'}), 80: ('wagtail.blocks.BooleanBlock', (), {'help_text': 'MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.', 'label': 'Schovat body', 'required': False}), 81: ('wagtail.blocks.CharBlock', (), {'label': 'Skupina', 'max_length': 40}), 82: ('wagtail.blocks.ListBlock', (81,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnÄ› definovanĂ© skupiny', 'required': False}), 83: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ zdroje dat', 'max_length': 120}), 84: ('wagtail.blocks.IntegerBlock', (), {}), 85: ('wagtail.blocks.ListBlock', (84,), {'default': [0], 'label': 'Data'}), 86: ('wagtail.blocks.StructBlock', [[('label', 83), ('data', 85)]], {}), 87: ('wagtail.blocks.ListBlock', (86,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnĂ zdroje dat', 'required': False}), 88: ('wagtail.blocks.MultipleChoiceBlock', [], {'choices': shared.blocks.children.chart.get_redmine_projects, 'label': 'Projekty'}), 89: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen otevĹ™enĂ©', 'required': False}), 90: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen uzavĹ™enĂ©', 'required': False}), 91: ('wagtail.blocks.DateBlock', (), {'label': 'Min. datum vytvoĹ™enĂ', 'required': True}), 92: ('wagtail.blocks.DateBlock', (), {'label': 'Max. datum vytvoĹ™enĂ', 'required': True}), 93: ('wagtail.blocks.CharBlock', (), {'help_text': 'NapĹ™. <=2023-01-01. VĂce informacĂ na pi2.cz/redmine-api', 'label': 'Filtr pro datum aktualizace', 'max_length': 128, 'required': False}), 94: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu', 'max_length': 128, 'required': True}), 95: ('wagtail.blocks.BooleanBlock', (), {'label': 'RozdÄ›lit podle projektu', 'required': False}), 96: ('wagtail.blocks.BooleanBlock', (), {'label': 'Pouze rĹŻst nahoru', 'required': False}), 97: ('wagtail.blocks.StructBlock', [[('projects', 88), ('is_open', 89), ('is_closed', 90), ('created_on_min_date', 91), ('created_on_max_date', 92), ('updated_on', 93), ('issue_label', 94), ('split_per_project', 95), ('only_grow', 96)]], {'label': 'Redmine Ăşkoly'}), 98: ('wagtail.blocks.ListBlock', (97,), {'blank': True, 'default': [], 'help_text': 'Ăškoly, podle doby vytvoĹ™enĂ. Pokud definuješ vĂce zdrojĹŻ, datumy v nich musĂ bĂ˝t stejnĂ©.', 'label': 'Zdroje dat z Redmine (Ăşkoly)', 'required': False}), 99: ('wagtail.blocks.StructBlock', [[('title', 78), ('chart_type', 79), ('hide_points', 80), ('local_labels', 82), ('local_datasets', 87), ('redmine_issue_datasets', 98)]], {}), 100: ('wagtail.blocks.PageChooserBlock', ('district.DistrictArticlePage',), {'label': 'Aktualita', 'required': True}), 101: ('wagtail.blocks.ListBlock', (100,), {'label': 'Seznam aktualit', 'required': True}), 102: ('wagtail.blocks.StructBlock', [[('articles', 101)]], {}), 103: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Osoba', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage'], 'required': True}), 104: ('wagtail.blocks.CharBlock', (), {'help_text': 'VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.', 'label': 'Popisek', 'required': False}), 105: ('wagtail.blocks.StructBlock', [[('person', 103), ('caption', 104)]], {}), 106: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek'}), 107: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no', 'label': 'Slug skupiny', 'required': False}), 108: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage']}), 109: ('wagtail.blocks.ListBlock', (108,), {'default': [], 'help_text': 'S pozicemi z jejich podstránek', 'label': 'Osoby'}), 110: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage', 'district.DistrictPersonPage']}), 111: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.', 'label': 'Pozice', 'required': False}), 112: ('wagtail.blocks.StructBlock', [[('page', 110), ('position', 111)]], {}), 113: ('wagtail.blocks.ListBlock', (112,), {'default': [], 'help_text': 'S nastavitelnĂ˝mi pozicemi', 'label': 'Osoby'}), 114: ('wagtail.blocks.StructBlock', [[('title', 106), ('slug', 107), ('person_list', 109), ('person_list_with_custom_positions', 113)]], {})}, verbose_name='Obsah v patiÄŤkovĂ© části'), + model_name="districtgeofeaturecollectionpage", + name="content_footer", + field=wagtail.fields.StreamField( + [ + ("text", 0), + ("advanced_text", 4), + ("two_columns_text", 7), + ("headline", 12), + ("headline_with_picture", 15), + ("picture_list", 19), + ("flip_cards", 30), + ("table", 31), + ("popout_table", 32), + ("gallery", 35), + ("figure", 38), + ("card", 62), + ("two_columns", 71), + ("three_columns", 73), + ("youtube", 74), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ("popout_point", 77), + ("chart", 99), + ("related", 102), + ("related_links", 102), + ("badge", 105), + ("new_people_group", 114), + ], + blank=True, + block_lookup={ + 0: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + "template": "styleguide2/includes/atoms/text/prose_richtext.html", + }, + ), + 1: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("left", "vlevo"), + ("center", "uprostĹ™ed"), + ("right", "vpravo"), + ], + "label": "zarovnánĂ", + }, + ), + 2: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black_on_white", "ÄŤerná na bĂlĂ©"), + ("black_on_yellow", "ÄŤerná na ĹľlutĂ©"), + ("white_on_black", "bĂlá na ÄŤernĂ©"), + ("white_on_blue", "bĂlá na modrĂ©"), + ("white_on_cyan", "bĂlá na tyrkysovĂ©"), + ("white_on_violet", "bĂlá na fialovĂ©"), + ], + "label": "barva", + }, + ), + 3: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + }, + ), + 4: ( + "wagtail.blocks.StructBlock", + [[("align", 1), ("color", 2), ("text", 3)]], + {}, + ), + 5: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "levĂ˝ sloupec", + }, + ), + 6: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "pravĂ˝ sloupec", + }, + ), + 7: ( + "wagtail.blocks.StructBlock", + [[("left_text", 5), ("right_text", 6)]], + {}, + ), + 8: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Nadpis", "max_length": 300, "required": True}, + ), + 9: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("h1", "H1"), + ("h2", "H2"), + ("h3", "H3"), + ("h4", "H4"), + ("h5", "H5"), + ("h6", "H6"), + ], + "help_text": "ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.", + "label": "ĂšroveĹ nadpisu", + }, + ), + 10: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("head-alt-xl", "VelkĂ˝, Bebas Neue - 6XL"), + ("head-alt-lg", "StĹ™ednĂ, Bebas Neue - 4XL"), + ("head-alt-md", "ZákladnĂ velikost - Roboto - MD"), + ("head-alt-sm", "MalĂ˝ - Roboto - SM"), + ("head-alt-xs", "Extra malĂ˝ - Roboto - XS"), + ], + "help_text": "Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.", + "label": "Velikost", + }, + ), + 11: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("auto", "Automaticky"), + ("center", "Na stĹ™ed"), + ], + "label": "ZarovnánĂ", + }, + ), + 12: ( + "wagtail.blocks.StructBlock", + [[("headline", 8), ("tag", 9), ("style", 10), ("align", 11)]], + {}, + ), + 13: ("wagtail.blocks.CharBlock", (), {"label": "nadpis"}), + 14: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)", + "label": "obrázek", + }, + ), + 15: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("title", 13), ("picture", 14)]], + {}, + ), + 16: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "Odstavec", + }, + ), + 17: ("wagtail.blocks.ListBlock", (16,), {"label": "Odstavce"}), + 18: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)", + "label": "Obrázek", + }, + ), + 19: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("items", 17), ("picture", 18)]], + {}, + ), + 20: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "FEC900", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva pozadĂ", + }, + ), + 21: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.", + "label": "Obrázek", + "required": False, + }, + ), + 22: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje obrázek. Nelze vybrat obÄ› najednou.", + "label": "PozadĂ", + "required": False, + }, + ), + 23: ( + "wagtail.blocks.TextBlock", + (), + {"help_text": "ĹádkovánĂ je manuálnĂ.", "label": "Nadpis"}, + ), + 24: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva textu", + }, + ), + 25: ("wagtail.blocks.RichTextBlock", (), {"label": "Obsah"}), + 26: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.", + "label": "Nadpis tlaÄŤĂtka", + "required": False, + }, + ), + 27: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Odkaz tlaÄŤĂtka", "required": False}, + ), + 28: ( + "wagtail.blocks.StructBlock", + [ + [ + ("bg_color", 20), + ("image", 21), + ("background", 22), + ("title", 23), + ("title_color", 24), + ("content", 25), + ("button_text", 26), + ("button_url", 27), + ] + ], + {"label": "Karta"}, + ), + 29: ("wagtail.blocks.ListBlock", (28,), {"label": "Karty"}), + 30: ("wagtail.blocks.StructBlock", [[("cards", 29)]], {}), + 31: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "Tabulka", + "template": "styleguide2/includes/atoms/table/table.html", + }, + ), + 32: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "RozbalovacĂ tabulka", + "template": "styleguide2/includes/atoms/table/popout_table.html", + }, + ), + 33: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "obrázek", "required": True}, + ), + 34: ( + "wagtail.blocks.ListBlock", + (33,), + {"group": "3. OstatnĂ", "icon": "image", "label": "Galerie"}, + ), + 35: ( + "wagtail.blocks.StructBlock", + [[("gallery_items", 34)]], + {"label": "Galerie"}, + ), + 36: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": True}, + ), + 37: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Popisek", "required": False}, + ), + 38: ( + "wagtail.blocks.StructBlock", + [[("img", 36), ("caption", 37)]], + {}, + ), + 39: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": False}, + ), + 40: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Titulek", "required": False}, + ), + 41: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.", + "label": "Náhled videa (automatickĂ© pole)", + "required": False, + }, + ), + 42: ( + "wagtail.blocks.URLBlock", + (), + { + "help_text": "Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.", + "label": "Odkaz na video", + "required": False, + }, + ), + 43: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.", + "label": "ID videa (automatickĂ© pole)", + "required": False, + }, + ), + 44: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "label": "ZabĂrá celou šĂĹ™ku?", + "required": True, + }, + ), + 45: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ] + ], + {}, + ), + 46: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 50.04075", "label": "ZemÄ›pisná šĂĹ™ka"}, + ), + 47: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 15.77659", "label": "ZemÄ›pisná dĂ©lka"}, + ), + 48: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva špendlĂku (HEX)", + }, + ), + 49: ( + "wagtail.blocks.IntegerBlock", + (), + { + "default": 15, + "label": "VĂ˝chozĂ zoom", + "max_value": 18, + "min_value": 1, + }, + ), + 50: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("osm-mapnik", "OSM Mapnik"), + ("stadia-osm-bright", "Stadia OSM Bright"), + ("stadia-outdoors", "Stadia Outdoors"), + ("mapbox-streets", "Mapbox Streets"), + ("mapbox-outdoors", "Mapbox Outdoors"), + ("mapbox-light", "Mapbox Light"), + ("mapbox-dark", "Mapbox Dark"), + ("mapbox-satellite", "Mapbox Satellite"), + ("mapbox-pirate", "Mapbox Pirate Theme"), + ], + "label": "Styl", + }, + ), + 51: ( + "wagtail.blocks.IntegerBlock", + (), + {"label": "Výška v px", "max_value": 1000, "min_value": 100}, + ), + 52: ( + "wagtail.blocks.StructBlock", + [ + [ + ("lat", 46), + ("lon", 47), + ("hex_color", 48), + ("zoom", 49), + ("style", 50), + ("height", 51), + ] + ], + {"label": "Ĺ pendlĂk na mapÄ›"}, + ), + 53: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": True}, + ), + 54: ( + "wagtail.blocks.TextBlock", + (), + { + "help_text": "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", + "label": "Geodata", + "required": True, + }, + ), + 55: ( + "wagtail.blocks.URLBlock", + (), + {"label": "Odkaz", "required": False}, + ), + 56: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva (HEX)", + }, + ), + 57: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 53), + ("description", 37), + ("geojson", 54), + ("image", 39), + ("link", 55), + ("hex_color", 56), + ] + ], + {"required": True}, + ), + 58: ("wagtail.blocks.ListBlock", (57,), {"label": "Součásti"}), + 59: ( + "wagtail.blocks.StructBlock", + [ + [ + ("features", 58), + ("zoom", 49), + ("style", 50), + ("height", 51), + ] + ], + {"label": "Mapová kolekce"}, + ), + 60: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ] + ], + {"label": "Obsah", "required": False}, + ), + 61: ( + "wagtail.blocks.PageChooserBlock", + (), + {"label": "Stránka", "required": False}, + ), + 62: ( + "wagtail.blocks.StructBlock", + [ + [ + ("img", 39), + ("headline", 40), + ("content", 60), + ("page", 61), + ("link", 55), + ] + ], + {}, + ), + 63: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "max_length": 128, "required": True}, + ), + 64: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black", "ÄŚerná"), + ("white", "BĂlá"), + ("pirati-yellow", "Ĺ˝lutá"), + ("grey-125", "SvÄ›tle šedá"), + ("blue-300", "Modrá"), + ("cyan-200", "Tyrkysová"), + ("green-400", "Zelená"), + ("violet-400", "VĂnová"), + ("red-600", "ÄŚervená"), + ], + "label": "Barva", + }, + ), + 65: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": True, + "help_text": "Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.", + "label": "Animovat na hover", + "required": False, + }, + ), + 66: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 63), + ("color", 64), + ("hoveractive", 65), + ("page", 61), + ("link", 55), + ("align", 11), + ] + ], + {}, + ), + 67: ("wagtail.blocks.ListBlock", (66,), {"label": "TlaÄŤĂtka"}), + 68: ("wagtail.blocks.StructBlock", [[("buttons", 67)]], {}), + 69: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 69), ("right_column_content", 70)]], + {}, + ), + 72: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 73: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 69), + ("middle_column_content", 72), + ("right_column_content", 70), + ] + ], + {}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ] + ], + {"label": "YouTube video"}, + ), + 75: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 76: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 77: ( + "wagtail.blocks.StructBlock", + [[("name", 75), ("content", 76)]], + {}, + ), + 78: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "max_length": 120}, + ), + 79: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("bar", "Graf se sloupci"), + ("horizontalBar", "Graf s vodorovnĂ˝mi sloupci"), + ("pie", "KoláčovĂ˝ graf"), + ("doughnut", "DonutovĂ˝ graf"), + ("polarArea", "Graf polárnĂ oblasti"), + ("radar", "RadarovĂ˝ graf"), + ("line", "Graf s liniemi"), + ], + "label": "Typ", + }, + ), + 80: ( + "wagtail.blocks.BooleanBlock", + (), + { + "help_text": "MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.", + "label": "Schovat body", + "required": False, + }, + ), + 81: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Skupina", "max_length": 40}, + ), + 82: ( + "wagtail.blocks.ListBlock", + (81,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnÄ› definovanĂ© skupiny", + "required": False, + }, + ), + 83: ( + "wagtail.blocks.CharBlock", + (), + {"label": "OznaÄŤenĂ zdroje dat", "max_length": 120}, + ), + 84: ("wagtail.blocks.IntegerBlock", (), {}), + 85: ( + "wagtail.blocks.ListBlock", + (84,), + {"default": [0], "label": "Data"}, + ), + 86: ( + "wagtail.blocks.StructBlock", + [[("label", 83), ("data", 85)]], + {}, + ), + 87: ( + "wagtail.blocks.ListBlock", + (86,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnĂ zdroje dat", + "required": False, + }, + ), + 88: ( + "wagtail.blocks.MultipleChoiceBlock", + [], + { + "choices": shared.blocks.children.chart.get_redmine_projects, + "label": "Projekty", + }, + ), + 89: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen otevĹ™enĂ©", "required": False}, + ), + 90: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen uzavĹ™enĂ©", "required": False}, + ), + 91: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Min. datum vytvoĹ™enĂ", "required": True}, + ), + 92: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Max. datum vytvoĹ™enĂ", "required": True}, + ), + 93: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NapĹ™. <=2023-01-01. VĂce informacĂ na pi2.cz/redmine-api", + "label": "Filtr pro datum aktualizace", + "max_length": 128, + "required": False, + }, + ), + 94: ( + "wagtail.blocks.CharBlock", + (), + { + "label": "OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu", + "max_length": 128, + "required": True, + }, + ), + 95: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "RozdÄ›lit podle projektu", "required": False}, + ), + 96: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Pouze rĹŻst nahoru", "required": False}, + ), + 97: ( + "wagtail.blocks.StructBlock", + [ + [ + ("projects", 88), + ("is_open", 89), + ("is_closed", 90), + ("created_on_min_date", 91), + ("created_on_max_date", 92), + ("updated_on", 93), + ("issue_label", 94), + ("split_per_project", 95), + ("only_grow", 96), + ] + ], + {"label": "Redmine Ăşkoly"}, + ), + 98: ( + "wagtail.blocks.ListBlock", + (97,), + { + "blank": True, + "default": [], + "help_text": "Ăškoly, podle doby vytvoĹ™enĂ. Pokud definuješ vĂce zdrojĹŻ, datumy v nich musĂ bĂ˝t stejnĂ©.", + "label": "Zdroje dat z Redmine (Ăşkoly)", + "required": False, + }, + ), + 99: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 78), + ("chart_type", 79), + ("hide_points", 80), + ("local_labels", 82), + ("local_datasets", 87), + ("redmine_issue_datasets", 98), + ] + ], + {}, + ), + 100: ( + "wagtail.blocks.PageChooserBlock", + ("district.DistrictArticlePage",), + {"label": "Aktualita", "required": True}, + ), + 101: ( + "wagtail.blocks.ListBlock", + (100,), + {"label": "Seznam aktualit", "required": True}, + ), + 102: ("wagtail.blocks.StructBlock", [[("articles", 101)]], {}), + 103: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Osoba", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + "required": True, + }, + ), + 104: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.", + "label": "Popisek", + "required": False, + }, + ), + 105: ( + "wagtail.blocks.StructBlock", + [[("person", 103), ("caption", 104)]], + {}, + ), + 106: ("wagtail.blocks.CharBlock", (), {"label": "Titulek"}), + 107: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no", + "label": "Slug skupiny", + "required": False, + }, + ), + 108: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + }, + ), + 109: ( + "wagtail.blocks.ListBlock", + (108,), + { + "default": [], + "help_text": "S pozicemi z jejich podstránek", + "label": "Osoby", + }, + ), + 110: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + "district.DistrictPersonPage", + ], + }, + ), + 111: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.", + "label": "Pozice", + "required": False, + }, + ), + 112: ( + "wagtail.blocks.StructBlock", + [[("page", 110), ("position", 111)]], + {}, + ), + 113: ( + "wagtail.blocks.ListBlock", + (112,), + { + "default": [], + "help_text": "S nastavitelnĂ˝mi pozicemi", + "label": "Osoby", + }, + ), + 114: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 106), + ("slug", 107), + ("person_list", 109), + ("person_list_with_custom_positions", 113), + ] + ], + {}, + ), + }, + verbose_name="Obsah v patiÄŤkovĂ© části", + ), ), migrations.AlterField( - model_name='districtgeofeaturedetailpage', - name='content', - field=wagtail.fields.StreamField([('text', 0), ('advanced_text', 4), ('two_columns_text', 7), ('headline', 12), ('headline_with_picture', 15), ('picture_list', 19), ('flip_cards', 30), ('table', 31), ('popout_table', 32), ('gallery', 35), ('figure', 38), ('card', 62), ('two_columns', 71), ('three_columns', 73), ('youtube', 74), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68), ('popout_point', 77), ('chart', 99), ('related', 102), ('related_links', 102), ('badge', 105), ('new_people_group', 114)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {}), 46: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 48: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 49: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 50: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('osm-mapnik', 'OSM Mapnik'), ('stadia-osm-bright', 'Stadia OSM Bright'), ('stadia-outdoors', 'Stadia Outdoors'), ('mapbox-streets', 'Mapbox Streets'), ('mapbox-outdoors', 'Mapbox Outdoors'), ('mapbox-light', 'Mapbox Light'), ('mapbox-dark', 'Mapbox Dark'), ('mapbox-satellite', 'Mapbox Satellite'), ('mapbox-pirate', 'Mapbox Pirate Theme')], 'label': 'Styl'}), 51: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 52: ('wagtail.blocks.StructBlock', [[('lat', 46), ('lon', 47), ('hex_color', 48), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 53: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 54: ('wagtail.blocks.TextBlock', (), {'help_text': "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", 'label': 'Geodata', 'required': True}), 55: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 56: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 57: ('wagtail.blocks.StructBlock', [[('title', 53), ('description', 37), ('geojson', 54), ('image', 39), ('link', 55), ('hex_color', 56)]], {'required': True}), 58: ('wagtail.blocks.ListBlock', (57,), {'label': 'Součásti'}), 59: ('wagtail.blocks.StructBlock', [[('features', 58), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Mapová kolekce'}), 60: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59)]], {'label': 'Obsah', 'required': False}), 61: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 62: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 60), ('page', 61), ('link', 55)]], {}), 63: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 64: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black', 'ÄŚerná'), ('white', 'BĂlá'), ('pirati-yellow', 'Ĺ˝lutá'), ('grey-125', 'SvÄ›tle šedá'), ('blue-300', 'Modrá'), ('cyan-200', 'Tyrkysová'), ('green-400', 'Zelená'), ('violet-400', 'VĂnová'), ('red-600', 'ÄŚervená')], 'label': 'Barva'}), 65: ('wagtail.blocks.BooleanBlock', (), {'default': True, 'help_text': 'Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.', 'label': 'Animovat na hover', 'required': False}), 66: ('wagtail.blocks.StructBlock', [[('title', 63), ('color', 64), ('hoveractive', 65), ('page', 61), ('link', 55), ('align', 11)]], {}), 67: ('wagtail.blocks.ListBlock', (66,), {'label': 'TlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('buttons', 67)]], {}), 69: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('right_column_content', 70)]], {}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('middle_column_content', 72), ('right_column_content', 70)]], {}), 74: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {'label': 'YouTube video'}), 75: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 76: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 77: ('wagtail.blocks.StructBlock', [[('name', 75), ('content', 76)]], {}), 78: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'max_length': 120}), 79: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('bar', 'Graf se sloupci'), ('horizontalBar', 'Graf s vodorovnĂ˝mi sloupci'), ('pie', 'KoláčovĂ˝ graf'), ('doughnut', 'DonutovĂ˝ graf'), ('polarArea', 'Graf polárnĂ oblasti'), ('radar', 'RadarovĂ˝ graf'), ('line', 'Graf s liniemi')], 'label': 'Typ'}), 80: ('wagtail.blocks.BooleanBlock', (), {'help_text': 'MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.', 'label': 'Schovat body', 'required': False}), 81: ('wagtail.blocks.CharBlock', (), {'label': 'Skupina', 'max_length': 40}), 82: ('wagtail.blocks.ListBlock', (81,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnÄ› definovanĂ© skupiny', 'required': False}), 83: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ zdroje dat', 'max_length': 120}), 84: ('wagtail.blocks.IntegerBlock', (), {}), 85: ('wagtail.blocks.ListBlock', (84,), {'default': [0], 'label': 'Data'}), 86: ('wagtail.blocks.StructBlock', [[('label', 83), ('data', 85)]], {}), 87: ('wagtail.blocks.ListBlock', (86,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnĂ zdroje dat', 'required': False}), 88: ('wagtail.blocks.MultipleChoiceBlock', [], {'choices': shared.blocks.children.chart.get_redmine_projects, 'label': 'Projekty'}), 89: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen otevĹ™enĂ©', 'required': False}), 90: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen uzavĹ™enĂ©', 'required': False}), 91: ('wagtail.blocks.DateBlock', (), {'label': 'Min. datum vytvoĹ™enĂ', 'required': True}), 92: ('wagtail.blocks.DateBlock', (), {'label': 'Max. datum vytvoĹ™enĂ', 'required': True}), 93: ('wagtail.blocks.CharBlock', (), {'help_text': 'NapĹ™. <=2023-01-01. VĂce informacĂ na pi2.cz/redmine-api', 'label': 'Filtr pro datum aktualizace', 'max_length': 128, 'required': False}), 94: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu', 'max_length': 128, 'required': True}), 95: ('wagtail.blocks.BooleanBlock', (), {'label': 'RozdÄ›lit podle projektu', 'required': False}), 96: ('wagtail.blocks.BooleanBlock', (), {'label': 'Pouze rĹŻst nahoru', 'required': False}), 97: ('wagtail.blocks.StructBlock', [[('projects', 88), ('is_open', 89), ('is_closed', 90), ('created_on_min_date', 91), ('created_on_max_date', 92), ('updated_on', 93), ('issue_label', 94), ('split_per_project', 95), ('only_grow', 96)]], {'label': 'Redmine Ăşkoly'}), 98: ('wagtail.blocks.ListBlock', (97,), {'blank': True, 'default': [], 'help_text': 'Ăškoly, podle doby vytvoĹ™enĂ. Pokud definuješ vĂce zdrojĹŻ, datumy v nich musĂ bĂ˝t stejnĂ©.', 'label': 'Zdroje dat z Redmine (Ăşkoly)', 'required': False}), 99: ('wagtail.blocks.StructBlock', [[('title', 78), ('chart_type', 79), ('hide_points', 80), ('local_labels', 82), ('local_datasets', 87), ('redmine_issue_datasets', 98)]], {}), 100: ('wagtail.blocks.PageChooserBlock', ('district.DistrictArticlePage',), {'label': 'Aktualita', 'required': True}), 101: ('wagtail.blocks.ListBlock', (100,), {'label': 'Seznam aktualit', 'required': True}), 102: ('wagtail.blocks.StructBlock', [[('articles', 101)]], {}), 103: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Osoba', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage'], 'required': True}), 104: ('wagtail.blocks.CharBlock', (), {'help_text': 'VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.', 'label': 'Popisek', 'required': False}), 105: ('wagtail.blocks.StructBlock', [[('person', 103), ('caption', 104)]], {}), 106: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek'}), 107: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no', 'label': 'Slug skupiny', 'required': False}), 108: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage']}), 109: ('wagtail.blocks.ListBlock', (108,), {'default': [], 'help_text': 'S pozicemi z jejich podstránek', 'label': 'Osoby'}), 110: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage', 'district.DistrictPersonPage']}), 111: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.', 'label': 'Pozice', 'required': False}), 112: ('wagtail.blocks.StructBlock', [[('page', 110), ('position', 111)]], {}), 113: ('wagtail.blocks.ListBlock', (112,), {'default': [], 'help_text': 'S nastavitelnĂ˝mi pozicemi', 'label': 'Osoby'}), 114: ('wagtail.blocks.StructBlock', [[('title', 106), ('slug', 107), ('person_list', 109), ('person_list_with_custom_positions', 113)]], {})}, verbose_name='Obsah'), + model_name="districtgeofeaturedetailpage", + name="content", + field=wagtail.fields.StreamField( + [ + ("text", 0), + ("advanced_text", 4), + ("two_columns_text", 7), + ("headline", 12), + ("headline_with_picture", 15), + ("picture_list", 19), + ("flip_cards", 30), + ("table", 31), + ("popout_table", 32), + ("gallery", 35), + ("figure", 38), + ("card", 62), + ("two_columns", 71), + ("three_columns", 73), + ("youtube", 74), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ("popout_point", 77), + ("chart", 99), + ("related", 102), + ("related_links", 102), + ("badge", 105), + ("new_people_group", 114), + ], + blank=True, + block_lookup={ + 0: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + "template": "styleguide2/includes/atoms/text/prose_richtext.html", + }, + ), + 1: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("left", "vlevo"), + ("center", "uprostĹ™ed"), + ("right", "vpravo"), + ], + "label": "zarovnánĂ", + }, + ), + 2: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black_on_white", "ÄŤerná na bĂlĂ©"), + ("black_on_yellow", "ÄŤerná na ĹľlutĂ©"), + ("white_on_black", "bĂlá na ÄŤernĂ©"), + ("white_on_blue", "bĂlá na modrĂ©"), + ("white_on_cyan", "bĂlá na tyrkysovĂ©"), + ("white_on_violet", "bĂlá na fialovĂ©"), + ], + "label": "barva", + }, + ), + 3: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + }, + ), + 4: ( + "wagtail.blocks.StructBlock", + [[("align", 1), ("color", 2), ("text", 3)]], + {}, + ), + 5: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "levĂ˝ sloupec", + }, + ), + 6: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "pravĂ˝ sloupec", + }, + ), + 7: ( + "wagtail.blocks.StructBlock", + [[("left_text", 5), ("right_text", 6)]], + {}, + ), + 8: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Nadpis", "max_length": 300, "required": True}, + ), + 9: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("h1", "H1"), + ("h2", "H2"), + ("h3", "H3"), + ("h4", "H4"), + ("h5", "H5"), + ("h6", "H6"), + ], + "help_text": "ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.", + "label": "ĂšroveĹ nadpisu", + }, + ), + 10: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("head-alt-xl", "VelkĂ˝, Bebas Neue - 6XL"), + ("head-alt-lg", "StĹ™ednĂ, Bebas Neue - 4XL"), + ("head-alt-md", "ZákladnĂ velikost - Roboto - MD"), + ("head-alt-sm", "MalĂ˝ - Roboto - SM"), + ("head-alt-xs", "Extra malĂ˝ - Roboto - XS"), + ], + "help_text": "Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.", + "label": "Velikost", + }, + ), + 11: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("auto", "Automaticky"), + ("center", "Na stĹ™ed"), + ], + "label": "ZarovnánĂ", + }, + ), + 12: ( + "wagtail.blocks.StructBlock", + [[("headline", 8), ("tag", 9), ("style", 10), ("align", 11)]], + {}, + ), + 13: ("wagtail.blocks.CharBlock", (), {"label": "nadpis"}), + 14: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)", + "label": "obrázek", + }, + ), + 15: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("title", 13), ("picture", 14)]], + {}, + ), + 16: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "Odstavec", + }, + ), + 17: ("wagtail.blocks.ListBlock", (16,), {"label": "Odstavce"}), + 18: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)", + "label": "Obrázek", + }, + ), + 19: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("items", 17), ("picture", 18)]], + {}, + ), + 20: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "FEC900", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva pozadĂ", + }, + ), + 21: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.", + "label": "Obrázek", + "required": False, + }, + ), + 22: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje obrázek. Nelze vybrat obÄ› najednou.", + "label": "PozadĂ", + "required": False, + }, + ), + 23: ( + "wagtail.blocks.TextBlock", + (), + {"help_text": "ĹádkovánĂ je manuálnĂ.", "label": "Nadpis"}, + ), + 24: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva textu", + }, + ), + 25: ("wagtail.blocks.RichTextBlock", (), {"label": "Obsah"}), + 26: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.", + "label": "Nadpis tlaÄŤĂtka", + "required": False, + }, + ), + 27: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Odkaz tlaÄŤĂtka", "required": False}, + ), + 28: ( + "wagtail.blocks.StructBlock", + [ + [ + ("bg_color", 20), + ("image", 21), + ("background", 22), + ("title", 23), + ("title_color", 24), + ("content", 25), + ("button_text", 26), + ("button_url", 27), + ] + ], + {"label": "Karta"}, + ), + 29: ("wagtail.blocks.ListBlock", (28,), {"label": "Karty"}), + 30: ("wagtail.blocks.StructBlock", [[("cards", 29)]], {}), + 31: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "Tabulka", + "template": "styleguide2/includes/atoms/table/table.html", + }, + ), + 32: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "RozbalovacĂ tabulka", + "template": "styleguide2/includes/atoms/table/popout_table.html", + }, + ), + 33: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "obrázek", "required": True}, + ), + 34: ( + "wagtail.blocks.ListBlock", + (33,), + {"group": "3. OstatnĂ", "icon": "image", "label": "Galerie"}, + ), + 35: ( + "wagtail.blocks.StructBlock", + [[("gallery_items", 34)]], + {"label": "Galerie"}, + ), + 36: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": True}, + ), + 37: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Popisek", "required": False}, + ), + 38: ( + "wagtail.blocks.StructBlock", + [[("img", 36), ("caption", 37)]], + {}, + ), + 39: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": False}, + ), + 40: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Titulek", "required": False}, + ), + 41: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.", + "label": "Náhled videa (automatickĂ© pole)", + "required": False, + }, + ), + 42: ( + "wagtail.blocks.URLBlock", + (), + { + "help_text": "Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.", + "label": "Odkaz na video", + "required": False, + }, + ), + 43: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.", + "label": "ID videa (automatickĂ© pole)", + "required": False, + }, + ), + 44: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "label": "ZabĂrá celou šĂĹ™ku?", + "required": True, + }, + ), + 45: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ] + ], + {}, + ), + 46: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 50.04075", "label": "ZemÄ›pisná šĂĹ™ka"}, + ), + 47: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 15.77659", "label": "ZemÄ›pisná dĂ©lka"}, + ), + 48: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva špendlĂku (HEX)", + }, + ), + 49: ( + "wagtail.blocks.IntegerBlock", + (), + { + "default": 15, + "label": "VĂ˝chozĂ zoom", + "max_value": 18, + "min_value": 1, + }, + ), + 50: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("osm-mapnik", "OSM Mapnik"), + ("stadia-osm-bright", "Stadia OSM Bright"), + ("stadia-outdoors", "Stadia Outdoors"), + ("mapbox-streets", "Mapbox Streets"), + ("mapbox-outdoors", "Mapbox Outdoors"), + ("mapbox-light", "Mapbox Light"), + ("mapbox-dark", "Mapbox Dark"), + ("mapbox-satellite", "Mapbox Satellite"), + ("mapbox-pirate", "Mapbox Pirate Theme"), + ], + "label": "Styl", + }, + ), + 51: ( + "wagtail.blocks.IntegerBlock", + (), + {"label": "Výška v px", "max_value": 1000, "min_value": 100}, + ), + 52: ( + "wagtail.blocks.StructBlock", + [ + [ + ("lat", 46), + ("lon", 47), + ("hex_color", 48), + ("zoom", 49), + ("style", 50), + ("height", 51), + ] + ], + {"label": "Ĺ pendlĂk na mapÄ›"}, + ), + 53: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": True}, + ), + 54: ( + "wagtail.blocks.TextBlock", + (), + { + "help_text": "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", + "label": "Geodata", + "required": True, + }, + ), + 55: ( + "wagtail.blocks.URLBlock", + (), + {"label": "Odkaz", "required": False}, + ), + 56: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva (HEX)", + }, + ), + 57: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 53), + ("description", 37), + ("geojson", 54), + ("image", 39), + ("link", 55), + ("hex_color", 56), + ] + ], + {"required": True}, + ), + 58: ("wagtail.blocks.ListBlock", (57,), {"label": "Součásti"}), + 59: ( + "wagtail.blocks.StructBlock", + [ + [ + ("features", 58), + ("zoom", 49), + ("style", 50), + ("height", 51), + ] + ], + {"label": "Mapová kolekce"}, + ), + 60: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ] + ], + {"label": "Obsah", "required": False}, + ), + 61: ( + "wagtail.blocks.PageChooserBlock", + (), + {"label": "Stránka", "required": False}, + ), + 62: ( + "wagtail.blocks.StructBlock", + [ + [ + ("img", 39), + ("headline", 40), + ("content", 60), + ("page", 61), + ("link", 55), + ] + ], + {}, + ), + 63: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "max_length": 128, "required": True}, + ), + 64: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black", "ÄŚerná"), + ("white", "BĂlá"), + ("pirati-yellow", "Ĺ˝lutá"), + ("grey-125", "SvÄ›tle šedá"), + ("blue-300", "Modrá"), + ("cyan-200", "Tyrkysová"), + ("green-400", "Zelená"), + ("violet-400", "VĂnová"), + ("red-600", "ÄŚervená"), + ], + "label": "Barva", + }, + ), + 65: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": True, + "help_text": "Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.", + "label": "Animovat na hover", + "required": False, + }, + ), + 66: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 63), + ("color", 64), + ("hoveractive", 65), + ("page", 61), + ("link", 55), + ("align", 11), + ] + ], + {}, + ), + 67: ("wagtail.blocks.ListBlock", (66,), {"label": "TlaÄŤĂtka"}), + 68: ("wagtail.blocks.StructBlock", [[("buttons", 67)]], {}), + 69: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 69), ("right_column_content", 70)]], + {}, + ), + 72: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 73: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 69), + ("middle_column_content", 72), + ("right_column_content", 70), + ] + ], + {}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ] + ], + {"label": "YouTube video"}, + ), + 75: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 76: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 77: ( + "wagtail.blocks.StructBlock", + [[("name", 75), ("content", 76)]], + {}, + ), + 78: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "max_length": 120}, + ), + 79: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("bar", "Graf se sloupci"), + ("horizontalBar", "Graf s vodorovnĂ˝mi sloupci"), + ("pie", "KoláčovĂ˝ graf"), + ("doughnut", "DonutovĂ˝ graf"), + ("polarArea", "Graf polárnĂ oblasti"), + ("radar", "RadarovĂ˝ graf"), + ("line", "Graf s liniemi"), + ], + "label": "Typ", + }, + ), + 80: ( + "wagtail.blocks.BooleanBlock", + (), + { + "help_text": "MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.", + "label": "Schovat body", + "required": False, + }, + ), + 81: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Skupina", "max_length": 40}, + ), + 82: ( + "wagtail.blocks.ListBlock", + (81,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnÄ› definovanĂ© skupiny", + "required": False, + }, + ), + 83: ( + "wagtail.blocks.CharBlock", + (), + {"label": "OznaÄŤenĂ zdroje dat", "max_length": 120}, + ), + 84: ("wagtail.blocks.IntegerBlock", (), {}), + 85: ( + "wagtail.blocks.ListBlock", + (84,), + {"default": [0], "label": "Data"}, + ), + 86: ( + "wagtail.blocks.StructBlock", + [[("label", 83), ("data", 85)]], + {}, + ), + 87: ( + "wagtail.blocks.ListBlock", + (86,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnĂ zdroje dat", + "required": False, + }, + ), + 88: ( + "wagtail.blocks.MultipleChoiceBlock", + [], + { + "choices": shared.blocks.children.chart.get_redmine_projects, + "label": "Projekty", + }, + ), + 89: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen otevĹ™enĂ©", "required": False}, + ), + 90: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen uzavĹ™enĂ©", "required": False}, + ), + 91: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Min. datum vytvoĹ™enĂ", "required": True}, + ), + 92: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Max. datum vytvoĹ™enĂ", "required": True}, + ), + 93: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NapĹ™. <=2023-01-01. VĂce informacĂ na pi2.cz/redmine-api", + "label": "Filtr pro datum aktualizace", + "max_length": 128, + "required": False, + }, + ), + 94: ( + "wagtail.blocks.CharBlock", + (), + { + "label": "OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu", + "max_length": 128, + "required": True, + }, + ), + 95: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "RozdÄ›lit podle projektu", "required": False}, + ), + 96: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Pouze rĹŻst nahoru", "required": False}, + ), + 97: ( + "wagtail.blocks.StructBlock", + [ + [ + ("projects", 88), + ("is_open", 89), + ("is_closed", 90), + ("created_on_min_date", 91), + ("created_on_max_date", 92), + ("updated_on", 93), + ("issue_label", 94), + ("split_per_project", 95), + ("only_grow", 96), + ] + ], + {"label": "Redmine Ăşkoly"}, + ), + 98: ( + "wagtail.blocks.ListBlock", + (97,), + { + "blank": True, + "default": [], + "help_text": "Ăškoly, podle doby vytvoĹ™enĂ. Pokud definuješ vĂce zdrojĹŻ, datumy v nich musĂ bĂ˝t stejnĂ©.", + "label": "Zdroje dat z Redmine (Ăşkoly)", + "required": False, + }, + ), + 99: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 78), + ("chart_type", 79), + ("hide_points", 80), + ("local_labels", 82), + ("local_datasets", 87), + ("redmine_issue_datasets", 98), + ] + ], + {}, + ), + 100: ( + "wagtail.blocks.PageChooserBlock", + ("district.DistrictArticlePage",), + {"label": "Aktualita", "required": True}, + ), + 101: ( + "wagtail.blocks.ListBlock", + (100,), + {"label": "Seznam aktualit", "required": True}, + ), + 102: ("wagtail.blocks.StructBlock", [[("articles", 101)]], {}), + 103: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Osoba", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + "required": True, + }, + ), + 104: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.", + "label": "Popisek", + "required": False, + }, + ), + 105: ( + "wagtail.blocks.StructBlock", + [[("person", 103), ("caption", 104)]], + {}, + ), + 106: ("wagtail.blocks.CharBlock", (), {"label": "Titulek"}), + 107: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no", + "label": "Slug skupiny", + "required": False, + }, + ), + 108: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + }, + ), + 109: ( + "wagtail.blocks.ListBlock", + (108,), + { + "default": [], + "help_text": "S pozicemi z jejich podstránek", + "label": "Osoby", + }, + ), + 110: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + "district.DistrictPersonPage", + ], + }, + ), + 111: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.", + "label": "Pozice", + "required": False, + }, + ), + 112: ( + "wagtail.blocks.StructBlock", + [[("page", 110), ("position", 111)]], + {}, + ), + 113: ( + "wagtail.blocks.ListBlock", + (112,), + { + "default": [], + "help_text": "S nastavitelnĂ˝mi pozicemi", + "label": "Osoby", + }, + ), + 114: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 106), + ("slug", 107), + ("person_list", 109), + ("person_list_with_custom_positions", 113), + ] + ], + {}, + ), + }, + verbose_name="Obsah", + ), ), migrations.AlterField( - model_name='districtnewprogrampage', - name='program', - field=wagtail.fields.StreamField([('program_group', 7), ('program_group_crossroad', 15), ('program_group_popout', 25), ('program_group_with_candidates', 139)], blank=True, block_lookup={0: ('wagtail.blocks.CharBlock', (), {'help_text': "NapĹ™. 'KrajskĂ© volby 2024', 'EvropskĂ© volby 2024', ...", 'label': 'Název programu'}), 1: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz pokrĂ˝vajĂcĂ celou tuto část', 'required': False}), 2: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Ikona', 'required': False}), 3: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek ÄŤlánku programu'}), 4: ('wagtail.blocks.RichTextBlock', (), {'features': ['h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Obsah'}), 5: ('wagtail.blocks.StructBlock', [[('url', 1), ('icon', 2), ('title', 3), ('text', 4)]], {}), 6: ('wagtail.blocks.ListBlock', (5,), {'label': 'JednotlivĂ© ÄŤlánky programu'}), 7: ('wagtail.blocks.StructBlock', [[('title', 0), ('point_list', 6)]], {}), 8: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek'}), 9: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 10: ('wagtail.blocks.RichTextBlock', (), {'label': 'KrátkĂ˝ text pod nadpisem', 'required': False}), 11: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'page_type': ['district.DistrictArticlesPage', 'district.DistrictCenterPage', 'district.DistrictContactPage', 'district.DistrictCrossroadPage', 'district.DistrictCustomPage', 'district.DistrictPeoplePage', 'district.DistrictGeoFeatureCollectionPage', 'district.DistrictCalendarPage', 'district.DistrictPdfPage', 'district.DistrictNewProgramPage'], 'required': False}), 12: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 13: ('wagtail.blocks.StructBlock', [[('image', 8), ('title', 9), ('text', 10), ('page', 11), ('link', 12)]], {}), 14: ('wagtail.blocks.ListBlock', (13,), {'label': 'Karty programu'}), 15: ('wagtail.blocks.StructBlock', [[('title', 0), ('point_list', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'help_text': 'ZobrazĂ se nad pĹ™epĂnaÄŤem mezi kandidáty a programem.', 'label': 'Preambule', 'required': False}), 17: ('wagtail.blocks.CharBlock', (), {'label': 'Název'}), 18: ('wagtail.blocks.RichTextBlock', (), {'label': 'Popis', 'required': False}), 19: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek vyskakovacĂho bloku'}), 20: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Garant', 'page_type': ['district.DistrictPersonPage'], 'required': False}), 21: ('wagtail.blocks.StructBlock', [[('title', 19), ('content', 4), ('guarantor', 20)]], {}), 22: ('wagtail.blocks.ListBlock', (21,), {'label': 'JednotlivĂ© bloky programu'}), 23: ('wagtail.blocks.StructBlock', [[('name', 17), ('icon', 2), ('description', 18), ('point_list', 22)]], {}), 24: ('wagtail.blocks.ListBlock', (23,), {'label': 'Kategorie programu'}), 25: ('wagtail.blocks.StructBlock', [[('title', 0), ('preamble', 16), ('categories', 24)]], {}), 26: ('wagtail.blocks.RichTextBlock', (), {'help_text': 'Text, kterĂ˝ se zobrazĂ pĹ™ed pĹ™epĂnaÄŤem mezi kandidáty a programem.', 'label': 'Preambule', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'default': 'Kandidáti', 'label': 'Nadpis záloĹľky pro kandidáty'}), 28: ('wagtail.blocks.CharBlock', (), {'default': 'Program', 'label': 'Nadpis záloĹľky pro program'}), 29: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage']}), 30: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Pokud nenĂ vybrán, pouĹľije se obrázek ze stránky kandidáta', 'label': 'Obrázek', 'required': False}), 31: ('wagtail.blocks.StructBlock', [[('page', 29), ('image', 30), ('description', 18)]], {}), 32: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis'}), 33: ('wagtail.blocks.CharBlock', (), {'label': 'Podnadpis', 'required': False}), 34: ('wagtail.blocks.CharBlock', (), {'label': 'PovolánĂ', 'required': False}), 35: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 36: ('wagtail.blocks.CharBlock', (), {'default': 'Zjisti vĂce', 'help_text': 'Pokud nenĂ vyplnÄ›no, odkaz tlaÄŤĂtka se nezobrazĂ', 'label': 'Text tlaÄŤĂtka', 'required': False}), 37: ('wagtail.blocks.StructBlock', [[('title', 32), ('subtitle', 33), ('job', 34), ('image', 30), ('description', 18), ('button_url', 35), ('button_text', 36)]], {}), 38: ('wagtail.blocks.StreamBlock', [[('candidate', 31), ('custom_candidate', 37)]], {'label': ' ', 'required': False}), 39: ('wagtail.blocks.StructBlock', [[('stream_candidates', 38)]], {'help_text': 'ZobrazĂ se ve velkĂ˝ch blocĂch na začátku stránky.', 'label': 'Osoby na ÄŤele kandidátky'}), 40: ('wagtail.blocks.CharBlock', (), {'default': 'OstatnĂ kandidáti', 'label': ' ', 'required': False}), 41: ('wagtail.blocks.CharBlock', (), {'label': 'ÄŚĂslo'}), 42: ('wagtail.blocks.StructBlock', [[('number', 41), ('page', 29), ('image', 30)]], {}), 43: ('wagtail.blocks.ListBlock', (42,), {'default': [], 'label': ' ', 'min_num': 0}), 44: ('wagtail.blocks.StructBlock', [[('heading', 40), ('candidates', 43)]], {'help_text': 'ZobrazĂ se v kompaktnĂm seznamu pod ÄŤelem kandidátky. NĂĹľe mĹŻĹľeš zmÄ›nit nadpis.', 'label': 'OstatnĂ osoby na kandidátce'}), 45: ('wagtail.blocks.CharBlock', (), {'help_text': "NapĹ™. 'VolebnĂ noviny'", 'label': 'Název sekce'}), 46: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 47: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 48: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 49: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 50: ('wagtail.blocks.StructBlock', [[('align', 47), ('color', 48), ('text', 49)]], {}), 51: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 52: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 53: ('wagtail.blocks.StructBlock', [[('left_text', 51), ('right_text', 52)]], {}), 54: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 55: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 56: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 57: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 58: ('wagtail.blocks.StructBlock', [[('headline', 54), ('tag', 55), ('style', 56), ('align', 57)]], {}), 59: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 60: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 61: ('wagtail.blocks.StructBlock', [[('color', 48), ('title', 59), ('picture', 60)]], {}), 62: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 63: ('wagtail.blocks.ListBlock', (62,), {'label': 'Odstavce'}), 64: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 65: ('wagtail.blocks.StructBlock', [[('color', 48), ('items', 63), ('picture', 64)]], {}), 66: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 67: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 68: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 69: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 70: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 71: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 72: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 73: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 74: ('wagtail.blocks.StructBlock', [[('bg_color', 66), ('image', 67), ('background', 68), ('title', 69), ('title_color', 70), ('content', 71), ('button_text', 72), ('button_url', 73)]], {'label': 'Karta'}), 75: ('wagtail.blocks.ListBlock', (74,), {'label': 'Karty'}), 76: ('wagtail.blocks.StructBlock', [[('cards', 75)]], {}), 77: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 78: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 79: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 80: ('wagtail.blocks.ListBlock', (79,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 81: ('wagtail.blocks.StructBlock', [[('gallery_items', 80)]], {'label': 'Galerie'}), 82: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 83: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 84: ('wagtail.blocks.StructBlock', [[('img', 82), ('caption', 83)]], {}), 85: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 86: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 87: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 88: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 89: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 90: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 91: ('wagtail.blocks.StructBlock', [[('poster_image', 87), ('video_url', 88), ('video_id', 89), ('is_full_width', 90)]], {}), 92: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 93: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 94: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 95: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 96: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('osm-mapnik', 'OSM Mapnik'), ('stadia-osm-bright', 'Stadia OSM Bright'), ('stadia-outdoors', 'Stadia Outdoors'), ('mapbox-streets', 'Mapbox Streets'), ('mapbox-outdoors', 'Mapbox Outdoors'), ('mapbox-light', 'Mapbox Light'), ('mapbox-dark', 'Mapbox Dark'), ('mapbox-satellite', 'Mapbox Satellite'), ('mapbox-pirate', 'Mapbox Pirate Theme')], 'label': 'Styl'}), 97: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 98: ('wagtail.blocks.StructBlock', [[('lat', 92), ('lon', 93), ('hex_color', 94), ('zoom', 95), ('style', 96), ('height', 97)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 99: ('wagtail.blocks.TextBlock', (), {'help_text': "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", 'label': 'Geodata', 'required': True}), 100: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 101: ('wagtail.blocks.StructBlock', [[('title', 9), ('description', 83), ('geojson', 99), ('image', 85), ('link', 12), ('hex_color', 100)]], {'required': True}), 102: ('wagtail.blocks.ListBlock', (101,), {'label': 'Součásti'}), 103: ('wagtail.blocks.StructBlock', [[('features', 102), ('zoom', 95), ('style', 96), ('height', 97)]], {'label': 'Mapová kolekce'}), 104: ('wagtail.blocks.StreamBlock', [[('text', 49), ('table', 77), ('figure', 84), ('youtube', 91), ('map_point', 98), ('map_collection', 103)]], {'label': 'Obsah', 'required': False}), 105: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 106: ('wagtail.blocks.StructBlock', [[('img', 85), ('headline', 86), ('content', 104), ('page', 105), ('link', 12)]], {}), 107: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 108: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black', 'ÄŚerná'), ('white', 'BĂlá'), ('pirati-yellow', 'Ĺ˝lutá'), ('grey-125', 'SvÄ›tle šedá'), ('blue-300', 'Modrá'), ('cyan-200', 'Tyrkysová'), ('green-400', 'Zelená'), ('violet-400', 'VĂnová'), ('red-600', 'ÄŚervená')], 'label': 'Barva'}), 109: ('wagtail.blocks.BooleanBlock', (), {'default': True, 'help_text': 'Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.', 'label': 'Animovat na hover', 'required': False}), 110: ('wagtail.blocks.StructBlock', [[('title', 107), ('color', 108), ('hoveractive', 109), ('page', 105), ('link', 12), ('align', 57)]], {}), 111: ('wagtail.blocks.ListBlock', (110,), {'label': 'TlaÄŤĂtka'}), 112: ('wagtail.blocks.StructBlock', [[('buttons', 111)]], {}), 113: ('wagtail.blocks.StreamBlock', [[('text', 49), ('table', 77), ('card', 106), ('figure', 84), ('youtube', 91), ('map_point', 98), ('map_collection', 103), ('button', 110), ('button_group', 112)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 114: ('wagtail.blocks.StreamBlock', [[('text', 49), ('table', 77), ('card', 106), ('figure', 84), ('youtube', 91), ('map_point', 98), ('map_collection', 103), ('button', 110), ('button_group', 112)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 115: ('wagtail.blocks.StructBlock', [[('left_column_content', 113), ('right_column_content', 114)]], {}), 116: ('wagtail.blocks.StreamBlock', [[('text', 49), ('table', 77), ('card', 106), ('figure', 84), ('youtube', 91), ('map_point', 98), ('map_collection', 103), ('button', 110), ('button_group', 112)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 117: ('wagtail.blocks.StructBlock', [[('left_column_content', 113), ('middle_column_content', 116), ('right_column_content', 114)]], {}), 118: ('wagtail.blocks.StructBlock', [[('poster_image', 87), ('video_url', 88), ('video_id', 89), ('is_full_width', 90)]], {'label': 'YouTube video'}), 119: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 120: ('wagtail.blocks.StreamBlock', [[('text', 46), ('headline', 58), ('table', 77)]], {'label': 'Obsah'}), 121: ('wagtail.blocks.StructBlock', [[('name', 119), ('content', 120)]], {}), 122: ('wagtail.blocks.StreamBlock', [[('text', 46), ('advanced_text', 50), ('two_columns_text', 53), ('headline', 58), ('headline_with_picture', 61), ('picture_list', 65), ('flip_cards', 76), ('table', 77), ('popout_table', 78), ('gallery', 81), ('figure', 84), ('card', 106), ('two_columns', 115), ('three_columns', 117), ('youtube', 118), ('map_point', 98), ('map_collection', 103), ('button', 110), ('button_group', 112), ('popout_point', 121)]], {'label': 'Obsah'}), 123: ('wagtail.blocks.StructBlock', [[('title', 45), ('child_blocks', 122)]], {}), 124: ('wagtail.blocks.ListBlock', (123,), {'default': [], 'help_text': 'PouĹľitelnĂ© napĹ™. pro zobrazenĂ volebnĂch novin na separátnĂ záloĹľce stránky s programem.', 'label': 'OstatnĂ záloĹľky', 'min_num': 0}), 125: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz'}), 126: ('wagtail.blocks.StructBlock', [[('text', 17), ('link', 125)]], {'label': 'Odkaz'}), 127: ('wagtail.blocks.ListBlock', (126,), {'default': [], 'help_text': 'Odkazy na jinĂ© části stránky, kterĂ© se zobrazĂ jako záloĹľka nahoĹ™e.', 'label': 'Odkazy zobrazenĂ© jako záloĹľky', 'min_num': 0}), 128: ('wagtail.blocks.CharBlock', (), {'default': 'Program', 'help_text': "NapĹ™. 'Program'", 'label': 'Nadpis'}), 129: ('wagtail.blocks.IntegerBlock', (), {'label': 'ÄŚĂslo'}), 130: ('wagtail.blocks.TextBlock', (), {'label': 'Obsah'}), 131: ('wagtail.blocks.StructBlock', [[('content', 130)]], {}), 132: ('wagtail.blocks.ListBlock', (131,), {'label': 'Body'}), 133: ('wagtail.blocks.StructBlock', [[('number', 129), ('name', 17), ('points', 132)]], {}), 134: ('wagtail.blocks.ListBlock', (133,), {'label': 'Kategorie'}), 135: ('wagtail.blocks.URLBlock', (), {'help_text': 'Pro zobrazenĂ odkazu na celou verzi programu musĂ bĂ˝t obÄ› následujĂcĂ pole vyplnÄ›ná.', 'label': 'Odkaz na celou verzi programu', 'required': False}), 136: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis odkazu na celou verzi programu', 'required': False}), 137: ('wagtail.blocks.StructBlock', [[('label', 128), ('categories', 134), ('long_version_url', 135), ('long_version_text', 136)]], {'template': 'styleguide2/includes/molecules/program/program_block.html'}), 138: ('wagtail.blocks.StreamBlock', [[('program_group', 7), ('program_group_crossroad', 15), ('program_group_popout', 25), ('carousel_program', 137)]], {'required': False}), 139: ('wagtail.blocks.StructBlock', [[('title', 0), ('preamble_content', 26), ('candidates_title', 27), ('program_title', 28), ('primary_candidates', 39), ('secondary_candidates', 44), ('other_views', 124), ('tab_links', 127), ('program', 138)]], {})}, verbose_name='Programy'), + model_name="districtnewprogrampage", + name="program", + field=wagtail.fields.StreamField( + [ + ("program_group", 7), + ("program_group_crossroad", 15), + ("program_group_popout", 25), + ("program_group_with_candidates", 139), + ], + blank=True, + block_lookup={ + 0: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NapĹ™. 'KrajskĂ© volby 2024', 'EvropskĂ© volby 2024', ...", + "label": "Název programu", + }, + ), + 1: ( + "wagtail.blocks.URLBlock", + (), + { + "label": "Odkaz pokrĂ˝vajĂcĂ celou tuto část", + "required": False, + }, + ), + 2: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Ikona", "required": False}, + ), + 3: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek ÄŤlánku programu"}, + ), + 4: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "Obsah", + }, + ), + 5: ( + "wagtail.blocks.StructBlock", + [[("url", 1), ("icon", 2), ("title", 3), ("text", 4)]], + {}, + ), + 6: ( + "wagtail.blocks.ListBlock", + (5,), + {"label": "JednotlivĂ© ÄŤlánky programu"}, + ), + 7: ( + "wagtail.blocks.StructBlock", + [[("title", 0), ("point_list", 6)]], + {}, + ), + 8: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek"}, + ), + 9: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": True}, + ), + 10: ( + "wagtail.blocks.RichTextBlock", + (), + {"label": "KrátkĂ˝ text pod nadpisem", "required": False}, + ), + 11: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Stránka", + "page_type": [ + "district.DistrictArticlesPage", + "district.DistrictCenterPage", + "district.DistrictContactPage", + "district.DistrictCrossroadPage", + "district.DistrictCustomPage", + "district.DistrictPeoplePage", + "district.DistrictGeoFeatureCollectionPage", + "district.DistrictCalendarPage", + "district.DistrictPdfPage", + "district.DistrictNewProgramPage", + ], + "required": False, + }, + ), + 12: ( + "wagtail.blocks.URLBlock", + (), + {"label": "Odkaz", "required": False}, + ), + 13: ( + "wagtail.blocks.StructBlock", + [ + [ + ("image", 8), + ("title", 9), + ("text", 10), + ("page", 11), + ("link", 12), + ] + ], + {}, + ), + 14: ( + "wagtail.blocks.ListBlock", + (13,), + {"label": "Karty programu"}, + ), + 15: ( + "wagtail.blocks.StructBlock", + [[("title", 0), ("point_list", 14)]], + {}, + ), + 16: ( + "wagtail.blocks.RichTextBlock", + (), + { + "help_text": "ZobrazĂ se nad pĹ™epĂnaÄŤem mezi kandidáty a programem.", + "label": "Preambule", + "required": False, + }, + ), + 17: ("wagtail.blocks.CharBlock", (), {"label": "Název"}), + 18: ( + "wagtail.blocks.RichTextBlock", + (), + {"label": "Popis", "required": False}, + ), + 19: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek vyskakovacĂho bloku"}, + ), + 20: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Garant", + "page_type": ["district.DistrictPersonPage"], + "required": False, + }, + ), + 21: ( + "wagtail.blocks.StructBlock", + [[("title", 19), ("content", 4), ("guarantor", 20)]], + {}, + ), + 22: ( + "wagtail.blocks.ListBlock", + (21,), + {"label": "JednotlivĂ© bloky programu"}, + ), + 23: ( + "wagtail.blocks.StructBlock", + [ + [ + ("name", 17), + ("icon", 2), + ("description", 18), + ("point_list", 22), + ] + ], + {}, + ), + 24: ( + "wagtail.blocks.ListBlock", + (23,), + {"label": "Kategorie programu"}, + ), + 25: ( + "wagtail.blocks.StructBlock", + [[("title", 0), ("preamble", 16), ("categories", 24)]], + {}, + ), + 26: ( + "wagtail.blocks.RichTextBlock", + (), + { + "help_text": "Text, kterĂ˝ se zobrazĂ pĹ™ed pĹ™epĂnaÄŤem mezi kandidáty a programem.", + "label": "Preambule", + "required": False, + }, + ), + 27: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "Kandidáti", + "label": "Nadpis záloĹľky pro kandidáty", + }, + ), + 28: ( + "wagtail.blocks.CharBlock", + (), + {"default": "Program", "label": "Nadpis záloĹľky pro program"}, + ), + 29: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Stránka", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + }, + ), + 30: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Pokud nenĂ vybrán, pouĹľije se obrázek ze stránky kandidáta", + "label": "Obrázek", + "required": False, + }, + ), + 31: ( + "wagtail.blocks.StructBlock", + [[("page", 29), ("image", 30), ("description", 18)]], + {}, + ), + 32: ("wagtail.blocks.CharBlock", (), {"label": "Nadpis"}), + 33: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Podnadpis", "required": False}, + ), + 34: ( + "wagtail.blocks.CharBlock", + (), + {"label": "PovolánĂ", "required": False}, + ), + 35: ( + "wagtail.blocks.URLBlock", + (), + {"label": "Odkaz tlaÄŤĂtka", "required": False}, + ), + 36: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "Zjisti vĂce", + "help_text": "Pokud nenĂ vyplnÄ›no, odkaz tlaÄŤĂtka se nezobrazĂ", + "label": "Text tlaÄŤĂtka", + "required": False, + }, + ), + 37: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 32), + ("subtitle", 33), + ("job", 34), + ("image", 30), + ("description", 18), + ("button_url", 35), + ("button_text", 36), + ] + ], + {}, + ), + 38: ( + "wagtail.blocks.StreamBlock", + [[("candidate", 31), ("custom_candidate", 37)]], + {"label": " ", "required": False}, + ), + 39: ( + "wagtail.blocks.StructBlock", + [[("stream_candidates", 38)]], + { + "help_text": "ZobrazĂ se ve velkĂ˝ch blocĂch na začátku stránky.", + "label": "Osoby na ÄŤele kandidátky", + }, + ), + 40: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "OstatnĂ kandidáti", + "label": " ", + "required": False, + }, + ), + 41: ("wagtail.blocks.CharBlock", (), {"label": "ÄŚĂslo"}), + 42: ( + "wagtail.blocks.StructBlock", + [[("number", 41), ("page", 29), ("image", 30)]], + {}, + ), + 43: ( + "wagtail.blocks.ListBlock", + (42,), + {"default": [], "label": " ", "min_num": 0}, + ), + 44: ( + "wagtail.blocks.StructBlock", + [[("heading", 40), ("candidates", 43)]], + { + "help_text": "ZobrazĂ se v kompaktnĂm seznamu pod ÄŤelem kandidátky. NĂĹľe mĹŻĹľeš zmÄ›nit nadpis.", + "label": "OstatnĂ osoby na kandidátce", + }, + ), + 45: ( + "wagtail.blocks.CharBlock", + (), + {"help_text": "NapĹ™. 'VolebnĂ noviny'", "label": "Název sekce"}, + ), + 46: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + "template": "styleguide2/includes/atoms/text/prose_richtext.html", + }, + ), + 47: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("left", "vlevo"), + ("center", "uprostĹ™ed"), + ("right", "vpravo"), + ], + "label": "zarovnánĂ", + }, + ), + 48: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black_on_white", "ÄŤerná na bĂlĂ©"), + ("black_on_yellow", "ÄŤerná na ĹľlutĂ©"), + ("white_on_black", "bĂlá na ÄŤernĂ©"), + ("white_on_blue", "bĂlá na modrĂ©"), + ("white_on_cyan", "bĂlá na tyrkysovĂ©"), + ("white_on_violet", "bĂlá na fialovĂ©"), + ], + "label": "barva", + }, + ), + 49: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + }, + ), + 50: ( + "wagtail.blocks.StructBlock", + [[("align", 47), ("color", 48), ("text", 49)]], + {}, + ), + 51: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "levĂ˝ sloupec", + }, + ), + 52: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "pravĂ˝ sloupec", + }, + ), + 53: ( + "wagtail.blocks.StructBlock", + [[("left_text", 51), ("right_text", 52)]], + {}, + ), + 54: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Nadpis", "max_length": 300, "required": True}, + ), + 55: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("h1", "H1"), + ("h2", "H2"), + ("h3", "H3"), + ("h4", "H4"), + ("h5", "H5"), + ("h6", "H6"), + ], + "help_text": "ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.", + "label": "ĂšroveĹ nadpisu", + }, + ), + 56: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("head-alt-xl", "VelkĂ˝, Bebas Neue - 6XL"), + ("head-alt-lg", "StĹ™ednĂ, Bebas Neue - 4XL"), + ("head-alt-md", "ZákladnĂ velikost - Roboto - MD"), + ("head-alt-sm", "MalĂ˝ - Roboto - SM"), + ("head-alt-xs", "Extra malĂ˝ - Roboto - XS"), + ], + "help_text": "Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.", + "label": "Velikost", + }, + ), + 57: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("auto", "Automaticky"), + ("center", "Na stĹ™ed"), + ], + "label": "ZarovnánĂ", + }, + ), + 58: ( + "wagtail.blocks.StructBlock", + [[("headline", 54), ("tag", 55), ("style", 56), ("align", 57)]], + {}, + ), + 59: ("wagtail.blocks.CharBlock", (), {"label": "nadpis"}), + 60: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)", + "label": "obrázek", + }, + ), + 61: ( + "wagtail.blocks.StructBlock", + [[("color", 48), ("title", 59), ("picture", 60)]], + {}, + ), + 62: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "Odstavec", + }, + ), + 63: ("wagtail.blocks.ListBlock", (62,), {"label": "Odstavce"}), + 64: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)", + "label": "Obrázek", + }, + ), + 65: ( + "wagtail.blocks.StructBlock", + [[("color", 48), ("items", 63), ("picture", 64)]], + {}, + ), + 66: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "FEC900", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva pozadĂ", + }, + ), + 67: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.", + "label": "Obrázek", + "required": False, + }, + ), + 68: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje obrázek. Nelze vybrat obÄ› najednou.", + "label": "PozadĂ", + "required": False, + }, + ), + 69: ( + "wagtail.blocks.TextBlock", + (), + {"help_text": "ĹádkovánĂ je manuálnĂ.", "label": "Nadpis"}, + ), + 70: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva textu", + }, + ), + 71: ("wagtail.blocks.RichTextBlock", (), {"label": "Obsah"}), + 72: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.", + "label": "Nadpis tlaÄŤĂtka", + "required": False, + }, + ), + 73: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Odkaz tlaÄŤĂtka", "required": False}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("bg_color", 66), + ("image", 67), + ("background", 68), + ("title", 69), + ("title_color", 70), + ("content", 71), + ("button_text", 72), + ("button_url", 73), + ] + ], + {"label": "Karta"}, + ), + 75: ("wagtail.blocks.ListBlock", (74,), {"label": "Karty"}), + 76: ("wagtail.blocks.StructBlock", [[("cards", 75)]], {}), + 77: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "Tabulka", + "template": "styleguide2/includes/atoms/table/table.html", + }, + ), + 78: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "RozbalovacĂ tabulka", + "template": "styleguide2/includes/atoms/table/popout_table.html", + }, + ), + 79: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "obrázek", "required": True}, + ), + 80: ( + "wagtail.blocks.ListBlock", + (79,), + {"group": "3. OstatnĂ", "icon": "image", "label": "Galerie"}, + ), + 81: ( + "wagtail.blocks.StructBlock", + [[("gallery_items", 80)]], + {"label": "Galerie"}, + ), + 82: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": True}, + ), + 83: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Popisek", "required": False}, + ), + 84: ( + "wagtail.blocks.StructBlock", + [[("img", 82), ("caption", 83)]], + {}, + ), + 85: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": False}, + ), + 86: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Titulek", "required": False}, + ), + 87: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.", + "label": "Náhled videa (automatickĂ© pole)", + "required": False, + }, + ), + 88: ( + "wagtail.blocks.URLBlock", + (), + { + "help_text": "Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.", + "label": "Odkaz na video", + "required": False, + }, + ), + 89: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.", + "label": "ID videa (automatickĂ© pole)", + "required": False, + }, + ), + 90: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "label": "ZabĂrá celou šĂĹ™ku?", + "required": True, + }, + ), + 91: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 87), + ("video_url", 88), + ("video_id", 89), + ("is_full_width", 90), + ] + ], + {}, + ), + 92: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 50.04075", "label": "ZemÄ›pisná šĂĹ™ka"}, + ), + 93: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 15.77659", "label": "ZemÄ›pisná dĂ©lka"}, + ), + 94: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva špendlĂku (HEX)", + }, + ), + 95: ( + "wagtail.blocks.IntegerBlock", + (), + { + "default": 15, + "label": "VĂ˝chozĂ zoom", + "max_value": 18, + "min_value": 1, + }, + ), + 96: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("osm-mapnik", "OSM Mapnik"), + ("stadia-osm-bright", "Stadia OSM Bright"), + ("stadia-outdoors", "Stadia Outdoors"), + ("mapbox-streets", "Mapbox Streets"), + ("mapbox-outdoors", "Mapbox Outdoors"), + ("mapbox-light", "Mapbox Light"), + ("mapbox-dark", "Mapbox Dark"), + ("mapbox-satellite", "Mapbox Satellite"), + ("mapbox-pirate", "Mapbox Pirate Theme"), + ], + "label": "Styl", + }, + ), + 97: ( + "wagtail.blocks.IntegerBlock", + (), + {"label": "Výška v px", "max_value": 1000, "min_value": 100}, + ), + 98: ( + "wagtail.blocks.StructBlock", + [ + [ + ("lat", 92), + ("lon", 93), + ("hex_color", 94), + ("zoom", 95), + ("style", 96), + ("height", 97), + ] + ], + {"label": "Ĺ pendlĂk na mapÄ›"}, + ), + 99: ( + "wagtail.blocks.TextBlock", + (), + { + "help_text": "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", + "label": "Geodata", + "required": True, + }, + ), + 100: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva (HEX)", + }, + ), + 101: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 9), + ("description", 83), + ("geojson", 99), + ("image", 85), + ("link", 12), + ("hex_color", 100), + ] + ], + {"required": True}, + ), + 102: ("wagtail.blocks.ListBlock", (101,), {"label": "Součásti"}), + 103: ( + "wagtail.blocks.StructBlock", + [ + [ + ("features", 102), + ("zoom", 95), + ("style", 96), + ("height", 97), + ] + ], + {"label": "Mapová kolekce"}, + ), + 104: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 49), + ("table", 77), + ("figure", 84), + ("youtube", 91), + ("map_point", 98), + ("map_collection", 103), + ] + ], + {"label": "Obsah", "required": False}, + ), + 105: ( + "wagtail.blocks.PageChooserBlock", + (), + {"label": "Stránka", "required": False}, + ), + 106: ( + "wagtail.blocks.StructBlock", + [ + [ + ("img", 85), + ("headline", 86), + ("content", 104), + ("page", 105), + ("link", 12), + ] + ], + {}, + ), + 107: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "max_length": 128, "required": True}, + ), + 108: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black", "ÄŚerná"), + ("white", "BĂlá"), + ("pirati-yellow", "Ĺ˝lutá"), + ("grey-125", "SvÄ›tle šedá"), + ("blue-300", "Modrá"), + ("cyan-200", "Tyrkysová"), + ("green-400", "Zelená"), + ("violet-400", "VĂnová"), + ("red-600", "ÄŚervená"), + ], + "label": "Barva", + }, + ), + 109: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": True, + "help_text": "Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.", + "label": "Animovat na hover", + "required": False, + }, + ), + 110: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 107), + ("color", 108), + ("hoveractive", 109), + ("page", 105), + ("link", 12), + ("align", 57), + ] + ], + {}, + ), + 111: ("wagtail.blocks.ListBlock", (110,), {"label": "TlaÄŤĂtka"}), + 112: ("wagtail.blocks.StructBlock", [[("buttons", 111)]], {}), + 113: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 49), + ("table", 77), + ("card", 106), + ("figure", 84), + ("youtube", 91), + ("map_point", 98), + ("map_collection", 103), + ("button", 110), + ("button_group", 112), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 114: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 49), + ("table", 77), + ("card", 106), + ("figure", 84), + ("youtube", 91), + ("map_point", 98), + ("map_collection", 103), + ("button", 110), + ("button_group", 112), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 115: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 113), ("right_column_content", 114)]], + {}, + ), + 116: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 49), + ("table", 77), + ("card", 106), + ("figure", 84), + ("youtube", 91), + ("map_point", 98), + ("map_collection", 103), + ("button", 110), + ("button_group", 112), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 117: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 113), + ("middle_column_content", 116), + ("right_column_content", 114), + ] + ], + {}, + ), + 118: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 87), + ("video_url", 88), + ("video_id", 89), + ("is_full_width", 90), + ] + ], + {"label": "YouTube video"}, + ), + 119: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 120: ( + "wagtail.blocks.StreamBlock", + [[("text", 46), ("headline", 58), ("table", 77)]], + {"label": "Obsah"}, + ), + 121: ( + "wagtail.blocks.StructBlock", + [[("name", 119), ("content", 120)]], + {}, + ), + 122: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 46), + ("advanced_text", 50), + ("two_columns_text", 53), + ("headline", 58), + ("headline_with_picture", 61), + ("picture_list", 65), + ("flip_cards", 76), + ("table", 77), + ("popout_table", 78), + ("gallery", 81), + ("figure", 84), + ("card", 106), + ("two_columns", 115), + ("three_columns", 117), + ("youtube", 118), + ("map_point", 98), + ("map_collection", 103), + ("button", 110), + ("button_group", 112), + ("popout_point", 121), + ] + ], + {"label": "Obsah"}, + ), + 123: ( + "wagtail.blocks.StructBlock", + [[("title", 45), ("child_blocks", 122)]], + {}, + ), + 124: ( + "wagtail.blocks.ListBlock", + (123,), + { + "default": [], + "help_text": "PouĹľitelnĂ© napĹ™. pro zobrazenĂ volebnĂch novin na separátnĂ záloĹľce stránky s programem.", + "label": "OstatnĂ záloĹľky", + "min_num": 0, + }, + ), + 125: ("wagtail.blocks.URLBlock", (), {"label": "Odkaz"}), + 126: ( + "wagtail.blocks.StructBlock", + [[("text", 17), ("link", 125)]], + {"label": "Odkaz"}, + ), + 127: ( + "wagtail.blocks.ListBlock", + (126,), + { + "default": [], + "help_text": "Odkazy na jinĂ© části stránky, kterĂ© se zobrazĂ jako záloĹľka nahoĹ™e.", + "label": "Odkazy zobrazenĂ© jako záloĹľky", + "min_num": 0, + }, + ), + 128: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "Program", + "help_text": "NapĹ™. 'Program'", + "label": "Nadpis", + }, + ), + 129: ("wagtail.blocks.IntegerBlock", (), {"label": "ÄŚĂslo"}), + 130: ("wagtail.blocks.TextBlock", (), {"label": "Obsah"}), + 131: ("wagtail.blocks.StructBlock", [[("content", 130)]], {}), + 132: ("wagtail.blocks.ListBlock", (131,), {"label": "Body"}), + 133: ( + "wagtail.blocks.StructBlock", + [[("number", 129), ("name", 17), ("points", 132)]], + {}, + ), + 134: ("wagtail.blocks.ListBlock", (133,), {"label": "Kategorie"}), + 135: ( + "wagtail.blocks.URLBlock", + (), + { + "help_text": "Pro zobrazenĂ odkazu na celou verzi programu musĂ bĂ˝t obÄ› následujĂcĂ pole vyplnÄ›ná.", + "label": "Odkaz na celou verzi programu", + "required": False, + }, + ), + 136: ( + "wagtail.blocks.CharBlock", + (), + { + "label": "Nadpis odkazu na celou verzi programu", + "required": False, + }, + ), + 137: ( + "wagtail.blocks.StructBlock", + [ + [ + ("label", 128), + ("categories", 134), + ("long_version_url", 135), + ("long_version_text", 136), + ] + ], + { + "template": "styleguide2/includes/molecules/program/program_block.html" + }, + ), + 138: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("program_group", 7), + ("program_group_crossroad", 15), + ("program_group_popout", 25), + ("carousel_program", 137), + ] + ], + {"required": False}, + ), + 139: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 0), + ("preamble_content", 26), + ("candidates_title", 27), + ("program_title", 28), + ("primary_candidates", 39), + ("secondary_candidates", 44), + ("other_views", 124), + ("tab_links", 127), + ("program", 138), + ] + ], + {}, + ), + }, + verbose_name="Programy", + ), ), ] diff --git a/district/migrations/0310_alter_districtarticlepage_content_and_more.py b/district/migrations/0310_alter_districtarticlepage_content_and_more.py index 07fb3cbdbfdc7ce1c4ea57064d23669885871517..497d23cd80e2c6614ffd451917f5b50d50e2001f 100644 --- a/district/migrations/0310_alter_districtarticlepage_content_and_more.py +++ b/district/migrations/0310_alter_districtarticlepage_content_and_more.py @@ -1,60 +1,9453 @@ # Generated by Django 5.0.7 on 2025-03-12 09:56 -import shared.blocks.children.chart import wagtail.fields from django.db import migrations +import shared.blocks.children.chart + class Migration(migrations.Migration): - dependencies = [ - ('district', '0309_alter_districtarticlepage_content_and_more'), + ("district", "0309_alter_districtarticlepage_content_and_more"), ] 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', 72), ('three_columns', 74), ('youtube', 75), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69), ('popout_point', 79), ('quote', 82), ('download', 84)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.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': True}), 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.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11)]], {}), 68: ('wagtail.blocks.ListBlock', (67,), {'label': 'TlaÄŤĂtka'}), 69: ('wagtail.blocks.StructBlock', [[('buttons', 68)]], {}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('right_column_content', 71)]], {}), 73: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 74: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('middle_column_content', 73), ('right_column_content', 71)]], {}), 75: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 76: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 77: ('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'}), 78: ('wagtail.blocks.StreamBlock', [[('text', 77), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 79: ('wagtail.blocks.StructBlock', [[('name', 76), ('content', 78)]], {}), 80: ('wagtail.blocks.CharBlock', (), {'label': 'Citace'}), 81: ('wagtail.blocks.CharBlock', (), {'label': 'JmĂ©no autora'}), 82: ('wagtail.blocks.StructBlock', [[('quote', 80), ('autor_name', 81)]], {}), 83: ('wagtail.documents.blocks.DocumentChooserBlock', (), {'label': 'StáhnutelnĂ˝ soubor'}), 84: ('wagtail.blocks.StructBlock', [[('file', 83)]], {})}, 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", 72), + ("three_columns", 74), + ("youtube", 75), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ("popout_point", 79), + ("quote", 82), + ("download", 84), + ], + blank=True, + block_lookup={ + 0: ( + "wagtail.blocks.RichTextBlock", + (), + { + "template": "styleguide2/includes/atoms/text/prose_richtext.html" + }, + ), + 1: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("left", "vlevo"), + ("center", "uprostĹ™ed"), + ("right", "vpravo"), + ], + "label": "zarovnánĂ", + }, + ), + 2: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black_on_white", "ÄŤerná na bĂlĂ©"), + ("black_on_yellow", "ÄŤerná na ĹľlutĂ©"), + ("white_on_black", "bĂlá na ÄŤernĂ©"), + ("white_on_blue", "bĂlá na modrĂ©"), + ("white_on_cyan", "bĂlá na tyrkysovĂ©"), + ("white_on_violet", "bĂlá na fialovĂ©"), + ], + "label": "barva", + }, + ), + 3: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + }, + ), + 4: ( + "wagtail.blocks.StructBlock", + [[("align", 1), ("color", 2), ("text", 3)]], + {}, + ), + 5: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "levĂ˝ sloupec", + }, + ), + 6: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "pravĂ˝ sloupec", + }, + ), + 7: ( + "wagtail.blocks.StructBlock", + [[("left_text", 5), ("right_text", 6)]], + {}, + ), + 8: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Nadpis", "max_length": 300, "required": True}, + ), + 9: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("h1", "H1"), + ("h2", "H2"), + ("h3", "H3"), + ("h4", "H4"), + ("h5", "H5"), + ("h6", "H6"), + ], + "help_text": "ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.", + "label": "ĂšroveĹ nadpisu", + }, + ), + 10: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("head-alt-xl", "VelkĂ˝, Bebas Neue - 6XL"), + ("head-alt-lg", "StĹ™ednĂ, Bebas Neue - 4XL"), + ("head-alt-md", "ZákladnĂ velikost - Roboto - MD"), + ("head-alt-sm", "MalĂ˝ - Roboto - SM"), + ("head-alt-xs", "Extra malĂ˝ - Roboto - XS"), + ], + "help_text": "Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.", + "label": "Velikost", + }, + ), + 11: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("auto", "Automaticky"), + ("center", "Na stĹ™ed"), + ], + "label": "ZarovnánĂ", + }, + ), + 12: ( + "wagtail.blocks.StructBlock", + [[("headline", 8), ("tag", 9), ("style", 10), ("align", 11)]], + {}, + ), + 13: ("wagtail.blocks.CharBlock", (), {"label": "nadpis"}), + 14: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)", + "label": "obrázek", + }, + ), + 15: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("title", 13), ("picture", 14)]], + {}, + ), + 16: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "Odstavec", + }, + ), + 17: ("wagtail.blocks.ListBlock", (16,), {"label": "Odstavce"}), + 18: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)", + "label": "Obrázek", + }, + ), + 19: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("items", 17), ("picture", 18)]], + {}, + ), + 20: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "FEC900", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva pozadĂ", + }, + ), + 21: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.", + "label": "Obrázek", + "required": False, + }, + ), + 22: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje obrázek. Nelze vybrat obÄ› najednou.", + "label": "PozadĂ", + "required": False, + }, + ), + 23: ( + "wagtail.blocks.TextBlock", + (), + {"help_text": "ĹádkovánĂ je manuálnĂ.", "label": "Nadpis"}, + ), + 24: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva textu", + }, + ), + 25: ("wagtail.blocks.RichTextBlock", (), {"label": "Obsah"}), + 26: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.", + "label": "Nadpis tlaÄŤĂtka", + "required": False, + }, + ), + 27: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Odkaz tlaÄŤĂtka", "required": False}, + ), + 28: ( + "wagtail.blocks.StructBlock", + [ + [ + ("bg_color", 20), + ("image", 21), + ("background", 22), + ("title", 23), + ("title_color", 24), + ("content", 25), + ("button_text", 26), + ("button_url", 27), + ] + ], + {"label": "Karta"}, + ), + 29: ("wagtail.blocks.ListBlock", (28,), {"label": "Karty"}), + 30: ("wagtail.blocks.StructBlock", [[("cards", 29)]], {}), + 31: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "Tabulka", + "template": "styleguide2/includes/atoms/table/table.html", + }, + ), + 32: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "RozbalovacĂ tabulka", + "template": "styleguide2/includes/atoms/table/popout_table.html", + }, + ), + 33: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "obrázek", "required": True}, + ), + 34: ( + "wagtail.blocks.ListBlock", + (33,), + {"group": "3. OstatnĂ", "icon": "image", "label": "Galerie"}, + ), + 35: ( + "wagtail.blocks.StructBlock", + [[("gallery_items", 34)]], + {"label": "Galerie"}, + ), + 36: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": True}, + ), + 37: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Popisek", "required": False}, + ), + 38: ( + "wagtail.blocks.StructBlock", + [[("img", 36), ("caption", 37)]], + {}, + ), + 39: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": False}, + ), + 40: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Titulek", "required": False}, + ), + 41: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.", + "label": "Náhled videa (automatickĂ© pole)", + "required": False, + }, + ), + 42: ( + "wagtail.blocks.URLBlock", + (), + { + "help_text": "Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.", + "label": "Odkaz na video", + "required": False, + }, + ), + 43: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.", + "label": "ID videa (automatickĂ© pole)", + "required": False, + }, + ), + 44: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "label": "ZabĂrá celou šĂĹ™ku?", + "required": True, + }, + ), + 45: ( + "wagtail.blocks.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": True, + }, + ), + 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.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ] + ], + {}, + ), + 68: ("wagtail.blocks.ListBlock", (67,), {"label": "TlaÄŤĂtka"}), + 69: ("wagtail.blocks.StructBlock", [[("buttons", 68)]], {}), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 70), ("right_column_content", 71)]], + {}, + ), + 73: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 70), + ("middle_column_content", 73), + ("right_column_content", 71), + ] + ], + {}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 76: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 77: ( + "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", + }, + ), + 78: ( + "wagtail.blocks.StreamBlock", + [[("text", 77), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 79: ( + "wagtail.blocks.StructBlock", + [[("name", 76), ("content", 78)]], + {}, + ), + 80: ("wagtail.blocks.CharBlock", (), {"label": "Citace"}), + 81: ("wagtail.blocks.CharBlock", (), {"label": "JmĂ©no autora"}), + 82: ( + "wagtail.blocks.StructBlock", + [[("quote", 80), ("autor_name", 81)]], + {}, + ), + 83: ( + "wagtail.documents.blocks.DocumentChooserBlock", + (), + {"label": "StáhnutelnĂ˝ soubor"}, + ), + 84: ("wagtail.blocks.StructBlock", [[("file", 83)]], {}), + }, + 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', 72), ('three_columns', 74), ('youtube', 75), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69), ('popout_point', 78), ('chart', 100), ('related', 103), ('related_links', 103), ('badge_list', 108), ('badge', 106), ('contact', 113)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.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': True}), 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.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11)]], {}), 68: ('wagtail.blocks.ListBlock', (67,), {'label': 'TlaÄŤĂtka'}), 69: ('wagtail.blocks.StructBlock', [[('buttons', 68)]], {}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('right_column_content', 71)]], {}), 73: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 74: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('middle_column_content', 73), ('right_column_content', 71)]], {}), 75: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 76: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 77: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 78: ('wagtail.blocks.StructBlock', [[('name', 76), ('content', 77)]], {}), 79: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'max_length': 120}), 80: ('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'}), 81: ('wagtail.blocks.BooleanBlock', (), {'help_text': 'MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.', 'label': 'Schovat body', 'required': False}), 82: ('wagtail.blocks.CharBlock', (), {'label': 'Skupina', 'max_length': 40}), 83: ('wagtail.blocks.ListBlock', (82,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnÄ› definovanĂ© skupiny', 'required': False}), 84: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ zdroje dat', 'max_length': 120}), 85: ('wagtail.blocks.IntegerBlock', (), {}), 86: ('wagtail.blocks.ListBlock', (85,), {'default': [0], 'label': 'Data'}), 87: ('wagtail.blocks.StructBlock', [[('label', 84), ('data', 86)]], {}), 88: ('wagtail.blocks.ListBlock', (87,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnĂ zdroje dat', 'required': False}), 89: ('wagtail.blocks.MultipleChoiceBlock', [], {'choices': shared.blocks.children.chart.get_redmine_projects, 'label': 'Projekty'}), 90: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen otevĹ™enĂ©', 'required': False}), 91: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen uzavĹ™enĂ©', 'required': False}), 92: ('wagtail.blocks.DateBlock', (), {'label': 'Min. datum vytvoĹ™enĂ', 'required': True}), 93: ('wagtail.blocks.DateBlock', (), {'label': 'Max. datum vytvoĹ™enĂ', 'required': True}), 94: ('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}), 95: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu', 'max_length': 128, 'required': True}), 96: ('wagtail.blocks.BooleanBlock', (), {'label': 'RozdÄ›lit podle projektu', 'required': False}), 97: ('wagtail.blocks.BooleanBlock', (), {'label': 'Pouze rĹŻst nahoru', 'required': False}), 98: ('wagtail.blocks.StructBlock', [[('projects', 89), ('is_open', 90), ('is_closed', 91), ('created_on_min_date', 92), ('created_on_max_date', 93), ('updated_on', 94), ('issue_label', 95), ('split_per_project', 96), ('only_grow', 97)]], {'label': 'Redmine Ăşkoly'}), 99: ('wagtail.blocks.ListBlock', (98,), {'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}), 100: ('wagtail.blocks.StructBlock', [[('title', 79), ('chart_type', 80), ('hide_points', 81), ('local_labels', 83), ('local_datasets', 88), ('redmine_issue_datasets', 99)]], {}), 101: ('wagtail.blocks.PageChooserBlock', ('district.DistrictArticlePage',), {'label': 'Aktualita', 'required': True}), 102: ('wagtail.blocks.ListBlock', (101,), {'label': 'Seznam aktualit', 'required': True}), 103: ('wagtail.blocks.StructBlock', [[('articles', 102)]], {}), 104: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Osoba', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage'], 'required': True}), 105: ('wagtail.blocks.CharBlock', (), {'help_text': 'VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.', 'label': 'Popisek', 'required': False}), 106: ('wagtail.blocks.StructBlock', [[('person', 104), ('caption', 105)]], {}), 107: ('wagtail.blocks.ListBlock', (106,), {'label': 'Vizitky'}), 108: ('wagtail.blocks.StructBlock', [[('people', 107)]], {}), 109: ('wagtail.blocks.CharBlock', (), {'label': 'Název pozice', 'required': False}), 110: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Osoba', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage']}), 111: ('wagtail.blocks.StructBlock', [[('position', 109), ('person', 110)]], {}), 112: ('wagtail.blocks.ListBlock', (111,), {}), 113: ('wagtail.blocks.StructBlock', [[('title', 54), ('contact_list', 112)]], {})}, 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", 72), + ("three_columns", 74), + ("youtube", 75), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ("popout_point", 78), + ("chart", 100), + ("related", 103), + ("related_links", 103), + ("badge_list", 108), + ("badge", 106), + ("contact", 113), + ], + blank=True, + block_lookup={ + 0: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + "template": "styleguide2/includes/atoms/text/prose_richtext.html", + }, + ), + 1: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("left", "vlevo"), + ("center", "uprostĹ™ed"), + ("right", "vpravo"), + ], + "label": "zarovnánĂ", + }, + ), + 2: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black_on_white", "ÄŤerná na bĂlĂ©"), + ("black_on_yellow", "ÄŤerná na ĹľlutĂ©"), + ("white_on_black", "bĂlá na ÄŤernĂ©"), + ("white_on_blue", "bĂlá na modrĂ©"), + ("white_on_cyan", "bĂlá na tyrkysovĂ©"), + ("white_on_violet", "bĂlá na fialovĂ©"), + ], + "label": "barva", + }, + ), + 3: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + }, + ), + 4: ( + "wagtail.blocks.StructBlock", + [[("align", 1), ("color", 2), ("text", 3)]], + {}, + ), + 5: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "levĂ˝ sloupec", + }, + ), + 6: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "pravĂ˝ sloupec", + }, + ), + 7: ( + "wagtail.blocks.StructBlock", + [[("left_text", 5), ("right_text", 6)]], + {}, + ), + 8: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Nadpis", "max_length": 300, "required": True}, + ), + 9: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("h1", "H1"), + ("h2", "H2"), + ("h3", "H3"), + ("h4", "H4"), + ("h5", "H5"), + ("h6", "H6"), + ], + "help_text": "ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.", + "label": "ĂšroveĹ nadpisu", + }, + ), + 10: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("head-alt-xl", "VelkĂ˝, Bebas Neue - 6XL"), + ("head-alt-lg", "StĹ™ednĂ, Bebas Neue - 4XL"), + ("head-alt-md", "ZákladnĂ velikost - Roboto - MD"), + ("head-alt-sm", "MalĂ˝ - Roboto - SM"), + ("head-alt-xs", "Extra malĂ˝ - Roboto - XS"), + ], + "help_text": "Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.", + "label": "Velikost", + }, + ), + 11: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("auto", "Automaticky"), + ("center", "Na stĹ™ed"), + ], + "label": "ZarovnánĂ", + }, + ), + 12: ( + "wagtail.blocks.StructBlock", + [[("headline", 8), ("tag", 9), ("style", 10), ("align", 11)]], + {}, + ), + 13: ("wagtail.blocks.CharBlock", (), {"label": "nadpis"}), + 14: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)", + "label": "obrázek", + }, + ), + 15: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("title", 13), ("picture", 14)]], + {}, + ), + 16: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "Odstavec", + }, + ), + 17: ("wagtail.blocks.ListBlock", (16,), {"label": "Odstavce"}), + 18: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)", + "label": "Obrázek", + }, + ), + 19: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("items", 17), ("picture", 18)]], + {}, + ), + 20: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "FEC900", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva pozadĂ", + }, + ), + 21: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.", + "label": "Obrázek", + "required": False, + }, + ), + 22: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje obrázek. Nelze vybrat obÄ› najednou.", + "label": "PozadĂ", + "required": False, + }, + ), + 23: ( + "wagtail.blocks.TextBlock", + (), + {"help_text": "ĹádkovánĂ je manuálnĂ.", "label": "Nadpis"}, + ), + 24: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva textu", + }, + ), + 25: ("wagtail.blocks.RichTextBlock", (), {"label": "Obsah"}), + 26: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.", + "label": "Nadpis tlaÄŤĂtka", + "required": False, + }, + ), + 27: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Odkaz tlaÄŤĂtka", "required": False}, + ), + 28: ( + "wagtail.blocks.StructBlock", + [ + [ + ("bg_color", 20), + ("image", 21), + ("background", 22), + ("title", 23), + ("title_color", 24), + ("content", 25), + ("button_text", 26), + ("button_url", 27), + ] + ], + {"label": "Karta"}, + ), + 29: ("wagtail.blocks.ListBlock", (28,), {"label": "Karty"}), + 30: ("wagtail.blocks.StructBlock", [[("cards", 29)]], {}), + 31: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "Tabulka", + "template": "styleguide2/includes/atoms/table/table.html", + }, + ), + 32: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "RozbalovacĂ tabulka", + "template": "styleguide2/includes/atoms/table/popout_table.html", + }, + ), + 33: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "obrázek", "required": True}, + ), + 34: ( + "wagtail.blocks.ListBlock", + (33,), + {"group": "3. OstatnĂ", "icon": "image", "label": "Galerie"}, + ), + 35: ( + "wagtail.blocks.StructBlock", + [[("gallery_items", 34)]], + {"label": "Galerie"}, + ), + 36: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": True}, + ), + 37: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Popisek", "required": False}, + ), + 38: ( + "wagtail.blocks.StructBlock", + [[("img", 36), ("caption", 37)]], + {}, + ), + 39: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": False}, + ), + 40: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Titulek", "required": False}, + ), + 41: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.", + "label": "Náhled videa (automatickĂ© pole)", + "required": False, + }, + ), + 42: ( + "wagtail.blocks.URLBlock", + (), + { + "help_text": "Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.", + "label": "Odkaz na video", + "required": False, + }, + ), + 43: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.", + "label": "ID videa (automatickĂ© pole)", + "required": False, + }, + ), + 44: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "label": "ZabĂrá celou šĂĹ™ku?", + "required": True, + }, + ), + 45: ( + "wagtail.blocks.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": True, + }, + ), + 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.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ] + ], + {}, + ), + 68: ("wagtail.blocks.ListBlock", (67,), {"label": "TlaÄŤĂtka"}), + 69: ("wagtail.blocks.StructBlock", [[("buttons", 68)]], {}), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 70), ("right_column_content", 71)]], + {}, + ), + 73: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 70), + ("middle_column_content", 73), + ("right_column_content", 71), + ] + ], + {}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 76: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 77: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 78: ( + "wagtail.blocks.StructBlock", + [[("name", 76), ("content", 77)]], + {}, + ), + 79: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "max_length": 120}, + ), + 80: ( + "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", + }, + ), + 81: ( + "wagtail.blocks.BooleanBlock", + (), + { + "help_text": "MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.", + "label": "Schovat body", + "required": False, + }, + ), + 82: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Skupina", "max_length": 40}, + ), + 83: ( + "wagtail.blocks.ListBlock", + (82,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnÄ› definovanĂ© skupiny", + "required": False, + }, + ), + 84: ( + "wagtail.blocks.CharBlock", + (), + {"label": "OznaÄŤenĂ zdroje dat", "max_length": 120}, + ), + 85: ("wagtail.blocks.IntegerBlock", (), {}), + 86: ( + "wagtail.blocks.ListBlock", + (85,), + {"default": [0], "label": "Data"}, + ), + 87: ( + "wagtail.blocks.StructBlock", + [[("label", 84), ("data", 86)]], + {}, + ), + 88: ( + "wagtail.blocks.ListBlock", + (87,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnĂ zdroje dat", + "required": False, + }, + ), + 89: ( + "wagtail.blocks.MultipleChoiceBlock", + [], + { + "choices": shared.blocks.children.chart.get_redmine_projects, + "label": "Projekty", + }, + ), + 90: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen otevĹ™enĂ©", "required": False}, + ), + 91: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen uzavĹ™enĂ©", "required": False}, + ), + 92: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Min. datum vytvoĹ™enĂ", "required": True}, + ), + 93: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Max. datum vytvoĹ™enĂ", "required": True}, + ), + 94: ( + "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, + }, + ), + 95: ( + "wagtail.blocks.CharBlock", + (), + { + "label": "OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu", + "max_length": 128, + "required": True, + }, + ), + 96: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "RozdÄ›lit podle projektu", "required": False}, + ), + 97: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Pouze rĹŻst nahoru", "required": False}, + ), + 98: ( + "wagtail.blocks.StructBlock", + [ + [ + ("projects", 89), + ("is_open", 90), + ("is_closed", 91), + ("created_on_min_date", 92), + ("created_on_max_date", 93), + ("updated_on", 94), + ("issue_label", 95), + ("split_per_project", 96), + ("only_grow", 97), + ] + ], + {"label": "Redmine Ăşkoly"}, + ), + 99: ( + "wagtail.blocks.ListBlock", + (98,), + { + "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, + }, + ), + 100: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 79), + ("chart_type", 80), + ("hide_points", 81), + ("local_labels", 83), + ("local_datasets", 88), + ("redmine_issue_datasets", 99), + ] + ], + {}, + ), + 101: ( + "wagtail.blocks.PageChooserBlock", + ("district.DistrictArticlePage",), + {"label": "Aktualita", "required": True}, + ), + 102: ( + "wagtail.blocks.ListBlock", + (101,), + {"label": "Seznam aktualit", "required": True}, + ), + 103: ("wagtail.blocks.StructBlock", [[("articles", 102)]], {}), + 104: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Osoba", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + "required": True, + }, + ), + 105: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.", + "label": "Popisek", + "required": False, + }, + ), + 106: ( + "wagtail.blocks.StructBlock", + [[("person", 104), ("caption", 105)]], + {}, + ), + 107: ("wagtail.blocks.ListBlock", (106,), {"label": "Vizitky"}), + 108: ("wagtail.blocks.StructBlock", [[("people", 107)]], {}), + 109: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název pozice", "required": False}, + ), + 110: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Osoba", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + }, + ), + 111: ( + "wagtail.blocks.StructBlock", + [[("position", 109), ("person", 110)]], + {}, + ), + 112: ("wagtail.blocks.ListBlock", (111,), {}), + 113: ( + "wagtail.blocks.StructBlock", + [[("title", 54), ("contact_list", 112)]], + {}, + ), + }, + 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', 72), ('three_columns', 74), ('youtube', 75), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69), ('popout_point', 78), ('chart', 100), ('related', 103), ('related_links', 103), ('badge', 106), ('new_people_group', 115)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.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': True}), 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.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11)]], {}), 68: ('wagtail.blocks.ListBlock', (67,), {'label': 'TlaÄŤĂtka'}), 69: ('wagtail.blocks.StructBlock', [[('buttons', 68)]], {}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('right_column_content', 71)]], {}), 73: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 74: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('middle_column_content', 73), ('right_column_content', 71)]], {}), 75: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 76: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 77: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 78: ('wagtail.blocks.StructBlock', [[('name', 76), ('content', 77)]], {}), 79: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'max_length': 120}), 80: ('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'}), 81: ('wagtail.blocks.BooleanBlock', (), {'help_text': 'MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.', 'label': 'Schovat body', 'required': False}), 82: ('wagtail.blocks.CharBlock', (), {'label': 'Skupina', 'max_length': 40}), 83: ('wagtail.blocks.ListBlock', (82,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnÄ› definovanĂ© skupiny', 'required': False}), 84: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ zdroje dat', 'max_length': 120}), 85: ('wagtail.blocks.IntegerBlock', (), {}), 86: ('wagtail.blocks.ListBlock', (85,), {'default': [0], 'label': 'Data'}), 87: ('wagtail.blocks.StructBlock', [[('label', 84), ('data', 86)]], {}), 88: ('wagtail.blocks.ListBlock', (87,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnĂ zdroje dat', 'required': False}), 89: ('wagtail.blocks.MultipleChoiceBlock', [], {'choices': shared.blocks.children.chart.get_redmine_projects, 'label': 'Projekty'}), 90: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen otevĹ™enĂ©', 'required': False}), 91: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen uzavĹ™enĂ©', 'required': False}), 92: ('wagtail.blocks.DateBlock', (), {'label': 'Min. datum vytvoĹ™enĂ', 'required': True}), 93: ('wagtail.blocks.DateBlock', (), {'label': 'Max. datum vytvoĹ™enĂ', 'required': True}), 94: ('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}), 95: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu', 'max_length': 128, 'required': True}), 96: ('wagtail.blocks.BooleanBlock', (), {'label': 'RozdÄ›lit podle projektu', 'required': False}), 97: ('wagtail.blocks.BooleanBlock', (), {'label': 'Pouze rĹŻst nahoru', 'required': False}), 98: ('wagtail.blocks.StructBlock', [[('projects', 89), ('is_open', 90), ('is_closed', 91), ('created_on_min_date', 92), ('created_on_max_date', 93), ('updated_on', 94), ('issue_label', 95), ('split_per_project', 96), ('only_grow', 97)]], {'label': 'Redmine Ăşkoly'}), 99: ('wagtail.blocks.ListBlock', (98,), {'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}), 100: ('wagtail.blocks.StructBlock', [[('title', 79), ('chart_type', 80), ('hide_points', 81), ('local_labels', 83), ('local_datasets', 88), ('redmine_issue_datasets', 99)]], {}), 101: ('wagtail.blocks.PageChooserBlock', ('district.DistrictArticlePage',), {'label': 'Aktualita', 'required': True}), 102: ('wagtail.blocks.ListBlock', (101,), {'label': 'Seznam aktualit', 'required': True}), 103: ('wagtail.blocks.StructBlock', [[('articles', 102)]], {}), 104: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Osoba', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage'], 'required': True}), 105: ('wagtail.blocks.CharBlock', (), {'help_text': 'VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.', 'label': 'Popisek', 'required': False}), 106: ('wagtail.blocks.StructBlock', [[('person', 104), ('caption', 105)]], {}), 107: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek'}), 108: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no', 'label': 'Slug skupiny', 'required': False}), 109: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage']}), 110: ('wagtail.blocks.ListBlock', (109,), {'default': [], 'help_text': 'S pozicemi z jejich podstránek', 'label': 'Osoby'}), 111: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage', 'district.DistrictPersonPage']}), 112: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.', 'label': 'Pozice', 'required': False}), 113: ('wagtail.blocks.StructBlock', [[('page', 111), ('position', 112)]], {}), 114: ('wagtail.blocks.ListBlock', (113,), {'default': [], 'help_text': 'S nastavitelnĂ˝mi pozicemi', 'label': 'Osoby'}), 115: ('wagtail.blocks.StructBlock', [[('title', 107), ('slug', 108), ('person_list', 110), ('person_list_with_custom_positions', 114)]], {})}, 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", 72), + ("three_columns", 74), + ("youtube", 75), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ("popout_point", 78), + ("chart", 100), + ("related", 103), + ("related_links", 103), + ("badge", 106), + ("new_people_group", 115), + ], + blank=True, + block_lookup={ + 0: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + "template": "styleguide2/includes/atoms/text/prose_richtext.html", + }, + ), + 1: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("left", "vlevo"), + ("center", "uprostĹ™ed"), + ("right", "vpravo"), + ], + "label": "zarovnánĂ", + }, + ), + 2: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black_on_white", "ÄŤerná na bĂlĂ©"), + ("black_on_yellow", "ÄŤerná na ĹľlutĂ©"), + ("white_on_black", "bĂlá na ÄŤernĂ©"), + ("white_on_blue", "bĂlá na modrĂ©"), + ("white_on_cyan", "bĂlá na tyrkysovĂ©"), + ("white_on_violet", "bĂlá na fialovĂ©"), + ], + "label": "barva", + }, + ), + 3: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + }, + ), + 4: ( + "wagtail.blocks.StructBlock", + [[("align", 1), ("color", 2), ("text", 3)]], + {}, + ), + 5: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "levĂ˝ sloupec", + }, + ), + 6: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "pravĂ˝ sloupec", + }, + ), + 7: ( + "wagtail.blocks.StructBlock", + [[("left_text", 5), ("right_text", 6)]], + {}, + ), + 8: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Nadpis", "max_length": 300, "required": True}, + ), + 9: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("h1", "H1"), + ("h2", "H2"), + ("h3", "H3"), + ("h4", "H4"), + ("h5", "H5"), + ("h6", "H6"), + ], + "help_text": "ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.", + "label": "ĂšroveĹ nadpisu", + }, + ), + 10: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("head-alt-xl", "VelkĂ˝, Bebas Neue - 6XL"), + ("head-alt-lg", "StĹ™ednĂ, Bebas Neue - 4XL"), + ("head-alt-md", "ZákladnĂ velikost - Roboto - MD"), + ("head-alt-sm", "MalĂ˝ - Roboto - SM"), + ("head-alt-xs", "Extra malĂ˝ - Roboto - XS"), + ], + "help_text": "Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.", + "label": "Velikost", + }, + ), + 11: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("auto", "Automaticky"), + ("center", "Na stĹ™ed"), + ], + "label": "ZarovnánĂ", + }, + ), + 12: ( + "wagtail.blocks.StructBlock", + [[("headline", 8), ("tag", 9), ("style", 10), ("align", 11)]], + {}, + ), + 13: ("wagtail.blocks.CharBlock", (), {"label": "nadpis"}), + 14: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)", + "label": "obrázek", + }, + ), + 15: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("title", 13), ("picture", 14)]], + {}, + ), + 16: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "Odstavec", + }, + ), + 17: ("wagtail.blocks.ListBlock", (16,), {"label": "Odstavce"}), + 18: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)", + "label": "Obrázek", + }, + ), + 19: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("items", 17), ("picture", 18)]], + {}, + ), + 20: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "FEC900", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva pozadĂ", + }, + ), + 21: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.", + "label": "Obrázek", + "required": False, + }, + ), + 22: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje obrázek. Nelze vybrat obÄ› najednou.", + "label": "PozadĂ", + "required": False, + }, + ), + 23: ( + "wagtail.blocks.TextBlock", + (), + {"help_text": "ĹádkovánĂ je manuálnĂ.", "label": "Nadpis"}, + ), + 24: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva textu", + }, + ), + 25: ("wagtail.blocks.RichTextBlock", (), {"label": "Obsah"}), + 26: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.", + "label": "Nadpis tlaÄŤĂtka", + "required": False, + }, + ), + 27: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Odkaz tlaÄŤĂtka", "required": False}, + ), + 28: ( + "wagtail.blocks.StructBlock", + [ + [ + ("bg_color", 20), + ("image", 21), + ("background", 22), + ("title", 23), + ("title_color", 24), + ("content", 25), + ("button_text", 26), + ("button_url", 27), + ] + ], + {"label": "Karta"}, + ), + 29: ("wagtail.blocks.ListBlock", (28,), {"label": "Karty"}), + 30: ("wagtail.blocks.StructBlock", [[("cards", 29)]], {}), + 31: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "Tabulka", + "template": "styleguide2/includes/atoms/table/table.html", + }, + ), + 32: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "RozbalovacĂ tabulka", + "template": "styleguide2/includes/atoms/table/popout_table.html", + }, + ), + 33: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "obrázek", "required": True}, + ), + 34: ( + "wagtail.blocks.ListBlock", + (33,), + {"group": "3. OstatnĂ", "icon": "image", "label": "Galerie"}, + ), + 35: ( + "wagtail.blocks.StructBlock", + [[("gallery_items", 34)]], + {"label": "Galerie"}, + ), + 36: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": True}, + ), + 37: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Popisek", "required": False}, + ), + 38: ( + "wagtail.blocks.StructBlock", + [[("img", 36), ("caption", 37)]], + {}, + ), + 39: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": False}, + ), + 40: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Titulek", "required": False}, + ), + 41: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.", + "label": "Náhled videa (automatickĂ© pole)", + "required": False, + }, + ), + 42: ( + "wagtail.blocks.URLBlock", + (), + { + "help_text": "Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.", + "label": "Odkaz na video", + "required": False, + }, + ), + 43: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.", + "label": "ID videa (automatickĂ© pole)", + "required": False, + }, + ), + 44: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "label": "ZabĂrá celou šĂĹ™ku?", + "required": True, + }, + ), + 45: ( + "wagtail.blocks.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": True, + }, + ), + 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.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ] + ], + {}, + ), + 68: ("wagtail.blocks.ListBlock", (67,), {"label": "TlaÄŤĂtka"}), + 69: ("wagtail.blocks.StructBlock", [[("buttons", 68)]], {}), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 70), ("right_column_content", 71)]], + {}, + ), + 73: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 70), + ("middle_column_content", 73), + ("right_column_content", 71), + ] + ], + {}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 76: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 77: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 78: ( + "wagtail.blocks.StructBlock", + [[("name", 76), ("content", 77)]], + {}, + ), + 79: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "max_length": 120}, + ), + 80: ( + "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", + }, + ), + 81: ( + "wagtail.blocks.BooleanBlock", + (), + { + "help_text": "MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.", + "label": "Schovat body", + "required": False, + }, + ), + 82: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Skupina", "max_length": 40}, + ), + 83: ( + "wagtail.blocks.ListBlock", + (82,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnÄ› definovanĂ© skupiny", + "required": False, + }, + ), + 84: ( + "wagtail.blocks.CharBlock", + (), + {"label": "OznaÄŤenĂ zdroje dat", "max_length": 120}, + ), + 85: ("wagtail.blocks.IntegerBlock", (), {}), + 86: ( + "wagtail.blocks.ListBlock", + (85,), + {"default": [0], "label": "Data"}, + ), + 87: ( + "wagtail.blocks.StructBlock", + [[("label", 84), ("data", 86)]], + {}, + ), + 88: ( + "wagtail.blocks.ListBlock", + (87,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnĂ zdroje dat", + "required": False, + }, + ), + 89: ( + "wagtail.blocks.MultipleChoiceBlock", + [], + { + "choices": shared.blocks.children.chart.get_redmine_projects, + "label": "Projekty", + }, + ), + 90: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen otevĹ™enĂ©", "required": False}, + ), + 91: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen uzavĹ™enĂ©", "required": False}, + ), + 92: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Min. datum vytvoĹ™enĂ", "required": True}, + ), + 93: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Max. datum vytvoĹ™enĂ", "required": True}, + ), + 94: ( + "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, + }, + ), + 95: ( + "wagtail.blocks.CharBlock", + (), + { + "label": "OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu", + "max_length": 128, + "required": True, + }, + ), + 96: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "RozdÄ›lit podle projektu", "required": False}, + ), + 97: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Pouze rĹŻst nahoru", "required": False}, + ), + 98: ( + "wagtail.blocks.StructBlock", + [ + [ + ("projects", 89), + ("is_open", 90), + ("is_closed", 91), + ("created_on_min_date", 92), + ("created_on_max_date", 93), + ("updated_on", 94), + ("issue_label", 95), + ("split_per_project", 96), + ("only_grow", 97), + ] + ], + {"label": "Redmine Ăşkoly"}, + ), + 99: ( + "wagtail.blocks.ListBlock", + (98,), + { + "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, + }, + ), + 100: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 79), + ("chart_type", 80), + ("hide_points", 81), + ("local_labels", 83), + ("local_datasets", 88), + ("redmine_issue_datasets", 99), + ] + ], + {}, + ), + 101: ( + "wagtail.blocks.PageChooserBlock", + ("district.DistrictArticlePage",), + {"label": "Aktualita", "required": True}, + ), + 102: ( + "wagtail.blocks.ListBlock", + (101,), + {"label": "Seznam aktualit", "required": True}, + ), + 103: ("wagtail.blocks.StructBlock", [[("articles", 102)]], {}), + 104: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Osoba", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + "required": True, + }, + ), + 105: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.", + "label": "Popisek", + "required": False, + }, + ), + 106: ( + "wagtail.blocks.StructBlock", + [[("person", 104), ("caption", 105)]], + {}, + ), + 107: ("wagtail.blocks.CharBlock", (), {"label": "Titulek"}), + 108: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no", + "label": "Slug skupiny", + "required": False, + }, + ), + 109: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + }, + ), + 110: ( + "wagtail.blocks.ListBlock", + (109,), + { + "default": [], + "help_text": "S pozicemi z jejich podstránek", + "label": "Osoby", + }, + ), + 111: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + "district.DistrictPersonPage", + ], + }, + ), + 112: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.", + "label": "Pozice", + "required": False, + }, + ), + 113: ( + "wagtail.blocks.StructBlock", + [[("page", 111), ("position", 112)]], + {}, + ), + 114: ( + "wagtail.blocks.ListBlock", + (113,), + { + "default": [], + "help_text": "S nastavitelnĂ˝mi pozicemi", + "label": "Osoby", + }, + ), + 115: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 107), + ("slug", 108), + ("person_list", 110), + ("person_list_with_custom_positions", 114), + ] + ], + {}, + ), + }, + 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', 72), ('three_columns', 74), ('youtube', 75), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69), ('popout_point', 78), ('chart', 100), ('related', 103), ('related_links', 103), ('badge', 106), ('new_people_group', 115), ('newsletter', 120)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.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': True}), 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.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11)]], {}), 68: ('wagtail.blocks.ListBlock', (67,), {'label': 'TlaÄŤĂtka'}), 69: ('wagtail.blocks.StructBlock', [[('buttons', 68)]], {}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('right_column_content', 71)]], {}), 73: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 74: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('middle_column_content', 73), ('right_column_content', 71)]], {}), 75: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 76: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 77: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 78: ('wagtail.blocks.StructBlock', [[('name', 76), ('content', 77)]], {}), 79: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'max_length': 120}), 80: ('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'}), 81: ('wagtail.blocks.BooleanBlock', (), {'help_text': 'MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.', 'label': 'Schovat body', 'required': False}), 82: ('wagtail.blocks.CharBlock', (), {'label': 'Skupina', 'max_length': 40}), 83: ('wagtail.blocks.ListBlock', (82,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnÄ› definovanĂ© skupiny', 'required': False}), 84: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ zdroje dat', 'max_length': 120}), 85: ('wagtail.blocks.IntegerBlock', (), {}), 86: ('wagtail.blocks.ListBlock', (85,), {'default': [0], 'label': 'Data'}), 87: ('wagtail.blocks.StructBlock', [[('label', 84), ('data', 86)]], {}), 88: ('wagtail.blocks.ListBlock', (87,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnĂ zdroje dat', 'required': False}), 89: ('wagtail.blocks.MultipleChoiceBlock', [], {'choices': shared.blocks.children.chart.get_redmine_projects, 'label': 'Projekty'}), 90: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen otevĹ™enĂ©', 'required': False}), 91: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen uzavĹ™enĂ©', 'required': False}), 92: ('wagtail.blocks.DateBlock', (), {'label': 'Min. datum vytvoĹ™enĂ', 'required': True}), 93: ('wagtail.blocks.DateBlock', (), {'label': 'Max. datum vytvoĹ™enĂ', 'required': True}), 94: ('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}), 95: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu', 'max_length': 128, 'required': True}), 96: ('wagtail.blocks.BooleanBlock', (), {'label': 'RozdÄ›lit podle projektu', 'required': False}), 97: ('wagtail.blocks.BooleanBlock', (), {'label': 'Pouze rĹŻst nahoru', 'required': False}), 98: ('wagtail.blocks.StructBlock', [[('projects', 89), ('is_open', 90), ('is_closed', 91), ('created_on_min_date', 92), ('created_on_max_date', 93), ('updated_on', 94), ('issue_label', 95), ('split_per_project', 96), ('only_grow', 97)]], {'label': 'Redmine Ăşkoly'}), 99: ('wagtail.blocks.ListBlock', (98,), {'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}), 100: ('wagtail.blocks.StructBlock', [[('title', 79), ('chart_type', 80), ('hide_points', 81), ('local_labels', 83), ('local_datasets', 88), ('redmine_issue_datasets', 99)]], {}), 101: ('wagtail.blocks.PageChooserBlock', ('district.DistrictArticlePage',), {'label': 'Aktualita', 'required': True}), 102: ('wagtail.blocks.ListBlock', (101,), {'label': 'Seznam aktualit', 'required': True}), 103: ('wagtail.blocks.StructBlock', [[('articles', 102)]], {}), 104: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Osoba', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage'], 'required': True}), 105: ('wagtail.blocks.CharBlock', (), {'help_text': 'VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.', 'label': 'Popisek', 'required': False}), 106: ('wagtail.blocks.StructBlock', [[('person', 104), ('caption', 105)]], {}), 107: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek'}), 108: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no', 'label': 'Slug skupiny', 'required': False}), 109: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage']}), 110: ('wagtail.blocks.ListBlock', (109,), {'default': [], 'help_text': 'S pozicemi z jejich podstránek', 'label': 'Osoby'}), 111: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage', 'district.DistrictPersonPage']}), 112: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.', 'label': 'Pozice', 'required': False}), 113: ('wagtail.blocks.StructBlock', [[('page', 111), ('position', 112)]], {}), 114: ('wagtail.blocks.ListBlock', (113,), {'default': [], 'help_text': 'S nastavitelnĂ˝mi pozicemi', 'label': 'Osoby'}), 115: ('wagtail.blocks.StructBlock', [[('title', 107), ('slug', 108), ('person_list', 110), ('person_list_with_custom_positions', 114)]], {}), 116: ('wagtail.blocks.CharBlock', (), {'label': 'ID newsletteru', 'required': True}), 117: ('wagtail.blocks.CharBlock', (), {'default': 'OdebĂrej náš', 'label': 'Nadpis bloku (1. řádek)', 'required': True}), 118: ('wagtail.blocks.CharBlock', (), {'default': 'newsletter', 'label': 'Nadpis bloku (2. řádek)', 'required': True}), 119: ('wagtail.blocks.CharBlock', (), {'default': 'Fake news tam nenajdeš, ale dozvĂš se, co chystáme doopravdy!', 'label': 'Popis newsletteru', 'required': True}), 120: ('wagtail.blocks.StructBlock', [[('list_id', 116), ('title_line_1', 117), ('title_line_2', 118), ('description', 119)]], {})}, 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", 72), + ("three_columns", 74), + ("youtube", 75), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ("popout_point", 78), + ("chart", 100), + ("related", 103), + ("related_links", 103), + ("badge", 106), + ("new_people_group", 115), + ("newsletter", 120), + ], + blank=True, + block_lookup={ + 0: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + "template": "styleguide2/includes/atoms/text/prose_richtext.html", + }, + ), + 1: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("left", "vlevo"), + ("center", "uprostĹ™ed"), + ("right", "vpravo"), + ], + "label": "zarovnánĂ", + }, + ), + 2: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black_on_white", "ÄŤerná na bĂlĂ©"), + ("black_on_yellow", "ÄŤerná na ĹľlutĂ©"), + ("white_on_black", "bĂlá na ÄŤernĂ©"), + ("white_on_blue", "bĂlá na modrĂ©"), + ("white_on_cyan", "bĂlá na tyrkysovĂ©"), + ("white_on_violet", "bĂlá na fialovĂ©"), + ], + "label": "barva", + }, + ), + 3: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + }, + ), + 4: ( + "wagtail.blocks.StructBlock", + [[("align", 1), ("color", 2), ("text", 3)]], + {}, + ), + 5: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "levĂ˝ sloupec", + }, + ), + 6: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "pravĂ˝ sloupec", + }, + ), + 7: ( + "wagtail.blocks.StructBlock", + [[("left_text", 5), ("right_text", 6)]], + {}, + ), + 8: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Nadpis", "max_length": 300, "required": True}, + ), + 9: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("h1", "H1"), + ("h2", "H2"), + ("h3", "H3"), + ("h4", "H4"), + ("h5", "H5"), + ("h6", "H6"), + ], + "help_text": "ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.", + "label": "ĂšroveĹ nadpisu", + }, + ), + 10: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("head-alt-xl", "VelkĂ˝, Bebas Neue - 6XL"), + ("head-alt-lg", "StĹ™ednĂ, Bebas Neue - 4XL"), + ("head-alt-md", "ZákladnĂ velikost - Roboto - MD"), + ("head-alt-sm", "MalĂ˝ - Roboto - SM"), + ("head-alt-xs", "Extra malĂ˝ - Roboto - XS"), + ], + "help_text": "Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.", + "label": "Velikost", + }, + ), + 11: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("auto", "Automaticky"), + ("center", "Na stĹ™ed"), + ], + "label": "ZarovnánĂ", + }, + ), + 12: ( + "wagtail.blocks.StructBlock", + [[("headline", 8), ("tag", 9), ("style", 10), ("align", 11)]], + {}, + ), + 13: ("wagtail.blocks.CharBlock", (), {"label": "nadpis"}), + 14: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)", + "label": "obrázek", + }, + ), + 15: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("title", 13), ("picture", 14)]], + {}, + ), + 16: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "Odstavec", + }, + ), + 17: ("wagtail.blocks.ListBlock", (16,), {"label": "Odstavce"}), + 18: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)", + "label": "Obrázek", + }, + ), + 19: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("items", 17), ("picture", 18)]], + {}, + ), + 20: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "FEC900", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva pozadĂ", + }, + ), + 21: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.", + "label": "Obrázek", + "required": False, + }, + ), + 22: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje obrázek. Nelze vybrat obÄ› najednou.", + "label": "PozadĂ", + "required": False, + }, + ), + 23: ( + "wagtail.blocks.TextBlock", + (), + {"help_text": "ĹádkovánĂ je manuálnĂ.", "label": "Nadpis"}, + ), + 24: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva textu", + }, + ), + 25: ("wagtail.blocks.RichTextBlock", (), {"label": "Obsah"}), + 26: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.", + "label": "Nadpis tlaÄŤĂtka", + "required": False, + }, + ), + 27: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Odkaz tlaÄŤĂtka", "required": False}, + ), + 28: ( + "wagtail.blocks.StructBlock", + [ + [ + ("bg_color", 20), + ("image", 21), + ("background", 22), + ("title", 23), + ("title_color", 24), + ("content", 25), + ("button_text", 26), + ("button_url", 27), + ] + ], + {"label": "Karta"}, + ), + 29: ("wagtail.blocks.ListBlock", (28,), {"label": "Karty"}), + 30: ("wagtail.blocks.StructBlock", [[("cards", 29)]], {}), + 31: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "Tabulka", + "template": "styleguide2/includes/atoms/table/table.html", + }, + ), + 32: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "RozbalovacĂ tabulka", + "template": "styleguide2/includes/atoms/table/popout_table.html", + }, + ), + 33: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "obrázek", "required": True}, + ), + 34: ( + "wagtail.blocks.ListBlock", + (33,), + {"group": "3. OstatnĂ", "icon": "image", "label": "Galerie"}, + ), + 35: ( + "wagtail.blocks.StructBlock", + [[("gallery_items", 34)]], + {"label": "Galerie"}, + ), + 36: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": True}, + ), + 37: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Popisek", "required": False}, + ), + 38: ( + "wagtail.blocks.StructBlock", + [[("img", 36), ("caption", 37)]], + {}, + ), + 39: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": False}, + ), + 40: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Titulek", "required": False}, + ), + 41: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.", + "label": "Náhled videa (automatickĂ© pole)", + "required": False, + }, + ), + 42: ( + "wagtail.blocks.URLBlock", + (), + { + "help_text": "Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.", + "label": "Odkaz na video", + "required": False, + }, + ), + 43: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.", + "label": "ID videa (automatickĂ© pole)", + "required": False, + }, + ), + 44: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "label": "ZabĂrá celou šĂĹ™ku?", + "required": True, + }, + ), + 45: ( + "wagtail.blocks.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": True, + }, + ), + 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.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ] + ], + {}, + ), + 68: ("wagtail.blocks.ListBlock", (67,), {"label": "TlaÄŤĂtka"}), + 69: ("wagtail.blocks.StructBlock", [[("buttons", 68)]], {}), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 70), ("right_column_content", 71)]], + {}, + ), + 73: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 70), + ("middle_column_content", 73), + ("right_column_content", 71), + ] + ], + {}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 76: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 77: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 78: ( + "wagtail.blocks.StructBlock", + [[("name", 76), ("content", 77)]], + {}, + ), + 79: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "max_length": 120}, + ), + 80: ( + "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", + }, + ), + 81: ( + "wagtail.blocks.BooleanBlock", + (), + { + "help_text": "MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.", + "label": "Schovat body", + "required": False, + }, + ), + 82: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Skupina", "max_length": 40}, + ), + 83: ( + "wagtail.blocks.ListBlock", + (82,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnÄ› definovanĂ© skupiny", + "required": False, + }, + ), + 84: ( + "wagtail.blocks.CharBlock", + (), + {"label": "OznaÄŤenĂ zdroje dat", "max_length": 120}, + ), + 85: ("wagtail.blocks.IntegerBlock", (), {}), + 86: ( + "wagtail.blocks.ListBlock", + (85,), + {"default": [0], "label": "Data"}, + ), + 87: ( + "wagtail.blocks.StructBlock", + [[("label", 84), ("data", 86)]], + {}, + ), + 88: ( + "wagtail.blocks.ListBlock", + (87,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnĂ zdroje dat", + "required": False, + }, + ), + 89: ( + "wagtail.blocks.MultipleChoiceBlock", + [], + { + "choices": shared.blocks.children.chart.get_redmine_projects, + "label": "Projekty", + }, + ), + 90: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen otevĹ™enĂ©", "required": False}, + ), + 91: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen uzavĹ™enĂ©", "required": False}, + ), + 92: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Min. datum vytvoĹ™enĂ", "required": True}, + ), + 93: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Max. datum vytvoĹ™enĂ", "required": True}, + ), + 94: ( + "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, + }, + ), + 95: ( + "wagtail.blocks.CharBlock", + (), + { + "label": "OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu", + "max_length": 128, + "required": True, + }, + ), + 96: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "RozdÄ›lit podle projektu", "required": False}, + ), + 97: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Pouze rĹŻst nahoru", "required": False}, + ), + 98: ( + "wagtail.blocks.StructBlock", + [ + [ + ("projects", 89), + ("is_open", 90), + ("is_closed", 91), + ("created_on_min_date", 92), + ("created_on_max_date", 93), + ("updated_on", 94), + ("issue_label", 95), + ("split_per_project", 96), + ("only_grow", 97), + ] + ], + {"label": "Redmine Ăşkoly"}, + ), + 99: ( + "wagtail.blocks.ListBlock", + (98,), + { + "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, + }, + ), + 100: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 79), + ("chart_type", 80), + ("hide_points", 81), + ("local_labels", 83), + ("local_datasets", 88), + ("redmine_issue_datasets", 99), + ] + ], + {}, + ), + 101: ( + "wagtail.blocks.PageChooserBlock", + ("district.DistrictArticlePage",), + {"label": "Aktualita", "required": True}, + ), + 102: ( + "wagtail.blocks.ListBlock", + (101,), + {"label": "Seznam aktualit", "required": True}, + ), + 103: ("wagtail.blocks.StructBlock", [[("articles", 102)]], {}), + 104: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Osoba", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + "required": True, + }, + ), + 105: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.", + "label": "Popisek", + "required": False, + }, + ), + 106: ( + "wagtail.blocks.StructBlock", + [[("person", 104), ("caption", 105)]], + {}, + ), + 107: ("wagtail.blocks.CharBlock", (), {"label": "Titulek"}), + 108: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no", + "label": "Slug skupiny", + "required": False, + }, + ), + 109: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + }, + ), + 110: ( + "wagtail.blocks.ListBlock", + (109,), + { + "default": [], + "help_text": "S pozicemi z jejich podstránek", + "label": "Osoby", + }, + ), + 111: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + "district.DistrictPersonPage", + ], + }, + ), + 112: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.", + "label": "Pozice", + "required": False, + }, + ), + 113: ( + "wagtail.blocks.StructBlock", + [[("page", 111), ("position", 112)]], + {}, + ), + 114: ( + "wagtail.blocks.ListBlock", + (113,), + { + "default": [], + "help_text": "S nastavitelnĂ˝mi pozicemi", + "label": "Osoby", + }, + ), + 115: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 107), + ("slug", 108), + ("person_list", 110), + ("person_list_with_custom_positions", 114), + ] + ], + {}, + ), + 116: ( + "wagtail.blocks.CharBlock", + (), + {"label": "ID newsletteru", "required": True}, + ), + 117: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "OdebĂrej náš", + "label": "Nadpis bloku (1. řádek)", + "required": True, + }, + ), + 118: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "newsletter", + "label": "Nadpis bloku (2. řádek)", + "required": True, + }, + ), + 119: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "Fake news tam nenajdeš, ale dozvĂš se, co chystáme doopravdy!", + "label": "Popis newsletteru", + "required": True, + }, + ), + 120: ( + "wagtail.blocks.StructBlock", + [ + [ + ("list_id", 116), + ("title_line_1", 117), + ("title_line_2", 118), + ("description", 119), + ] + ], + {}, + ), + }, + 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', 72), ('three_columns', 74), ('youtube', 75), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69), ('popout_point', 78), ('chart', 100), ('related', 103), ('related_links', 103), ('badge', 106), ('new_people_group', 115)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.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': True}), 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.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11)]], {}), 68: ('wagtail.blocks.ListBlock', (67,), {'label': 'TlaÄŤĂtka'}), 69: ('wagtail.blocks.StructBlock', [[('buttons', 68)]], {}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('right_column_content', 71)]], {}), 73: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 74: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('middle_column_content', 73), ('right_column_content', 71)]], {}), 75: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 76: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 77: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 78: ('wagtail.blocks.StructBlock', [[('name', 76), ('content', 77)]], {}), 79: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'max_length': 120}), 80: ('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'}), 81: ('wagtail.blocks.BooleanBlock', (), {'help_text': 'MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.', 'label': 'Schovat body', 'required': False}), 82: ('wagtail.blocks.CharBlock', (), {'label': 'Skupina', 'max_length': 40}), 83: ('wagtail.blocks.ListBlock', (82,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnÄ› definovanĂ© skupiny', 'required': False}), 84: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ zdroje dat', 'max_length': 120}), 85: ('wagtail.blocks.IntegerBlock', (), {}), 86: ('wagtail.blocks.ListBlock', (85,), {'default': [0], 'label': 'Data'}), 87: ('wagtail.blocks.StructBlock', [[('label', 84), ('data', 86)]], {}), 88: ('wagtail.blocks.ListBlock', (87,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnĂ zdroje dat', 'required': False}), 89: ('wagtail.blocks.MultipleChoiceBlock', [], {'choices': shared.blocks.children.chart.get_redmine_projects, 'label': 'Projekty'}), 90: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen otevĹ™enĂ©', 'required': False}), 91: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen uzavĹ™enĂ©', 'required': False}), 92: ('wagtail.blocks.DateBlock', (), {'label': 'Min. datum vytvoĹ™enĂ', 'required': True}), 93: ('wagtail.blocks.DateBlock', (), {'label': 'Max. datum vytvoĹ™enĂ', 'required': True}), 94: ('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}), 95: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu', 'max_length': 128, 'required': True}), 96: ('wagtail.blocks.BooleanBlock', (), {'label': 'RozdÄ›lit podle projektu', 'required': False}), 97: ('wagtail.blocks.BooleanBlock', (), {'label': 'Pouze rĹŻst nahoru', 'required': False}), 98: ('wagtail.blocks.StructBlock', [[('projects', 89), ('is_open', 90), ('is_closed', 91), ('created_on_min_date', 92), ('created_on_max_date', 93), ('updated_on', 94), ('issue_label', 95), ('split_per_project', 96), ('only_grow', 97)]], {'label': 'Redmine Ăşkoly'}), 99: ('wagtail.blocks.ListBlock', (98,), {'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}), 100: ('wagtail.blocks.StructBlock', [[('title', 79), ('chart_type', 80), ('hide_points', 81), ('local_labels', 83), ('local_datasets', 88), ('redmine_issue_datasets', 99)]], {}), 101: ('wagtail.blocks.PageChooserBlock', ('district.DistrictArticlePage',), {'label': 'Aktualita', 'required': True}), 102: ('wagtail.blocks.ListBlock', (101,), {'label': 'Seznam aktualit', 'required': True}), 103: ('wagtail.blocks.StructBlock', [[('articles', 102)]], {}), 104: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Osoba', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage'], 'required': True}), 105: ('wagtail.blocks.CharBlock', (), {'help_text': 'VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.', 'label': 'Popisek', 'required': False}), 106: ('wagtail.blocks.StructBlock', [[('person', 104), ('caption', 105)]], {}), 107: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek'}), 108: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no', 'label': 'Slug skupiny', 'required': False}), 109: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage']}), 110: ('wagtail.blocks.ListBlock', (109,), {'default': [], 'help_text': 'S pozicemi z jejich podstránek', 'label': 'Osoby'}), 111: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage', 'district.DistrictPersonPage']}), 112: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.', 'label': 'Pozice', 'required': False}), 113: ('wagtail.blocks.StructBlock', [[('page', 111), ('position', 112)]], {}), 114: ('wagtail.blocks.ListBlock', (113,), {'default': [], 'help_text': 'S nastavitelnĂ˝mi pozicemi', 'label': 'Osoby'}), 115: ('wagtail.blocks.StructBlock', [[('title', 107), ('slug', 108), ('person_list', 110), ('person_list_with_custom_positions', 114)]], {})}, 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", 72), + ("three_columns", 74), + ("youtube", 75), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ("popout_point", 78), + ("chart", 100), + ("related", 103), + ("related_links", 103), + ("badge", 106), + ("new_people_group", 115), + ], + blank=True, + block_lookup={ + 0: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + "template": "styleguide2/includes/atoms/text/prose_richtext.html", + }, + ), + 1: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("left", "vlevo"), + ("center", "uprostĹ™ed"), + ("right", "vpravo"), + ], + "label": "zarovnánĂ", + }, + ), + 2: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black_on_white", "ÄŤerná na bĂlĂ©"), + ("black_on_yellow", "ÄŤerná na ĹľlutĂ©"), + ("white_on_black", "bĂlá na ÄŤernĂ©"), + ("white_on_blue", "bĂlá na modrĂ©"), + ("white_on_cyan", "bĂlá na tyrkysovĂ©"), + ("white_on_violet", "bĂlá na fialovĂ©"), + ], + "label": "barva", + }, + ), + 3: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + }, + ), + 4: ( + "wagtail.blocks.StructBlock", + [[("align", 1), ("color", 2), ("text", 3)]], + {}, + ), + 5: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "levĂ˝ sloupec", + }, + ), + 6: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "pravĂ˝ sloupec", + }, + ), + 7: ( + "wagtail.blocks.StructBlock", + [[("left_text", 5), ("right_text", 6)]], + {}, + ), + 8: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Nadpis", "max_length": 300, "required": True}, + ), + 9: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("h1", "H1"), + ("h2", "H2"), + ("h3", "H3"), + ("h4", "H4"), + ("h5", "H5"), + ("h6", "H6"), + ], + "help_text": "ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.", + "label": "ĂšroveĹ nadpisu", + }, + ), + 10: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("head-alt-xl", "VelkĂ˝, Bebas Neue - 6XL"), + ("head-alt-lg", "StĹ™ednĂ, Bebas Neue - 4XL"), + ("head-alt-md", "ZákladnĂ velikost - Roboto - MD"), + ("head-alt-sm", "MalĂ˝ - Roboto - SM"), + ("head-alt-xs", "Extra malĂ˝ - Roboto - XS"), + ], + "help_text": "Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.", + "label": "Velikost", + }, + ), + 11: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("auto", "Automaticky"), + ("center", "Na stĹ™ed"), + ], + "label": "ZarovnánĂ", + }, + ), + 12: ( + "wagtail.blocks.StructBlock", + [[("headline", 8), ("tag", 9), ("style", 10), ("align", 11)]], + {}, + ), + 13: ("wagtail.blocks.CharBlock", (), {"label": "nadpis"}), + 14: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)", + "label": "obrázek", + }, + ), + 15: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("title", 13), ("picture", 14)]], + {}, + ), + 16: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "Odstavec", + }, + ), + 17: ("wagtail.blocks.ListBlock", (16,), {"label": "Odstavce"}), + 18: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)", + "label": "Obrázek", + }, + ), + 19: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("items", 17), ("picture", 18)]], + {}, + ), + 20: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "FEC900", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva pozadĂ", + }, + ), + 21: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.", + "label": "Obrázek", + "required": False, + }, + ), + 22: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje obrázek. Nelze vybrat obÄ› najednou.", + "label": "PozadĂ", + "required": False, + }, + ), + 23: ( + "wagtail.blocks.TextBlock", + (), + {"help_text": "ĹádkovánĂ je manuálnĂ.", "label": "Nadpis"}, + ), + 24: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva textu", + }, + ), + 25: ("wagtail.blocks.RichTextBlock", (), {"label": "Obsah"}), + 26: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.", + "label": "Nadpis tlaÄŤĂtka", + "required": False, + }, + ), + 27: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Odkaz tlaÄŤĂtka", "required": False}, + ), + 28: ( + "wagtail.blocks.StructBlock", + [ + [ + ("bg_color", 20), + ("image", 21), + ("background", 22), + ("title", 23), + ("title_color", 24), + ("content", 25), + ("button_text", 26), + ("button_url", 27), + ] + ], + {"label": "Karta"}, + ), + 29: ("wagtail.blocks.ListBlock", (28,), {"label": "Karty"}), + 30: ("wagtail.blocks.StructBlock", [[("cards", 29)]], {}), + 31: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "Tabulka", + "template": "styleguide2/includes/atoms/table/table.html", + }, + ), + 32: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "RozbalovacĂ tabulka", + "template": "styleguide2/includes/atoms/table/popout_table.html", + }, + ), + 33: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "obrázek", "required": True}, + ), + 34: ( + "wagtail.blocks.ListBlock", + (33,), + {"group": "3. OstatnĂ", "icon": "image", "label": "Galerie"}, + ), + 35: ( + "wagtail.blocks.StructBlock", + [[("gallery_items", 34)]], + {"label": "Galerie"}, + ), + 36: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": True}, + ), + 37: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Popisek", "required": False}, + ), + 38: ( + "wagtail.blocks.StructBlock", + [[("img", 36), ("caption", 37)]], + {}, + ), + 39: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": False}, + ), + 40: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Titulek", "required": False}, + ), + 41: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.", + "label": "Náhled videa (automatickĂ© pole)", + "required": False, + }, + ), + 42: ( + "wagtail.blocks.URLBlock", + (), + { + "help_text": "Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.", + "label": "Odkaz na video", + "required": False, + }, + ), + 43: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.", + "label": "ID videa (automatickĂ© pole)", + "required": False, + }, + ), + 44: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "label": "ZabĂrá celou šĂĹ™ku?", + "required": True, + }, + ), + 45: ( + "wagtail.blocks.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": True, + }, + ), + 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.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ] + ], + {}, + ), + 68: ("wagtail.blocks.ListBlock", (67,), {"label": "TlaÄŤĂtka"}), + 69: ("wagtail.blocks.StructBlock", [[("buttons", 68)]], {}), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 70), ("right_column_content", 71)]], + {}, + ), + 73: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 70), + ("middle_column_content", 73), + ("right_column_content", 71), + ] + ], + {}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 76: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 77: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 78: ( + "wagtail.blocks.StructBlock", + [[("name", 76), ("content", 77)]], + {}, + ), + 79: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "max_length": 120}, + ), + 80: ( + "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", + }, + ), + 81: ( + "wagtail.blocks.BooleanBlock", + (), + { + "help_text": "MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.", + "label": "Schovat body", + "required": False, + }, + ), + 82: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Skupina", "max_length": 40}, + ), + 83: ( + "wagtail.blocks.ListBlock", + (82,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnÄ› definovanĂ© skupiny", + "required": False, + }, + ), + 84: ( + "wagtail.blocks.CharBlock", + (), + {"label": "OznaÄŤenĂ zdroje dat", "max_length": 120}, + ), + 85: ("wagtail.blocks.IntegerBlock", (), {}), + 86: ( + "wagtail.blocks.ListBlock", + (85,), + {"default": [0], "label": "Data"}, + ), + 87: ( + "wagtail.blocks.StructBlock", + [[("label", 84), ("data", 86)]], + {}, + ), + 88: ( + "wagtail.blocks.ListBlock", + (87,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnĂ zdroje dat", + "required": False, + }, + ), + 89: ( + "wagtail.blocks.MultipleChoiceBlock", + [], + { + "choices": shared.blocks.children.chart.get_redmine_projects, + "label": "Projekty", + }, + ), + 90: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen otevĹ™enĂ©", "required": False}, + ), + 91: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen uzavĹ™enĂ©", "required": False}, + ), + 92: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Min. datum vytvoĹ™enĂ", "required": True}, + ), + 93: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Max. datum vytvoĹ™enĂ", "required": True}, + ), + 94: ( + "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, + }, + ), + 95: ( + "wagtail.blocks.CharBlock", + (), + { + "label": "OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu", + "max_length": 128, + "required": True, + }, + ), + 96: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "RozdÄ›lit podle projektu", "required": False}, + ), + 97: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Pouze rĹŻst nahoru", "required": False}, + ), + 98: ( + "wagtail.blocks.StructBlock", + [ + [ + ("projects", 89), + ("is_open", 90), + ("is_closed", 91), + ("created_on_min_date", 92), + ("created_on_max_date", 93), + ("updated_on", 94), + ("issue_label", 95), + ("split_per_project", 96), + ("only_grow", 97), + ] + ], + {"label": "Redmine Ăşkoly"}, + ), + 99: ( + "wagtail.blocks.ListBlock", + (98,), + { + "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, + }, + ), + 100: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 79), + ("chart_type", 80), + ("hide_points", 81), + ("local_labels", 83), + ("local_datasets", 88), + ("redmine_issue_datasets", 99), + ] + ], + {}, + ), + 101: ( + "wagtail.blocks.PageChooserBlock", + ("district.DistrictArticlePage",), + {"label": "Aktualita", "required": True}, + ), + 102: ( + "wagtail.blocks.ListBlock", + (101,), + {"label": "Seznam aktualit", "required": True}, + ), + 103: ("wagtail.blocks.StructBlock", [[("articles", 102)]], {}), + 104: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Osoba", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + "required": True, + }, + ), + 105: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.", + "label": "Popisek", + "required": False, + }, + ), + 106: ( + "wagtail.blocks.StructBlock", + [[("person", 104), ("caption", 105)]], + {}, + ), + 107: ("wagtail.blocks.CharBlock", (), {"label": "Titulek"}), + 108: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no", + "label": "Slug skupiny", + "required": False, + }, + ), + 109: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + }, + ), + 110: ( + "wagtail.blocks.ListBlock", + (109,), + { + "default": [], + "help_text": "S pozicemi z jejich podstránek", + "label": "Osoby", + }, + ), + 111: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + "district.DistrictPersonPage", + ], + }, + ), + 112: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.", + "label": "Pozice", + "required": False, + }, + ), + 113: ( + "wagtail.blocks.StructBlock", + [[("page", 111), ("position", 112)]], + {}, + ), + 114: ( + "wagtail.blocks.ListBlock", + (113,), + { + "default": [], + "help_text": "S nastavitelnĂ˝mi pozicemi", + "label": "Osoby", + }, + ), + 115: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 107), + ("slug", 108), + ("person_list", 110), + ("person_list_with_custom_positions", 114), + ] + ], + {}, + ), + }, + 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', 72), ('three_columns', 74), ('youtube', 75), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69), ('popout_point', 78), ('chart', 100), ('related', 103), ('related_links', 103), ('badge', 106), ('new_people_group', 115)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.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': True}), 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.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11)]], {}), 68: ('wagtail.blocks.ListBlock', (67,), {'label': 'TlaÄŤĂtka'}), 69: ('wagtail.blocks.StructBlock', [[('buttons', 68)]], {}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('right_column_content', 71)]], {}), 73: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 74: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('middle_column_content', 73), ('right_column_content', 71)]], {}), 75: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 76: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 77: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 78: ('wagtail.blocks.StructBlock', [[('name', 76), ('content', 77)]], {}), 79: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'max_length': 120}), 80: ('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'}), 81: ('wagtail.blocks.BooleanBlock', (), {'help_text': 'MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.', 'label': 'Schovat body', 'required': False}), 82: ('wagtail.blocks.CharBlock', (), {'label': 'Skupina', 'max_length': 40}), 83: ('wagtail.blocks.ListBlock', (82,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnÄ› definovanĂ© skupiny', 'required': False}), 84: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ zdroje dat', 'max_length': 120}), 85: ('wagtail.blocks.IntegerBlock', (), {}), 86: ('wagtail.blocks.ListBlock', (85,), {'default': [0], 'label': 'Data'}), 87: ('wagtail.blocks.StructBlock', [[('label', 84), ('data', 86)]], {}), 88: ('wagtail.blocks.ListBlock', (87,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnĂ zdroje dat', 'required': False}), 89: ('wagtail.blocks.MultipleChoiceBlock', [], {'choices': shared.blocks.children.chart.get_redmine_projects, 'label': 'Projekty'}), 90: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen otevĹ™enĂ©', 'required': False}), 91: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen uzavĹ™enĂ©', 'required': False}), 92: ('wagtail.blocks.DateBlock', (), {'label': 'Min. datum vytvoĹ™enĂ', 'required': True}), 93: ('wagtail.blocks.DateBlock', (), {'label': 'Max. datum vytvoĹ™enĂ', 'required': True}), 94: ('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}), 95: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu', 'max_length': 128, 'required': True}), 96: ('wagtail.blocks.BooleanBlock', (), {'label': 'RozdÄ›lit podle projektu', 'required': False}), 97: ('wagtail.blocks.BooleanBlock', (), {'label': 'Pouze rĹŻst nahoru', 'required': False}), 98: ('wagtail.blocks.StructBlock', [[('projects', 89), ('is_open', 90), ('is_closed', 91), ('created_on_min_date', 92), ('created_on_max_date', 93), ('updated_on', 94), ('issue_label', 95), ('split_per_project', 96), ('only_grow', 97)]], {'label': 'Redmine Ăşkoly'}), 99: ('wagtail.blocks.ListBlock', (98,), {'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}), 100: ('wagtail.blocks.StructBlock', [[('title', 79), ('chart_type', 80), ('hide_points', 81), ('local_labels', 83), ('local_datasets', 88), ('redmine_issue_datasets', 99)]], {}), 101: ('wagtail.blocks.PageChooserBlock', ('district.DistrictArticlePage',), {'label': 'Aktualita', 'required': True}), 102: ('wagtail.blocks.ListBlock', (101,), {'label': 'Seznam aktualit', 'required': True}), 103: ('wagtail.blocks.StructBlock', [[('articles', 102)]], {}), 104: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Osoba', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage'], 'required': True}), 105: ('wagtail.blocks.CharBlock', (), {'help_text': 'VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.', 'label': 'Popisek', 'required': False}), 106: ('wagtail.blocks.StructBlock', [[('person', 104), ('caption', 105)]], {}), 107: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek'}), 108: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no', 'label': 'Slug skupiny', 'required': False}), 109: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage']}), 110: ('wagtail.blocks.ListBlock', (109,), {'default': [], 'help_text': 'S pozicemi z jejich podstránek', 'label': 'Osoby'}), 111: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage', 'district.DistrictPersonPage']}), 112: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.', 'label': 'Pozice', 'required': False}), 113: ('wagtail.blocks.StructBlock', [[('page', 111), ('position', 112)]], {}), 114: ('wagtail.blocks.ListBlock', (113,), {'default': [], 'help_text': 'S nastavitelnĂ˝mi pozicemi', 'label': 'Osoby'}), 115: ('wagtail.blocks.StructBlock', [[('title', 107), ('slug', 108), ('person_list', 110), ('person_list_with_custom_positions', 114)]], {})}, 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", 72), + ("three_columns", 74), + ("youtube", 75), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ("popout_point", 78), + ("chart", 100), + ("related", 103), + ("related_links", 103), + ("badge", 106), + ("new_people_group", 115), + ], + blank=True, + block_lookup={ + 0: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + "template": "styleguide2/includes/atoms/text/prose_richtext.html", + }, + ), + 1: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("left", "vlevo"), + ("center", "uprostĹ™ed"), + ("right", "vpravo"), + ], + "label": "zarovnánĂ", + }, + ), + 2: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black_on_white", "ÄŤerná na bĂlĂ©"), + ("black_on_yellow", "ÄŤerná na ĹľlutĂ©"), + ("white_on_black", "bĂlá na ÄŤernĂ©"), + ("white_on_blue", "bĂlá na modrĂ©"), + ("white_on_cyan", "bĂlá na tyrkysovĂ©"), + ("white_on_violet", "bĂlá na fialovĂ©"), + ], + "label": "barva", + }, + ), + 3: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + }, + ), + 4: ( + "wagtail.blocks.StructBlock", + [[("align", 1), ("color", 2), ("text", 3)]], + {}, + ), + 5: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "levĂ˝ sloupec", + }, + ), + 6: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "pravĂ˝ sloupec", + }, + ), + 7: ( + "wagtail.blocks.StructBlock", + [[("left_text", 5), ("right_text", 6)]], + {}, + ), + 8: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Nadpis", "max_length": 300, "required": True}, + ), + 9: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("h1", "H1"), + ("h2", "H2"), + ("h3", "H3"), + ("h4", "H4"), + ("h5", "H5"), + ("h6", "H6"), + ], + "help_text": "ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.", + "label": "ĂšroveĹ nadpisu", + }, + ), + 10: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("head-alt-xl", "VelkĂ˝, Bebas Neue - 6XL"), + ("head-alt-lg", "StĹ™ednĂ, Bebas Neue - 4XL"), + ("head-alt-md", "ZákladnĂ velikost - Roboto - MD"), + ("head-alt-sm", "MalĂ˝ - Roboto - SM"), + ("head-alt-xs", "Extra malĂ˝ - Roboto - XS"), + ], + "help_text": "Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.", + "label": "Velikost", + }, + ), + 11: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("auto", "Automaticky"), + ("center", "Na stĹ™ed"), + ], + "label": "ZarovnánĂ", + }, + ), + 12: ( + "wagtail.blocks.StructBlock", + [[("headline", 8), ("tag", 9), ("style", 10), ("align", 11)]], + {}, + ), + 13: ("wagtail.blocks.CharBlock", (), {"label": "nadpis"}), + 14: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)", + "label": "obrázek", + }, + ), + 15: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("title", 13), ("picture", 14)]], + {}, + ), + 16: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "Odstavec", + }, + ), + 17: ("wagtail.blocks.ListBlock", (16,), {"label": "Odstavce"}), + 18: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)", + "label": "Obrázek", + }, + ), + 19: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("items", 17), ("picture", 18)]], + {}, + ), + 20: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "FEC900", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva pozadĂ", + }, + ), + 21: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.", + "label": "Obrázek", + "required": False, + }, + ), + 22: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje obrázek. Nelze vybrat obÄ› najednou.", + "label": "PozadĂ", + "required": False, + }, + ), + 23: ( + "wagtail.blocks.TextBlock", + (), + {"help_text": "ĹádkovánĂ je manuálnĂ.", "label": "Nadpis"}, + ), + 24: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva textu", + }, + ), + 25: ("wagtail.blocks.RichTextBlock", (), {"label": "Obsah"}), + 26: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.", + "label": "Nadpis tlaÄŤĂtka", + "required": False, + }, + ), + 27: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Odkaz tlaÄŤĂtka", "required": False}, + ), + 28: ( + "wagtail.blocks.StructBlock", + [ + [ + ("bg_color", 20), + ("image", 21), + ("background", 22), + ("title", 23), + ("title_color", 24), + ("content", 25), + ("button_text", 26), + ("button_url", 27), + ] + ], + {"label": "Karta"}, + ), + 29: ("wagtail.blocks.ListBlock", (28,), {"label": "Karty"}), + 30: ("wagtail.blocks.StructBlock", [[("cards", 29)]], {}), + 31: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "Tabulka", + "template": "styleguide2/includes/atoms/table/table.html", + }, + ), + 32: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "RozbalovacĂ tabulka", + "template": "styleguide2/includes/atoms/table/popout_table.html", + }, + ), + 33: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "obrázek", "required": True}, + ), + 34: ( + "wagtail.blocks.ListBlock", + (33,), + {"group": "3. OstatnĂ", "icon": "image", "label": "Galerie"}, + ), + 35: ( + "wagtail.blocks.StructBlock", + [[("gallery_items", 34)]], + {"label": "Galerie"}, + ), + 36: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": True}, + ), + 37: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Popisek", "required": False}, + ), + 38: ( + "wagtail.blocks.StructBlock", + [[("img", 36), ("caption", 37)]], + {}, + ), + 39: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": False}, + ), + 40: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Titulek", "required": False}, + ), + 41: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.", + "label": "Náhled videa (automatickĂ© pole)", + "required": False, + }, + ), + 42: ( + "wagtail.blocks.URLBlock", + (), + { + "help_text": "Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.", + "label": "Odkaz na video", + "required": False, + }, + ), + 43: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.", + "label": "ID videa (automatickĂ© pole)", + "required": False, + }, + ), + 44: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "label": "ZabĂrá celou šĂĹ™ku?", + "required": True, + }, + ), + 45: ( + "wagtail.blocks.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": True, + }, + ), + 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.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ] + ], + {}, + ), + 68: ("wagtail.blocks.ListBlock", (67,), {"label": "TlaÄŤĂtka"}), + 69: ("wagtail.blocks.StructBlock", [[("buttons", 68)]], {}), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 70), ("right_column_content", 71)]], + {}, + ), + 73: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 70), + ("middle_column_content", 73), + ("right_column_content", 71), + ] + ], + {}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 76: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 77: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 78: ( + "wagtail.blocks.StructBlock", + [[("name", 76), ("content", 77)]], + {}, + ), + 79: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "max_length": 120}, + ), + 80: ( + "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", + }, + ), + 81: ( + "wagtail.blocks.BooleanBlock", + (), + { + "help_text": "MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.", + "label": "Schovat body", + "required": False, + }, + ), + 82: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Skupina", "max_length": 40}, + ), + 83: ( + "wagtail.blocks.ListBlock", + (82,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnÄ› definovanĂ© skupiny", + "required": False, + }, + ), + 84: ( + "wagtail.blocks.CharBlock", + (), + {"label": "OznaÄŤenĂ zdroje dat", "max_length": 120}, + ), + 85: ("wagtail.blocks.IntegerBlock", (), {}), + 86: ( + "wagtail.blocks.ListBlock", + (85,), + {"default": [0], "label": "Data"}, + ), + 87: ( + "wagtail.blocks.StructBlock", + [[("label", 84), ("data", 86)]], + {}, + ), + 88: ( + "wagtail.blocks.ListBlock", + (87,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnĂ zdroje dat", + "required": False, + }, + ), + 89: ( + "wagtail.blocks.MultipleChoiceBlock", + [], + { + "choices": shared.blocks.children.chart.get_redmine_projects, + "label": "Projekty", + }, + ), + 90: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen otevĹ™enĂ©", "required": False}, + ), + 91: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen uzavĹ™enĂ©", "required": False}, + ), + 92: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Min. datum vytvoĹ™enĂ", "required": True}, + ), + 93: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Max. datum vytvoĹ™enĂ", "required": True}, + ), + 94: ( + "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, + }, + ), + 95: ( + "wagtail.blocks.CharBlock", + (), + { + "label": "OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu", + "max_length": 128, + "required": True, + }, + ), + 96: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "RozdÄ›lit podle projektu", "required": False}, + ), + 97: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Pouze rĹŻst nahoru", "required": False}, + ), + 98: ( + "wagtail.blocks.StructBlock", + [ + [ + ("projects", 89), + ("is_open", 90), + ("is_closed", 91), + ("created_on_min_date", 92), + ("created_on_max_date", 93), + ("updated_on", 94), + ("issue_label", 95), + ("split_per_project", 96), + ("only_grow", 97), + ] + ], + {"label": "Redmine Ăşkoly"}, + ), + 99: ( + "wagtail.blocks.ListBlock", + (98,), + { + "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, + }, + ), + 100: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 79), + ("chart_type", 80), + ("hide_points", 81), + ("local_labels", 83), + ("local_datasets", 88), + ("redmine_issue_datasets", 99), + ] + ], + {}, + ), + 101: ( + "wagtail.blocks.PageChooserBlock", + ("district.DistrictArticlePage",), + {"label": "Aktualita", "required": True}, + ), + 102: ( + "wagtail.blocks.ListBlock", + (101,), + {"label": "Seznam aktualit", "required": True}, + ), + 103: ("wagtail.blocks.StructBlock", [[("articles", 102)]], {}), + 104: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Osoba", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + "required": True, + }, + ), + 105: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.", + "label": "Popisek", + "required": False, + }, + ), + 106: ( + "wagtail.blocks.StructBlock", + [[("person", 104), ("caption", 105)]], + {}, + ), + 107: ("wagtail.blocks.CharBlock", (), {"label": "Titulek"}), + 108: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no", + "label": "Slug skupiny", + "required": False, + }, + ), + 109: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + }, + ), + 110: ( + "wagtail.blocks.ListBlock", + (109,), + { + "default": [], + "help_text": "S pozicemi z jejich podstránek", + "label": "Osoby", + }, + ), + 111: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + "district.DistrictPersonPage", + ], + }, + ), + 112: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.", + "label": "Pozice", + "required": False, + }, + ), + 113: ( + "wagtail.blocks.StructBlock", + [[("page", 111), ("position", 112)]], + {}, + ), + 114: ( + "wagtail.blocks.ListBlock", + (113,), + { + "default": [], + "help_text": "S nastavitelnĂ˝mi pozicemi", + "label": "Osoby", + }, + ), + 115: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 107), + ("slug", 108), + ("person_list", 110), + ("person_list_with_custom_positions", 114), + ] + ], + {}, + ), + }, + 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', 72), ('three_columns', 74), ('youtube', 75), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69), ('popout_point', 78), ('chart', 100), ('related', 103), ('related_links', 103), ('badge', 106), ('new_people_group', 115)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.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': True}), 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.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11)]], {}), 68: ('wagtail.blocks.ListBlock', (67,), {'label': 'TlaÄŤĂtka'}), 69: ('wagtail.blocks.StructBlock', [[('buttons', 68)]], {}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('right_column_content', 71)]], {}), 73: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 74: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('middle_column_content', 73), ('right_column_content', 71)]], {}), 75: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 76: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 77: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 78: ('wagtail.blocks.StructBlock', [[('name', 76), ('content', 77)]], {}), 79: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'max_length': 120}), 80: ('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'}), 81: ('wagtail.blocks.BooleanBlock', (), {'help_text': 'MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.', 'label': 'Schovat body', 'required': False}), 82: ('wagtail.blocks.CharBlock', (), {'label': 'Skupina', 'max_length': 40}), 83: ('wagtail.blocks.ListBlock', (82,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnÄ› definovanĂ© skupiny', 'required': False}), 84: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ zdroje dat', 'max_length': 120}), 85: ('wagtail.blocks.IntegerBlock', (), {}), 86: ('wagtail.blocks.ListBlock', (85,), {'default': [0], 'label': 'Data'}), 87: ('wagtail.blocks.StructBlock', [[('label', 84), ('data', 86)]], {}), 88: ('wagtail.blocks.ListBlock', (87,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnĂ zdroje dat', 'required': False}), 89: ('wagtail.blocks.MultipleChoiceBlock', [], {'choices': shared.blocks.children.chart.get_redmine_projects, 'label': 'Projekty'}), 90: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen otevĹ™enĂ©', 'required': False}), 91: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen uzavĹ™enĂ©', 'required': False}), 92: ('wagtail.blocks.DateBlock', (), {'label': 'Min. datum vytvoĹ™enĂ', 'required': True}), 93: ('wagtail.blocks.DateBlock', (), {'label': 'Max. datum vytvoĹ™enĂ', 'required': True}), 94: ('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}), 95: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu', 'max_length': 128, 'required': True}), 96: ('wagtail.blocks.BooleanBlock', (), {'label': 'RozdÄ›lit podle projektu', 'required': False}), 97: ('wagtail.blocks.BooleanBlock', (), {'label': 'Pouze rĹŻst nahoru', 'required': False}), 98: ('wagtail.blocks.StructBlock', [[('projects', 89), ('is_open', 90), ('is_closed', 91), ('created_on_min_date', 92), ('created_on_max_date', 93), ('updated_on', 94), ('issue_label', 95), ('split_per_project', 96), ('only_grow', 97)]], {'label': 'Redmine Ăşkoly'}), 99: ('wagtail.blocks.ListBlock', (98,), {'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}), 100: ('wagtail.blocks.StructBlock', [[('title', 79), ('chart_type', 80), ('hide_points', 81), ('local_labels', 83), ('local_datasets', 88), ('redmine_issue_datasets', 99)]], {}), 101: ('wagtail.blocks.PageChooserBlock', ('district.DistrictArticlePage',), {'label': 'Aktualita', 'required': True}), 102: ('wagtail.blocks.ListBlock', (101,), {'label': 'Seznam aktualit', 'required': True}), 103: ('wagtail.blocks.StructBlock', [[('articles', 102)]], {}), 104: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Osoba', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage'], 'required': True}), 105: ('wagtail.blocks.CharBlock', (), {'help_text': 'VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.', 'label': 'Popisek', 'required': False}), 106: ('wagtail.blocks.StructBlock', [[('person', 104), ('caption', 105)]], {}), 107: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek'}), 108: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no', 'label': 'Slug skupiny', 'required': False}), 109: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage']}), 110: ('wagtail.blocks.ListBlock', (109,), {'default': [], 'help_text': 'S pozicemi z jejich podstránek', 'label': 'Osoby'}), 111: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage', 'district.DistrictPersonPage']}), 112: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.', 'label': 'Pozice', 'required': False}), 113: ('wagtail.blocks.StructBlock', [[('page', 111), ('position', 112)]], {}), 114: ('wagtail.blocks.ListBlock', (113,), {'default': [], 'help_text': 'S nastavitelnĂ˝mi pozicemi', 'label': 'Osoby'}), 115: ('wagtail.blocks.StructBlock', [[('title', 107), ('slug', 108), ('person_list', 110), ('person_list_with_custom_positions', 114)]], {})}, 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", 72), + ("three_columns", 74), + ("youtube", 75), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ("popout_point", 78), + ("chart", 100), + ("related", 103), + ("related_links", 103), + ("badge", 106), + ("new_people_group", 115), + ], + blank=True, + block_lookup={ + 0: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + "template": "styleguide2/includes/atoms/text/prose_richtext.html", + }, + ), + 1: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("left", "vlevo"), + ("center", "uprostĹ™ed"), + ("right", "vpravo"), + ], + "label": "zarovnánĂ", + }, + ), + 2: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black_on_white", "ÄŤerná na bĂlĂ©"), + ("black_on_yellow", "ÄŤerná na ĹľlutĂ©"), + ("white_on_black", "bĂlá na ÄŤernĂ©"), + ("white_on_blue", "bĂlá na modrĂ©"), + ("white_on_cyan", "bĂlá na tyrkysovĂ©"), + ("white_on_violet", "bĂlá na fialovĂ©"), + ], + "label": "barva", + }, + ), + 3: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + }, + ), + 4: ( + "wagtail.blocks.StructBlock", + [[("align", 1), ("color", 2), ("text", 3)]], + {}, + ), + 5: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "levĂ˝ sloupec", + }, + ), + 6: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "pravĂ˝ sloupec", + }, + ), + 7: ( + "wagtail.blocks.StructBlock", + [[("left_text", 5), ("right_text", 6)]], + {}, + ), + 8: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Nadpis", "max_length": 300, "required": True}, + ), + 9: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("h1", "H1"), + ("h2", "H2"), + ("h3", "H3"), + ("h4", "H4"), + ("h5", "H5"), + ("h6", "H6"), + ], + "help_text": "ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.", + "label": "ĂšroveĹ nadpisu", + }, + ), + 10: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("head-alt-xl", "VelkĂ˝, Bebas Neue - 6XL"), + ("head-alt-lg", "StĹ™ednĂ, Bebas Neue - 4XL"), + ("head-alt-md", "ZákladnĂ velikost - Roboto - MD"), + ("head-alt-sm", "MalĂ˝ - Roboto - SM"), + ("head-alt-xs", "Extra malĂ˝ - Roboto - XS"), + ], + "help_text": "Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.", + "label": "Velikost", + }, + ), + 11: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("auto", "Automaticky"), + ("center", "Na stĹ™ed"), + ], + "label": "ZarovnánĂ", + }, + ), + 12: ( + "wagtail.blocks.StructBlock", + [[("headline", 8), ("tag", 9), ("style", 10), ("align", 11)]], + {}, + ), + 13: ("wagtail.blocks.CharBlock", (), {"label": "nadpis"}), + 14: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)", + "label": "obrázek", + }, + ), + 15: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("title", 13), ("picture", 14)]], + {}, + ), + 16: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "Odstavec", + }, + ), + 17: ("wagtail.blocks.ListBlock", (16,), {"label": "Odstavce"}), + 18: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)", + "label": "Obrázek", + }, + ), + 19: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("items", 17), ("picture", 18)]], + {}, + ), + 20: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "FEC900", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva pozadĂ", + }, + ), + 21: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.", + "label": "Obrázek", + "required": False, + }, + ), + 22: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje obrázek. Nelze vybrat obÄ› najednou.", + "label": "PozadĂ", + "required": False, + }, + ), + 23: ( + "wagtail.blocks.TextBlock", + (), + {"help_text": "ĹádkovánĂ je manuálnĂ.", "label": "Nadpis"}, + ), + 24: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva textu", + }, + ), + 25: ("wagtail.blocks.RichTextBlock", (), {"label": "Obsah"}), + 26: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.", + "label": "Nadpis tlaÄŤĂtka", + "required": False, + }, + ), + 27: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Odkaz tlaÄŤĂtka", "required": False}, + ), + 28: ( + "wagtail.blocks.StructBlock", + [ + [ + ("bg_color", 20), + ("image", 21), + ("background", 22), + ("title", 23), + ("title_color", 24), + ("content", 25), + ("button_text", 26), + ("button_url", 27), + ] + ], + {"label": "Karta"}, + ), + 29: ("wagtail.blocks.ListBlock", (28,), {"label": "Karty"}), + 30: ("wagtail.blocks.StructBlock", [[("cards", 29)]], {}), + 31: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "Tabulka", + "template": "styleguide2/includes/atoms/table/table.html", + }, + ), + 32: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "RozbalovacĂ tabulka", + "template": "styleguide2/includes/atoms/table/popout_table.html", + }, + ), + 33: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "obrázek", "required": True}, + ), + 34: ( + "wagtail.blocks.ListBlock", + (33,), + {"group": "3. OstatnĂ", "icon": "image", "label": "Galerie"}, + ), + 35: ( + "wagtail.blocks.StructBlock", + [[("gallery_items", 34)]], + {"label": "Galerie"}, + ), + 36: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": True}, + ), + 37: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Popisek", "required": False}, + ), + 38: ( + "wagtail.blocks.StructBlock", + [[("img", 36), ("caption", 37)]], + {}, + ), + 39: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": False}, + ), + 40: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Titulek", "required": False}, + ), + 41: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.", + "label": "Náhled videa (automatickĂ© pole)", + "required": False, + }, + ), + 42: ( + "wagtail.blocks.URLBlock", + (), + { + "help_text": "Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.", + "label": "Odkaz na video", + "required": False, + }, + ), + 43: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.", + "label": "ID videa (automatickĂ© pole)", + "required": False, + }, + ), + 44: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "label": "ZabĂrá celou šĂĹ™ku?", + "required": True, + }, + ), + 45: ( + "wagtail.blocks.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": True, + }, + ), + 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.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ] + ], + {}, + ), + 68: ("wagtail.blocks.ListBlock", (67,), {"label": "TlaÄŤĂtka"}), + 69: ("wagtail.blocks.StructBlock", [[("buttons", 68)]], {}), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 70), ("right_column_content", 71)]], + {}, + ), + 73: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 70), + ("middle_column_content", 73), + ("right_column_content", 71), + ] + ], + {}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 76: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 77: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 78: ( + "wagtail.blocks.StructBlock", + [[("name", 76), ("content", 77)]], + {}, + ), + 79: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "max_length": 120}, + ), + 80: ( + "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", + }, + ), + 81: ( + "wagtail.blocks.BooleanBlock", + (), + { + "help_text": "MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.", + "label": "Schovat body", + "required": False, + }, + ), + 82: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Skupina", "max_length": 40}, + ), + 83: ( + "wagtail.blocks.ListBlock", + (82,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnÄ› definovanĂ© skupiny", + "required": False, + }, + ), + 84: ( + "wagtail.blocks.CharBlock", + (), + {"label": "OznaÄŤenĂ zdroje dat", "max_length": 120}, + ), + 85: ("wagtail.blocks.IntegerBlock", (), {}), + 86: ( + "wagtail.blocks.ListBlock", + (85,), + {"default": [0], "label": "Data"}, + ), + 87: ( + "wagtail.blocks.StructBlock", + [[("label", 84), ("data", 86)]], + {}, + ), + 88: ( + "wagtail.blocks.ListBlock", + (87,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnĂ zdroje dat", + "required": False, + }, + ), + 89: ( + "wagtail.blocks.MultipleChoiceBlock", + [], + { + "choices": shared.blocks.children.chart.get_redmine_projects, + "label": "Projekty", + }, + ), + 90: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen otevĹ™enĂ©", "required": False}, + ), + 91: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen uzavĹ™enĂ©", "required": False}, + ), + 92: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Min. datum vytvoĹ™enĂ", "required": True}, + ), + 93: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Max. datum vytvoĹ™enĂ", "required": True}, + ), + 94: ( + "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, + }, + ), + 95: ( + "wagtail.blocks.CharBlock", + (), + { + "label": "OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu", + "max_length": 128, + "required": True, + }, + ), + 96: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "RozdÄ›lit podle projektu", "required": False}, + ), + 97: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Pouze rĹŻst nahoru", "required": False}, + ), + 98: ( + "wagtail.blocks.StructBlock", + [ + [ + ("projects", 89), + ("is_open", 90), + ("is_closed", 91), + ("created_on_min_date", 92), + ("created_on_max_date", 93), + ("updated_on", 94), + ("issue_label", 95), + ("split_per_project", 96), + ("only_grow", 97), + ] + ], + {"label": "Redmine Ăşkoly"}, + ), + 99: ( + "wagtail.blocks.ListBlock", + (98,), + { + "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, + }, + ), + 100: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 79), + ("chart_type", 80), + ("hide_points", 81), + ("local_labels", 83), + ("local_datasets", 88), + ("redmine_issue_datasets", 99), + ] + ], + {}, + ), + 101: ( + "wagtail.blocks.PageChooserBlock", + ("district.DistrictArticlePage",), + {"label": "Aktualita", "required": True}, + ), + 102: ( + "wagtail.blocks.ListBlock", + (101,), + {"label": "Seznam aktualit", "required": True}, + ), + 103: ("wagtail.blocks.StructBlock", [[("articles", 102)]], {}), + 104: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Osoba", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + "required": True, + }, + ), + 105: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.", + "label": "Popisek", + "required": False, + }, + ), + 106: ( + "wagtail.blocks.StructBlock", + [[("person", 104), ("caption", 105)]], + {}, + ), + 107: ("wagtail.blocks.CharBlock", (), {"label": "Titulek"}), + 108: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no", + "label": "Slug skupiny", + "required": False, + }, + ), + 109: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + }, + ), + 110: ( + "wagtail.blocks.ListBlock", + (109,), + { + "default": [], + "help_text": "S pozicemi z jejich podstránek", + "label": "Osoby", + }, + ), + 111: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + "district.DistrictPersonPage", + ], + }, + ), + 112: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.", + "label": "Pozice", + "required": False, + }, + ), + 113: ( + "wagtail.blocks.StructBlock", + [[("page", 111), ("position", 112)]], + {}, + ), + 114: ( + "wagtail.blocks.ListBlock", + (113,), + { + "default": [], + "help_text": "S nastavitelnĂ˝mi pozicemi", + "label": "Osoby", + }, + ), + 115: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 107), + ("slug", 108), + ("person_list", 110), + ("person_list_with_custom_positions", 114), + ] + ], + {}, + ), + }, + 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', 72), ('three_columns', 74), ('youtube', 75), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69), ('popout_point', 78), ('chart', 100), ('related', 103), ('related_links', 103), ('badge', 106), ('new_people_group', 115)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.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': True}), 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.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11)]], {}), 68: ('wagtail.blocks.ListBlock', (67,), {'label': 'TlaÄŤĂtka'}), 69: ('wagtail.blocks.StructBlock', [[('buttons', 68)]], {}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('right_column_content', 71)]], {}), 73: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 74: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('middle_column_content', 73), ('right_column_content', 71)]], {}), 75: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 76: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 77: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 78: ('wagtail.blocks.StructBlock', [[('name', 76), ('content', 77)]], {}), 79: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'max_length': 120}), 80: ('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'}), 81: ('wagtail.blocks.BooleanBlock', (), {'help_text': 'MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.', 'label': 'Schovat body', 'required': False}), 82: ('wagtail.blocks.CharBlock', (), {'label': 'Skupina', 'max_length': 40}), 83: ('wagtail.blocks.ListBlock', (82,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnÄ› definovanĂ© skupiny', 'required': False}), 84: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ zdroje dat', 'max_length': 120}), 85: ('wagtail.blocks.IntegerBlock', (), {}), 86: ('wagtail.blocks.ListBlock', (85,), {'default': [0], 'label': 'Data'}), 87: ('wagtail.blocks.StructBlock', [[('label', 84), ('data', 86)]], {}), 88: ('wagtail.blocks.ListBlock', (87,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnĂ zdroje dat', 'required': False}), 89: ('wagtail.blocks.MultipleChoiceBlock', [], {'choices': shared.blocks.children.chart.get_redmine_projects, 'label': 'Projekty'}), 90: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen otevĹ™enĂ©', 'required': False}), 91: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen uzavĹ™enĂ©', 'required': False}), 92: ('wagtail.blocks.DateBlock', (), {'label': 'Min. datum vytvoĹ™enĂ', 'required': True}), 93: ('wagtail.blocks.DateBlock', (), {'label': 'Max. datum vytvoĹ™enĂ', 'required': True}), 94: ('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}), 95: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu', 'max_length': 128, 'required': True}), 96: ('wagtail.blocks.BooleanBlock', (), {'label': 'RozdÄ›lit podle projektu', 'required': False}), 97: ('wagtail.blocks.BooleanBlock', (), {'label': 'Pouze rĹŻst nahoru', 'required': False}), 98: ('wagtail.blocks.StructBlock', [[('projects', 89), ('is_open', 90), ('is_closed', 91), ('created_on_min_date', 92), ('created_on_max_date', 93), ('updated_on', 94), ('issue_label', 95), ('split_per_project', 96), ('only_grow', 97)]], {'label': 'Redmine Ăşkoly'}), 99: ('wagtail.blocks.ListBlock', (98,), {'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}), 100: ('wagtail.blocks.StructBlock', [[('title', 79), ('chart_type', 80), ('hide_points', 81), ('local_labels', 83), ('local_datasets', 88), ('redmine_issue_datasets', 99)]], {}), 101: ('wagtail.blocks.PageChooserBlock', ('district.DistrictArticlePage',), {'label': 'Aktualita', 'required': True}), 102: ('wagtail.blocks.ListBlock', (101,), {'label': 'Seznam aktualit', 'required': True}), 103: ('wagtail.blocks.StructBlock', [[('articles', 102)]], {}), 104: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Osoba', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage'], 'required': True}), 105: ('wagtail.blocks.CharBlock', (), {'help_text': 'VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.', 'label': 'Popisek', 'required': False}), 106: ('wagtail.blocks.StructBlock', [[('person', 104), ('caption', 105)]], {}), 107: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek'}), 108: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no', 'label': 'Slug skupiny', 'required': False}), 109: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage']}), 110: ('wagtail.blocks.ListBlock', (109,), {'default': [], 'help_text': 'S pozicemi z jejich podstránek', 'label': 'Osoby'}), 111: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage', 'district.DistrictPersonPage']}), 112: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.', 'label': 'Pozice', 'required': False}), 113: ('wagtail.blocks.StructBlock', [[('page', 111), ('position', 112)]], {}), 114: ('wagtail.blocks.ListBlock', (113,), {'default': [], 'help_text': 'S nastavitelnĂ˝mi pozicemi', 'label': 'Osoby'}), 115: ('wagtail.blocks.StructBlock', [[('title', 107), ('slug', 108), ('person_list', 110), ('person_list_with_custom_positions', 114)]], {})}, 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", 72), + ("three_columns", 74), + ("youtube", 75), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ("popout_point", 78), + ("chart", 100), + ("related", 103), + ("related_links", 103), + ("badge", 106), + ("new_people_group", 115), + ], + blank=True, + block_lookup={ + 0: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + "template": "styleguide2/includes/atoms/text/prose_richtext.html", + }, + ), + 1: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("left", "vlevo"), + ("center", "uprostĹ™ed"), + ("right", "vpravo"), + ], + "label": "zarovnánĂ", + }, + ), + 2: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black_on_white", "ÄŤerná na bĂlĂ©"), + ("black_on_yellow", "ÄŤerná na ĹľlutĂ©"), + ("white_on_black", "bĂlá na ÄŤernĂ©"), + ("white_on_blue", "bĂlá na modrĂ©"), + ("white_on_cyan", "bĂlá na tyrkysovĂ©"), + ("white_on_violet", "bĂlá na fialovĂ©"), + ], + "label": "barva", + }, + ), + 3: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + }, + ), + 4: ( + "wagtail.blocks.StructBlock", + [[("align", 1), ("color", 2), ("text", 3)]], + {}, + ), + 5: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "levĂ˝ sloupec", + }, + ), + 6: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "pravĂ˝ sloupec", + }, + ), + 7: ( + "wagtail.blocks.StructBlock", + [[("left_text", 5), ("right_text", 6)]], + {}, + ), + 8: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Nadpis", "max_length": 300, "required": True}, + ), + 9: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("h1", "H1"), + ("h2", "H2"), + ("h3", "H3"), + ("h4", "H4"), + ("h5", "H5"), + ("h6", "H6"), + ], + "help_text": "ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.", + "label": "ĂšroveĹ nadpisu", + }, + ), + 10: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("head-alt-xl", "VelkĂ˝, Bebas Neue - 6XL"), + ("head-alt-lg", "StĹ™ednĂ, Bebas Neue - 4XL"), + ("head-alt-md", "ZákladnĂ velikost - Roboto - MD"), + ("head-alt-sm", "MalĂ˝ - Roboto - SM"), + ("head-alt-xs", "Extra malĂ˝ - Roboto - XS"), + ], + "help_text": "Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.", + "label": "Velikost", + }, + ), + 11: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("auto", "Automaticky"), + ("center", "Na stĹ™ed"), + ], + "label": "ZarovnánĂ", + }, + ), + 12: ( + "wagtail.blocks.StructBlock", + [[("headline", 8), ("tag", 9), ("style", 10), ("align", 11)]], + {}, + ), + 13: ("wagtail.blocks.CharBlock", (), {"label": "nadpis"}), + 14: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)", + "label": "obrázek", + }, + ), + 15: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("title", 13), ("picture", 14)]], + {}, + ), + 16: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "Odstavec", + }, + ), + 17: ("wagtail.blocks.ListBlock", (16,), {"label": "Odstavce"}), + 18: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)", + "label": "Obrázek", + }, + ), + 19: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("items", 17), ("picture", 18)]], + {}, + ), + 20: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "FEC900", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva pozadĂ", + }, + ), + 21: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.", + "label": "Obrázek", + "required": False, + }, + ), + 22: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje obrázek. Nelze vybrat obÄ› najednou.", + "label": "PozadĂ", + "required": False, + }, + ), + 23: ( + "wagtail.blocks.TextBlock", + (), + {"help_text": "ĹádkovánĂ je manuálnĂ.", "label": "Nadpis"}, + ), + 24: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva textu", + }, + ), + 25: ("wagtail.blocks.RichTextBlock", (), {"label": "Obsah"}), + 26: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.", + "label": "Nadpis tlaÄŤĂtka", + "required": False, + }, + ), + 27: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Odkaz tlaÄŤĂtka", "required": False}, + ), + 28: ( + "wagtail.blocks.StructBlock", + [ + [ + ("bg_color", 20), + ("image", 21), + ("background", 22), + ("title", 23), + ("title_color", 24), + ("content", 25), + ("button_text", 26), + ("button_url", 27), + ] + ], + {"label": "Karta"}, + ), + 29: ("wagtail.blocks.ListBlock", (28,), {"label": "Karty"}), + 30: ("wagtail.blocks.StructBlock", [[("cards", 29)]], {}), + 31: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "Tabulka", + "template": "styleguide2/includes/atoms/table/table.html", + }, + ), + 32: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "RozbalovacĂ tabulka", + "template": "styleguide2/includes/atoms/table/popout_table.html", + }, + ), + 33: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "obrázek", "required": True}, + ), + 34: ( + "wagtail.blocks.ListBlock", + (33,), + {"group": "3. OstatnĂ", "icon": "image", "label": "Galerie"}, + ), + 35: ( + "wagtail.blocks.StructBlock", + [[("gallery_items", 34)]], + {"label": "Galerie"}, + ), + 36: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": True}, + ), + 37: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Popisek", "required": False}, + ), + 38: ( + "wagtail.blocks.StructBlock", + [[("img", 36), ("caption", 37)]], + {}, + ), + 39: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": False}, + ), + 40: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Titulek", "required": False}, + ), + 41: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.", + "label": "Náhled videa (automatickĂ© pole)", + "required": False, + }, + ), + 42: ( + "wagtail.blocks.URLBlock", + (), + { + "help_text": "Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.", + "label": "Odkaz na video", + "required": False, + }, + ), + 43: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.", + "label": "ID videa (automatickĂ© pole)", + "required": False, + }, + ), + 44: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "label": "ZabĂrá celou šĂĹ™ku?", + "required": True, + }, + ), + 45: ( + "wagtail.blocks.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": True, + }, + ), + 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.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ] + ], + {}, + ), + 68: ("wagtail.blocks.ListBlock", (67,), {"label": "TlaÄŤĂtka"}), + 69: ("wagtail.blocks.StructBlock", [[("buttons", 68)]], {}), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 70), ("right_column_content", 71)]], + {}, + ), + 73: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 70), + ("middle_column_content", 73), + ("right_column_content", 71), + ] + ], + {}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 76: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 77: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 78: ( + "wagtail.blocks.StructBlock", + [[("name", 76), ("content", 77)]], + {}, + ), + 79: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "max_length": 120}, + ), + 80: ( + "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", + }, + ), + 81: ( + "wagtail.blocks.BooleanBlock", + (), + { + "help_text": "MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.", + "label": "Schovat body", + "required": False, + }, + ), + 82: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Skupina", "max_length": 40}, + ), + 83: ( + "wagtail.blocks.ListBlock", + (82,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnÄ› definovanĂ© skupiny", + "required": False, + }, + ), + 84: ( + "wagtail.blocks.CharBlock", + (), + {"label": "OznaÄŤenĂ zdroje dat", "max_length": 120}, + ), + 85: ("wagtail.blocks.IntegerBlock", (), {}), + 86: ( + "wagtail.blocks.ListBlock", + (85,), + {"default": [0], "label": "Data"}, + ), + 87: ( + "wagtail.blocks.StructBlock", + [[("label", 84), ("data", 86)]], + {}, + ), + 88: ( + "wagtail.blocks.ListBlock", + (87,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnĂ zdroje dat", + "required": False, + }, + ), + 89: ( + "wagtail.blocks.MultipleChoiceBlock", + [], + { + "choices": shared.blocks.children.chart.get_redmine_projects, + "label": "Projekty", + }, + ), + 90: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen otevĹ™enĂ©", "required": False}, + ), + 91: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen uzavĹ™enĂ©", "required": False}, + ), + 92: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Min. datum vytvoĹ™enĂ", "required": True}, + ), + 93: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Max. datum vytvoĹ™enĂ", "required": True}, + ), + 94: ( + "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, + }, + ), + 95: ( + "wagtail.blocks.CharBlock", + (), + { + "label": "OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu", + "max_length": 128, + "required": True, + }, + ), + 96: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "RozdÄ›lit podle projektu", "required": False}, + ), + 97: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Pouze rĹŻst nahoru", "required": False}, + ), + 98: ( + "wagtail.blocks.StructBlock", + [ + [ + ("projects", 89), + ("is_open", 90), + ("is_closed", 91), + ("created_on_min_date", 92), + ("created_on_max_date", 93), + ("updated_on", 94), + ("issue_label", 95), + ("split_per_project", 96), + ("only_grow", 97), + ] + ], + {"label": "Redmine Ăşkoly"}, + ), + 99: ( + "wagtail.blocks.ListBlock", + (98,), + { + "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, + }, + ), + 100: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 79), + ("chart_type", 80), + ("hide_points", 81), + ("local_labels", 83), + ("local_datasets", 88), + ("redmine_issue_datasets", 99), + ] + ], + {}, + ), + 101: ( + "wagtail.blocks.PageChooserBlock", + ("district.DistrictArticlePage",), + {"label": "Aktualita", "required": True}, + ), + 102: ( + "wagtail.blocks.ListBlock", + (101,), + {"label": "Seznam aktualit", "required": True}, + ), + 103: ("wagtail.blocks.StructBlock", [[("articles", 102)]], {}), + 104: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Osoba", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + "required": True, + }, + ), + 105: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.", + "label": "Popisek", + "required": False, + }, + ), + 106: ( + "wagtail.blocks.StructBlock", + [[("person", 104), ("caption", 105)]], + {}, + ), + 107: ("wagtail.blocks.CharBlock", (), {"label": "Titulek"}), + 108: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no", + "label": "Slug skupiny", + "required": False, + }, + ), + 109: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + }, + ), + 110: ( + "wagtail.blocks.ListBlock", + (109,), + { + "default": [], + "help_text": "S pozicemi z jejich podstránek", + "label": "Osoby", + }, + ), + 111: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + "district.DistrictPersonPage", + ], + }, + ), + 112: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.", + "label": "Pozice", + "required": False, + }, + ), + 113: ( + "wagtail.blocks.StructBlock", + [[("page", 111), ("position", 112)]], + {}, + ), + 114: ( + "wagtail.blocks.ListBlock", + (113,), + { + "default": [], + "help_text": "S nastavitelnĂ˝mi pozicemi", + "label": "Osoby", + }, + ), + 115: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 107), + ("slug", 108), + ("person_list", 110), + ("person_list_with_custom_positions", 114), + ] + ], + {}, + ), + }, + 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', 140)], blank=True, block_lookup={0: ('wagtail.blocks.CharBlock', (), {'help_text': "NapĹ™. 'KrajskĂ© volby 2024', 'EvropskĂ© volby 2024', ...", 'label': 'Název programu'}), 1: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz pokrĂ˝vajĂcĂ celou tuto část', 'required': False}), 2: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Ikona', 'required': False}), 3: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek ÄŤlánku programu'}), 4: ('wagtail.blocks.RichTextBlock', (), {'features': ['h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Obsah'}), 5: ('wagtail.blocks.StructBlock', [[('url', 1), ('icon', 2), ('title', 3), ('text', 4)]], {}), 6: ('wagtail.blocks.ListBlock', (5,), {'label': 'JednotlivĂ© ÄŤlánky programu'}), 7: ('wagtail.blocks.StructBlock', [[('title', 0), ('point_list', 6)]], {}), 8: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek'}), 9: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 10: ('wagtail.blocks.RichTextBlock', (), {'label': 'KrátkĂ˝ text pod nadpisem', 'required': False}), 11: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'page_type': ['district.DistrictArticlesPage', 'district.DistrictCenterPage', 'district.DistrictContactPage', 'district.DistrictCrossroadPage', 'district.DistrictCustomPage', 'district.DistrictPeoplePage', 'district.DistrictGeoFeatureCollectionPage', 'district.DistrictCalendarPage', 'district.DistrictPdfPage', 'district.DistrictNewProgramPage'], 'required': False}), 12: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 13: ('wagtail.blocks.StructBlock', [[('image', 8), ('title', 9), ('text', 10), ('page', 11), ('link', 12)]], {}), 14: ('wagtail.blocks.ListBlock', (13,), {'label': 'Karty programu'}), 15: ('wagtail.blocks.StructBlock', [[('title', 0), ('point_list', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'help_text': 'ZobrazĂ se nad pĹ™epĂnaÄŤem mezi kandidáty a programem.', 'label': 'Preambule', 'required': False}), 17: ('wagtail.blocks.CharBlock', (), {'label': 'Název'}), 18: ('wagtail.blocks.RichTextBlock', (), {'label': 'Popis', 'required': False}), 19: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek vyskakovacĂho bloku'}), 20: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Garant', 'page_type': ['district.DistrictPersonPage'], 'required': False}), 21: ('wagtail.blocks.StructBlock', [[('title', 19), ('content', 4), ('guarantor', 20)]], {}), 22: ('wagtail.blocks.ListBlock', (21,), {'label': 'JednotlivĂ© bloky programu'}), 23: ('wagtail.blocks.StructBlock', [[('name', 17), ('icon', 2), ('description', 18), ('point_list', 22)]], {}), 24: ('wagtail.blocks.ListBlock', (23,), {'label': 'Kategorie programu'}), 25: ('wagtail.blocks.StructBlock', [[('title', 0), ('preamble', 16), ('categories', 24)]], {}), 26: ('wagtail.blocks.RichTextBlock', (), {'help_text': 'Text, kterĂ˝ se zobrazĂ pĹ™ed pĹ™epĂnaÄŤem mezi kandidáty a programem.', 'label': 'Preambule', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'default': 'Kandidáti', 'label': 'Nadpis záloĹľky pro kandidáty'}), 28: ('wagtail.blocks.CharBlock', (), {'default': 'Program', 'label': 'Nadpis záloĹľky pro program'}), 29: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage']}), 30: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Pokud nenĂ vybrán, pouĹľije se obrázek ze stránky kandidáta', 'label': 'Obrázek', 'required': False}), 31: ('wagtail.blocks.StructBlock', [[('page', 29), ('image', 30), ('description', 18)]], {}), 32: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis'}), 33: ('wagtail.blocks.CharBlock', (), {'label': 'Podnadpis', 'required': False}), 34: ('wagtail.blocks.CharBlock', (), {'label': 'PovolánĂ', 'required': False}), 35: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 36: ('wagtail.blocks.CharBlock', (), {'default': 'Zjisti vĂce', 'help_text': 'Pokud nenĂ vyplnÄ›no, odkaz tlaÄŤĂtka se nezobrazĂ', 'label': 'Text tlaÄŤĂtka', 'required': False}), 37: ('wagtail.blocks.StructBlock', [[('title', 32), ('subtitle', 33), ('job', 34), ('image', 30), ('description', 18), ('button_url', 35), ('button_text', 36)]], {}), 38: ('wagtail.blocks.StreamBlock', [[('candidate', 31), ('custom_candidate', 37)]], {'label': ' ', 'required': False}), 39: ('wagtail.blocks.StructBlock', [[('stream_candidates', 38)]], {'help_text': 'ZobrazĂ se ve velkĂ˝ch blocĂch na začátku stránky.', 'label': 'Osoby na ÄŤele kandidátky'}), 40: ('wagtail.blocks.CharBlock', (), {'default': 'OstatnĂ kandidáti', 'label': ' ', 'required': False}), 41: ('wagtail.blocks.CharBlock', (), {'label': 'ÄŚĂslo'}), 42: ('wagtail.blocks.StructBlock', [[('number', 41), ('page', 29), ('image', 30)]], {}), 43: ('wagtail.blocks.ListBlock', (42,), {'default': [], 'label': ' ', 'min_num': 0}), 44: ('wagtail.blocks.StructBlock', [[('heading', 40), ('candidates', 43)]], {'help_text': 'ZobrazĂ se v kompaktnĂm seznamu pod ÄŤelem kandidátky. NĂĹľe mĹŻĹľeš zmÄ›nit nadpis.', 'label': 'OstatnĂ osoby na kandidátce'}), 45: ('wagtail.blocks.CharBlock', (), {'help_text': "NapĹ™. 'VolebnĂ noviny'", 'label': 'Název sekce'}), 46: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 47: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 48: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 49: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 50: ('wagtail.blocks.StructBlock', [[('align', 47), ('color', 48), ('text', 49)]], {}), 51: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 52: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 53: ('wagtail.blocks.StructBlock', [[('left_text', 51), ('right_text', 52)]], {}), 54: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 55: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 56: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 57: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 58: ('wagtail.blocks.StructBlock', [[('headline', 54), ('tag', 55), ('style', 56), ('align', 57)]], {}), 59: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 60: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 61: ('wagtail.blocks.StructBlock', [[('color', 48), ('title', 59), ('picture', 60)]], {}), 62: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 63: ('wagtail.blocks.ListBlock', (62,), {'label': 'Odstavce'}), 64: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 65: ('wagtail.blocks.StructBlock', [[('color', 48), ('items', 63), ('picture', 64)]], {}), 66: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 67: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 68: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 69: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 70: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 71: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 72: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 73: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 74: ('wagtail.blocks.StructBlock', [[('bg_color', 66), ('image', 67), ('background', 68), ('title', 69), ('title_color', 70), ('content', 71), ('button_text', 72), ('button_url', 73)]], {'label': 'Karta'}), 75: ('wagtail.blocks.ListBlock', (74,), {'label': 'Karty'}), 76: ('wagtail.blocks.StructBlock', [[('cards', 75)]], {}), 77: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 78: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 79: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 80: ('wagtail.blocks.ListBlock', (79,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 81: ('wagtail.blocks.StructBlock', [[('gallery_items', 80)]], {'label': 'Galerie'}), 82: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 83: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 84: ('wagtail.blocks.StructBlock', [[('img', 82), ('caption', 83)]], {}), 85: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 86: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 87: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 88: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 89: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 90: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 91: ('wagtail.blocks.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': True}), 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.StructBlock', [[('title', 108), ('color', 109), ('hoveractive', 110), ('page', 106), ('link', 12), ('align', 57)]], {}), 112: ('wagtail.blocks.ListBlock', (111,), {'label': 'TlaÄŤĂtka'}), 113: ('wagtail.blocks.StructBlock', [[('buttons', 112)]], {}), 114: ('wagtail.blocks.StreamBlock', [[('text', 49), ('table', 77), ('card', 107), ('figure', 84), ('youtube', 92), ('map_point', 99), ('map_collection', 104), ('button', 111), ('button_group', 113)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 115: ('wagtail.blocks.StreamBlock', [[('text', 49), ('table', 77), ('card', 107), ('figure', 84), ('youtube', 92), ('map_point', 99), ('map_collection', 104), ('button', 111), ('button_group', 113)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 116: ('wagtail.blocks.StructBlock', [[('left_column_content', 114), ('right_column_content', 115)]], {}), 117: ('wagtail.blocks.StreamBlock', [[('text', 49), ('table', 77), ('card', 107), ('figure', 84), ('youtube', 92), ('map_point', 99), ('map_collection', 104), ('button', 111), ('button_group', 113)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 118: ('wagtail.blocks.StructBlock', [[('left_column_content', 114), ('middle_column_content', 117), ('right_column_content', 115)]], {}), 119: ('wagtail.blocks.StructBlock', [[('poster_image', 87), ('video_url', 88), ('video_id', 89), ('is_full_width', 90), ('autoplay', 91)]], {'label': 'YouTube video'}), 120: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 121: ('wagtail.blocks.StreamBlock', [[('text', 46), ('headline', 58), ('table', 77)]], {'label': 'Obsah'}), 122: ('wagtail.blocks.StructBlock', [[('name', 120), ('content', 121)]], {}), 123: ('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', 116), ('three_columns', 118), ('youtube', 119), ('map_point', 99), ('map_collection', 104), ('button', 111), ('button_group', 113), ('popout_point', 122)]], {'label': 'Obsah'}), 124: ('wagtail.blocks.StructBlock', [[('title', 45), ('child_blocks', 123)]], {}), 125: ('wagtail.blocks.ListBlock', (124,), {'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}), 126: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz'}), 127: ('wagtail.blocks.StructBlock', [[('text', 17), ('link', 126)]], {'label': 'Odkaz'}), 128: ('wagtail.blocks.ListBlock', (127,), {'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}), 129: ('wagtail.blocks.CharBlock', (), {'default': 'Program', 'help_text': "NapĹ™. 'Program'", 'label': 'Nadpis'}), 130: ('wagtail.blocks.IntegerBlock', (), {'label': 'ÄŚĂslo'}), 131: ('wagtail.blocks.TextBlock', (), {'label': 'Obsah'}), 132: ('wagtail.blocks.StructBlock', [[('content', 131)]], {}), 133: ('wagtail.blocks.ListBlock', (132,), {'label': 'Body'}), 134: ('wagtail.blocks.StructBlock', [[('number', 130), ('name', 17), ('points', 133)]], {}), 135: ('wagtail.blocks.ListBlock', (134,), {'label': 'Kategorie'}), 136: ('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}), 137: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis odkazu na celou verzi programu', 'required': False}), 138: ('wagtail.blocks.StructBlock', [[('label', 129), ('categories', 135), ('long_version_url', 136), ('long_version_text', 137)]], {'template': 'styleguide2/includes/molecules/program/program_block.html'}), 139: ('wagtail.blocks.StreamBlock', [[('program_group', 7), ('program_group_crossroad', 15), ('program_group_popout', 25), ('carousel_program', 138)]], {'required': False}), 140: ('wagtail.blocks.StructBlock', [[('title', 0), ('preamble_content', 26), ('candidates_title', 27), ('program_title', 28), ('primary_candidates', 39), ('secondary_candidates', 44), ('other_views', 125), ('tab_links', 128), ('program', 139)]], {})}, 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", 140), + ], + blank=True, + block_lookup={ + 0: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NapĹ™. 'KrajskĂ© volby 2024', 'EvropskĂ© volby 2024', ...", + "label": "Název programu", + }, + ), + 1: ( + "wagtail.blocks.URLBlock", + (), + { + "label": "Odkaz pokrĂ˝vajĂcĂ celou tuto část", + "required": False, + }, + ), + 2: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Ikona", "required": False}, + ), + 3: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek ÄŤlánku programu"}, + ), + 4: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "Obsah", + }, + ), + 5: ( + "wagtail.blocks.StructBlock", + [[("url", 1), ("icon", 2), ("title", 3), ("text", 4)]], + {}, + ), + 6: ( + "wagtail.blocks.ListBlock", + (5,), + {"label": "JednotlivĂ© ÄŤlánky programu"}, + ), + 7: ( + "wagtail.blocks.StructBlock", + [[("title", 0), ("point_list", 6)]], + {}, + ), + 8: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek"}, + ), + 9: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": True}, + ), + 10: ( + "wagtail.blocks.RichTextBlock", + (), + {"label": "KrátkĂ˝ text pod nadpisem", "required": False}, + ), + 11: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Stránka", + "page_type": [ + "district.DistrictArticlesPage", + "district.DistrictCenterPage", + "district.DistrictContactPage", + "district.DistrictCrossroadPage", + "district.DistrictCustomPage", + "district.DistrictPeoplePage", + "district.DistrictGeoFeatureCollectionPage", + "district.DistrictCalendarPage", + "district.DistrictPdfPage", + "district.DistrictNewProgramPage", + ], + "required": False, + }, + ), + 12: ( + "wagtail.blocks.URLBlock", + (), + {"label": "Odkaz", "required": False}, + ), + 13: ( + "wagtail.blocks.StructBlock", + [ + [ + ("image", 8), + ("title", 9), + ("text", 10), + ("page", 11), + ("link", 12), + ] + ], + {}, + ), + 14: ( + "wagtail.blocks.ListBlock", + (13,), + {"label": "Karty programu"}, + ), + 15: ( + "wagtail.blocks.StructBlock", + [[("title", 0), ("point_list", 14)]], + {}, + ), + 16: ( + "wagtail.blocks.RichTextBlock", + (), + { + "help_text": "ZobrazĂ se nad pĹ™epĂnaÄŤem mezi kandidáty a programem.", + "label": "Preambule", + "required": False, + }, + ), + 17: ("wagtail.blocks.CharBlock", (), {"label": "Název"}), + 18: ( + "wagtail.blocks.RichTextBlock", + (), + {"label": "Popis", "required": False}, + ), + 19: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek vyskakovacĂho bloku"}, + ), + 20: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Garant", + "page_type": ["district.DistrictPersonPage"], + "required": False, + }, + ), + 21: ( + "wagtail.blocks.StructBlock", + [[("title", 19), ("content", 4), ("guarantor", 20)]], + {}, + ), + 22: ( + "wagtail.blocks.ListBlock", + (21,), + {"label": "JednotlivĂ© bloky programu"}, + ), + 23: ( + "wagtail.blocks.StructBlock", + [ + [ + ("name", 17), + ("icon", 2), + ("description", 18), + ("point_list", 22), + ] + ], + {}, + ), + 24: ( + "wagtail.blocks.ListBlock", + (23,), + {"label": "Kategorie programu"}, + ), + 25: ( + "wagtail.blocks.StructBlock", + [[("title", 0), ("preamble", 16), ("categories", 24)]], + {}, + ), + 26: ( + "wagtail.blocks.RichTextBlock", + (), + { + "help_text": "Text, kterĂ˝ se zobrazĂ pĹ™ed pĹ™epĂnaÄŤem mezi kandidáty a programem.", + "label": "Preambule", + "required": False, + }, + ), + 27: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "Kandidáti", + "label": "Nadpis záloĹľky pro kandidáty", + }, + ), + 28: ( + "wagtail.blocks.CharBlock", + (), + {"default": "Program", "label": "Nadpis záloĹľky pro program"}, + ), + 29: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Stránka", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + }, + ), + 30: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Pokud nenĂ vybrán, pouĹľije se obrázek ze stránky kandidáta", + "label": "Obrázek", + "required": False, + }, + ), + 31: ( + "wagtail.blocks.StructBlock", + [[("page", 29), ("image", 30), ("description", 18)]], + {}, + ), + 32: ("wagtail.blocks.CharBlock", (), {"label": "Nadpis"}), + 33: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Podnadpis", "required": False}, + ), + 34: ( + "wagtail.blocks.CharBlock", + (), + {"label": "PovolánĂ", "required": False}, + ), + 35: ( + "wagtail.blocks.URLBlock", + (), + {"label": "Odkaz tlaÄŤĂtka", "required": False}, + ), + 36: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "Zjisti vĂce", + "help_text": "Pokud nenĂ vyplnÄ›no, odkaz tlaÄŤĂtka se nezobrazĂ", + "label": "Text tlaÄŤĂtka", + "required": False, + }, + ), + 37: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 32), + ("subtitle", 33), + ("job", 34), + ("image", 30), + ("description", 18), + ("button_url", 35), + ("button_text", 36), + ] + ], + {}, + ), + 38: ( + "wagtail.blocks.StreamBlock", + [[("candidate", 31), ("custom_candidate", 37)]], + {"label": " ", "required": False}, + ), + 39: ( + "wagtail.blocks.StructBlock", + [[("stream_candidates", 38)]], + { + "help_text": "ZobrazĂ se ve velkĂ˝ch blocĂch na začátku stránky.", + "label": "Osoby na ÄŤele kandidátky", + }, + ), + 40: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "OstatnĂ kandidáti", + "label": " ", + "required": False, + }, + ), + 41: ("wagtail.blocks.CharBlock", (), {"label": "ÄŚĂslo"}), + 42: ( + "wagtail.blocks.StructBlock", + [[("number", 41), ("page", 29), ("image", 30)]], + {}, + ), + 43: ( + "wagtail.blocks.ListBlock", + (42,), + {"default": [], "label": " ", "min_num": 0}, + ), + 44: ( + "wagtail.blocks.StructBlock", + [[("heading", 40), ("candidates", 43)]], + { + "help_text": "ZobrazĂ se v kompaktnĂm seznamu pod ÄŤelem kandidátky. NĂĹľe mĹŻĹľeš zmÄ›nit nadpis.", + "label": "OstatnĂ osoby na kandidátce", + }, + ), + 45: ( + "wagtail.blocks.CharBlock", + (), + {"help_text": "NapĹ™. 'VolebnĂ noviny'", "label": "Název sekce"}, + ), + 46: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + "template": "styleguide2/includes/atoms/text/prose_richtext.html", + }, + ), + 47: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("left", "vlevo"), + ("center", "uprostĹ™ed"), + ("right", "vpravo"), + ], + "label": "zarovnánĂ", + }, + ), + 48: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black_on_white", "ÄŤerná na bĂlĂ©"), + ("black_on_yellow", "ÄŤerná na ĹľlutĂ©"), + ("white_on_black", "bĂlá na ÄŤernĂ©"), + ("white_on_blue", "bĂlá na modrĂ©"), + ("white_on_cyan", "bĂlá na tyrkysovĂ©"), + ("white_on_violet", "bĂlá na fialovĂ©"), + ], + "label": "barva", + }, + ), + 49: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + }, + ), + 50: ( + "wagtail.blocks.StructBlock", + [[("align", 47), ("color", 48), ("text", 49)]], + {}, + ), + 51: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "levĂ˝ sloupec", + }, + ), + 52: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "pravĂ˝ sloupec", + }, + ), + 53: ( + "wagtail.blocks.StructBlock", + [[("left_text", 51), ("right_text", 52)]], + {}, + ), + 54: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Nadpis", "max_length": 300, "required": True}, + ), + 55: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("h1", "H1"), + ("h2", "H2"), + ("h3", "H3"), + ("h4", "H4"), + ("h5", "H5"), + ("h6", "H6"), + ], + "help_text": "ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.", + "label": "ĂšroveĹ nadpisu", + }, + ), + 56: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("head-alt-xl", "VelkĂ˝, Bebas Neue - 6XL"), + ("head-alt-lg", "StĹ™ednĂ, Bebas Neue - 4XL"), + ("head-alt-md", "ZákladnĂ velikost - Roboto - MD"), + ("head-alt-sm", "MalĂ˝ - Roboto - SM"), + ("head-alt-xs", "Extra malĂ˝ - Roboto - XS"), + ], + "help_text": "Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.", + "label": "Velikost", + }, + ), + 57: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("auto", "Automaticky"), + ("center", "Na stĹ™ed"), + ], + "label": "ZarovnánĂ", + }, + ), + 58: ( + "wagtail.blocks.StructBlock", + [[("headline", 54), ("tag", 55), ("style", 56), ("align", 57)]], + {}, + ), + 59: ("wagtail.blocks.CharBlock", (), {"label": "nadpis"}), + 60: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)", + "label": "obrázek", + }, + ), + 61: ( + "wagtail.blocks.StructBlock", + [[("color", 48), ("title", 59), ("picture", 60)]], + {}, + ), + 62: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "Odstavec", + }, + ), + 63: ("wagtail.blocks.ListBlock", (62,), {"label": "Odstavce"}), + 64: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)", + "label": "Obrázek", + }, + ), + 65: ( + "wagtail.blocks.StructBlock", + [[("color", 48), ("items", 63), ("picture", 64)]], + {}, + ), + 66: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "FEC900", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva pozadĂ", + }, + ), + 67: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.", + "label": "Obrázek", + "required": False, + }, + ), + 68: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje obrázek. Nelze vybrat obÄ› najednou.", + "label": "PozadĂ", + "required": False, + }, + ), + 69: ( + "wagtail.blocks.TextBlock", + (), + {"help_text": "ĹádkovánĂ je manuálnĂ.", "label": "Nadpis"}, + ), + 70: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva textu", + }, + ), + 71: ("wagtail.blocks.RichTextBlock", (), {"label": "Obsah"}), + 72: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.", + "label": "Nadpis tlaÄŤĂtka", + "required": False, + }, + ), + 73: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Odkaz tlaÄŤĂtka", "required": False}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("bg_color", 66), + ("image", 67), + ("background", 68), + ("title", 69), + ("title_color", 70), + ("content", 71), + ("button_text", 72), + ("button_url", 73), + ] + ], + {"label": "Karta"}, + ), + 75: ("wagtail.blocks.ListBlock", (74,), {"label": "Karty"}), + 76: ("wagtail.blocks.StructBlock", [[("cards", 75)]], {}), + 77: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "Tabulka", + "template": "styleguide2/includes/atoms/table/table.html", + }, + ), + 78: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "RozbalovacĂ tabulka", + "template": "styleguide2/includes/atoms/table/popout_table.html", + }, + ), + 79: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "obrázek", "required": True}, + ), + 80: ( + "wagtail.blocks.ListBlock", + (79,), + {"group": "3. OstatnĂ", "icon": "image", "label": "Galerie"}, + ), + 81: ( + "wagtail.blocks.StructBlock", + [[("gallery_items", 80)]], + {"label": "Galerie"}, + ), + 82: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": True}, + ), + 83: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Popisek", "required": False}, + ), + 84: ( + "wagtail.blocks.StructBlock", + [[("img", 82), ("caption", 83)]], + {}, + ), + 85: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": False}, + ), + 86: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Titulek", "required": False}, + ), + 87: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.", + "label": "Náhled videa (automatickĂ© pole)", + "required": False, + }, + ), + 88: ( + "wagtail.blocks.URLBlock", + (), + { + "help_text": "Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.", + "label": "Odkaz na video", + "required": False, + }, + ), + 89: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.", + "label": "ID videa (automatickĂ© pole)", + "required": False, + }, + ), + 90: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "label": "ZabĂrá celou šĂĹ™ku?", + "required": True, + }, + ), + 91: ( + "wagtail.blocks.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": True, + }, + ), + 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.StructBlock", + [ + [ + ("title", 108), + ("color", 109), + ("hoveractive", 110), + ("page", 106), + ("link", 12), + ("align", 57), + ] + ], + {}, + ), + 112: ("wagtail.blocks.ListBlock", (111,), {"label": "TlaÄŤĂtka"}), + 113: ("wagtail.blocks.StructBlock", [[("buttons", 112)]], {}), + 114: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 49), + ("table", 77), + ("card", 107), + ("figure", 84), + ("youtube", 92), + ("map_point", 99), + ("map_collection", 104), + ("button", 111), + ("button_group", 113), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 115: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 49), + ("table", 77), + ("card", 107), + ("figure", 84), + ("youtube", 92), + ("map_point", 99), + ("map_collection", 104), + ("button", 111), + ("button_group", 113), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 116: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 114), ("right_column_content", 115)]], + {}, + ), + 117: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 49), + ("table", 77), + ("card", 107), + ("figure", 84), + ("youtube", 92), + ("map_point", 99), + ("map_collection", 104), + ("button", 111), + ("button_group", 113), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 118: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 114), + ("middle_column_content", 117), + ("right_column_content", 115), + ] + ], + {}, + ), + 119: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 87), + ("video_url", 88), + ("video_id", 89), + ("is_full_width", 90), + ("autoplay", 91), + ] + ], + {"label": "YouTube video"}, + ), + 120: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 121: ( + "wagtail.blocks.StreamBlock", + [[("text", 46), ("headline", 58), ("table", 77)]], + {"label": "Obsah"}, + ), + 122: ( + "wagtail.blocks.StructBlock", + [[("name", 120), ("content", 121)]], + {}, + ), + 123: ( + "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", 116), + ("three_columns", 118), + ("youtube", 119), + ("map_point", 99), + ("map_collection", 104), + ("button", 111), + ("button_group", 113), + ("popout_point", 122), + ] + ], + {"label": "Obsah"}, + ), + 124: ( + "wagtail.blocks.StructBlock", + [[("title", 45), ("child_blocks", 123)]], + {}, + ), + 125: ( + "wagtail.blocks.ListBlock", + (124,), + { + "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, + }, + ), + 126: ("wagtail.blocks.URLBlock", (), {"label": "Odkaz"}), + 127: ( + "wagtail.blocks.StructBlock", + [[("text", 17), ("link", 126)]], + {"label": "Odkaz"}, + ), + 128: ( + "wagtail.blocks.ListBlock", + (127,), + { + "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, + }, + ), + 129: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "Program", + "help_text": "NapĹ™. 'Program'", + "label": "Nadpis", + }, + ), + 130: ("wagtail.blocks.IntegerBlock", (), {"label": "ÄŚĂslo"}), + 131: ("wagtail.blocks.TextBlock", (), {"label": "Obsah"}), + 132: ("wagtail.blocks.StructBlock", [[("content", 131)]], {}), + 133: ("wagtail.blocks.ListBlock", (132,), {"label": "Body"}), + 134: ( + "wagtail.blocks.StructBlock", + [[("number", 130), ("name", 17), ("points", 133)]], + {}, + ), + 135: ("wagtail.blocks.ListBlock", (134,), {"label": "Kategorie"}), + 136: ( + "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, + }, + ), + 137: ( + "wagtail.blocks.CharBlock", + (), + { + "label": "Nadpis odkazu na celou verzi programu", + "required": False, + }, + ), + 138: ( + "wagtail.blocks.StructBlock", + [ + [ + ("label", 129), + ("categories", 135), + ("long_version_url", 136), + ("long_version_text", 137), + ] + ], + { + "template": "styleguide2/includes/molecules/program/program_block.html" + }, + ), + 139: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("program_group", 7), + ("program_group_crossroad", 15), + ("program_group_popout", 25), + ("carousel_program", 138), + ] + ], + {"required": False}, + ), + 140: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 0), + ("preamble_content", 26), + ("candidates_title", 27), + ("program_title", 28), + ("primary_candidates", 39), + ("secondary_candidates", 44), + ("other_views", 125), + ("tab_links", 128), + ("program", 139), + ] + ], + {}, + ), + }, + verbose_name="Programy", + ), ), ] diff --git a/district/migrations/0311_alter_districtarticlepage_content_and_more.py b/district/migrations/0311_alter_districtarticlepage_content_and_more.py index 26dc5aa6ec0536133d1cedaace4c06669ee663a3..70da6fda0f332755767cdc32e581e3a803315372 100644 --- a/district/migrations/0311_alter_districtarticlepage_content_and_more.py +++ b/district/migrations/0311_alter_districtarticlepage_content_and_more.py @@ -1,60 +1,9462 @@ # Generated by Django 5.0.7 on 2025-03-12 10:18 -import shared.blocks.children.chart import wagtail.fields from django.db import migrations +import shared.blocks.children.chart + class Migration(migrations.Migration): - dependencies = [ - ('district', '0310_alter_districtarticlepage_content_and_more'), + ("district", "0310_alter_districtarticlepage_content_and_more"), ] 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', 72), ('three_columns', 74), ('youtube', 75), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69), ('popout_point', 79), ('quote', 82), ('download', 84)], 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': True}), 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': True}), 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.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11)]], {}), 68: ('wagtail.blocks.ListBlock', (67,), {'label': 'TlaÄŤĂtka'}), 69: ('wagtail.blocks.StructBlock', [[('buttons', 68)]], {}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('right_column_content', 71)]], {}), 73: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 74: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('middle_column_content', 73), ('right_column_content', 71)]], {}), 75: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 76: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 77: ('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'}), 78: ('wagtail.blocks.StreamBlock', [[('text', 77), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 79: ('wagtail.blocks.StructBlock', [[('name', 76), ('content', 78)]], {}), 80: ('wagtail.blocks.CharBlock', (), {'label': 'Citace'}), 81: ('wagtail.blocks.CharBlock', (), {'label': 'JmĂ©no autora'}), 82: ('wagtail.blocks.StructBlock', [[('quote', 80), ('autor_name', 81)]], {}), 83: ('wagtail.documents.blocks.DocumentChooserBlock', (), {'label': 'StáhnutelnĂ˝ soubor'}), 84: ('wagtail.blocks.StructBlock', [[('file', 83)]], {})}, 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", 72), + ("three_columns", 74), + ("youtube", 75), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ("popout_point", 79), + ("quote", 82), + ("download", 84), + ], + 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": True, + }, + ), + 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": True, + }, + ), + 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.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ] + ], + {}, + ), + 68: ("wagtail.blocks.ListBlock", (67,), {"label": "TlaÄŤĂtka"}), + 69: ("wagtail.blocks.StructBlock", [[("buttons", 68)]], {}), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 70), ("right_column_content", 71)]], + {}, + ), + 73: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 70), + ("middle_column_content", 73), + ("right_column_content", 71), + ] + ], + {}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 76: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 77: ( + "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", + }, + ), + 78: ( + "wagtail.blocks.StreamBlock", + [[("text", 77), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 79: ( + "wagtail.blocks.StructBlock", + [[("name", 76), ("content", 78)]], + {}, + ), + 80: ("wagtail.blocks.CharBlock", (), {"label": "Citace"}), + 81: ("wagtail.blocks.CharBlock", (), {"label": "JmĂ©no autora"}), + 82: ( + "wagtail.blocks.StructBlock", + [[("quote", 80), ("autor_name", 81)]], + {}, + ), + 83: ( + "wagtail.documents.blocks.DocumentChooserBlock", + (), + {"label": "StáhnutelnĂ˝ soubor"}, + ), + 84: ("wagtail.blocks.StructBlock", [[("file", 83)]], {}), + }, + 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', 72), ('three_columns', 74), ('youtube', 75), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69), ('popout_point', 78), ('chart', 100), ('related', 103), ('related_links', 103), ('badge_list', 108), ('badge', 106), ('contact', 113)], 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': True}), 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': True}), 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.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11)]], {}), 68: ('wagtail.blocks.ListBlock', (67,), {'label': 'TlaÄŤĂtka'}), 69: ('wagtail.blocks.StructBlock', [[('buttons', 68)]], {}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('right_column_content', 71)]], {}), 73: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 74: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('middle_column_content', 73), ('right_column_content', 71)]], {}), 75: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 76: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 77: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 78: ('wagtail.blocks.StructBlock', [[('name', 76), ('content', 77)]], {}), 79: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'max_length': 120}), 80: ('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'}), 81: ('wagtail.blocks.BooleanBlock', (), {'help_text': 'MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.', 'label': 'Schovat body', 'required': False}), 82: ('wagtail.blocks.CharBlock', (), {'label': 'Skupina', 'max_length': 40}), 83: ('wagtail.blocks.ListBlock', (82,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnÄ› definovanĂ© skupiny', 'required': False}), 84: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ zdroje dat', 'max_length': 120}), 85: ('wagtail.blocks.IntegerBlock', (), {}), 86: ('wagtail.blocks.ListBlock', (85,), {'default': [0], 'label': 'Data'}), 87: ('wagtail.blocks.StructBlock', [[('label', 84), ('data', 86)]], {}), 88: ('wagtail.blocks.ListBlock', (87,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnĂ zdroje dat', 'required': False}), 89: ('wagtail.blocks.MultipleChoiceBlock', [], {'choices': shared.blocks.children.chart.get_redmine_projects, 'label': 'Projekty'}), 90: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen otevĹ™enĂ©', 'required': False}), 91: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen uzavĹ™enĂ©', 'required': False}), 92: ('wagtail.blocks.DateBlock', (), {'label': 'Min. datum vytvoĹ™enĂ', 'required': True}), 93: ('wagtail.blocks.DateBlock', (), {'label': 'Max. datum vytvoĹ™enĂ', 'required': True}), 94: ('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}), 95: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu', 'max_length': 128, 'required': True}), 96: ('wagtail.blocks.BooleanBlock', (), {'label': 'RozdÄ›lit podle projektu', 'required': False}), 97: ('wagtail.blocks.BooleanBlock', (), {'label': 'Pouze rĹŻst nahoru', 'required': False}), 98: ('wagtail.blocks.StructBlock', [[('projects', 89), ('is_open', 90), ('is_closed', 91), ('created_on_min_date', 92), ('created_on_max_date', 93), ('updated_on', 94), ('issue_label', 95), ('split_per_project', 96), ('only_grow', 97)]], {'label': 'Redmine Ăşkoly'}), 99: ('wagtail.blocks.ListBlock', (98,), {'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}), 100: ('wagtail.blocks.StructBlock', [[('title', 79), ('chart_type', 80), ('hide_points', 81), ('local_labels', 83), ('local_datasets', 88), ('redmine_issue_datasets', 99)]], {}), 101: ('wagtail.blocks.PageChooserBlock', ('district.DistrictArticlePage',), {'label': 'Aktualita', 'required': True}), 102: ('wagtail.blocks.ListBlock', (101,), {'label': 'Seznam aktualit', 'required': True}), 103: ('wagtail.blocks.StructBlock', [[('articles', 102)]], {}), 104: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Osoba', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage'], 'required': True}), 105: ('wagtail.blocks.CharBlock', (), {'help_text': 'VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.', 'label': 'Popisek', 'required': False}), 106: ('wagtail.blocks.StructBlock', [[('person', 104), ('caption', 105)]], {}), 107: ('wagtail.blocks.ListBlock', (106,), {'label': 'Vizitky'}), 108: ('wagtail.blocks.StructBlock', [[('people', 107)]], {}), 109: ('wagtail.blocks.CharBlock', (), {'label': 'Název pozice', 'required': False}), 110: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Osoba', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage']}), 111: ('wagtail.blocks.StructBlock', [[('position', 109), ('person', 110)]], {}), 112: ('wagtail.blocks.ListBlock', (111,), {}), 113: ('wagtail.blocks.StructBlock', [[('title', 54), ('contact_list', 112)]], {})}, 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", 72), + ("three_columns", 74), + ("youtube", 75), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ("popout_point", 78), + ("chart", 100), + ("related", 103), + ("related_links", 103), + ("badge_list", 108), + ("badge", 106), + ("contact", 113), + ], + 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": True, + }, + ), + 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": True, + }, + ), + 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.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ] + ], + {}, + ), + 68: ("wagtail.blocks.ListBlock", (67,), {"label": "TlaÄŤĂtka"}), + 69: ("wagtail.blocks.StructBlock", [[("buttons", 68)]], {}), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 70), ("right_column_content", 71)]], + {}, + ), + 73: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 70), + ("middle_column_content", 73), + ("right_column_content", 71), + ] + ], + {}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 76: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 77: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 78: ( + "wagtail.blocks.StructBlock", + [[("name", 76), ("content", 77)]], + {}, + ), + 79: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "max_length": 120}, + ), + 80: ( + "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", + }, + ), + 81: ( + "wagtail.blocks.BooleanBlock", + (), + { + "help_text": "MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.", + "label": "Schovat body", + "required": False, + }, + ), + 82: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Skupina", "max_length": 40}, + ), + 83: ( + "wagtail.blocks.ListBlock", + (82,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnÄ› definovanĂ© skupiny", + "required": False, + }, + ), + 84: ( + "wagtail.blocks.CharBlock", + (), + {"label": "OznaÄŤenĂ zdroje dat", "max_length": 120}, + ), + 85: ("wagtail.blocks.IntegerBlock", (), {}), + 86: ( + "wagtail.blocks.ListBlock", + (85,), + {"default": [0], "label": "Data"}, + ), + 87: ( + "wagtail.blocks.StructBlock", + [[("label", 84), ("data", 86)]], + {}, + ), + 88: ( + "wagtail.blocks.ListBlock", + (87,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnĂ zdroje dat", + "required": False, + }, + ), + 89: ( + "wagtail.blocks.MultipleChoiceBlock", + [], + { + "choices": shared.blocks.children.chart.get_redmine_projects, + "label": "Projekty", + }, + ), + 90: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen otevĹ™enĂ©", "required": False}, + ), + 91: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen uzavĹ™enĂ©", "required": False}, + ), + 92: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Min. datum vytvoĹ™enĂ", "required": True}, + ), + 93: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Max. datum vytvoĹ™enĂ", "required": True}, + ), + 94: ( + "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, + }, + ), + 95: ( + "wagtail.blocks.CharBlock", + (), + { + "label": "OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu", + "max_length": 128, + "required": True, + }, + ), + 96: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "RozdÄ›lit podle projektu", "required": False}, + ), + 97: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Pouze rĹŻst nahoru", "required": False}, + ), + 98: ( + "wagtail.blocks.StructBlock", + [ + [ + ("projects", 89), + ("is_open", 90), + ("is_closed", 91), + ("created_on_min_date", 92), + ("created_on_max_date", 93), + ("updated_on", 94), + ("issue_label", 95), + ("split_per_project", 96), + ("only_grow", 97), + ] + ], + {"label": "Redmine Ăşkoly"}, + ), + 99: ( + "wagtail.blocks.ListBlock", + (98,), + { + "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, + }, + ), + 100: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 79), + ("chart_type", 80), + ("hide_points", 81), + ("local_labels", 83), + ("local_datasets", 88), + ("redmine_issue_datasets", 99), + ] + ], + {}, + ), + 101: ( + "wagtail.blocks.PageChooserBlock", + ("district.DistrictArticlePage",), + {"label": "Aktualita", "required": True}, + ), + 102: ( + "wagtail.blocks.ListBlock", + (101,), + {"label": "Seznam aktualit", "required": True}, + ), + 103: ("wagtail.blocks.StructBlock", [[("articles", 102)]], {}), + 104: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Osoba", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + "required": True, + }, + ), + 105: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.", + "label": "Popisek", + "required": False, + }, + ), + 106: ( + "wagtail.blocks.StructBlock", + [[("person", 104), ("caption", 105)]], + {}, + ), + 107: ("wagtail.blocks.ListBlock", (106,), {"label": "Vizitky"}), + 108: ("wagtail.blocks.StructBlock", [[("people", 107)]], {}), + 109: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název pozice", "required": False}, + ), + 110: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Osoba", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + }, + ), + 111: ( + "wagtail.blocks.StructBlock", + [[("position", 109), ("person", 110)]], + {}, + ), + 112: ("wagtail.blocks.ListBlock", (111,), {}), + 113: ( + "wagtail.blocks.StructBlock", + [[("title", 54), ("contact_list", 112)]], + {}, + ), + }, + 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', 72), ('three_columns', 74), ('youtube', 75), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69), ('popout_point', 78), ('chart', 100), ('related', 103), ('related_links', 103), ('badge', 106), ('new_people_group', 115)], 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': True}), 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': True}), 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.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11)]], {}), 68: ('wagtail.blocks.ListBlock', (67,), {'label': 'TlaÄŤĂtka'}), 69: ('wagtail.blocks.StructBlock', [[('buttons', 68)]], {}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('right_column_content', 71)]], {}), 73: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 74: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('middle_column_content', 73), ('right_column_content', 71)]], {}), 75: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 76: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 77: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 78: ('wagtail.blocks.StructBlock', [[('name', 76), ('content', 77)]], {}), 79: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'max_length': 120}), 80: ('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'}), 81: ('wagtail.blocks.BooleanBlock', (), {'help_text': 'MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.', 'label': 'Schovat body', 'required': False}), 82: ('wagtail.blocks.CharBlock', (), {'label': 'Skupina', 'max_length': 40}), 83: ('wagtail.blocks.ListBlock', (82,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnÄ› definovanĂ© skupiny', 'required': False}), 84: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ zdroje dat', 'max_length': 120}), 85: ('wagtail.blocks.IntegerBlock', (), {}), 86: ('wagtail.blocks.ListBlock', (85,), {'default': [0], 'label': 'Data'}), 87: ('wagtail.blocks.StructBlock', [[('label', 84), ('data', 86)]], {}), 88: ('wagtail.blocks.ListBlock', (87,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnĂ zdroje dat', 'required': False}), 89: ('wagtail.blocks.MultipleChoiceBlock', [], {'choices': shared.blocks.children.chart.get_redmine_projects, 'label': 'Projekty'}), 90: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen otevĹ™enĂ©', 'required': False}), 91: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen uzavĹ™enĂ©', 'required': False}), 92: ('wagtail.blocks.DateBlock', (), {'label': 'Min. datum vytvoĹ™enĂ', 'required': True}), 93: ('wagtail.blocks.DateBlock', (), {'label': 'Max. datum vytvoĹ™enĂ', 'required': True}), 94: ('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}), 95: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu', 'max_length': 128, 'required': True}), 96: ('wagtail.blocks.BooleanBlock', (), {'label': 'RozdÄ›lit podle projektu', 'required': False}), 97: ('wagtail.blocks.BooleanBlock', (), {'label': 'Pouze rĹŻst nahoru', 'required': False}), 98: ('wagtail.blocks.StructBlock', [[('projects', 89), ('is_open', 90), ('is_closed', 91), ('created_on_min_date', 92), ('created_on_max_date', 93), ('updated_on', 94), ('issue_label', 95), ('split_per_project', 96), ('only_grow', 97)]], {'label': 'Redmine Ăşkoly'}), 99: ('wagtail.blocks.ListBlock', (98,), {'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}), 100: ('wagtail.blocks.StructBlock', [[('title', 79), ('chart_type', 80), ('hide_points', 81), ('local_labels', 83), ('local_datasets', 88), ('redmine_issue_datasets', 99)]], {}), 101: ('wagtail.blocks.PageChooserBlock', ('district.DistrictArticlePage',), {'label': 'Aktualita', 'required': True}), 102: ('wagtail.blocks.ListBlock', (101,), {'label': 'Seznam aktualit', 'required': True}), 103: ('wagtail.blocks.StructBlock', [[('articles', 102)]], {}), 104: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Osoba', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage'], 'required': True}), 105: ('wagtail.blocks.CharBlock', (), {'help_text': 'VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.', 'label': 'Popisek', 'required': False}), 106: ('wagtail.blocks.StructBlock', [[('person', 104), ('caption', 105)]], {}), 107: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek'}), 108: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no', 'label': 'Slug skupiny', 'required': False}), 109: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage']}), 110: ('wagtail.blocks.ListBlock', (109,), {'default': [], 'help_text': 'S pozicemi z jejich podstránek', 'label': 'Osoby'}), 111: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage', 'district.DistrictPersonPage']}), 112: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.', 'label': 'Pozice', 'required': False}), 113: ('wagtail.blocks.StructBlock', [[('page', 111), ('position', 112)]], {}), 114: ('wagtail.blocks.ListBlock', (113,), {'default': [], 'help_text': 'S nastavitelnĂ˝mi pozicemi', 'label': 'Osoby'}), 115: ('wagtail.blocks.StructBlock', [[('title', 107), ('slug', 108), ('person_list', 110), ('person_list_with_custom_positions', 114)]], {})}, 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", 72), + ("three_columns", 74), + ("youtube", 75), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ("popout_point", 78), + ("chart", 100), + ("related", 103), + ("related_links", 103), + ("badge", 106), + ("new_people_group", 115), + ], + 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": True, + }, + ), + 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": True, + }, + ), + 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.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ] + ], + {}, + ), + 68: ("wagtail.blocks.ListBlock", (67,), {"label": "TlaÄŤĂtka"}), + 69: ("wagtail.blocks.StructBlock", [[("buttons", 68)]], {}), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 70), ("right_column_content", 71)]], + {}, + ), + 73: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 70), + ("middle_column_content", 73), + ("right_column_content", 71), + ] + ], + {}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 76: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 77: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 78: ( + "wagtail.blocks.StructBlock", + [[("name", 76), ("content", 77)]], + {}, + ), + 79: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "max_length": 120}, + ), + 80: ( + "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", + }, + ), + 81: ( + "wagtail.blocks.BooleanBlock", + (), + { + "help_text": "MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.", + "label": "Schovat body", + "required": False, + }, + ), + 82: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Skupina", "max_length": 40}, + ), + 83: ( + "wagtail.blocks.ListBlock", + (82,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnÄ› definovanĂ© skupiny", + "required": False, + }, + ), + 84: ( + "wagtail.blocks.CharBlock", + (), + {"label": "OznaÄŤenĂ zdroje dat", "max_length": 120}, + ), + 85: ("wagtail.blocks.IntegerBlock", (), {}), + 86: ( + "wagtail.blocks.ListBlock", + (85,), + {"default": [0], "label": "Data"}, + ), + 87: ( + "wagtail.blocks.StructBlock", + [[("label", 84), ("data", 86)]], + {}, + ), + 88: ( + "wagtail.blocks.ListBlock", + (87,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnĂ zdroje dat", + "required": False, + }, + ), + 89: ( + "wagtail.blocks.MultipleChoiceBlock", + [], + { + "choices": shared.blocks.children.chart.get_redmine_projects, + "label": "Projekty", + }, + ), + 90: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen otevĹ™enĂ©", "required": False}, + ), + 91: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen uzavĹ™enĂ©", "required": False}, + ), + 92: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Min. datum vytvoĹ™enĂ", "required": True}, + ), + 93: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Max. datum vytvoĹ™enĂ", "required": True}, + ), + 94: ( + "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, + }, + ), + 95: ( + "wagtail.blocks.CharBlock", + (), + { + "label": "OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu", + "max_length": 128, + "required": True, + }, + ), + 96: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "RozdÄ›lit podle projektu", "required": False}, + ), + 97: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Pouze rĹŻst nahoru", "required": False}, + ), + 98: ( + "wagtail.blocks.StructBlock", + [ + [ + ("projects", 89), + ("is_open", 90), + ("is_closed", 91), + ("created_on_min_date", 92), + ("created_on_max_date", 93), + ("updated_on", 94), + ("issue_label", 95), + ("split_per_project", 96), + ("only_grow", 97), + ] + ], + {"label": "Redmine Ăşkoly"}, + ), + 99: ( + "wagtail.blocks.ListBlock", + (98,), + { + "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, + }, + ), + 100: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 79), + ("chart_type", 80), + ("hide_points", 81), + ("local_labels", 83), + ("local_datasets", 88), + ("redmine_issue_datasets", 99), + ] + ], + {}, + ), + 101: ( + "wagtail.blocks.PageChooserBlock", + ("district.DistrictArticlePage",), + {"label": "Aktualita", "required": True}, + ), + 102: ( + "wagtail.blocks.ListBlock", + (101,), + {"label": "Seznam aktualit", "required": True}, + ), + 103: ("wagtail.blocks.StructBlock", [[("articles", 102)]], {}), + 104: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Osoba", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + "required": True, + }, + ), + 105: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.", + "label": "Popisek", + "required": False, + }, + ), + 106: ( + "wagtail.blocks.StructBlock", + [[("person", 104), ("caption", 105)]], + {}, + ), + 107: ("wagtail.blocks.CharBlock", (), {"label": "Titulek"}), + 108: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no", + "label": "Slug skupiny", + "required": False, + }, + ), + 109: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + }, + ), + 110: ( + "wagtail.blocks.ListBlock", + (109,), + { + "default": [], + "help_text": "S pozicemi z jejich podstránek", + "label": "Osoby", + }, + ), + 111: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + "district.DistrictPersonPage", + ], + }, + ), + 112: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.", + "label": "Pozice", + "required": False, + }, + ), + 113: ( + "wagtail.blocks.StructBlock", + [[("page", 111), ("position", 112)]], + {}, + ), + 114: ( + "wagtail.blocks.ListBlock", + (113,), + { + "default": [], + "help_text": "S nastavitelnĂ˝mi pozicemi", + "label": "Osoby", + }, + ), + 115: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 107), + ("slug", 108), + ("person_list", 110), + ("person_list_with_custom_positions", 114), + ] + ], + {}, + ), + }, + 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', 72), ('three_columns', 74), ('youtube', 75), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69), ('popout_point', 78), ('chart', 100), ('related', 103), ('related_links', 103), ('badge', 106), ('new_people_group', 115), ('newsletter', 120)], 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': True}), 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': True}), 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.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11)]], {}), 68: ('wagtail.blocks.ListBlock', (67,), {'label': 'TlaÄŤĂtka'}), 69: ('wagtail.blocks.StructBlock', [[('buttons', 68)]], {}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('right_column_content', 71)]], {}), 73: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 74: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('middle_column_content', 73), ('right_column_content', 71)]], {}), 75: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 76: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 77: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 78: ('wagtail.blocks.StructBlock', [[('name', 76), ('content', 77)]], {}), 79: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'max_length': 120}), 80: ('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'}), 81: ('wagtail.blocks.BooleanBlock', (), {'help_text': 'MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.', 'label': 'Schovat body', 'required': False}), 82: ('wagtail.blocks.CharBlock', (), {'label': 'Skupina', 'max_length': 40}), 83: ('wagtail.blocks.ListBlock', (82,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnÄ› definovanĂ© skupiny', 'required': False}), 84: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ zdroje dat', 'max_length': 120}), 85: ('wagtail.blocks.IntegerBlock', (), {}), 86: ('wagtail.blocks.ListBlock', (85,), {'default': [0], 'label': 'Data'}), 87: ('wagtail.blocks.StructBlock', [[('label', 84), ('data', 86)]], {}), 88: ('wagtail.blocks.ListBlock', (87,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnĂ zdroje dat', 'required': False}), 89: ('wagtail.blocks.MultipleChoiceBlock', [], {'choices': shared.blocks.children.chart.get_redmine_projects, 'label': 'Projekty'}), 90: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen otevĹ™enĂ©', 'required': False}), 91: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen uzavĹ™enĂ©', 'required': False}), 92: ('wagtail.blocks.DateBlock', (), {'label': 'Min. datum vytvoĹ™enĂ', 'required': True}), 93: ('wagtail.blocks.DateBlock', (), {'label': 'Max. datum vytvoĹ™enĂ', 'required': True}), 94: ('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}), 95: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu', 'max_length': 128, 'required': True}), 96: ('wagtail.blocks.BooleanBlock', (), {'label': 'RozdÄ›lit podle projektu', 'required': False}), 97: ('wagtail.blocks.BooleanBlock', (), {'label': 'Pouze rĹŻst nahoru', 'required': False}), 98: ('wagtail.blocks.StructBlock', [[('projects', 89), ('is_open', 90), ('is_closed', 91), ('created_on_min_date', 92), ('created_on_max_date', 93), ('updated_on', 94), ('issue_label', 95), ('split_per_project', 96), ('only_grow', 97)]], {'label': 'Redmine Ăşkoly'}), 99: ('wagtail.blocks.ListBlock', (98,), {'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}), 100: ('wagtail.blocks.StructBlock', [[('title', 79), ('chart_type', 80), ('hide_points', 81), ('local_labels', 83), ('local_datasets', 88), ('redmine_issue_datasets', 99)]], {}), 101: ('wagtail.blocks.PageChooserBlock', ('district.DistrictArticlePage',), {'label': 'Aktualita', 'required': True}), 102: ('wagtail.blocks.ListBlock', (101,), {'label': 'Seznam aktualit', 'required': True}), 103: ('wagtail.blocks.StructBlock', [[('articles', 102)]], {}), 104: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Osoba', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage'], 'required': True}), 105: ('wagtail.blocks.CharBlock', (), {'help_text': 'VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.', 'label': 'Popisek', 'required': False}), 106: ('wagtail.blocks.StructBlock', [[('person', 104), ('caption', 105)]], {}), 107: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek'}), 108: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no', 'label': 'Slug skupiny', 'required': False}), 109: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage']}), 110: ('wagtail.blocks.ListBlock', (109,), {'default': [], 'help_text': 'S pozicemi z jejich podstránek', 'label': 'Osoby'}), 111: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage', 'district.DistrictPersonPage']}), 112: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.', 'label': 'Pozice', 'required': False}), 113: ('wagtail.blocks.StructBlock', [[('page', 111), ('position', 112)]], {}), 114: ('wagtail.blocks.ListBlock', (113,), {'default': [], 'help_text': 'S nastavitelnĂ˝mi pozicemi', 'label': 'Osoby'}), 115: ('wagtail.blocks.StructBlock', [[('title', 107), ('slug', 108), ('person_list', 110), ('person_list_with_custom_positions', 114)]], {}), 116: ('wagtail.blocks.CharBlock', (), {'label': 'ID newsletteru', 'required': True}), 117: ('wagtail.blocks.CharBlock', (), {'default': 'OdebĂrej náš', 'label': 'Nadpis bloku (1. řádek)', 'required': True}), 118: ('wagtail.blocks.CharBlock', (), {'default': 'newsletter', 'label': 'Nadpis bloku (2. řádek)', 'required': True}), 119: ('wagtail.blocks.CharBlock', (), {'default': 'Fake news tam nenajdeš, ale dozvĂš se, co chystáme doopravdy!', 'label': 'Popis newsletteru', 'required': True}), 120: ('wagtail.blocks.StructBlock', [[('list_id', 116), ('title_line_1', 117), ('title_line_2', 118), ('description', 119)]], {})}, 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", 72), + ("three_columns", 74), + ("youtube", 75), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ("popout_point", 78), + ("chart", 100), + ("related", 103), + ("related_links", 103), + ("badge", 106), + ("new_people_group", 115), + ("newsletter", 120), + ], + 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": True, + }, + ), + 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": True, + }, + ), + 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.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ] + ], + {}, + ), + 68: ("wagtail.blocks.ListBlock", (67,), {"label": "TlaÄŤĂtka"}), + 69: ("wagtail.blocks.StructBlock", [[("buttons", 68)]], {}), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 70), ("right_column_content", 71)]], + {}, + ), + 73: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 70), + ("middle_column_content", 73), + ("right_column_content", 71), + ] + ], + {}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 76: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 77: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 78: ( + "wagtail.blocks.StructBlock", + [[("name", 76), ("content", 77)]], + {}, + ), + 79: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "max_length": 120}, + ), + 80: ( + "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", + }, + ), + 81: ( + "wagtail.blocks.BooleanBlock", + (), + { + "help_text": "MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.", + "label": "Schovat body", + "required": False, + }, + ), + 82: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Skupina", "max_length": 40}, + ), + 83: ( + "wagtail.blocks.ListBlock", + (82,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnÄ› definovanĂ© skupiny", + "required": False, + }, + ), + 84: ( + "wagtail.blocks.CharBlock", + (), + {"label": "OznaÄŤenĂ zdroje dat", "max_length": 120}, + ), + 85: ("wagtail.blocks.IntegerBlock", (), {}), + 86: ( + "wagtail.blocks.ListBlock", + (85,), + {"default": [0], "label": "Data"}, + ), + 87: ( + "wagtail.blocks.StructBlock", + [[("label", 84), ("data", 86)]], + {}, + ), + 88: ( + "wagtail.blocks.ListBlock", + (87,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnĂ zdroje dat", + "required": False, + }, + ), + 89: ( + "wagtail.blocks.MultipleChoiceBlock", + [], + { + "choices": shared.blocks.children.chart.get_redmine_projects, + "label": "Projekty", + }, + ), + 90: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen otevĹ™enĂ©", "required": False}, + ), + 91: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen uzavĹ™enĂ©", "required": False}, + ), + 92: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Min. datum vytvoĹ™enĂ", "required": True}, + ), + 93: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Max. datum vytvoĹ™enĂ", "required": True}, + ), + 94: ( + "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, + }, + ), + 95: ( + "wagtail.blocks.CharBlock", + (), + { + "label": "OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu", + "max_length": 128, + "required": True, + }, + ), + 96: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "RozdÄ›lit podle projektu", "required": False}, + ), + 97: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Pouze rĹŻst nahoru", "required": False}, + ), + 98: ( + "wagtail.blocks.StructBlock", + [ + [ + ("projects", 89), + ("is_open", 90), + ("is_closed", 91), + ("created_on_min_date", 92), + ("created_on_max_date", 93), + ("updated_on", 94), + ("issue_label", 95), + ("split_per_project", 96), + ("only_grow", 97), + ] + ], + {"label": "Redmine Ăşkoly"}, + ), + 99: ( + "wagtail.blocks.ListBlock", + (98,), + { + "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, + }, + ), + 100: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 79), + ("chart_type", 80), + ("hide_points", 81), + ("local_labels", 83), + ("local_datasets", 88), + ("redmine_issue_datasets", 99), + ] + ], + {}, + ), + 101: ( + "wagtail.blocks.PageChooserBlock", + ("district.DistrictArticlePage",), + {"label": "Aktualita", "required": True}, + ), + 102: ( + "wagtail.blocks.ListBlock", + (101,), + {"label": "Seznam aktualit", "required": True}, + ), + 103: ("wagtail.blocks.StructBlock", [[("articles", 102)]], {}), + 104: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Osoba", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + "required": True, + }, + ), + 105: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.", + "label": "Popisek", + "required": False, + }, + ), + 106: ( + "wagtail.blocks.StructBlock", + [[("person", 104), ("caption", 105)]], + {}, + ), + 107: ("wagtail.blocks.CharBlock", (), {"label": "Titulek"}), + 108: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no", + "label": "Slug skupiny", + "required": False, + }, + ), + 109: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + }, + ), + 110: ( + "wagtail.blocks.ListBlock", + (109,), + { + "default": [], + "help_text": "S pozicemi z jejich podstránek", + "label": "Osoby", + }, + ), + 111: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + "district.DistrictPersonPage", + ], + }, + ), + 112: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.", + "label": "Pozice", + "required": False, + }, + ), + 113: ( + "wagtail.blocks.StructBlock", + [[("page", 111), ("position", 112)]], + {}, + ), + 114: ( + "wagtail.blocks.ListBlock", + (113,), + { + "default": [], + "help_text": "S nastavitelnĂ˝mi pozicemi", + "label": "Osoby", + }, + ), + 115: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 107), + ("slug", 108), + ("person_list", 110), + ("person_list_with_custom_positions", 114), + ] + ], + {}, + ), + 116: ( + "wagtail.blocks.CharBlock", + (), + {"label": "ID newsletteru", "required": True}, + ), + 117: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "OdebĂrej náš", + "label": "Nadpis bloku (1. řádek)", + "required": True, + }, + ), + 118: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "newsletter", + "label": "Nadpis bloku (2. řádek)", + "required": True, + }, + ), + 119: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "Fake news tam nenajdeš, ale dozvĂš se, co chystáme doopravdy!", + "label": "Popis newsletteru", + "required": True, + }, + ), + 120: ( + "wagtail.blocks.StructBlock", + [ + [ + ("list_id", 116), + ("title_line_1", 117), + ("title_line_2", 118), + ("description", 119), + ] + ], + {}, + ), + }, + 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', 72), ('three_columns', 74), ('youtube', 75), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69), ('popout_point', 78), ('chart', 100), ('related', 103), ('related_links', 103), ('badge', 106), ('new_people_group', 115)], 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': True}), 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': True}), 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.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11)]], {}), 68: ('wagtail.blocks.ListBlock', (67,), {'label': 'TlaÄŤĂtka'}), 69: ('wagtail.blocks.StructBlock', [[('buttons', 68)]], {}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('right_column_content', 71)]], {}), 73: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 74: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('middle_column_content', 73), ('right_column_content', 71)]], {}), 75: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 76: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 77: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 78: ('wagtail.blocks.StructBlock', [[('name', 76), ('content', 77)]], {}), 79: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'max_length': 120}), 80: ('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'}), 81: ('wagtail.blocks.BooleanBlock', (), {'help_text': 'MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.', 'label': 'Schovat body', 'required': False}), 82: ('wagtail.blocks.CharBlock', (), {'label': 'Skupina', 'max_length': 40}), 83: ('wagtail.blocks.ListBlock', (82,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnÄ› definovanĂ© skupiny', 'required': False}), 84: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ zdroje dat', 'max_length': 120}), 85: ('wagtail.blocks.IntegerBlock', (), {}), 86: ('wagtail.blocks.ListBlock', (85,), {'default': [0], 'label': 'Data'}), 87: ('wagtail.blocks.StructBlock', [[('label', 84), ('data', 86)]], {}), 88: ('wagtail.blocks.ListBlock', (87,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnĂ zdroje dat', 'required': False}), 89: ('wagtail.blocks.MultipleChoiceBlock', [], {'choices': shared.blocks.children.chart.get_redmine_projects, 'label': 'Projekty'}), 90: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen otevĹ™enĂ©', 'required': False}), 91: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen uzavĹ™enĂ©', 'required': False}), 92: ('wagtail.blocks.DateBlock', (), {'label': 'Min. datum vytvoĹ™enĂ', 'required': True}), 93: ('wagtail.blocks.DateBlock', (), {'label': 'Max. datum vytvoĹ™enĂ', 'required': True}), 94: ('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}), 95: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu', 'max_length': 128, 'required': True}), 96: ('wagtail.blocks.BooleanBlock', (), {'label': 'RozdÄ›lit podle projektu', 'required': False}), 97: ('wagtail.blocks.BooleanBlock', (), {'label': 'Pouze rĹŻst nahoru', 'required': False}), 98: ('wagtail.blocks.StructBlock', [[('projects', 89), ('is_open', 90), ('is_closed', 91), ('created_on_min_date', 92), ('created_on_max_date', 93), ('updated_on', 94), ('issue_label', 95), ('split_per_project', 96), ('only_grow', 97)]], {'label': 'Redmine Ăşkoly'}), 99: ('wagtail.blocks.ListBlock', (98,), {'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}), 100: ('wagtail.blocks.StructBlock', [[('title', 79), ('chart_type', 80), ('hide_points', 81), ('local_labels', 83), ('local_datasets', 88), ('redmine_issue_datasets', 99)]], {}), 101: ('wagtail.blocks.PageChooserBlock', ('district.DistrictArticlePage',), {'label': 'Aktualita', 'required': True}), 102: ('wagtail.blocks.ListBlock', (101,), {'label': 'Seznam aktualit', 'required': True}), 103: ('wagtail.blocks.StructBlock', [[('articles', 102)]], {}), 104: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Osoba', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage'], 'required': True}), 105: ('wagtail.blocks.CharBlock', (), {'help_text': 'VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.', 'label': 'Popisek', 'required': False}), 106: ('wagtail.blocks.StructBlock', [[('person', 104), ('caption', 105)]], {}), 107: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek'}), 108: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no', 'label': 'Slug skupiny', 'required': False}), 109: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage']}), 110: ('wagtail.blocks.ListBlock', (109,), {'default': [], 'help_text': 'S pozicemi z jejich podstránek', 'label': 'Osoby'}), 111: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage', 'district.DistrictPersonPage']}), 112: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.', 'label': 'Pozice', 'required': False}), 113: ('wagtail.blocks.StructBlock', [[('page', 111), ('position', 112)]], {}), 114: ('wagtail.blocks.ListBlock', (113,), {'default': [], 'help_text': 'S nastavitelnĂ˝mi pozicemi', 'label': 'Osoby'}), 115: ('wagtail.blocks.StructBlock', [[('title', 107), ('slug', 108), ('person_list', 110), ('person_list_with_custom_positions', 114)]], {})}, 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", 72), + ("three_columns", 74), + ("youtube", 75), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ("popout_point", 78), + ("chart", 100), + ("related", 103), + ("related_links", 103), + ("badge", 106), + ("new_people_group", 115), + ], + 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": True, + }, + ), + 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": True, + }, + ), + 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.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ] + ], + {}, + ), + 68: ("wagtail.blocks.ListBlock", (67,), {"label": "TlaÄŤĂtka"}), + 69: ("wagtail.blocks.StructBlock", [[("buttons", 68)]], {}), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 70), ("right_column_content", 71)]], + {}, + ), + 73: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 70), + ("middle_column_content", 73), + ("right_column_content", 71), + ] + ], + {}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 76: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 77: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 78: ( + "wagtail.blocks.StructBlock", + [[("name", 76), ("content", 77)]], + {}, + ), + 79: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "max_length": 120}, + ), + 80: ( + "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", + }, + ), + 81: ( + "wagtail.blocks.BooleanBlock", + (), + { + "help_text": "MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.", + "label": "Schovat body", + "required": False, + }, + ), + 82: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Skupina", "max_length": 40}, + ), + 83: ( + "wagtail.blocks.ListBlock", + (82,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnÄ› definovanĂ© skupiny", + "required": False, + }, + ), + 84: ( + "wagtail.blocks.CharBlock", + (), + {"label": "OznaÄŤenĂ zdroje dat", "max_length": 120}, + ), + 85: ("wagtail.blocks.IntegerBlock", (), {}), + 86: ( + "wagtail.blocks.ListBlock", + (85,), + {"default": [0], "label": "Data"}, + ), + 87: ( + "wagtail.blocks.StructBlock", + [[("label", 84), ("data", 86)]], + {}, + ), + 88: ( + "wagtail.blocks.ListBlock", + (87,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnĂ zdroje dat", + "required": False, + }, + ), + 89: ( + "wagtail.blocks.MultipleChoiceBlock", + [], + { + "choices": shared.blocks.children.chart.get_redmine_projects, + "label": "Projekty", + }, + ), + 90: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen otevĹ™enĂ©", "required": False}, + ), + 91: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen uzavĹ™enĂ©", "required": False}, + ), + 92: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Min. datum vytvoĹ™enĂ", "required": True}, + ), + 93: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Max. datum vytvoĹ™enĂ", "required": True}, + ), + 94: ( + "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, + }, + ), + 95: ( + "wagtail.blocks.CharBlock", + (), + { + "label": "OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu", + "max_length": 128, + "required": True, + }, + ), + 96: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "RozdÄ›lit podle projektu", "required": False}, + ), + 97: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Pouze rĹŻst nahoru", "required": False}, + ), + 98: ( + "wagtail.blocks.StructBlock", + [ + [ + ("projects", 89), + ("is_open", 90), + ("is_closed", 91), + ("created_on_min_date", 92), + ("created_on_max_date", 93), + ("updated_on", 94), + ("issue_label", 95), + ("split_per_project", 96), + ("only_grow", 97), + ] + ], + {"label": "Redmine Ăşkoly"}, + ), + 99: ( + "wagtail.blocks.ListBlock", + (98,), + { + "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, + }, + ), + 100: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 79), + ("chart_type", 80), + ("hide_points", 81), + ("local_labels", 83), + ("local_datasets", 88), + ("redmine_issue_datasets", 99), + ] + ], + {}, + ), + 101: ( + "wagtail.blocks.PageChooserBlock", + ("district.DistrictArticlePage",), + {"label": "Aktualita", "required": True}, + ), + 102: ( + "wagtail.blocks.ListBlock", + (101,), + {"label": "Seznam aktualit", "required": True}, + ), + 103: ("wagtail.blocks.StructBlock", [[("articles", 102)]], {}), + 104: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Osoba", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + "required": True, + }, + ), + 105: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.", + "label": "Popisek", + "required": False, + }, + ), + 106: ( + "wagtail.blocks.StructBlock", + [[("person", 104), ("caption", 105)]], + {}, + ), + 107: ("wagtail.blocks.CharBlock", (), {"label": "Titulek"}), + 108: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no", + "label": "Slug skupiny", + "required": False, + }, + ), + 109: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + }, + ), + 110: ( + "wagtail.blocks.ListBlock", + (109,), + { + "default": [], + "help_text": "S pozicemi z jejich podstránek", + "label": "Osoby", + }, + ), + 111: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + "district.DistrictPersonPage", + ], + }, + ), + 112: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.", + "label": "Pozice", + "required": False, + }, + ), + 113: ( + "wagtail.blocks.StructBlock", + [[("page", 111), ("position", 112)]], + {}, + ), + 114: ( + "wagtail.blocks.ListBlock", + (113,), + { + "default": [], + "help_text": "S nastavitelnĂ˝mi pozicemi", + "label": "Osoby", + }, + ), + 115: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 107), + ("slug", 108), + ("person_list", 110), + ("person_list_with_custom_positions", 114), + ] + ], + {}, + ), + }, + 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', 72), ('three_columns', 74), ('youtube', 75), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69), ('popout_point', 78), ('chart', 100), ('related', 103), ('related_links', 103), ('badge', 106), ('new_people_group', 115)], 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': True}), 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': True}), 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.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11)]], {}), 68: ('wagtail.blocks.ListBlock', (67,), {'label': 'TlaÄŤĂtka'}), 69: ('wagtail.blocks.StructBlock', [[('buttons', 68)]], {}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('right_column_content', 71)]], {}), 73: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 74: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('middle_column_content', 73), ('right_column_content', 71)]], {}), 75: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 76: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 77: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 78: ('wagtail.blocks.StructBlock', [[('name', 76), ('content', 77)]], {}), 79: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'max_length': 120}), 80: ('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'}), 81: ('wagtail.blocks.BooleanBlock', (), {'help_text': 'MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.', 'label': 'Schovat body', 'required': False}), 82: ('wagtail.blocks.CharBlock', (), {'label': 'Skupina', 'max_length': 40}), 83: ('wagtail.blocks.ListBlock', (82,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnÄ› definovanĂ© skupiny', 'required': False}), 84: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ zdroje dat', 'max_length': 120}), 85: ('wagtail.blocks.IntegerBlock', (), {}), 86: ('wagtail.blocks.ListBlock', (85,), {'default': [0], 'label': 'Data'}), 87: ('wagtail.blocks.StructBlock', [[('label', 84), ('data', 86)]], {}), 88: ('wagtail.blocks.ListBlock', (87,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnĂ zdroje dat', 'required': False}), 89: ('wagtail.blocks.MultipleChoiceBlock', [], {'choices': shared.blocks.children.chart.get_redmine_projects, 'label': 'Projekty'}), 90: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen otevĹ™enĂ©', 'required': False}), 91: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen uzavĹ™enĂ©', 'required': False}), 92: ('wagtail.blocks.DateBlock', (), {'label': 'Min. datum vytvoĹ™enĂ', 'required': True}), 93: ('wagtail.blocks.DateBlock', (), {'label': 'Max. datum vytvoĹ™enĂ', 'required': True}), 94: ('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}), 95: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu', 'max_length': 128, 'required': True}), 96: ('wagtail.blocks.BooleanBlock', (), {'label': 'RozdÄ›lit podle projektu', 'required': False}), 97: ('wagtail.blocks.BooleanBlock', (), {'label': 'Pouze rĹŻst nahoru', 'required': False}), 98: ('wagtail.blocks.StructBlock', [[('projects', 89), ('is_open', 90), ('is_closed', 91), ('created_on_min_date', 92), ('created_on_max_date', 93), ('updated_on', 94), ('issue_label', 95), ('split_per_project', 96), ('only_grow', 97)]], {'label': 'Redmine Ăşkoly'}), 99: ('wagtail.blocks.ListBlock', (98,), {'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}), 100: ('wagtail.blocks.StructBlock', [[('title', 79), ('chart_type', 80), ('hide_points', 81), ('local_labels', 83), ('local_datasets', 88), ('redmine_issue_datasets', 99)]], {}), 101: ('wagtail.blocks.PageChooserBlock', ('district.DistrictArticlePage',), {'label': 'Aktualita', 'required': True}), 102: ('wagtail.blocks.ListBlock', (101,), {'label': 'Seznam aktualit', 'required': True}), 103: ('wagtail.blocks.StructBlock', [[('articles', 102)]], {}), 104: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Osoba', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage'], 'required': True}), 105: ('wagtail.blocks.CharBlock', (), {'help_text': 'VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.', 'label': 'Popisek', 'required': False}), 106: ('wagtail.blocks.StructBlock', [[('person', 104), ('caption', 105)]], {}), 107: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek'}), 108: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no', 'label': 'Slug skupiny', 'required': False}), 109: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage']}), 110: ('wagtail.blocks.ListBlock', (109,), {'default': [], 'help_text': 'S pozicemi z jejich podstránek', 'label': 'Osoby'}), 111: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage', 'district.DistrictPersonPage']}), 112: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.', 'label': 'Pozice', 'required': False}), 113: ('wagtail.blocks.StructBlock', [[('page', 111), ('position', 112)]], {}), 114: ('wagtail.blocks.ListBlock', (113,), {'default': [], 'help_text': 'S nastavitelnĂ˝mi pozicemi', 'label': 'Osoby'}), 115: ('wagtail.blocks.StructBlock', [[('title', 107), ('slug', 108), ('person_list', 110), ('person_list_with_custom_positions', 114)]], {})}, 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", 72), + ("three_columns", 74), + ("youtube", 75), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ("popout_point", 78), + ("chart", 100), + ("related", 103), + ("related_links", 103), + ("badge", 106), + ("new_people_group", 115), + ], + 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": True, + }, + ), + 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": True, + }, + ), + 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.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ] + ], + {}, + ), + 68: ("wagtail.blocks.ListBlock", (67,), {"label": "TlaÄŤĂtka"}), + 69: ("wagtail.blocks.StructBlock", [[("buttons", 68)]], {}), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 70), ("right_column_content", 71)]], + {}, + ), + 73: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 70), + ("middle_column_content", 73), + ("right_column_content", 71), + ] + ], + {}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 76: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 77: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 78: ( + "wagtail.blocks.StructBlock", + [[("name", 76), ("content", 77)]], + {}, + ), + 79: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "max_length": 120}, + ), + 80: ( + "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", + }, + ), + 81: ( + "wagtail.blocks.BooleanBlock", + (), + { + "help_text": "MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.", + "label": "Schovat body", + "required": False, + }, + ), + 82: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Skupina", "max_length": 40}, + ), + 83: ( + "wagtail.blocks.ListBlock", + (82,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnÄ› definovanĂ© skupiny", + "required": False, + }, + ), + 84: ( + "wagtail.blocks.CharBlock", + (), + {"label": "OznaÄŤenĂ zdroje dat", "max_length": 120}, + ), + 85: ("wagtail.blocks.IntegerBlock", (), {}), + 86: ( + "wagtail.blocks.ListBlock", + (85,), + {"default": [0], "label": "Data"}, + ), + 87: ( + "wagtail.blocks.StructBlock", + [[("label", 84), ("data", 86)]], + {}, + ), + 88: ( + "wagtail.blocks.ListBlock", + (87,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnĂ zdroje dat", + "required": False, + }, + ), + 89: ( + "wagtail.blocks.MultipleChoiceBlock", + [], + { + "choices": shared.blocks.children.chart.get_redmine_projects, + "label": "Projekty", + }, + ), + 90: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen otevĹ™enĂ©", "required": False}, + ), + 91: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen uzavĹ™enĂ©", "required": False}, + ), + 92: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Min. datum vytvoĹ™enĂ", "required": True}, + ), + 93: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Max. datum vytvoĹ™enĂ", "required": True}, + ), + 94: ( + "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, + }, + ), + 95: ( + "wagtail.blocks.CharBlock", + (), + { + "label": "OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu", + "max_length": 128, + "required": True, + }, + ), + 96: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "RozdÄ›lit podle projektu", "required": False}, + ), + 97: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Pouze rĹŻst nahoru", "required": False}, + ), + 98: ( + "wagtail.blocks.StructBlock", + [ + [ + ("projects", 89), + ("is_open", 90), + ("is_closed", 91), + ("created_on_min_date", 92), + ("created_on_max_date", 93), + ("updated_on", 94), + ("issue_label", 95), + ("split_per_project", 96), + ("only_grow", 97), + ] + ], + {"label": "Redmine Ăşkoly"}, + ), + 99: ( + "wagtail.blocks.ListBlock", + (98,), + { + "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, + }, + ), + 100: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 79), + ("chart_type", 80), + ("hide_points", 81), + ("local_labels", 83), + ("local_datasets", 88), + ("redmine_issue_datasets", 99), + ] + ], + {}, + ), + 101: ( + "wagtail.blocks.PageChooserBlock", + ("district.DistrictArticlePage",), + {"label": "Aktualita", "required": True}, + ), + 102: ( + "wagtail.blocks.ListBlock", + (101,), + {"label": "Seznam aktualit", "required": True}, + ), + 103: ("wagtail.blocks.StructBlock", [[("articles", 102)]], {}), + 104: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Osoba", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + "required": True, + }, + ), + 105: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.", + "label": "Popisek", + "required": False, + }, + ), + 106: ( + "wagtail.blocks.StructBlock", + [[("person", 104), ("caption", 105)]], + {}, + ), + 107: ("wagtail.blocks.CharBlock", (), {"label": "Titulek"}), + 108: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no", + "label": "Slug skupiny", + "required": False, + }, + ), + 109: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + }, + ), + 110: ( + "wagtail.blocks.ListBlock", + (109,), + { + "default": [], + "help_text": "S pozicemi z jejich podstránek", + "label": "Osoby", + }, + ), + 111: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + "district.DistrictPersonPage", + ], + }, + ), + 112: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.", + "label": "Pozice", + "required": False, + }, + ), + 113: ( + "wagtail.blocks.StructBlock", + [[("page", 111), ("position", 112)]], + {}, + ), + 114: ( + "wagtail.blocks.ListBlock", + (113,), + { + "default": [], + "help_text": "S nastavitelnĂ˝mi pozicemi", + "label": "Osoby", + }, + ), + 115: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 107), + ("slug", 108), + ("person_list", 110), + ("person_list_with_custom_positions", 114), + ] + ], + {}, + ), + }, + 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', 72), ('three_columns', 74), ('youtube', 75), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69), ('popout_point', 78), ('chart', 100), ('related', 103), ('related_links', 103), ('badge', 106), ('new_people_group', 115)], 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': True}), 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': True}), 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.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11)]], {}), 68: ('wagtail.blocks.ListBlock', (67,), {'label': 'TlaÄŤĂtka'}), 69: ('wagtail.blocks.StructBlock', [[('buttons', 68)]], {}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('right_column_content', 71)]], {}), 73: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 74: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('middle_column_content', 73), ('right_column_content', 71)]], {}), 75: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 76: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 77: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 78: ('wagtail.blocks.StructBlock', [[('name', 76), ('content', 77)]], {}), 79: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'max_length': 120}), 80: ('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'}), 81: ('wagtail.blocks.BooleanBlock', (), {'help_text': 'MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.', 'label': 'Schovat body', 'required': False}), 82: ('wagtail.blocks.CharBlock', (), {'label': 'Skupina', 'max_length': 40}), 83: ('wagtail.blocks.ListBlock', (82,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnÄ› definovanĂ© skupiny', 'required': False}), 84: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ zdroje dat', 'max_length': 120}), 85: ('wagtail.blocks.IntegerBlock', (), {}), 86: ('wagtail.blocks.ListBlock', (85,), {'default': [0], 'label': 'Data'}), 87: ('wagtail.blocks.StructBlock', [[('label', 84), ('data', 86)]], {}), 88: ('wagtail.blocks.ListBlock', (87,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnĂ zdroje dat', 'required': False}), 89: ('wagtail.blocks.MultipleChoiceBlock', [], {'choices': shared.blocks.children.chart.get_redmine_projects, 'label': 'Projekty'}), 90: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen otevĹ™enĂ©', 'required': False}), 91: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen uzavĹ™enĂ©', 'required': False}), 92: ('wagtail.blocks.DateBlock', (), {'label': 'Min. datum vytvoĹ™enĂ', 'required': True}), 93: ('wagtail.blocks.DateBlock', (), {'label': 'Max. datum vytvoĹ™enĂ', 'required': True}), 94: ('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}), 95: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu', 'max_length': 128, 'required': True}), 96: ('wagtail.blocks.BooleanBlock', (), {'label': 'RozdÄ›lit podle projektu', 'required': False}), 97: ('wagtail.blocks.BooleanBlock', (), {'label': 'Pouze rĹŻst nahoru', 'required': False}), 98: ('wagtail.blocks.StructBlock', [[('projects', 89), ('is_open', 90), ('is_closed', 91), ('created_on_min_date', 92), ('created_on_max_date', 93), ('updated_on', 94), ('issue_label', 95), ('split_per_project', 96), ('only_grow', 97)]], {'label': 'Redmine Ăşkoly'}), 99: ('wagtail.blocks.ListBlock', (98,), {'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}), 100: ('wagtail.blocks.StructBlock', [[('title', 79), ('chart_type', 80), ('hide_points', 81), ('local_labels', 83), ('local_datasets', 88), ('redmine_issue_datasets', 99)]], {}), 101: ('wagtail.blocks.PageChooserBlock', ('district.DistrictArticlePage',), {'label': 'Aktualita', 'required': True}), 102: ('wagtail.blocks.ListBlock', (101,), {'label': 'Seznam aktualit', 'required': True}), 103: ('wagtail.blocks.StructBlock', [[('articles', 102)]], {}), 104: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Osoba', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage'], 'required': True}), 105: ('wagtail.blocks.CharBlock', (), {'help_text': 'VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.', 'label': 'Popisek', 'required': False}), 106: ('wagtail.blocks.StructBlock', [[('person', 104), ('caption', 105)]], {}), 107: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek'}), 108: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no', 'label': 'Slug skupiny', 'required': False}), 109: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage']}), 110: ('wagtail.blocks.ListBlock', (109,), {'default': [], 'help_text': 'S pozicemi z jejich podstránek', 'label': 'Osoby'}), 111: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage', 'district.DistrictPersonPage']}), 112: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.', 'label': 'Pozice', 'required': False}), 113: ('wagtail.blocks.StructBlock', [[('page', 111), ('position', 112)]], {}), 114: ('wagtail.blocks.ListBlock', (113,), {'default': [], 'help_text': 'S nastavitelnĂ˝mi pozicemi', 'label': 'Osoby'}), 115: ('wagtail.blocks.StructBlock', [[('title', 107), ('slug', 108), ('person_list', 110), ('person_list_with_custom_positions', 114)]], {})}, 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", 72), + ("three_columns", 74), + ("youtube", 75), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ("popout_point", 78), + ("chart", 100), + ("related", 103), + ("related_links", 103), + ("badge", 106), + ("new_people_group", 115), + ], + 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": True, + }, + ), + 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": True, + }, + ), + 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.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ] + ], + {}, + ), + 68: ("wagtail.blocks.ListBlock", (67,), {"label": "TlaÄŤĂtka"}), + 69: ("wagtail.blocks.StructBlock", [[("buttons", 68)]], {}), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 70), ("right_column_content", 71)]], + {}, + ), + 73: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 70), + ("middle_column_content", 73), + ("right_column_content", 71), + ] + ], + {}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 76: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 77: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 78: ( + "wagtail.blocks.StructBlock", + [[("name", 76), ("content", 77)]], + {}, + ), + 79: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "max_length": 120}, + ), + 80: ( + "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", + }, + ), + 81: ( + "wagtail.blocks.BooleanBlock", + (), + { + "help_text": "MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.", + "label": "Schovat body", + "required": False, + }, + ), + 82: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Skupina", "max_length": 40}, + ), + 83: ( + "wagtail.blocks.ListBlock", + (82,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnÄ› definovanĂ© skupiny", + "required": False, + }, + ), + 84: ( + "wagtail.blocks.CharBlock", + (), + {"label": "OznaÄŤenĂ zdroje dat", "max_length": 120}, + ), + 85: ("wagtail.blocks.IntegerBlock", (), {}), + 86: ( + "wagtail.blocks.ListBlock", + (85,), + {"default": [0], "label": "Data"}, + ), + 87: ( + "wagtail.blocks.StructBlock", + [[("label", 84), ("data", 86)]], + {}, + ), + 88: ( + "wagtail.blocks.ListBlock", + (87,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnĂ zdroje dat", + "required": False, + }, + ), + 89: ( + "wagtail.blocks.MultipleChoiceBlock", + [], + { + "choices": shared.blocks.children.chart.get_redmine_projects, + "label": "Projekty", + }, + ), + 90: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen otevĹ™enĂ©", "required": False}, + ), + 91: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen uzavĹ™enĂ©", "required": False}, + ), + 92: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Min. datum vytvoĹ™enĂ", "required": True}, + ), + 93: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Max. datum vytvoĹ™enĂ", "required": True}, + ), + 94: ( + "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, + }, + ), + 95: ( + "wagtail.blocks.CharBlock", + (), + { + "label": "OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu", + "max_length": 128, + "required": True, + }, + ), + 96: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "RozdÄ›lit podle projektu", "required": False}, + ), + 97: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Pouze rĹŻst nahoru", "required": False}, + ), + 98: ( + "wagtail.blocks.StructBlock", + [ + [ + ("projects", 89), + ("is_open", 90), + ("is_closed", 91), + ("created_on_min_date", 92), + ("created_on_max_date", 93), + ("updated_on", 94), + ("issue_label", 95), + ("split_per_project", 96), + ("only_grow", 97), + ] + ], + {"label": "Redmine Ăşkoly"}, + ), + 99: ( + "wagtail.blocks.ListBlock", + (98,), + { + "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, + }, + ), + 100: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 79), + ("chart_type", 80), + ("hide_points", 81), + ("local_labels", 83), + ("local_datasets", 88), + ("redmine_issue_datasets", 99), + ] + ], + {}, + ), + 101: ( + "wagtail.blocks.PageChooserBlock", + ("district.DistrictArticlePage",), + {"label": "Aktualita", "required": True}, + ), + 102: ( + "wagtail.blocks.ListBlock", + (101,), + {"label": "Seznam aktualit", "required": True}, + ), + 103: ("wagtail.blocks.StructBlock", [[("articles", 102)]], {}), + 104: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Osoba", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + "required": True, + }, + ), + 105: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.", + "label": "Popisek", + "required": False, + }, + ), + 106: ( + "wagtail.blocks.StructBlock", + [[("person", 104), ("caption", 105)]], + {}, + ), + 107: ("wagtail.blocks.CharBlock", (), {"label": "Titulek"}), + 108: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no", + "label": "Slug skupiny", + "required": False, + }, + ), + 109: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + }, + ), + 110: ( + "wagtail.blocks.ListBlock", + (109,), + { + "default": [], + "help_text": "S pozicemi z jejich podstránek", + "label": "Osoby", + }, + ), + 111: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + "district.DistrictPersonPage", + ], + }, + ), + 112: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.", + "label": "Pozice", + "required": False, + }, + ), + 113: ( + "wagtail.blocks.StructBlock", + [[("page", 111), ("position", 112)]], + {}, + ), + 114: ( + "wagtail.blocks.ListBlock", + (113,), + { + "default": [], + "help_text": "S nastavitelnĂ˝mi pozicemi", + "label": "Osoby", + }, + ), + 115: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 107), + ("slug", 108), + ("person_list", 110), + ("person_list_with_custom_positions", 114), + ] + ], + {}, + ), + }, + 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', 72), ('three_columns', 74), ('youtube', 75), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69), ('popout_point', 78), ('chart', 100), ('related', 103), ('related_links', 103), ('badge', 106), ('new_people_group', 115)], 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': True}), 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': True}), 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.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11)]], {}), 68: ('wagtail.blocks.ListBlock', (67,), {'label': 'TlaÄŤĂtka'}), 69: ('wagtail.blocks.StructBlock', [[('buttons', 68)]], {}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('right_column_content', 71)]], {}), 73: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 74: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('middle_column_content', 73), ('right_column_content', 71)]], {}), 75: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 76: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 77: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 78: ('wagtail.blocks.StructBlock', [[('name', 76), ('content', 77)]], {}), 79: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'max_length': 120}), 80: ('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'}), 81: ('wagtail.blocks.BooleanBlock', (), {'help_text': 'MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.', 'label': 'Schovat body', 'required': False}), 82: ('wagtail.blocks.CharBlock', (), {'label': 'Skupina', 'max_length': 40}), 83: ('wagtail.blocks.ListBlock', (82,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnÄ› definovanĂ© skupiny', 'required': False}), 84: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ zdroje dat', 'max_length': 120}), 85: ('wagtail.blocks.IntegerBlock', (), {}), 86: ('wagtail.blocks.ListBlock', (85,), {'default': [0], 'label': 'Data'}), 87: ('wagtail.blocks.StructBlock', [[('label', 84), ('data', 86)]], {}), 88: ('wagtail.blocks.ListBlock', (87,), {'blank': True, 'collapsed': True, 'default': [], 'label': 'MĂstnĂ zdroje dat', 'required': False}), 89: ('wagtail.blocks.MultipleChoiceBlock', [], {'choices': shared.blocks.children.chart.get_redmine_projects, 'label': 'Projekty'}), 90: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen otevĹ™enĂ©', 'required': False}), 91: ('wagtail.blocks.BooleanBlock', (), {'label': 'Jen uzavĹ™enĂ©', 'required': False}), 92: ('wagtail.blocks.DateBlock', (), {'label': 'Min. datum vytvoĹ™enĂ', 'required': True}), 93: ('wagtail.blocks.DateBlock', (), {'label': 'Max. datum vytvoĹ™enĂ', 'required': True}), 94: ('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}), 95: ('wagtail.blocks.CharBlock', (), {'label': 'OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu', 'max_length': 128, 'required': True}), 96: ('wagtail.blocks.BooleanBlock', (), {'label': 'RozdÄ›lit podle projektu', 'required': False}), 97: ('wagtail.blocks.BooleanBlock', (), {'label': 'Pouze rĹŻst nahoru', 'required': False}), 98: ('wagtail.blocks.StructBlock', [[('projects', 89), ('is_open', 90), ('is_closed', 91), ('created_on_min_date', 92), ('created_on_max_date', 93), ('updated_on', 94), ('issue_label', 95), ('split_per_project', 96), ('only_grow', 97)]], {'label': 'Redmine Ăşkoly'}), 99: ('wagtail.blocks.ListBlock', (98,), {'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}), 100: ('wagtail.blocks.StructBlock', [[('title', 79), ('chart_type', 80), ('hide_points', 81), ('local_labels', 83), ('local_datasets', 88), ('redmine_issue_datasets', 99)]], {}), 101: ('wagtail.blocks.PageChooserBlock', ('district.DistrictArticlePage',), {'label': 'Aktualita', 'required': True}), 102: ('wagtail.blocks.ListBlock', (101,), {'label': 'Seznam aktualit', 'required': True}), 103: ('wagtail.blocks.StructBlock', [[('articles', 102)]], {}), 104: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Osoba', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage'], 'required': True}), 105: ('wagtail.blocks.CharBlock', (), {'help_text': 'VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.', 'label': 'Popisek', 'required': False}), 106: ('wagtail.blocks.StructBlock', [[('person', 104), ('caption', 105)]], {}), 107: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek'}), 108: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no', 'label': 'Slug skupiny', 'required': False}), 109: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage']}), 110: ('wagtail.blocks.ListBlock', (109,), {'default': [], 'help_text': 'S pozicemi z jejich podstránek', 'label': 'Osoby'}), 111: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Detail osoby', 'page_type': ['district.DistrictOctopusPersonPage', 'district.DistrictManualOctopusPersonPage', 'district.DistrictPersonPage']}), 112: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.', 'label': 'Pozice', 'required': False}), 113: ('wagtail.blocks.StructBlock', [[('page', 111), ('position', 112)]], {}), 114: ('wagtail.blocks.ListBlock', (113,), {'default': [], 'help_text': 'S nastavitelnĂ˝mi pozicemi', 'label': 'Osoby'}), 115: ('wagtail.blocks.StructBlock', [[('title', 107), ('slug', 108), ('person_list', 110), ('person_list_with_custom_positions', 114)]], {})}, 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", 72), + ("three_columns", 74), + ("youtube", 75), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ("popout_point", 78), + ("chart", 100), + ("related", 103), + ("related_links", 103), + ("badge", 106), + ("new_people_group", 115), + ], + 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": True, + }, + ), + 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": True, + }, + ), + 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.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ] + ], + {}, + ), + 68: ("wagtail.blocks.ListBlock", (67,), {"label": "TlaÄŤĂtka"}), + 69: ("wagtail.blocks.StructBlock", [[("buttons", 68)]], {}), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 70), ("right_column_content", 71)]], + {}, + ), + 73: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 70), + ("middle_column_content", 73), + ("right_column_content", 71), + ] + ], + {}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 76: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 77: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 78: ( + "wagtail.blocks.StructBlock", + [[("name", 76), ("content", 77)]], + {}, + ), + 79: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "max_length": 120}, + ), + 80: ( + "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", + }, + ), + 81: ( + "wagtail.blocks.BooleanBlock", + (), + { + "help_text": "MÄ›nĂ vzhled pouze u linovĂ˝ch grafĹŻ.", + "label": "Schovat body", + "required": False, + }, + ), + 82: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Skupina", "max_length": 40}, + ), + 83: ( + "wagtail.blocks.ListBlock", + (82,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnÄ› definovanĂ© skupiny", + "required": False, + }, + ), + 84: ( + "wagtail.blocks.CharBlock", + (), + {"label": "OznaÄŤenĂ zdroje dat", "max_length": 120}, + ), + 85: ("wagtail.blocks.IntegerBlock", (), {}), + 86: ( + "wagtail.blocks.ListBlock", + (85,), + {"default": [0], "label": "Data"}, + ), + 87: ( + "wagtail.blocks.StructBlock", + [[("label", 84), ("data", 86)]], + {}, + ), + 88: ( + "wagtail.blocks.ListBlock", + (87,), + { + "blank": True, + "collapsed": True, + "default": [], + "label": "MĂstnĂ zdroje dat", + "required": False, + }, + ), + 89: ( + "wagtail.blocks.MultipleChoiceBlock", + [], + { + "choices": shared.blocks.children.chart.get_redmine_projects, + "label": "Projekty", + }, + ), + 90: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen otevĹ™enĂ©", "required": False}, + ), + 91: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Jen uzavĹ™enĂ©", "required": False}, + ), + 92: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Min. datum vytvoĹ™enĂ", "required": True}, + ), + 93: ( + "wagtail.blocks.DateBlock", + (), + {"label": "Max. datum vytvoĹ™enĂ", "required": True}, + ), + 94: ( + "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, + }, + ), + 95: ( + "wagtail.blocks.CharBlock", + (), + { + "label": "OznaÄŤenĂ ĂşkolĹŻ uvnitĹ™ grafu", + "max_length": 128, + "required": True, + }, + ), + 96: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "RozdÄ›lit podle projektu", "required": False}, + ), + 97: ( + "wagtail.blocks.BooleanBlock", + (), + {"label": "Pouze rĹŻst nahoru", "required": False}, + ), + 98: ( + "wagtail.blocks.StructBlock", + [ + [ + ("projects", 89), + ("is_open", 90), + ("is_closed", 91), + ("created_on_min_date", 92), + ("created_on_max_date", 93), + ("updated_on", 94), + ("issue_label", 95), + ("split_per_project", 96), + ("only_grow", 97), + ] + ], + {"label": "Redmine Ăşkoly"}, + ), + 99: ( + "wagtail.blocks.ListBlock", + (98,), + { + "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, + }, + ), + 100: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 79), + ("chart_type", 80), + ("hide_points", 81), + ("local_labels", 83), + ("local_datasets", 88), + ("redmine_issue_datasets", 99), + ] + ], + {}, + ), + 101: ( + "wagtail.blocks.PageChooserBlock", + ("district.DistrictArticlePage",), + {"label": "Aktualita", "required": True}, + ), + 102: ( + "wagtail.blocks.ListBlock", + (101,), + {"label": "Seznam aktualit", "required": True}, + ), + 103: ("wagtail.blocks.StructBlock", [[("articles", 102)]], {}), + 104: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Osoba", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + "required": True, + }, + ), + 105: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "VlastnĂ popisek na vizitce. Pokud nenĂ uvedeno, pouĹľije se vĂ˝chozĂ profese osoby.", + "label": "Popisek", + "required": False, + }, + ), + 106: ( + "wagtail.blocks.StructBlock", + [[("person", 104), ("caption", 105)]], + {}, + ), + 107: ("wagtail.blocks.CharBlock", (), {"label": "Titulek"}), + 108: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky vyplnÄ›no", + "label": "Slug skupiny", + "required": False, + }, + ), + 109: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + ], + }, + ), + 110: ( + "wagtail.blocks.ListBlock", + (109,), + { + "default": [], + "help_text": "S pozicemi z jejich podstránek", + "label": "Osoby", + }, + ), + 111: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Detail osoby", + "page_type": [ + "district.DistrictOctopusPersonPage", + "district.DistrictManualOctopusPersonPage", + "district.DistrictPersonPage", + ], + }, + ), + 112: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ pozice vyplnÄ›ná, pouĹľije se pozice ze stránky osoby.", + "label": "Pozice", + "required": False, + }, + ), + 113: ( + "wagtail.blocks.StructBlock", + [[("page", 111), ("position", 112)]], + {}, + ), + 114: ( + "wagtail.blocks.ListBlock", + (113,), + { + "default": [], + "help_text": "S nastavitelnĂ˝mi pozicemi", + "label": "Osoby", + }, + ), + 115: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 107), + ("slug", 108), + ("person_list", 110), + ("person_list_with_custom_positions", 114), + ] + ], + {}, + ), + }, + 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', 140)], 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': True}), 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': True}), 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.StructBlock', [[('title', 108), ('color', 109), ('hoveractive', 110), ('page', 106), ('link', 12), ('align', 57)]], {}), 112: ('wagtail.blocks.ListBlock', (111,), {'label': 'TlaÄŤĂtka'}), 113: ('wagtail.blocks.StructBlock', [[('buttons', 112)]], {}), 114: ('wagtail.blocks.StreamBlock', [[('text', 49), ('table', 77), ('card', 107), ('figure', 84), ('youtube', 92), ('map_point', 99), ('map_collection', 104), ('button', 111), ('button_group', 113)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 115: ('wagtail.blocks.StreamBlock', [[('text', 49), ('table', 77), ('card', 107), ('figure', 84), ('youtube', 92), ('map_point', 99), ('map_collection', 104), ('button', 111), ('button_group', 113)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 116: ('wagtail.blocks.StructBlock', [[('left_column_content', 114), ('right_column_content', 115)]], {}), 117: ('wagtail.blocks.StreamBlock', [[('text', 49), ('table', 77), ('card', 107), ('figure', 84), ('youtube', 92), ('map_point', 99), ('map_collection', 104), ('button', 111), ('button_group', 113)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 118: ('wagtail.blocks.StructBlock', [[('left_column_content', 114), ('middle_column_content', 117), ('right_column_content', 115)]], {}), 119: ('wagtail.blocks.StructBlock', [[('poster_image', 87), ('video_url', 88), ('video_id', 89), ('is_full_width', 90), ('autoplay', 91)]], {'label': 'YouTube video'}), 120: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 121: ('wagtail.blocks.StreamBlock', [[('text', 46), ('headline', 58), ('table', 77)]], {'label': 'Obsah'}), 122: ('wagtail.blocks.StructBlock', [[('name', 120), ('content', 121)]], {}), 123: ('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', 116), ('three_columns', 118), ('youtube', 119), ('map_point', 99), ('map_collection', 104), ('button', 111), ('button_group', 113), ('popout_point', 122)]], {'label': 'Obsah'}), 124: ('wagtail.blocks.StructBlock', [[('title', 45), ('child_blocks', 123)]], {}), 125: ('wagtail.blocks.ListBlock', (124,), {'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}), 126: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz'}), 127: ('wagtail.blocks.StructBlock', [[('text', 17), ('link', 126)]], {'label': 'Odkaz'}), 128: ('wagtail.blocks.ListBlock', (127,), {'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}), 129: ('wagtail.blocks.CharBlock', (), {'default': 'Program', 'help_text': "NapĹ™. 'Program'", 'label': 'Nadpis'}), 130: ('wagtail.blocks.IntegerBlock', (), {'label': 'ÄŚĂslo'}), 131: ('wagtail.blocks.TextBlock', (), {'label': 'Obsah'}), 132: ('wagtail.blocks.StructBlock', [[('content', 131)]], {}), 133: ('wagtail.blocks.ListBlock', (132,), {'label': 'Body'}), 134: ('wagtail.blocks.StructBlock', [[('number', 130), ('name', 17), ('points', 133)]], {}), 135: ('wagtail.blocks.ListBlock', (134,), {'label': 'Kategorie'}), 136: ('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}), 137: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis odkazu na celou verzi programu', 'required': False}), 138: ('wagtail.blocks.StructBlock', [[('label', 129), ('categories', 135), ('long_version_url', 136), ('long_version_text', 137)]], {'template': 'styleguide2/includes/molecules/program/program_block.html'}), 139: ('wagtail.blocks.StreamBlock', [[('program_group', 7), ('program_group_crossroad', 15), ('program_group_popout', 25), ('carousel_program', 138)]], {'required': False}), 140: ('wagtail.blocks.StructBlock', [[('title', 0), ('preamble_content', 26), ('candidates_title', 27), ('program_title', 28), ('primary_candidates', 39), ('secondary_candidates', 44), ('other_views', 125), ('tab_links', 128), ('program', 139)]], {})}, 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", 140), + ], + 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": True, + }, + ), + 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": True, + }, + ), + 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.StructBlock", + [ + [ + ("title", 108), + ("color", 109), + ("hoveractive", 110), + ("page", 106), + ("link", 12), + ("align", 57), + ] + ], + {}, + ), + 112: ("wagtail.blocks.ListBlock", (111,), {"label": "TlaÄŤĂtka"}), + 113: ("wagtail.blocks.StructBlock", [[("buttons", 112)]], {}), + 114: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 49), + ("table", 77), + ("card", 107), + ("figure", 84), + ("youtube", 92), + ("map_point", 99), + ("map_collection", 104), + ("button", 111), + ("button_group", 113), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 115: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 49), + ("table", 77), + ("card", 107), + ("figure", 84), + ("youtube", 92), + ("map_point", 99), + ("map_collection", 104), + ("button", 111), + ("button_group", 113), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 116: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 114), ("right_column_content", 115)]], + {}, + ), + 117: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 49), + ("table", 77), + ("card", 107), + ("figure", 84), + ("youtube", 92), + ("map_point", 99), + ("map_collection", 104), + ("button", 111), + ("button_group", 113), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 118: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 114), + ("middle_column_content", 117), + ("right_column_content", 115), + ] + ], + {}, + ), + 119: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 87), + ("video_url", 88), + ("video_id", 89), + ("is_full_width", 90), + ("autoplay", 91), + ] + ], + {"label": "YouTube video"}, + ), + 120: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 121: ( + "wagtail.blocks.StreamBlock", + [[("text", 46), ("headline", 58), ("table", 77)]], + {"label": "Obsah"}, + ), + 122: ( + "wagtail.blocks.StructBlock", + [[("name", 120), ("content", 121)]], + {}, + ), + 123: ( + "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", 116), + ("three_columns", 118), + ("youtube", 119), + ("map_point", 99), + ("map_collection", 104), + ("button", 111), + ("button_group", 113), + ("popout_point", 122), + ] + ], + {"label": "Obsah"}, + ), + 124: ( + "wagtail.blocks.StructBlock", + [[("title", 45), ("child_blocks", 123)]], + {}, + ), + 125: ( + "wagtail.blocks.ListBlock", + (124,), + { + "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, + }, + ), + 126: ("wagtail.blocks.URLBlock", (), {"label": "Odkaz"}), + 127: ( + "wagtail.blocks.StructBlock", + [[("text", 17), ("link", 126)]], + {"label": "Odkaz"}, + ), + 128: ( + "wagtail.blocks.ListBlock", + (127,), + { + "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, + }, + ), + 129: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "Program", + "help_text": "NapĹ™. 'Program'", + "label": "Nadpis", + }, + ), + 130: ("wagtail.blocks.IntegerBlock", (), {"label": "ÄŚĂslo"}), + 131: ("wagtail.blocks.TextBlock", (), {"label": "Obsah"}), + 132: ("wagtail.blocks.StructBlock", [[("content", 131)]], {}), + 133: ("wagtail.blocks.ListBlock", (132,), {"label": "Body"}), + 134: ( + "wagtail.blocks.StructBlock", + [[("number", 130), ("name", 17), ("points", 133)]], + {}, + ), + 135: ("wagtail.blocks.ListBlock", (134,), {"label": "Kategorie"}), + 136: ( + "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, + }, + ), + 137: ( + "wagtail.blocks.CharBlock", + (), + { + "label": "Nadpis odkazu na celou verzi programu", + "required": False, + }, + ), + 138: ( + "wagtail.blocks.StructBlock", + [ + [ + ("label", 129), + ("categories", 135), + ("long_version_url", 136), + ("long_version_text", 137), + ] + ], + { + "template": "styleguide2/includes/molecules/program/program_block.html" + }, + ), + 139: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("program_group", 7), + ("program_group_crossroad", 15), + ("program_group_popout", 25), + ("carousel_program", 138), + ] + ], + {"required": False}, + ), + 140: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 0), + ("preamble_content", 26), + ("candidates_title", 27), + ("program_title", 28), + ("primary_candidates", 39), + ("secondary_candidates", 44), + ("other_views", 125), + ("tab_links", 128), + ("program", 139), + ] + ], + {}, + ), + }, + verbose_name="Programy", + ), ), ] diff --git a/district/migrations/0312_alter_districtarticlepage_content_and_more.py b/district/migrations/0312_alter_districtarticlepage_content_and_more.py index c19bdc4b9cf40cf33c55d0b1c9ddfa9923663127..a16ce42b8dc4e031ec09bfd34985680b981f9645 100644 --- a/district/migrations/0312_alter_districtarticlepage_content_and_more.py +++ b/district/migrations/0312_alter_districtarticlepage_content_and_more.py @@ -1,65 +1,9675 @@ # Generated by Django 5.0.7 on 2025-03-12 10:33 -import shared.blocks.children.chart import wagtail.fields from django.db import migrations +import shared.blocks.children.chart + class Migration(migrations.Migration): - dependencies = [ - ('district', '0311_alter_districtarticlepage_content_and_more'), + ("district", "0311_alter_districtarticlepage_content_and_more"), ] 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': True}), 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': True}), 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', 'Veliká'), ('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": True, + }, + ), + 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": True, + }, + ), + 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", "Veliká"), + ("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': True}), 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': True}), 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', 'Veliká'), ('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": True, + }, + ), + 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": True, + }, + ), + 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", "Veliká"), + ("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': True}), 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': True}), 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', 'Veliká'), ('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": True, + }, + ), + 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": True, + }, + ), + 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", "Veliká"), + ("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': True}), 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': True}), 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', 'Veliká'), ('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', (), {'label': 'ID newsletteru', 'required': True}), 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": True, + }, + ), + 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": True, + }, + ), + 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", "Veliká"), + ("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", + (), + {"label": "ID newsletteru", "required": True}, + ), + 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': True}), 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': True}), 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', 'Veliká'), ('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": True, + }, + ), + 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": True, + }, + ), + 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", "Veliká"), + ("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': True}), 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': True}), 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', 'Veliká'), ('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": True, + }, + ), + 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": True, + }, + ), + 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", "Veliká"), + ("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': True}), 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': True}), 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', 'Veliká'), ('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": True, + }, + ), + 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": True, + }, + ), + 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", "Veliká"), + ("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='districtgeofeaturecollectionpage', - name='hero_cta_buttons', - field=wagtail.fields.StreamField([('button_group', 9)], blank=True, block_lookup={0: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 1: ('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'}), 2: ('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}), 3: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 4: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 5: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 6: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('normal', 'NormálnĂ'), ('large', 'Veliká'), ('huge', 'MasivnĂ')], 'label': 'Velikost tlaÄŤĂtka'}), 7: ('wagtail.blocks.StructBlock', [[('title', 0), ('color', 1), ('hoveractive', 2), ('page', 3), ('link', 4), ('align', 5), ('size', 6)]], {}), 8: ('wagtail.blocks.ListBlock', (7,), {'label': 'TlaÄŤĂtka'}), 9: ('wagtail.blocks.StructBlock', [[('buttons', 8)]], {})}, help_text='PouĹľije se v hlavnĂm banneru.', null=True, verbose_name='CTAs pro banner'), + model_name="districtgeofeaturecollectionpage", + name="hero_cta_buttons", + field=wagtail.fields.StreamField( + [("button_group", 9)], + blank=True, + block_lookup={ + 0: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "max_length": 128, "required": True}, + ), + 1: ( + "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", + }, + ), + 2: ( + "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, + }, + ), + 3: ( + "wagtail.blocks.PageChooserBlock", + (), + {"label": "Stránka", "required": False}, + ), + 4: ( + "wagtail.blocks.URLBlock", + (), + {"label": "Odkaz", "required": False}, + ), + 5: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("auto", "Automaticky"), + ("center", "Na stĹ™ed"), + ], + "label": "ZarovnánĂ", + }, + ), + 6: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("normal", "NormálnĂ"), + ("large", "Veliká"), + ("huge", "MasivnĂ"), + ], + "label": "Velikost tlaÄŤĂtka", + }, + ), + 7: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 0), + ("color", 1), + ("hoveractive", 2), + ("page", 3), + ("link", 4), + ("align", 5), + ("size", 6), + ] + ], + {}, + ), + 8: ("wagtail.blocks.ListBlock", (7,), {"label": "TlaÄŤĂtka"}), + 9: ("wagtail.blocks.StructBlock", [[("buttons", 8)]], {}), + }, + help_text="PouĹľije se v hlavnĂm banneru.", + null=True, + verbose_name="CTAs pro banner", + ), ), 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': True}), 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': True}), 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', 'Veliká'), ('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": True, + }, + ), + 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": True, + }, + ), + 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", "Veliká"), + ("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': True}), 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': True}), 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', 'Veliká'), ('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": True, + }, + ), + 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": True, + }, + ), + 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", "Veliká"), + ("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/migrations/0313_alter_districtarticlepage_content_and_more.py b/district/migrations/0313_alter_districtarticlepage_content_and_more.py index 4661933cf5c048c9fbb919da5dd782ff495a87e2..c8d1cb5367d88bb99d84bdb7c64fbeab5390f2c2 100644 --- a/district/migrations/0313_alter_districtarticlepage_content_and_more.py +++ b/district/migrations/0313_alter_districtarticlepage_content_and_more.py @@ -1,65 +1,9675 @@ # Generated by Django 5.0.7 on 2025-03-18 15:58 -import shared.blocks.children.chart import wagtail.fields from django.db import migrations +import shared.blocks.children.chart + class Migration(migrations.Migration): - dependencies = [ - ('district', '0312_alter_districtarticlepage_content_and_more'), + ("district", "0312_alter_districtarticlepage_content_and_more"), ] 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': True}), 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': True}), 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": True, + }, + ), + 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": True, + }, + ), + 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': True}), 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': True}), 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": True, + }, + ), + 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": True, + }, + ), + 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': True}), 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': True}), 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": True, + }, + ), + 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": True, + }, + ), + 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': True}), 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': True}), 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', (), {'label': 'ID newsletteru', 'required': True}), 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": True, + }, + ), + 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": True, + }, + ), + 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", + (), + {"label": "ID newsletteru", "required": True}, + ), + 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': True}), 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': True}), 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": True, + }, + ), + 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": True, + }, + ), + 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': True}), 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': True}), 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": True, + }, + ), + 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": True, + }, + ), + 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': True}), 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': True}), 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": True, + }, + ), + 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": True, + }, + ), + 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='districtgeofeaturecollectionpage', - name='hero_cta_buttons', - field=wagtail.fields.StreamField([('button_group', 9)], blank=True, block_lookup={0: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 1: ('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'}), 2: ('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}), 3: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 4: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 5: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 6: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('normal', 'NormálnĂ'), ('large', 'Velká'), ('huge', 'MasivnĂ')], 'label': 'Velikost tlaÄŤĂtka'}), 7: ('wagtail.blocks.StructBlock', [[('title', 0), ('color', 1), ('hoveractive', 2), ('page', 3), ('link', 4), ('align', 5), ('size', 6)]], {}), 8: ('wagtail.blocks.ListBlock', (7,), {'label': 'TlaÄŤĂtka'}), 9: ('wagtail.blocks.StructBlock', [[('buttons', 8)]], {})}, help_text='PouĹľije se v hlavnĂm banneru.', null=True, verbose_name='CTAs pro banner'), + model_name="districtgeofeaturecollectionpage", + name="hero_cta_buttons", + field=wagtail.fields.StreamField( + [("button_group", 9)], + blank=True, + block_lookup={ + 0: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "max_length": 128, "required": True}, + ), + 1: ( + "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", + }, + ), + 2: ( + "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, + }, + ), + 3: ( + "wagtail.blocks.PageChooserBlock", + (), + {"label": "Stránka", "required": False}, + ), + 4: ( + "wagtail.blocks.URLBlock", + (), + {"label": "Odkaz", "required": False}, + ), + 5: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("auto", "Automaticky"), + ("center", "Na stĹ™ed"), + ], + "label": "ZarovnánĂ", + }, + ), + 6: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("normal", "NormálnĂ"), + ("large", "Velká"), + ("huge", "MasivnĂ"), + ], + "label": "Velikost tlaÄŤĂtka", + }, + ), + 7: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 0), + ("color", 1), + ("hoveractive", 2), + ("page", 3), + ("link", 4), + ("align", 5), + ("size", 6), + ] + ], + {}, + ), + 8: ("wagtail.blocks.ListBlock", (7,), {"label": "TlaÄŤĂtka"}), + 9: ("wagtail.blocks.StructBlock", [[("buttons", 8)]], {}), + }, + help_text="PouĹľije se v hlavnĂm banneru.", + null=True, + verbose_name="CTAs pro banner", + ), ), 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': True}), 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': True}), 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": True, + }, + ), + 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": True, + }, + ), + 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': True}), 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': True}), 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": True, + }, + ), + 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": True, + }, + ), + 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/migrations/0314_districthomepage_ecomail_newsletter_list_categories_and_more.py b/district/migrations/0314_districthomepage_ecomail_newsletter_list_categories_and_more.py index 20970cf588523da171a2772caccd5a71aed813a9..7c248a57cd8359bc0161ae56efe34379925ee76f 100644 --- a/district/migrations/0314_districthomepage_ecomail_newsletter_list_categories_and_more.py +++ b/district/migrations/0314_districthomepage_ecomail_newsletter_list_categories_and_more.py @@ -4,25 +4,38 @@ from django.db import migrations, models class Migration(migrations.Migration): - dependencies = [ - ('district', '0313_alter_districtarticlepage_content_and_more'), + ("district", "0313_alter_districtarticlepage_content_and_more"), ] operations = [ migrations.AddField( - model_name='districthomepage', - name='ecomail_newsletter_list_categories', - field=models.CharField(blank=True, help_text="OddÄ›lte čárkou, napĹ™Ăklad 'Kategorie1,Kategorie2,Kategorie3'.", max_length=128, null=True, verbose_name='Kategorie k pĹ™idánĂ novĂ˝m odbÄ›ratelĹŻm na Ecomailu'), + model_name="districthomepage", + name="ecomail_newsletter_list_categories", + field=models.CharField( + blank=True, + help_text="OddÄ›lte čárkou, napĹ™Ăklad 'Kategorie1,Kategorie2,Kategorie3'.", + max_length=128, + null=True, + verbose_name="Kategorie k pĹ™idánĂ novĂ˝m odbÄ›ratelĹŻm na Ecomailu", + ), ), migrations.AddField( - model_name='districthomepage', - name='ecomail_newsletter_list_id', - field=models.IntegerField(blank=True, null=True, verbose_name='ID Ecomail newsletteru'), + model_name="districthomepage", + name="ecomail_newsletter_list_id", + field=models.IntegerField( + blank=True, null=True, verbose_name="ID Ecomail newsletteru" + ), ), migrations.AlterField( - model_name='districthomepage', - 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'), + model_name="districthomepage", + 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/district/migrations/0315_remove_districthomepage_ecomail_newsletter_list_categories_and_more.py b/district/migrations/0315_remove_districthomepage_ecomail_newsletter_list_categories_and_more.py index eec439041d979899841022e18b1a3344bcfd16dc..dcaa0b64e1a6335aae34d8948d0236db3426e9ea 100644 --- a/district/migrations/0315_remove_districthomepage_ecomail_newsletter_list_categories_and_more.py +++ b/district/migrations/0315_remove_districthomepage_ecomail_newsletter_list_categories_and_more.py @@ -4,19 +4,27 @@ from django.db import migrations, models class Migration(migrations.Migration): - dependencies = [ - ('district', '0314_districthomepage_ecomail_newsletter_list_categories_and_more'), + ( + "district", + "0314_districthomepage_ecomail_newsletter_list_categories_and_more", + ), ] operations = [ migrations.RemoveField( - model_name='districthomepage', - name='ecomail_newsletter_list_categories', + model_name="districthomepage", + name="ecomail_newsletter_list_categories", ), migrations.AddField( - model_name='districthomepage', - 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="districthomepage", + 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/district/migrations/0316_alter_districtcustompage_content.py b/district/migrations/0316_alter_districtcustompage_content.py index 7ba3a85be8bb95f2997e8d29731dcc528cec1774..4a9fca6f8970f8855d251ea4eb9dd5373f623e12 100644 --- a/district/migrations/0316_alter_districtcustompage_content.py +++ b/district/migrations/0316_alter_districtcustompage_content.py @@ -1,20 +1,1144 @@ # Generated by Django 5.0.7 on 2025-03-19 12:01 -import shared.blocks.children.chart import wagtail.fields from django.db import migrations +import shared.blocks.children.chart -class Migration(migrations.Migration): +class Migration(migrations.Migration): dependencies = [ - ('district', '0315_remove_districthomepage_ecomail_newsletter_list_categories_and_more'), + ( + "district", + "0315_remove_districthomepage_ecomail_newsletter_list_categories_and_more", + ), ] operations = [ 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': True}), 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': True}), 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": True, + }, + ), + 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": True, + }, + ), + 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", + ), ), ] diff --git a/district/models.py b/district/models.py index 5e882bee469cb906d54fc7c9de3a121c3e4eb8a0..883624cf007921df238d67bbecfe7380486fdc68 100644 --- a/district/models.py +++ b/district/models.py @@ -1,8 +1,6 @@ import json from functools import cached_property -from django.conf import settings -from django.contrib import messages from django.core.cache import cache from django.core.exceptions import ValidationError from django.db import models @@ -21,7 +19,7 @@ from wagtail.admin.panels import ( PageChooserPanel, TabbedInterface, ) -from wagtail.contrib.routable_page.models import RoutablePageMixin, route +from wagtail.contrib.routable_page.models import RoutablePageMixin from wagtail.fields import RichTextField, StreamField from wagtail.models import Orderable, Page from wagtail.models.media import Collection @@ -49,7 +47,6 @@ from shared.blocks import ( SocialLinkBlock, ) from shared.const import RICH_TEXT_DEFAULT_FEATURES -from shared.forms import SubscribeForm from shared.models import ( CustomLogoMixin, ExtendedMetadataPageMixin, @@ -71,8 +68,6 @@ from shared.templatetags.shared_filters import markdown from shared.utils import ( make_promote_panels, strip_all_html_tags, - subscribe_to_newsletter, - subscribe_to_ecomail_newsletter, trim_to_length, ) @@ -149,7 +144,7 @@ class DistrictHomePage(CustomLogoMixin, CalendarMixin, MainHomePageMixin): max_length=128, blank=True, null=True, - help_text="OddÄ›lte čárkou, napĹ™Ăklad 'Tag1,Tag2,Tag3'. Bez mezer." + help_text="OddÄ›lte čárkou, napĹ™Ăklad 'Tag1,Tag2,Tag3'. Bez mezer.", ) newsletter_description = models.CharField( diff --git a/district/wagtail_hooks.py b/district/wagtail_hooks.py index f0ccab362551a16e27f420609d4c09f876928c60..9c97f9e6a67a3a29cdfee90e0380b141bf2508eb 100644 --- a/district/wagtail_hooks.py +++ b/district/wagtail_hooks.py @@ -27,5 +27,5 @@ def handle_copy_calendar(request, origin_page, copied_page): def global_admin_css(): return format_html( '<link rel="stylesheet" href="{}">', - static("district/css/district_custom_admin.css") + static("district/css/district_custom_admin.css"), ) diff --git a/elections/blocks.py b/elections/blocks.py index 6c5180459abebfbf626531678147f5757fd22bbb..4356b829cce697c606bc9f00fc4035800cc84ddc 100644 --- a/elections/blocks.py +++ b/elections/blocks.py @@ -10,8 +10,9 @@ from wagtail.images.blocks import ImageChooserBlock from shared.blocks import CandidateBlock as SharedCandidateBlockMixin from shared.blocks import CandidateListBlock as SharedCandidateListBlockMixin -from shared.blocks import \ - CandidateSecondaryListBlock as SharedCandidateSecondaryListBlockMixin +from shared.blocks import ( + CandidateSecondaryListBlock as SharedCandidateSecondaryListBlockMixin, +) from shared.blocks import SecondaryCandidateBlock as SharedSecondaryCandidateBlockMixin diff --git a/elections/migrations/0065_electionshomepage_has_expanded_navbar.py b/elections/migrations/0065_electionshomepage_has_expanded_navbar.py index a52099fa16cb863c307c0683f99a7f4b6f7214ec..86adc6753c3ec87b860123c8ff1121b6e74a1e78 100644 --- a/elections/migrations/0065_electionshomepage_has_expanded_navbar.py +++ b/elections/migrations/0065_electionshomepage_has_expanded_navbar.py @@ -4,15 +4,18 @@ from django.db import migrations, models class Migration(migrations.Migration): - dependencies = [ - ('elections', '0064_remove_electionshomepage_menu_button_name_and_more'), + ("elections", "0064_remove_electionshomepage_menu_button_name_and_more"), ] operations = [ migrations.AddField( - model_name='electionshomepage', - name='has_expanded_navbar', - field=models.BooleanField(default=True, help_text='Pokud je toto pole zaškrtlĂ©, navigaÄŤnĂ lišta bude vĹľdy mĂt rezervovanĂ© mĂsto na obrazovce.', verbose_name='Má rozšĂĹ™enĂ˝ navbar?'), + model_name="electionshomepage", + name="has_expanded_navbar", + field=models.BooleanField( + default=True, + help_text="Pokud je toto pole zaškrtlĂ©, navigaÄŤnĂ lišta bude vĹľdy mĂt rezervovanĂ© mĂsto na obrazovce.", + verbose_name="Má rozšĂĹ™enĂ˝ navbar?", + ), ), ] diff --git a/elections/migrations/0066_alter_electionsarticlepage_content.py b/elections/migrations/0066_alter_electionsarticlepage_content.py index e8082934b0bd9bf95c1eb4d2c35716a810b3be11..16d3e00ed116322b6093f66043e6d842cb63e493 100644 --- a/elections/migrations/0066_alter_electionsarticlepage_content.py +++ b/elections/migrations/0066_alter_electionsarticlepage_content.py @@ -5,15 +5,789 @@ from django.db import migrations class Migration(migrations.Migration): - dependencies = [ - ('elections', '0065_electionshomepage_has_expanded_navbar'), + ("elections", "0065_electionshomepage_has_expanded_navbar"), ] operations = [ migrations.AlterField( - model_name='electionsarticlepage', - name='content', - field=wagtail.fields.StreamField([('text', 0), ('advanced_text', 4), ('two_columns_text', 7), ('headline', 12), ('headline_with_picture', 15), ('picture_list', 19), ('flip_cards', 30), ('table', 31), ('popout_table', 32), ('gallery', 35), ('figure', 38), ('card', 62), ('two_columns', 71), ('three_columns', 73), ('youtube', 74), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68), ('popout_point', 78), ('quote', 81), ('download', 83)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {}), 46: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 48: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 49: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 50: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('osm-mapnik', 'OSM Mapnik'), ('stadia-osm-bright', 'Stadia OSM Bright'), ('stadia-outdoors', 'Stadia Outdoors'), ('mapbox-streets', 'Mapbox Streets'), ('mapbox-outdoors', 'Mapbox Outdoors'), ('mapbox-light', 'Mapbox Light'), ('mapbox-dark', 'Mapbox Dark'), ('mapbox-satellite', 'Mapbox Satellite'), ('mapbox-pirate', 'Mapbox Pirate Theme')], 'label': 'Styl'}), 51: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 52: ('wagtail.blocks.StructBlock', [[('lat', 46), ('lon', 47), ('hex_color', 48), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 53: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 54: ('wagtail.blocks.TextBlock', (), {'help_text': "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", 'label': 'Geodata', 'required': True}), 55: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 56: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 57: ('wagtail.blocks.StructBlock', [[('title', 53), ('description', 37), ('geojson', 54), ('image', 39), ('link', 55), ('hex_color', 56)]], {'required': True}), 58: ('wagtail.blocks.ListBlock', (57,), {'label': 'Součásti'}), 59: ('wagtail.blocks.StructBlock', [[('features', 58), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Mapová kolekce'}), 60: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59)]], {'label': 'Obsah', 'required': False}), 61: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 62: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 60), ('page', 61), ('link', 55)]], {}), 63: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 64: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black', 'ÄŚerná'), ('white', 'BĂlá'), ('pirati-yellow', 'Ĺ˝lutá'), ('grey-125', 'SvÄ›tle šedá'), ('blue-300', 'Modrá'), ('cyan-200', 'Tyrkysová'), ('green-400', 'Zelená'), ('violet-400', 'VĂnová'), ('red-600', 'ÄŚervená')], 'label': 'Barva'}), 65: ('wagtail.blocks.BooleanBlock', (), {'default': True, 'help_text': 'Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.', 'label': 'Animovat na hover', 'required': False}), 66: ('wagtail.blocks.StructBlock', [[('title', 63), ('color', 64), ('hoveractive', 65), ('page', 61), ('link', 55), ('align', 11)]], {}), 67: ('wagtail.blocks.ListBlock', (66,), {'label': 'TlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('buttons', 67)]], {}), 69: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('right_column_content', 70)]], {}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('middle_column_content', 72), ('right_column_content', 70)]], {}), 74: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {'label': 'YouTube video'}), 75: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 76: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 77: ('wagtail.blocks.StreamBlock', [[('text', 76), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 78: ('wagtail.blocks.StructBlock', [[('name', 75), ('content', 77)]], {}), 79: ('wagtail.blocks.CharBlock', (), {'label': 'Citace'}), 80: ('wagtail.blocks.CharBlock', (), {'label': 'JmĂ©no autora'}), 81: ('wagtail.blocks.StructBlock', [[('quote', 79), ('autor_name', 80)]], {}), 82: ('wagtail.documents.blocks.DocumentChooserBlock', (), {'label': 'StáhnutelnĂ˝ soubor'}), 83: ('wagtail.blocks.StructBlock', [[('file', 82)]], {})}, verbose_name='ÄŚlánek'), + model_name="electionsarticlepage", + name="content", + field=wagtail.fields.StreamField( + [ + ("text", 0), + ("advanced_text", 4), + ("two_columns_text", 7), + ("headline", 12), + ("headline_with_picture", 15), + ("picture_list", 19), + ("flip_cards", 30), + ("table", 31), + ("popout_table", 32), + ("gallery", 35), + ("figure", 38), + ("card", 62), + ("two_columns", 71), + ("three_columns", 73), + ("youtube", 74), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ("popout_point", 78), + ("quote", 81), + ("download", 83), + ], + blank=True, + block_lookup={ + 0: ( + "wagtail.blocks.RichTextBlock", + (), + { + "template": "styleguide2/includes/atoms/text/prose_richtext.html" + }, + ), + 1: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("left", "vlevo"), + ("center", "uprostĹ™ed"), + ("right", "vpravo"), + ], + "label": "zarovnánĂ", + }, + ), + 2: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black_on_white", "ÄŤerná na bĂlĂ©"), + ("black_on_yellow", "ÄŤerná na ĹľlutĂ©"), + ("white_on_black", "bĂlá na ÄŤernĂ©"), + ("white_on_blue", "bĂlá na modrĂ©"), + ("white_on_cyan", "bĂlá na tyrkysovĂ©"), + ("white_on_violet", "bĂlá na fialovĂ©"), + ], + "label": "barva", + }, + ), + 3: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + }, + ), + 4: ( + "wagtail.blocks.StructBlock", + [[("align", 1), ("color", 2), ("text", 3)]], + {}, + ), + 5: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "levĂ˝ sloupec", + }, + ), + 6: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "pravĂ˝ sloupec", + }, + ), + 7: ( + "wagtail.blocks.StructBlock", + [[("left_text", 5), ("right_text", 6)]], + {}, + ), + 8: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Nadpis", "max_length": 300, "required": True}, + ), + 9: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("h1", "H1"), + ("h2", "H2"), + ("h3", "H3"), + ("h4", "H4"), + ("h5", "H5"), + ("h6", "H6"), + ], + "help_text": "ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.", + "label": "ĂšroveĹ nadpisu", + }, + ), + 10: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("head-alt-xl", "VelkĂ˝, Bebas Neue - 6XL"), + ("head-alt-lg", "StĹ™ednĂ, Bebas Neue - 4XL"), + ("head-alt-md", "ZákladnĂ velikost - Roboto - MD"), + ("head-alt-sm", "MalĂ˝ - Roboto - SM"), + ("head-alt-xs", "Extra malĂ˝ - Roboto - XS"), + ], + "help_text": "Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.", + "label": "Velikost", + }, + ), + 11: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("auto", "Automaticky"), + ("center", "Na stĹ™ed"), + ], + "label": "ZarovnánĂ", + }, + ), + 12: ( + "wagtail.blocks.StructBlock", + [[("headline", 8), ("tag", 9), ("style", 10), ("align", 11)]], + {}, + ), + 13: ("wagtail.blocks.CharBlock", (), {"label": "nadpis"}), + 14: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)", + "label": "obrázek", + }, + ), + 15: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("title", 13), ("picture", 14)]], + {}, + ), + 16: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "Odstavec", + }, + ), + 17: ("wagtail.blocks.ListBlock", (16,), {"label": "Odstavce"}), + 18: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)", + "label": "Obrázek", + }, + ), + 19: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("items", 17), ("picture", 18)]], + {}, + ), + 20: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "FEC900", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva pozadĂ", + }, + ), + 21: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.", + "label": "Obrázek", + "required": False, + }, + ), + 22: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje obrázek. Nelze vybrat obÄ› najednou.", + "label": "PozadĂ", + "required": False, + }, + ), + 23: ( + "wagtail.blocks.TextBlock", + (), + {"help_text": "ĹádkovánĂ je manuálnĂ.", "label": "Nadpis"}, + ), + 24: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva textu", + }, + ), + 25: ("wagtail.blocks.RichTextBlock", (), {"label": "Obsah"}), + 26: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.", + "label": "Nadpis tlaÄŤĂtka", + "required": False, + }, + ), + 27: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Odkaz tlaÄŤĂtka", "required": False}, + ), + 28: ( + "wagtail.blocks.StructBlock", + [ + [ + ("bg_color", 20), + ("image", 21), + ("background", 22), + ("title", 23), + ("title_color", 24), + ("content", 25), + ("button_text", 26), + ("button_url", 27), + ] + ], + {"label": "Karta"}, + ), + 29: ("wagtail.blocks.ListBlock", (28,), {"label": "Karty"}), + 30: ("wagtail.blocks.StructBlock", [[("cards", 29)]], {}), + 31: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "Tabulka", + "template": "styleguide2/includes/atoms/table/table.html", + }, + ), + 32: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "RozbalovacĂ tabulka", + "template": "styleguide2/includes/atoms/table/popout_table.html", + }, + ), + 33: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "obrázek", "required": True}, + ), + 34: ( + "wagtail.blocks.ListBlock", + (33,), + {"group": "3. OstatnĂ", "icon": "image", "label": "Galerie"}, + ), + 35: ( + "wagtail.blocks.StructBlock", + [[("gallery_items", 34)]], + {"label": "Galerie"}, + ), + 36: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": True}, + ), + 37: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Popisek", "required": False}, + ), + 38: ( + "wagtail.blocks.StructBlock", + [[("img", 36), ("caption", 37)]], + {}, + ), + 39: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": False}, + ), + 40: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Titulek", "required": False}, + ), + 41: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.", + "label": "Náhled videa (automatickĂ© pole)", + "required": False, + }, + ), + 42: ( + "wagtail.blocks.URLBlock", + (), + { + "help_text": "Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.", + "label": "Odkaz na video", + "required": False, + }, + ), + 43: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.", + "label": "ID videa (automatickĂ© pole)", + "required": False, + }, + ), + 44: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "label": "ZabĂrá celou šĂĹ™ku?", + "required": True, + }, + ), + 45: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ] + ], + {}, + ), + 46: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 50.04075", "label": "ZemÄ›pisná šĂĹ™ka"}, + ), + 47: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 15.77659", "label": "ZemÄ›pisná dĂ©lka"}, + ), + 48: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva špendlĂku (HEX)", + }, + ), + 49: ( + "wagtail.blocks.IntegerBlock", + (), + { + "default": 15, + "label": "VĂ˝chozĂ zoom", + "max_value": 18, + "min_value": 1, + }, + ), + 50: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("osm-mapnik", "OSM Mapnik"), + ("stadia-osm-bright", "Stadia OSM Bright"), + ("stadia-outdoors", "Stadia Outdoors"), + ("mapbox-streets", "Mapbox Streets"), + ("mapbox-outdoors", "Mapbox Outdoors"), + ("mapbox-light", "Mapbox Light"), + ("mapbox-dark", "Mapbox Dark"), + ("mapbox-satellite", "Mapbox Satellite"), + ("mapbox-pirate", "Mapbox Pirate Theme"), + ], + "label": "Styl", + }, + ), + 51: ( + "wagtail.blocks.IntegerBlock", + (), + {"label": "Výška v px", "max_value": 1000, "min_value": 100}, + ), + 52: ( + "wagtail.blocks.StructBlock", + [ + [ + ("lat", 46), + ("lon", 47), + ("hex_color", 48), + ("zoom", 49), + ("style", 50), + ("height", 51), + ] + ], + {"label": "Ĺ pendlĂk na mapÄ›"}, + ), + 53: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": True}, + ), + 54: ( + "wagtail.blocks.TextBlock", + (), + { + "help_text": "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", + "label": "Geodata", + "required": True, + }, + ), + 55: ( + "wagtail.blocks.URLBlock", + (), + {"label": "Odkaz", "required": False}, + ), + 56: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva (HEX)", + }, + ), + 57: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 53), + ("description", 37), + ("geojson", 54), + ("image", 39), + ("link", 55), + ("hex_color", 56), + ] + ], + {"required": True}, + ), + 58: ("wagtail.blocks.ListBlock", (57,), {"label": "Součásti"}), + 59: ( + "wagtail.blocks.StructBlock", + [ + [ + ("features", 58), + ("zoom", 49), + ("style", 50), + ("height", 51), + ] + ], + {"label": "Mapová kolekce"}, + ), + 60: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ] + ], + {"label": "Obsah", "required": False}, + ), + 61: ( + "wagtail.blocks.PageChooserBlock", + (), + {"label": "Stránka", "required": False}, + ), + 62: ( + "wagtail.blocks.StructBlock", + [ + [ + ("img", 39), + ("headline", 40), + ("content", 60), + ("page", 61), + ("link", 55), + ] + ], + {}, + ), + 63: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "max_length": 128, "required": True}, + ), + 64: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black", "ÄŚerná"), + ("white", "BĂlá"), + ("pirati-yellow", "Ĺ˝lutá"), + ("grey-125", "SvÄ›tle šedá"), + ("blue-300", "Modrá"), + ("cyan-200", "Tyrkysová"), + ("green-400", "Zelená"), + ("violet-400", "VĂnová"), + ("red-600", "ÄŚervená"), + ], + "label": "Barva", + }, + ), + 65: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": True, + "help_text": "Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.", + "label": "Animovat na hover", + "required": False, + }, + ), + 66: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 63), + ("color", 64), + ("hoveractive", 65), + ("page", 61), + ("link", 55), + ("align", 11), + ] + ], + {}, + ), + 67: ("wagtail.blocks.ListBlock", (66,), {"label": "TlaÄŤĂtka"}), + 68: ("wagtail.blocks.StructBlock", [[("buttons", 67)]], {}), + 69: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 69), ("right_column_content", 70)]], + {}, + ), + 72: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 73: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 69), + ("middle_column_content", 72), + ("right_column_content", 70), + ] + ], + {}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ] + ], + {"label": "YouTube video"}, + ), + 75: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 76: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + "template": "styleguide2/includes/atoms/text/prose_richtext.html", + }, + ), + 77: ( + "wagtail.blocks.StreamBlock", + [[("text", 76), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 78: ( + "wagtail.blocks.StructBlock", + [[("name", 75), ("content", 77)]], + {}, + ), + 79: ("wagtail.blocks.CharBlock", (), {"label": "Citace"}), + 80: ("wagtail.blocks.CharBlock", (), {"label": "JmĂ©no autora"}), + 81: ( + "wagtail.blocks.StructBlock", + [[("quote", 79), ("autor_name", 80)]], + {}, + ), + 82: ( + "wagtail.documents.blocks.DocumentChooserBlock", + (), + {"label": "StáhnutelnĂ˝ soubor"}, + ), + 83: ("wagtail.blocks.StructBlock", [[("file", 82)]], {}), + }, + verbose_name="ÄŚlánek", + ), ), ] diff --git a/elections/migrations/0067_alter_electionsarticlepage_content.py b/elections/migrations/0067_alter_electionsarticlepage_content.py index 096816eee57f8eb40ffc76ded882ba42c10089c0..58152674090b91b261ccf3d9253fcef33a1e930a 100644 --- a/elections/migrations/0067_alter_electionsarticlepage_content.py +++ b/elections/migrations/0067_alter_electionsarticlepage_content.py @@ -5,15 +5,801 @@ from django.db import migrations class Migration(migrations.Migration): - dependencies = [ - ('elections', '0066_alter_electionsarticlepage_content'), + ("elections", "0066_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', 72), ('three_columns', 74), ('youtube', 75), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69), ('popout_point', 79), ('quote', 82), ('download', 84)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.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': True}), 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.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11)]], {}), 68: ('wagtail.blocks.ListBlock', (67,), {'label': 'TlaÄŤĂtka'}), 69: ('wagtail.blocks.StructBlock', [[('buttons', 68)]], {}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('right_column_content', 71)]], {}), 73: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 74: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('middle_column_content', 73), ('right_column_content', 71)]], {}), 75: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 76: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 77: ('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'}), 78: ('wagtail.blocks.StreamBlock', [[('text', 77), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 79: ('wagtail.blocks.StructBlock', [[('name', 76), ('content', 78)]], {}), 80: ('wagtail.blocks.CharBlock', (), {'label': 'Citace'}), 81: ('wagtail.blocks.CharBlock', (), {'label': 'JmĂ©no autora'}), 82: ('wagtail.blocks.StructBlock', [[('quote', 80), ('autor_name', 81)]], {}), 83: ('wagtail.documents.blocks.DocumentChooserBlock', (), {'label': 'StáhnutelnĂ˝ soubor'}), 84: ('wagtail.blocks.StructBlock', [[('file', 83)]], {})}, 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", 72), + ("three_columns", 74), + ("youtube", 75), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ("popout_point", 79), + ("quote", 82), + ("download", 84), + ], + blank=True, + block_lookup={ + 0: ( + "wagtail.blocks.RichTextBlock", + (), + { + "template": "styleguide2/includes/atoms/text/prose_richtext.html" + }, + ), + 1: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("left", "vlevo"), + ("center", "uprostĹ™ed"), + ("right", "vpravo"), + ], + "label": "zarovnánĂ", + }, + ), + 2: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black_on_white", "ÄŤerná na bĂlĂ©"), + ("black_on_yellow", "ÄŤerná na ĹľlutĂ©"), + ("white_on_black", "bĂlá na ÄŤernĂ©"), + ("white_on_blue", "bĂlá na modrĂ©"), + ("white_on_cyan", "bĂlá na tyrkysovĂ©"), + ("white_on_violet", "bĂlá na fialovĂ©"), + ], + "label": "barva", + }, + ), + 3: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + }, + ), + 4: ( + "wagtail.blocks.StructBlock", + [[("align", 1), ("color", 2), ("text", 3)]], + {}, + ), + 5: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "levĂ˝ sloupec", + }, + ), + 6: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "pravĂ˝ sloupec", + }, + ), + 7: ( + "wagtail.blocks.StructBlock", + [[("left_text", 5), ("right_text", 6)]], + {}, + ), + 8: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Nadpis", "max_length": 300, "required": True}, + ), + 9: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("h1", "H1"), + ("h2", "H2"), + ("h3", "H3"), + ("h4", "H4"), + ("h5", "H5"), + ("h6", "H6"), + ], + "help_text": "ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.", + "label": "ĂšroveĹ nadpisu", + }, + ), + 10: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("head-alt-xl", "VelkĂ˝, Bebas Neue - 6XL"), + ("head-alt-lg", "StĹ™ednĂ, Bebas Neue - 4XL"), + ("head-alt-md", "ZákladnĂ velikost - Roboto - MD"), + ("head-alt-sm", "MalĂ˝ - Roboto - SM"), + ("head-alt-xs", "Extra malĂ˝ - Roboto - XS"), + ], + "help_text": "Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.", + "label": "Velikost", + }, + ), + 11: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("auto", "Automaticky"), + ("center", "Na stĹ™ed"), + ], + "label": "ZarovnánĂ", + }, + ), + 12: ( + "wagtail.blocks.StructBlock", + [[("headline", 8), ("tag", 9), ("style", 10), ("align", 11)]], + {}, + ), + 13: ("wagtail.blocks.CharBlock", (), {"label": "nadpis"}), + 14: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)", + "label": "obrázek", + }, + ), + 15: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("title", 13), ("picture", 14)]], + {}, + ), + 16: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "Odstavec", + }, + ), + 17: ("wagtail.blocks.ListBlock", (16,), {"label": "Odstavce"}), + 18: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)", + "label": "Obrázek", + }, + ), + 19: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("items", 17), ("picture", 18)]], + {}, + ), + 20: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "FEC900", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva pozadĂ", + }, + ), + 21: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.", + "label": "Obrázek", + "required": False, + }, + ), + 22: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje obrázek. Nelze vybrat obÄ› najednou.", + "label": "PozadĂ", + "required": False, + }, + ), + 23: ( + "wagtail.blocks.TextBlock", + (), + {"help_text": "ĹádkovánĂ je manuálnĂ.", "label": "Nadpis"}, + ), + 24: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva textu", + }, + ), + 25: ("wagtail.blocks.RichTextBlock", (), {"label": "Obsah"}), + 26: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.", + "label": "Nadpis tlaÄŤĂtka", + "required": False, + }, + ), + 27: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Odkaz tlaÄŤĂtka", "required": False}, + ), + 28: ( + "wagtail.blocks.StructBlock", + [ + [ + ("bg_color", 20), + ("image", 21), + ("background", 22), + ("title", 23), + ("title_color", 24), + ("content", 25), + ("button_text", 26), + ("button_url", 27), + ] + ], + {"label": "Karta"}, + ), + 29: ("wagtail.blocks.ListBlock", (28,), {"label": "Karty"}), + 30: ("wagtail.blocks.StructBlock", [[("cards", 29)]], {}), + 31: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "Tabulka", + "template": "styleguide2/includes/atoms/table/table.html", + }, + ), + 32: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "RozbalovacĂ tabulka", + "template": "styleguide2/includes/atoms/table/popout_table.html", + }, + ), + 33: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "obrázek", "required": True}, + ), + 34: ( + "wagtail.blocks.ListBlock", + (33,), + {"group": "3. OstatnĂ", "icon": "image", "label": "Galerie"}, + ), + 35: ( + "wagtail.blocks.StructBlock", + [[("gallery_items", 34)]], + {"label": "Galerie"}, + ), + 36: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": True}, + ), + 37: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Popisek", "required": False}, + ), + 38: ( + "wagtail.blocks.StructBlock", + [[("img", 36), ("caption", 37)]], + {}, + ), + 39: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": False}, + ), + 40: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Titulek", "required": False}, + ), + 41: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.", + "label": "Náhled videa (automatickĂ© pole)", + "required": False, + }, + ), + 42: ( + "wagtail.blocks.URLBlock", + (), + { + "help_text": "Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.", + "label": "Odkaz na video", + "required": False, + }, + ), + 43: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.", + "label": "ID videa (automatickĂ© pole)", + "required": False, + }, + ), + 44: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "label": "ZabĂrá celou šĂĹ™ku?", + "required": True, + }, + ), + 45: ( + "wagtail.blocks.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": True, + }, + ), + 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.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ] + ], + {}, + ), + 68: ("wagtail.blocks.ListBlock", (67,), {"label": "TlaÄŤĂtka"}), + 69: ("wagtail.blocks.StructBlock", [[("buttons", 68)]], {}), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 70), ("right_column_content", 71)]], + {}, + ), + 73: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 70), + ("middle_column_content", 73), + ("right_column_content", 71), + ] + ], + {}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 76: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 77: ( + "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", + }, + ), + 78: ( + "wagtail.blocks.StreamBlock", + [[("text", 77), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 79: ( + "wagtail.blocks.StructBlock", + [[("name", 76), ("content", 78)]], + {}, + ), + 80: ("wagtail.blocks.CharBlock", (), {"label": "Citace"}), + 81: ("wagtail.blocks.CharBlock", (), {"label": "JmĂ©no autora"}), + 82: ( + "wagtail.blocks.StructBlock", + [[("quote", 80), ("autor_name", 81)]], + {}, + ), + 83: ( + "wagtail.documents.blocks.DocumentChooserBlock", + (), + {"label": "StáhnutelnĂ˝ soubor"}, + ), + 84: ("wagtail.blocks.StructBlock", [[("file", 83)]], {}), + }, + verbose_name="ÄŚlánek", + ), ), ] diff --git a/elections/migrations/0068_alter_electionsarticlepage_content.py b/elections/migrations/0068_alter_electionsarticlepage_content.py index cc85f61567569df2addf46299b1e537623efbc45..5749ff67bab0c97508e9f31a7a3c82bd773031aa 100644 --- a/elections/migrations/0068_alter_electionsarticlepage_content.py +++ b/elections/migrations/0068_alter_electionsarticlepage_content.py @@ -5,15 +5,802 @@ from django.db import migrations class Migration(migrations.Migration): - dependencies = [ - ('elections', '0067_alter_electionsarticlepage_content'), + ("elections", "0067_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', 72), ('three_columns', 74), ('youtube', 75), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69), ('popout_point', 79), ('quote', 82), ('download', 84)], 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': True}), 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': True}), 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.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11)]], {}), 68: ('wagtail.blocks.ListBlock', (67,), {'label': 'TlaÄŤĂtka'}), 69: ('wagtail.blocks.StructBlock', [[('buttons', 68)]], {}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('right_column_content', 71)]], {}), 73: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 74: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('middle_column_content', 73), ('right_column_content', 71)]], {}), 75: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 76: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 77: ('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'}), 78: ('wagtail.blocks.StreamBlock', [[('text', 77), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 79: ('wagtail.blocks.StructBlock', [[('name', 76), ('content', 78)]], {}), 80: ('wagtail.blocks.CharBlock', (), {'label': 'Citace'}), 81: ('wagtail.blocks.CharBlock', (), {'label': 'JmĂ©no autora'}), 82: ('wagtail.blocks.StructBlock', [[('quote', 80), ('autor_name', 81)]], {}), 83: ('wagtail.documents.blocks.DocumentChooserBlock', (), {'label': 'StáhnutelnĂ˝ soubor'}), 84: ('wagtail.blocks.StructBlock', [[('file', 83)]], {})}, 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", 72), + ("three_columns", 74), + ("youtube", 75), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ("popout_point", 79), + ("quote", 82), + ("download", 84), + ], + 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": True, + }, + ), + 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": True, + }, + ), + 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.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ] + ], + {}, + ), + 68: ("wagtail.blocks.ListBlock", (67,), {"label": "TlaÄŤĂtka"}), + 69: ("wagtail.blocks.StructBlock", [[("buttons", 68)]], {}), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 70), ("right_column_content", 71)]], + {}, + ), + 73: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 70), + ("middle_column_content", 73), + ("right_column_content", 71), + ] + ], + {}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 76: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 77: ( + "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", + }, + ), + 78: ( + "wagtail.blocks.StreamBlock", + [[("text", 77), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 79: ( + "wagtail.blocks.StructBlock", + [[("name", 76), ("content", 78)]], + {}, + ), + 80: ("wagtail.blocks.CharBlock", (), {"label": "Citace"}), + 81: ("wagtail.blocks.CharBlock", (), {"label": "JmĂ©no autora"}), + 82: ( + "wagtail.blocks.StructBlock", + [[("quote", 80), ("autor_name", 81)]], + {}, + ), + 83: ( + "wagtail.documents.blocks.DocumentChooserBlock", + (), + {"label": "StáhnutelnĂ˝ soubor"}, + ), + 84: ("wagtail.blocks.StructBlock", [[("file", 83)]], {}), + }, + verbose_name="ÄŚlánek", + ), ), ] diff --git a/elections/migrations/0069_alter_electionsarticlepage_content.py b/elections/migrations/0069_alter_electionsarticlepage_content.py index fdca70d5c5c7fc87036f3cb8e87c7e8cef177633..5b093b6be6280ad5664e199b63b0b5bb84e1fffd 100644 --- a/elections/migrations/0069_alter_electionsarticlepage_content.py +++ b/elections/migrations/0069_alter_electionsarticlepage_content.py @@ -5,15 +5,815 @@ from django.db import migrations class Migration(migrations.Migration): - dependencies = [ - ('elections', '0068_alter_electionsarticlepage_content'), + ("elections", "0068_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': True}), 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': True}), 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', 'Veliká'), ('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": True, + }, + ), + 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": True, + }, + ), + 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", "Veliká"), + ("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/elections/migrations/0070_alter_electionsarticlepage_content.py b/elections/migrations/0070_alter_electionsarticlepage_content.py index 6c8f81da8a9882ecde17be47c605cc828296d5b0..6df167c89e017f32b31437c2c6065e7cf88fe50d 100644 --- a/elections/migrations/0070_alter_electionsarticlepage_content.py +++ b/elections/migrations/0070_alter_electionsarticlepage_content.py @@ -5,15 +5,815 @@ from django.db import migrations class Migration(migrations.Migration): - dependencies = [ - ('elections', '0069_alter_electionsarticlepage_content'), + ("elections", "0069_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': True}), 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': True}), 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": True, + }, + ), + 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": True, + }, + ), + 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/env.example b/env.example index a8abfea1342191a560996fd20a9d92897deec75a..2c12203573f921d4ceba1ce77cf724c69845326b 100644 --- a/env.example +++ b/env.example @@ -13,4 +13,4 @@ CELERY_BROKER_URL=redis://127.0.0.1:6379/0 CELERY_RESULT_BACKEND= ECOMAIL_API_URL=https://api2.ecomailapp.cz -ECOMAIL_API_KEY=asdf \ No newline at end of file +ECOMAIL_API_KEY=asdf diff --git a/main/blocks.py b/main/blocks.py index 42c17ad24c07baf13e92dcde1125e9c31dfa2d3f..5d0d3f3cb674bf2d6ed0f25757e0cdf3416a16cf 100644 --- a/main/blocks.py +++ b/main/blocks.py @@ -1,6 +1,5 @@ from django.utils.text import slugify from wagtail.blocks import ( - BooleanBlock, CharBlock, ListBlock, PageChooserBlock, @@ -14,8 +13,9 @@ from wagtail.images.blocks import ImageChooserBlock from shared.blocks import CandidateBlock as SharedCandidateBlockMixin from shared.blocks import CandidateListBlock from shared.blocks import CandidateListBlock as SharedCandidateListBlockMixin -from shared.blocks import \ - CandidateSecondaryListBlock as SharedCandidateSecondaryListBlockMixin +from shared.blocks import ( + CandidateSecondaryListBlock as SharedCandidateSecondaryListBlockMixin, +) from shared.blocks import ( CardLinkBlockMixin, CardLinkWithHeadlineBlockMixin, @@ -28,8 +28,9 @@ from shared.blocks import ( ProgramGroupBlockMixin, ) from shared.blocks import ProgramGroupBlockPopout as SharedProgramGroupBlockPopout -from shared.blocks import \ - ProgramGroupWithCandidatesBlock as SharedProgramGroupWithCandidatesBlockMixin +from shared.blocks import ( + ProgramGroupWithCandidatesBlock as SharedProgramGroupWithCandidatesBlockMixin, +) from shared.blocks import SecondaryCandidateBlock as SharedSecondaryCandidateBlockMixin from shared.blocks import StreamBlock, TeamBlockMixin @@ -82,15 +83,9 @@ class HomePageCarouseSlideBlock(StructBlock): label="Obrázek nahrazujĂcĂ animaci (mobil / tablet)", required=False ) - desktop_video_url = URLBlock( - label="Odkaz na desktop video", - required=False - ) + desktop_video_url = URLBlock(label="Odkaz na desktop video", required=False) - mobile_video_url = URLBlock( - label="Odkaz na mobilnĂ video", - required=False - ) + mobile_video_url = URLBlock(label="Odkaz na mobilnĂ video", required=False) button_url = URLBlock( label="Odkaz tlaÄŤĂtka", diff --git a/main/migrations/0144_alter_maincareerpage_employment_relationship.py b/main/migrations/0144_alter_maincareerpage_employment_relationship.py index 22272715ed728bcd00a80dd53497f93c70354070..d336661a9c29f65f93bff672615f32f08726278a 100644 --- a/main/migrations/0144_alter_maincareerpage_employment_relationship.py +++ b/main/migrations/0144_alter_maincareerpage_employment_relationship.py @@ -4,15 +4,18 @@ from django.db import migrations, models class Migration(migrations.Migration): - dependencies = [ - ('main', '0143_alter_mainhomepage_popout_button_content'), + ("main", "0143_alter_mainhomepage_popout_button_content"), ] operations = [ migrations.AlterField( - model_name='maincareerpage', - name='employment_relationship', - field=models.CharField(help_text="NapĹ™. 'Rámcová smlouva na dobu urÄŤitou'", max_length=128, verbose_name='Typ smlouvy'), + model_name="maincareerpage", + name="employment_relationship", + field=models.CharField( + help_text="NapĹ™. 'Rámcová smlouva na dobu urÄŤitou'", + max_length=128, + verbose_name="Typ smlouvy", + ), ), ] diff --git a/main/migrations/0145_alter_mainhomepage_content.py b/main/migrations/0145_alter_mainhomepage_content.py index adca267dcb0eb52309a23d32dad2b6b2cabeb51c..50bb57b907d8ce6bcdc5e7ada8c2dc8b6d0cdc89 100644 --- a/main/migrations/0145_alter_mainhomepage_content.py +++ b/main/migrations/0145_alter_mainhomepage_content.py @@ -7,15 +7,189 @@ import shared.blocks.children.misc class Migration(migrations.Migration): - dependencies = [ - ('main', '0144_alter_maincareerpage_employment_relationship'), + ("main", "0144_alter_maincareerpage_employment_relationship"), ] operations = [ migrations.AlterField( - model_name='mainhomepage', - name='content', - field=wagtail.fields.StreamField([('carousel', 9), ('news', 12), ('people', 16), ('regions', 18), ('boxes', 26)], blank=True, block_lookup={0: ('wagtail.blocks.TextBlock', (), {'label': 'Desktop prvnà řádek'}), 1: ('wagtail.blocks.TextBlock', (), {'label': 'Desktop druhĂ˝ řádek'}), 2: ('wagtail.blocks.TextBlock', (), {'label': 'PrvnĂ mobilnà řádek'}), 3: ('wagtail.blocks.TextBlock', (), {'label': 'DruhĂ˝ mobilnà řádek'}), 4: ('wagtail.blocks.TextBlock', (), {'label': 'TĹ™etĂ mobilnà řádek'}), 5: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek nahrazujĂcĂ animaci (desktop)', 'required': False}), 6: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek nahrazujĂcĂ animaci (mobil / tablet)', 'required': False}), 7: ('wagtail.blocks.URLBlock', (), {'help_text': 'Bez odkazu tlaÄŤĂtko nebude viditelnĂ©.', 'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 8: ('wagtail.blocks.CharBlock', (), {'help_text': 'Odkaz funguje i bez tlaÄŤĂtka. Pokud chceš tlaÄŤĂtko skrĂ˝t, nevyplĹuj text.', 'label': 'Text tlaÄŤĂtka', 'required': False}), 9: ('wagtail.blocks.StructBlock', [[('desktop_line_1', 0), ('desktop_line_2', 1), ('mobile_line_1', 2), ('mobile_line_2', 3), ('mobile_line_3', 4), ('desktop_image', 5), ('mobile_image', 6), ('button_url', 7), ('button_text', 8)]], {}), 10: ('wagtail.blocks.CharBlock', (), {'help_text': 'NejnovÄ›jšà články se naÄŤtou automaticky', 'label': 'Titulek'}), 11: ('wagtail.blocks.TextBlock', (), {'label': 'Popis', 'required': False}), 12: ('wagtail.blocks.StructBlock', [[('title', 10), ('description', 11)]], {'template': 'styleguide2/includes/organisms/articles/articles_section.html'}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'Prvnà řádek titulku'}), 14: ('wagtail.blocks.CharBlock', (), {'label': 'DruhĂ˝ řádek titulku', 'required': False}), 15: ('wagtail.blocks.ListBlock', (shared.blocks.children.misc.PersonBoxBlock,), {'label': 'BoxĂky'}), 16: ('wagtail.blocks.StructBlock', [[('title_line_1', 13), ('title_line_2', 14), ('description', 11), ('list', 15)]], {}), 17: ('wagtail.blocks.CharBlock', (), {'help_text': 'ÄŚlánky pro regiony se naÄŤtou automaticky', 'label': 'Titulek'}), 18: ('wagtail.blocks.StructBlock', [[('title', 17)]], {}), 19: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis'}), 20: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz tlaÄŤĂtka'}), 21: ('wagtail.blocks.CharBlock', (), {'label': 'Text tlaÄŤĂtka'}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Logo/obrázek'}), 23: ('wagtail.blocks.StructBlock', [[('button_link', 20), ('button_text', 21), ('title', 19), ('image', 22)]], {}), 24: ('wagtail.blocks.ListBlock', (23,), {'label': 'BoxĂky'}), 25: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek pozadĂ', 'required': False}), 26: ('wagtail.blocks.StructBlock', [[('title', 19), ('list', 24), ('image', 25)]], {})}, verbose_name='HlavnĂ obsah'), + model_name="mainhomepage", + name="content", + field=wagtail.fields.StreamField( + [ + ("carousel", 9), + ("news", 12), + ("people", 16), + ("regions", 18), + ("boxes", 26), + ], + blank=True, + block_lookup={ + 0: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Desktop prvnà řádek"}, + ), + 1: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Desktop druhĂ˝ řádek"}, + ), + 2: ( + "wagtail.blocks.TextBlock", + (), + {"label": "PrvnĂ mobilnà řádek"}, + ), + 3: ( + "wagtail.blocks.TextBlock", + (), + {"label": "DruhĂ˝ mobilnà řádek"}, + ), + 4: ( + "wagtail.blocks.TextBlock", + (), + {"label": "TĹ™etĂ mobilnà řádek"}, + ), + 5: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "label": "Obrázek nahrazujĂcĂ animaci (desktop)", + "required": False, + }, + ), + 6: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "label": "Obrázek nahrazujĂcĂ animaci (mobil / tablet)", + "required": False, + }, + ), + 7: ( + "wagtail.blocks.URLBlock", + (), + { + "help_text": "Bez odkazu tlaÄŤĂtko nebude viditelnĂ©.", + "label": "Odkaz tlaÄŤĂtka", + "required": False, + }, + ), + 8: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Odkaz funguje i bez tlaÄŤĂtka. Pokud chceš tlaÄŤĂtko skrĂ˝t, nevyplĹuj text.", + "label": "Text tlaÄŤĂtka", + "required": False, + }, + ), + 9: ( + "wagtail.blocks.StructBlock", + [ + [ + ("desktop_line_1", 0), + ("desktop_line_2", 1), + ("mobile_line_1", 2), + ("mobile_line_2", 3), + ("mobile_line_3", 4), + ("desktop_image", 5), + ("mobile_image", 6), + ("button_url", 7), + ("button_text", 8), + ] + ], + {}, + ), + 10: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NejnovÄ›jšà články se naÄŤtou automaticky", + "label": "Titulek", + }, + ), + 11: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Popis", "required": False}, + ), + 12: ( + "wagtail.blocks.StructBlock", + [[("title", 10), ("description", 11)]], + { + "template": "styleguide2/includes/organisms/articles/articles_section.html" + }, + ), + 13: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Prvnà řádek titulku"}, + ), + 14: ( + "wagtail.blocks.CharBlock", + (), + {"label": "DruhĂ˝ řádek titulku", "required": False}, + ), + 15: ( + "wagtail.blocks.ListBlock", + (shared.blocks.children.misc.PersonBoxBlock,), + {"label": "BoxĂky"}, + ), + 16: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title_line_1", 13), + ("title_line_2", 14), + ("description", 11), + ("list", 15), + ] + ], + {}, + ), + 17: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "ÄŚlánky pro regiony se naÄŤtou automaticky", + "label": "Titulek", + }, + ), + 18: ("wagtail.blocks.StructBlock", [[("title", 17)]], {}), + 19: ("wagtail.blocks.CharBlock", (), {"label": "Nadpis"}), + 20: ("wagtail.blocks.URLBlock", (), {"label": "Odkaz tlaÄŤĂtka"}), + 21: ("wagtail.blocks.CharBlock", (), {"label": "Text tlaÄŤĂtka"}), + 22: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Logo/obrázek"}, + ), + 23: ( + "wagtail.blocks.StructBlock", + [ + [ + ("button_link", 20), + ("button_text", 21), + ("title", 19), + ("image", 22), + ] + ], + {}, + ), + 24: ("wagtail.blocks.ListBlock", (23,), {"label": "BoxĂky"}), + 25: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek pozadĂ", "required": False}, + ), + 26: ( + "wagtail.blocks.StructBlock", + [[("title", 19), ("list", 24), ("image", 25)]], + {}, + ), + }, + verbose_name="HlavnĂ obsah", + ), ), ] diff --git a/main/migrations/0146_mainhomepage_has_expanded_navbar.py b/main/migrations/0146_mainhomepage_has_expanded_navbar.py index 43a5fbd253709280e7618cbee08e9074ca9dd212..0b4cae45b05ca03e1cb3df3e09bb209dbcf0376a 100644 --- a/main/migrations/0146_mainhomepage_has_expanded_navbar.py +++ b/main/migrations/0146_mainhomepage_has_expanded_navbar.py @@ -4,15 +4,18 @@ from django.db import migrations, models class Migration(migrations.Migration): - dependencies = [ - ('main', '0145_alter_mainhomepage_content'), + ("main", "0145_alter_mainhomepage_content"), ] operations = [ migrations.AddField( - model_name='mainhomepage', - name='has_expanded_navbar', - field=models.BooleanField(default=True, help_text='Pokud je toto pole zaškrtlĂ©, navigaÄŤnĂ lišta bude vĹľdy mĂt rezervovanĂ© mĂsto na obrazovce.', verbose_name='Má rozšĂĹ™enĂ˝ navbar?'), + model_name="mainhomepage", + name="has_expanded_navbar", + field=models.BooleanField( + default=True, + help_text="Pokud je toto pole zaškrtlĂ©, navigaÄŤnĂ lišta bude vĹľdy mĂt rezervovanĂ© mĂsto na obrazovce.", + verbose_name="Má rozšĂĹ™enĂ˝ navbar?", + ), ), ] diff --git a/main/migrations/0147_alter_mainhomepage_content.py b/main/migrations/0147_alter_mainhomepage_content.py index 7b0da8b38353d1cc587c8e5b5c8cdcf39f81e418..19df44cee66f1d5c5d27259aebd90e0a4c069566 100644 --- a/main/migrations/0147_alter_mainhomepage_content.py +++ b/main/migrations/0147_alter_mainhomepage_content.py @@ -7,15 +7,189 @@ import shared.blocks.children.misc class Migration(migrations.Migration): - dependencies = [ - ('main', '0146_mainhomepage_has_expanded_navbar'), + ("main", "0146_mainhomepage_has_expanded_navbar"), ] operations = [ migrations.AlterField( - model_name='mainhomepage', - name='content', - field=wagtail.fields.StreamField([('carousel', 9), ('news', 12), ('people', 16), ('regions', 18), ('boxes', 26)], blank=True, block_lookup={0: ('wagtail.blocks.TextBlock', (), {'label': 'Desktop prvnà řádek', 'required': False}), 1: ('wagtail.blocks.TextBlock', (), {'label': 'Desktop druhĂ˝ řádek', 'required': False}), 2: ('wagtail.blocks.TextBlock', (), {'label': 'PrvnĂ mobilnà řádek', 'required': False}), 3: ('wagtail.blocks.TextBlock', (), {'label': 'DruhĂ˝ mobilnà řádek', 'required': False}), 4: ('wagtail.blocks.TextBlock', (), {'label': 'TĹ™etĂ mobilnà řádek', 'required': False}), 5: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek nahrazujĂcĂ animaci (desktop)', 'required': False}), 6: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek nahrazujĂcĂ animaci (mobil / tablet)', 'required': False}), 7: ('wagtail.blocks.URLBlock', (), {'help_text': 'Bez odkazu tlaÄŤĂtko nebude viditelnĂ©.', 'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 8: ('wagtail.blocks.CharBlock', (), {'help_text': 'Odkaz funguje i bez tlaÄŤĂtka. Pokud chceš tlaÄŤĂtko skrĂ˝t, nevyplĹuj text.', 'label': 'Text tlaÄŤĂtka', 'required': False}), 9: ('wagtail.blocks.StructBlock', [[('desktop_line_1', 0), ('desktop_line_2', 1), ('mobile_line_1', 2), ('mobile_line_2', 3), ('mobile_line_3', 4), ('desktop_image', 5), ('mobile_image', 6), ('button_url', 7), ('button_text', 8)]], {}), 10: ('wagtail.blocks.CharBlock', (), {'help_text': 'NejnovÄ›jšà články se naÄŤtou automaticky', 'label': 'Titulek'}), 11: ('wagtail.blocks.TextBlock', (), {'label': 'Popis', 'required': False}), 12: ('wagtail.blocks.StructBlock', [[('title', 10), ('description', 11)]], {'template': 'styleguide2/includes/organisms/articles/articles_section.html'}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'Prvnà řádek titulku'}), 14: ('wagtail.blocks.CharBlock', (), {'label': 'DruhĂ˝ řádek titulku', 'required': False}), 15: ('wagtail.blocks.ListBlock', (shared.blocks.children.misc.PersonBoxBlock,), {'label': 'BoxĂky'}), 16: ('wagtail.blocks.StructBlock', [[('title_line_1', 13), ('title_line_2', 14), ('description', 11), ('list', 15)]], {}), 17: ('wagtail.blocks.CharBlock', (), {'help_text': 'ÄŚlánky pro regiony se naÄŤtou automaticky', 'label': 'Titulek'}), 18: ('wagtail.blocks.StructBlock', [[('title', 17)]], {}), 19: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis'}), 20: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz tlaÄŤĂtka'}), 21: ('wagtail.blocks.CharBlock', (), {'label': 'Text tlaÄŤĂtka'}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Logo/obrázek'}), 23: ('wagtail.blocks.StructBlock', [[('button_link', 20), ('button_text', 21), ('title', 19), ('image', 22)]], {}), 24: ('wagtail.blocks.ListBlock', (23,), {'label': 'BoxĂky'}), 25: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek pozadĂ', 'required': False}), 26: ('wagtail.blocks.StructBlock', [[('title', 19), ('list', 24), ('image', 25)]], {})}, verbose_name='HlavnĂ obsah'), + model_name="mainhomepage", + name="content", + field=wagtail.fields.StreamField( + [ + ("carousel", 9), + ("news", 12), + ("people", 16), + ("regions", 18), + ("boxes", 26), + ], + blank=True, + block_lookup={ + 0: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Desktop prvnà řádek", "required": False}, + ), + 1: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Desktop druhĂ˝ řádek", "required": False}, + ), + 2: ( + "wagtail.blocks.TextBlock", + (), + {"label": "PrvnĂ mobilnà řádek", "required": False}, + ), + 3: ( + "wagtail.blocks.TextBlock", + (), + {"label": "DruhĂ˝ mobilnà řádek", "required": False}, + ), + 4: ( + "wagtail.blocks.TextBlock", + (), + {"label": "TĹ™etĂ mobilnà řádek", "required": False}, + ), + 5: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "label": "Obrázek nahrazujĂcĂ animaci (desktop)", + "required": False, + }, + ), + 6: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "label": "Obrázek nahrazujĂcĂ animaci (mobil / tablet)", + "required": False, + }, + ), + 7: ( + "wagtail.blocks.URLBlock", + (), + { + "help_text": "Bez odkazu tlaÄŤĂtko nebude viditelnĂ©.", + "label": "Odkaz tlaÄŤĂtka", + "required": False, + }, + ), + 8: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Odkaz funguje i bez tlaÄŤĂtka. Pokud chceš tlaÄŤĂtko skrĂ˝t, nevyplĹuj text.", + "label": "Text tlaÄŤĂtka", + "required": False, + }, + ), + 9: ( + "wagtail.blocks.StructBlock", + [ + [ + ("desktop_line_1", 0), + ("desktop_line_2", 1), + ("mobile_line_1", 2), + ("mobile_line_2", 3), + ("mobile_line_3", 4), + ("desktop_image", 5), + ("mobile_image", 6), + ("button_url", 7), + ("button_text", 8), + ] + ], + {}, + ), + 10: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NejnovÄ›jšà články se naÄŤtou automaticky", + "label": "Titulek", + }, + ), + 11: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Popis", "required": False}, + ), + 12: ( + "wagtail.blocks.StructBlock", + [[("title", 10), ("description", 11)]], + { + "template": "styleguide2/includes/organisms/articles/articles_section.html" + }, + ), + 13: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Prvnà řádek titulku"}, + ), + 14: ( + "wagtail.blocks.CharBlock", + (), + {"label": "DruhĂ˝ řádek titulku", "required": False}, + ), + 15: ( + "wagtail.blocks.ListBlock", + (shared.blocks.children.misc.PersonBoxBlock,), + {"label": "BoxĂky"}, + ), + 16: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title_line_1", 13), + ("title_line_2", 14), + ("description", 11), + ("list", 15), + ] + ], + {}, + ), + 17: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "ÄŚlánky pro regiony se naÄŤtou automaticky", + "label": "Titulek", + }, + ), + 18: ("wagtail.blocks.StructBlock", [[("title", 17)]], {}), + 19: ("wagtail.blocks.CharBlock", (), {"label": "Nadpis"}), + 20: ("wagtail.blocks.URLBlock", (), {"label": "Odkaz tlaÄŤĂtka"}), + 21: ("wagtail.blocks.CharBlock", (), {"label": "Text tlaÄŤĂtka"}), + 22: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Logo/obrázek"}, + ), + 23: ( + "wagtail.blocks.StructBlock", + [ + [ + ("button_link", 20), + ("button_text", 21), + ("title", 19), + ("image", 22), + ] + ], + {}, + ), + 24: ("wagtail.blocks.ListBlock", (23,), {"label": "BoxĂky"}), + 25: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek pozadĂ", "required": False}, + ), + 26: ( + "wagtail.blocks.StructBlock", + [[("title", 19), ("list", 24), ("image", 25)]], + {}, + ), + }, + verbose_name="HlavnĂ obsah", + ), ), ] diff --git a/main/migrations/0148_alter_mainhomepage_content.py b/main/migrations/0148_alter_mainhomepage_content.py index 69f03af4c02688fdf04f32bc4c66a7edf50402c8..9bc21607160089a3999e63908c0b1807c0311acc 100644 --- a/main/migrations/0148_alter_mainhomepage_content.py +++ b/main/migrations/0148_alter_mainhomepage_content.py @@ -1,20 +1,207 @@ # Generated by Django 5.0.7 on 2025-03-11 19:34 -import shared.blocks.children.misc import wagtail.fields from django.db import migrations +import shared.blocks.children.misc + class Migration(migrations.Migration): - dependencies = [ - ('main', '0147_alter_mainhomepage_content'), + ("main", "0147_alter_mainhomepage_content"), ] operations = [ migrations.AlterField( - model_name='mainhomepage', - name='content', - field=wagtail.fields.StreamField([('carousel', 11), ('news', 14), ('people', 18), ('regions', 20), ('boxes', 28)], blank=True, block_lookup={0: ('wagtail.blocks.TextBlock', (), {'label': 'Desktop prvnà řádek', 'required': False}), 1: ('wagtail.blocks.TextBlock', (), {'label': 'Desktop druhĂ˝ řádek', 'required': False}), 2: ('wagtail.blocks.TextBlock', (), {'label': 'PrvnĂ mobilnà řádek', 'required': False}), 3: ('wagtail.blocks.TextBlock', (), {'label': 'DruhĂ˝ mobilnà řádek', 'required': False}), 4: ('wagtail.blocks.TextBlock', (), {'label': 'TĹ™etĂ mobilnà řádek', 'required': False}), 5: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek nahrazujĂcĂ animaci (desktop)', 'required': False}), 6: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek nahrazujĂcĂ animaci (mobil / tablet)', 'required': False}), 7: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz na desktop video', 'required': False}), 8: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz na mobilnĂ video', 'required': False}), 9: ('wagtail.blocks.URLBlock', (), {'help_text': 'Bez odkazu tlaÄŤĂtko nebude viditelnĂ©.', 'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 10: ('wagtail.blocks.CharBlock', (), {'help_text': 'Odkaz funguje i bez tlaÄŤĂtka. Pokud chceš tlaÄŤĂtko skrĂ˝t, nevyplĹuj text.', 'label': 'Text tlaÄŤĂtka', 'required': False}), 11: ('wagtail.blocks.StructBlock', [[('desktop_line_1', 0), ('desktop_line_2', 1), ('mobile_line_1', 2), ('mobile_line_2', 3), ('mobile_line_3', 4), ('desktop_image', 5), ('mobile_image', 6), ('desktop_video_url', 7), ('mobile_video_url', 8), ('button_url', 9), ('button_text', 10)]], {}), 12: ('wagtail.blocks.CharBlock', (), {'help_text': 'NejnovÄ›jšà články se naÄŤtou automaticky', 'label': 'Titulek'}), 13: ('wagtail.blocks.TextBlock', (), {'label': 'Popis', 'required': False}), 14: ('wagtail.blocks.StructBlock', [[('title', 12), ('description', 13)]], {'template': 'styleguide2/includes/organisms/articles/articles_section.html'}), 15: ('wagtail.blocks.CharBlock', (), {'label': 'Prvnà řádek titulku'}), 16: ('wagtail.blocks.CharBlock', (), {'label': 'DruhĂ˝ řádek titulku', 'required': False}), 17: ('wagtail.blocks.ListBlock', (shared.blocks.children.misc.PersonBoxBlock,), {'label': 'BoxĂky'}), 18: ('wagtail.blocks.StructBlock', [[('title_line_1', 15), ('title_line_2', 16), ('description', 13), ('list', 17)]], {}), 19: ('wagtail.blocks.CharBlock', (), {'help_text': 'ÄŚlánky pro regiony se naÄŤtou automaticky', 'label': 'Titulek'}), 20: ('wagtail.blocks.StructBlock', [[('title', 19)]], {}), 21: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis'}), 22: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz tlaÄŤĂtka'}), 23: ('wagtail.blocks.CharBlock', (), {'label': 'Text tlaÄŤĂtka'}), 24: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Logo/obrázek'}), 25: ('wagtail.blocks.StructBlock', [[('button_link', 22), ('button_text', 23), ('title', 21), ('image', 24)]], {}), 26: ('wagtail.blocks.ListBlock', (25,), {'label': 'BoxĂky'}), 27: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek pozadĂ', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('title', 21), ('list', 26), ('image', 27)]], {})}, verbose_name='HlavnĂ obsah'), + model_name="mainhomepage", + name="content", + field=wagtail.fields.StreamField( + [ + ("carousel", 11), + ("news", 14), + ("people", 18), + ("regions", 20), + ("boxes", 28), + ], + blank=True, + block_lookup={ + 0: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Desktop prvnà řádek", "required": False}, + ), + 1: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Desktop druhĂ˝ řádek", "required": False}, + ), + 2: ( + "wagtail.blocks.TextBlock", + (), + {"label": "PrvnĂ mobilnà řádek", "required": False}, + ), + 3: ( + "wagtail.blocks.TextBlock", + (), + {"label": "DruhĂ˝ mobilnà řádek", "required": False}, + ), + 4: ( + "wagtail.blocks.TextBlock", + (), + {"label": "TĹ™etĂ mobilnà řádek", "required": False}, + ), + 5: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "label": "Obrázek nahrazujĂcĂ animaci (desktop)", + "required": False, + }, + ), + 6: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "label": "Obrázek nahrazujĂcĂ animaci (mobil / tablet)", + "required": False, + }, + ), + 7: ( + "wagtail.blocks.URLBlock", + (), + {"label": "Odkaz na desktop video", "required": False}, + ), + 8: ( + "wagtail.blocks.URLBlock", + (), + {"label": "Odkaz na mobilnĂ video", "required": False}, + ), + 9: ( + "wagtail.blocks.URLBlock", + (), + { + "help_text": "Bez odkazu tlaÄŤĂtko nebude viditelnĂ©.", + "label": "Odkaz tlaÄŤĂtka", + "required": False, + }, + ), + 10: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Odkaz funguje i bez tlaÄŤĂtka. Pokud chceš tlaÄŤĂtko skrĂ˝t, nevyplĹuj text.", + "label": "Text tlaÄŤĂtka", + "required": False, + }, + ), + 11: ( + "wagtail.blocks.StructBlock", + [ + [ + ("desktop_line_1", 0), + ("desktop_line_2", 1), + ("mobile_line_1", 2), + ("mobile_line_2", 3), + ("mobile_line_3", 4), + ("desktop_image", 5), + ("mobile_image", 6), + ("desktop_video_url", 7), + ("mobile_video_url", 8), + ("button_url", 9), + ("button_text", 10), + ] + ], + {}, + ), + 12: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NejnovÄ›jšà články se naÄŤtou automaticky", + "label": "Titulek", + }, + ), + 13: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Popis", "required": False}, + ), + 14: ( + "wagtail.blocks.StructBlock", + [[("title", 12), ("description", 13)]], + { + "template": "styleguide2/includes/organisms/articles/articles_section.html" + }, + ), + 15: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Prvnà řádek titulku"}, + ), + 16: ( + "wagtail.blocks.CharBlock", + (), + {"label": "DruhĂ˝ řádek titulku", "required": False}, + ), + 17: ( + "wagtail.blocks.ListBlock", + (shared.blocks.children.misc.PersonBoxBlock,), + {"label": "BoxĂky"}, + ), + 18: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title_line_1", 15), + ("title_line_2", 16), + ("description", 13), + ("list", 17), + ] + ], + {}, + ), + 19: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "ÄŚlánky pro regiony se naÄŤtou automaticky", + "label": "Titulek", + }, + ), + 20: ("wagtail.blocks.StructBlock", [[("title", 19)]], {}), + 21: ("wagtail.blocks.CharBlock", (), {"label": "Nadpis"}), + 22: ("wagtail.blocks.URLBlock", (), {"label": "Odkaz tlaÄŤĂtka"}), + 23: ("wagtail.blocks.CharBlock", (), {"label": "Text tlaÄŤĂtka"}), + 24: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Logo/obrázek"}, + ), + 25: ( + "wagtail.blocks.StructBlock", + [ + [ + ("button_link", 22), + ("button_text", 23), + ("title", 21), + ("image", 24), + ] + ], + {}, + ), + 26: ("wagtail.blocks.ListBlock", (25,), {"label": "BoxĂky"}), + 27: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek pozadĂ", "required": False}, + ), + 28: ( + "wagtail.blocks.StructBlock", + [[("title", 21), ("list", 26), ("image", 27)]], + {}, + ), + }, + verbose_name="HlavnĂ obsah", + ), ), ] diff --git a/main/migrations/0149_alter_mainarticlepage_content_and_more.py b/main/migrations/0149_alter_mainarticlepage_content_and_more.py index 9474140c52f477d12d87d9a2e6fa886fee8f67d8..460833588997b7438553a923b986b475c1b6d4a7 100644 --- a/main/migrations/0149_alter_mainarticlepage_content_and_more.py +++ b/main/migrations/0149_alter_mainarticlepage_content_and_more.py @@ -5,20 +5,1996 @@ from django.db import migrations class Migration(migrations.Migration): - dependencies = [ - ('main', '0148_alter_mainhomepage_content'), + ("main", "0148_alter_mainhomepage_content"), ] operations = [ migrations.AlterField( - model_name='mainarticlepage', - name='content', - field=wagtail.fields.StreamField([('text', 0), ('advanced_text', 4), ('two_columns_text', 7), ('headline', 12), ('headline_with_picture', 15), ('picture_list', 19), ('flip_cards', 30), ('table', 31), ('popout_table', 32), ('gallery', 35), ('figure', 38), ('card', 62), ('two_columns', 71), ('three_columns', 73), ('youtube', 74), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68), ('popout_point', 78), ('quote', 81), ('download', 83)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {}), 46: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 48: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 49: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 50: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('osm-mapnik', 'OSM Mapnik'), ('stadia-osm-bright', 'Stadia OSM Bright'), ('stadia-outdoors', 'Stadia Outdoors'), ('mapbox-streets', 'Mapbox Streets'), ('mapbox-outdoors', 'Mapbox Outdoors'), ('mapbox-light', 'Mapbox Light'), ('mapbox-dark', 'Mapbox Dark'), ('mapbox-satellite', 'Mapbox Satellite'), ('mapbox-pirate', 'Mapbox Pirate Theme')], 'label': 'Styl'}), 51: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 52: ('wagtail.blocks.StructBlock', [[('lat', 46), ('lon', 47), ('hex_color', 48), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 53: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 54: ('wagtail.blocks.TextBlock', (), {'help_text': "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", 'label': 'Geodata', 'required': True}), 55: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 56: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 57: ('wagtail.blocks.StructBlock', [[('title', 53), ('description', 37), ('geojson', 54), ('image', 39), ('link', 55), ('hex_color', 56)]], {'required': True}), 58: ('wagtail.blocks.ListBlock', (57,), {'label': 'Součásti'}), 59: ('wagtail.blocks.StructBlock', [[('features', 58), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Mapová kolekce'}), 60: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59)]], {'label': 'Obsah', 'required': False}), 61: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 62: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 60), ('page', 61), ('link', 55)]], {}), 63: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 64: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black', 'ÄŚerná'), ('white', 'BĂlá'), ('pirati-yellow', 'Ĺ˝lutá'), ('grey-125', 'SvÄ›tle šedá'), ('blue-300', 'Modrá'), ('cyan-200', 'Tyrkysová'), ('green-400', 'Zelená'), ('violet-400', 'VĂnová'), ('red-600', 'ÄŚervená')], 'label': 'Barva'}), 65: ('wagtail.blocks.BooleanBlock', (), {'default': True, 'help_text': 'Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.', 'label': 'Animovat na hover', 'required': False}), 66: ('wagtail.blocks.StructBlock', [[('title', 63), ('color', 64), ('hoveractive', 65), ('page', 61), ('link', 55), ('align', 11)]], {}), 67: ('wagtail.blocks.ListBlock', (66,), {'label': 'TlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('buttons', 67)]], {}), 69: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('right_column_content', 70)]], {}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('middle_column_content', 72), ('right_column_content', 70)]], {}), 74: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {'label': 'YouTube video'}), 75: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 76: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 77: ('wagtail.blocks.StreamBlock', [[('text', 76), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 78: ('wagtail.blocks.StructBlock', [[('name', 75), ('content', 77)]], {}), 79: ('wagtail.blocks.CharBlock', (), {'label': 'Citace'}), 80: ('wagtail.blocks.CharBlock', (), {'label': 'JmĂ©no autora'}), 81: ('wagtail.blocks.StructBlock', [[('quote', 79), ('autor_name', 80)]], {}), 82: ('wagtail.documents.blocks.DocumentChooserBlock', (), {'label': 'StáhnutelnĂ˝ soubor'}), 83: ('wagtail.blocks.StructBlock', [[('file', 82)]], {})}, verbose_name='ÄŚlánek'), + model_name="mainarticlepage", + name="content", + field=wagtail.fields.StreamField( + [ + ("text", 0), + ("advanced_text", 4), + ("two_columns_text", 7), + ("headline", 12), + ("headline_with_picture", 15), + ("picture_list", 19), + ("flip_cards", 30), + ("table", 31), + ("popout_table", 32), + ("gallery", 35), + ("figure", 38), + ("card", 62), + ("two_columns", 71), + ("three_columns", 73), + ("youtube", 74), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ("popout_point", 78), + ("quote", 81), + ("download", 83), + ], + blank=True, + block_lookup={ + 0: ( + "wagtail.blocks.RichTextBlock", + (), + { + "template": "styleguide2/includes/atoms/text/prose_richtext.html" + }, + ), + 1: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("left", "vlevo"), + ("center", "uprostĹ™ed"), + ("right", "vpravo"), + ], + "label": "zarovnánĂ", + }, + ), + 2: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black_on_white", "ÄŤerná na bĂlĂ©"), + ("black_on_yellow", "ÄŤerná na ĹľlutĂ©"), + ("white_on_black", "bĂlá na ÄŤernĂ©"), + ("white_on_blue", "bĂlá na modrĂ©"), + ("white_on_cyan", "bĂlá na tyrkysovĂ©"), + ("white_on_violet", "bĂlá na fialovĂ©"), + ], + "label": "barva", + }, + ), + 3: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + }, + ), + 4: ( + "wagtail.blocks.StructBlock", + [[("align", 1), ("color", 2), ("text", 3)]], + {}, + ), + 5: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "levĂ˝ sloupec", + }, + ), + 6: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "pravĂ˝ sloupec", + }, + ), + 7: ( + "wagtail.blocks.StructBlock", + [[("left_text", 5), ("right_text", 6)]], + {}, + ), + 8: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Nadpis", "max_length": 300, "required": True}, + ), + 9: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("h1", "H1"), + ("h2", "H2"), + ("h3", "H3"), + ("h4", "H4"), + ("h5", "H5"), + ("h6", "H6"), + ], + "help_text": "ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.", + "label": "ĂšroveĹ nadpisu", + }, + ), + 10: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("head-alt-xl", "VelkĂ˝, Bebas Neue - 6XL"), + ("head-alt-lg", "StĹ™ednĂ, Bebas Neue - 4XL"), + ("head-alt-md", "ZákladnĂ velikost - Roboto - MD"), + ("head-alt-sm", "MalĂ˝ - Roboto - SM"), + ("head-alt-xs", "Extra malĂ˝ - Roboto - XS"), + ], + "help_text": "Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.", + "label": "Velikost", + }, + ), + 11: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("auto", "Automaticky"), + ("center", "Na stĹ™ed"), + ], + "label": "ZarovnánĂ", + }, + ), + 12: ( + "wagtail.blocks.StructBlock", + [[("headline", 8), ("tag", 9), ("style", 10), ("align", 11)]], + {}, + ), + 13: ("wagtail.blocks.CharBlock", (), {"label": "nadpis"}), + 14: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)", + "label": "obrázek", + }, + ), + 15: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("title", 13), ("picture", 14)]], + {}, + ), + 16: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "Odstavec", + }, + ), + 17: ("wagtail.blocks.ListBlock", (16,), {"label": "Odstavce"}), + 18: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)", + "label": "Obrázek", + }, + ), + 19: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("items", 17), ("picture", 18)]], + {}, + ), + 20: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "FEC900", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva pozadĂ", + }, + ), + 21: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.", + "label": "Obrázek", + "required": False, + }, + ), + 22: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje obrázek. Nelze vybrat obÄ› najednou.", + "label": "PozadĂ", + "required": False, + }, + ), + 23: ( + "wagtail.blocks.TextBlock", + (), + {"help_text": "ĹádkovánĂ je manuálnĂ.", "label": "Nadpis"}, + ), + 24: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva textu", + }, + ), + 25: ("wagtail.blocks.RichTextBlock", (), {"label": "Obsah"}), + 26: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.", + "label": "Nadpis tlaÄŤĂtka", + "required": False, + }, + ), + 27: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Odkaz tlaÄŤĂtka", "required": False}, + ), + 28: ( + "wagtail.blocks.StructBlock", + [ + [ + ("bg_color", 20), + ("image", 21), + ("background", 22), + ("title", 23), + ("title_color", 24), + ("content", 25), + ("button_text", 26), + ("button_url", 27), + ] + ], + {"label": "Karta"}, + ), + 29: ("wagtail.blocks.ListBlock", (28,), {"label": "Karty"}), + 30: ("wagtail.blocks.StructBlock", [[("cards", 29)]], {}), + 31: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "Tabulka", + "template": "styleguide2/includes/atoms/table/table.html", + }, + ), + 32: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "RozbalovacĂ tabulka", + "template": "styleguide2/includes/atoms/table/popout_table.html", + }, + ), + 33: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "obrázek", "required": True}, + ), + 34: ( + "wagtail.blocks.ListBlock", + (33,), + {"group": "3. OstatnĂ", "icon": "image", "label": "Galerie"}, + ), + 35: ( + "wagtail.blocks.StructBlock", + [[("gallery_items", 34)]], + {"label": "Galerie"}, + ), + 36: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": True}, + ), + 37: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Popisek", "required": False}, + ), + 38: ( + "wagtail.blocks.StructBlock", + [[("img", 36), ("caption", 37)]], + {}, + ), + 39: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": False}, + ), + 40: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Titulek", "required": False}, + ), + 41: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.", + "label": "Náhled videa (automatickĂ© pole)", + "required": False, + }, + ), + 42: ( + "wagtail.blocks.URLBlock", + (), + { + "help_text": "Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.", + "label": "Odkaz na video", + "required": False, + }, + ), + 43: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.", + "label": "ID videa (automatickĂ© pole)", + "required": False, + }, + ), + 44: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "label": "ZabĂrá celou šĂĹ™ku?", + "required": True, + }, + ), + 45: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ] + ], + {}, + ), + 46: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 50.04075", "label": "ZemÄ›pisná šĂĹ™ka"}, + ), + 47: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 15.77659", "label": "ZemÄ›pisná dĂ©lka"}, + ), + 48: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva špendlĂku (HEX)", + }, + ), + 49: ( + "wagtail.blocks.IntegerBlock", + (), + { + "default": 15, + "label": "VĂ˝chozĂ zoom", + "max_value": 18, + "min_value": 1, + }, + ), + 50: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("osm-mapnik", "OSM Mapnik"), + ("stadia-osm-bright", "Stadia OSM Bright"), + ("stadia-outdoors", "Stadia Outdoors"), + ("mapbox-streets", "Mapbox Streets"), + ("mapbox-outdoors", "Mapbox Outdoors"), + ("mapbox-light", "Mapbox Light"), + ("mapbox-dark", "Mapbox Dark"), + ("mapbox-satellite", "Mapbox Satellite"), + ("mapbox-pirate", "Mapbox Pirate Theme"), + ], + "label": "Styl", + }, + ), + 51: ( + "wagtail.blocks.IntegerBlock", + (), + {"label": "Výška v px", "max_value": 1000, "min_value": 100}, + ), + 52: ( + "wagtail.blocks.StructBlock", + [ + [ + ("lat", 46), + ("lon", 47), + ("hex_color", 48), + ("zoom", 49), + ("style", 50), + ("height", 51), + ] + ], + {"label": "Ĺ pendlĂk na mapÄ›"}, + ), + 53: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": True}, + ), + 54: ( + "wagtail.blocks.TextBlock", + (), + { + "help_text": "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", + "label": "Geodata", + "required": True, + }, + ), + 55: ( + "wagtail.blocks.URLBlock", + (), + {"label": "Odkaz", "required": False}, + ), + 56: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva (HEX)", + }, + ), + 57: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 53), + ("description", 37), + ("geojson", 54), + ("image", 39), + ("link", 55), + ("hex_color", 56), + ] + ], + {"required": True}, + ), + 58: ("wagtail.blocks.ListBlock", (57,), {"label": "Součásti"}), + 59: ( + "wagtail.blocks.StructBlock", + [ + [ + ("features", 58), + ("zoom", 49), + ("style", 50), + ("height", 51), + ] + ], + {"label": "Mapová kolekce"}, + ), + 60: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ] + ], + {"label": "Obsah", "required": False}, + ), + 61: ( + "wagtail.blocks.PageChooserBlock", + (), + {"label": "Stránka", "required": False}, + ), + 62: ( + "wagtail.blocks.StructBlock", + [ + [ + ("img", 39), + ("headline", 40), + ("content", 60), + ("page", 61), + ("link", 55), + ] + ], + {}, + ), + 63: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "max_length": 128, "required": True}, + ), + 64: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black", "ÄŚerná"), + ("white", "BĂlá"), + ("pirati-yellow", "Ĺ˝lutá"), + ("grey-125", "SvÄ›tle šedá"), + ("blue-300", "Modrá"), + ("cyan-200", "Tyrkysová"), + ("green-400", "Zelená"), + ("violet-400", "VĂnová"), + ("red-600", "ÄŚervená"), + ], + "label": "Barva", + }, + ), + 65: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": True, + "help_text": "Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.", + "label": "Animovat na hover", + "required": False, + }, + ), + 66: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 63), + ("color", 64), + ("hoveractive", 65), + ("page", 61), + ("link", 55), + ("align", 11), + ] + ], + {}, + ), + 67: ("wagtail.blocks.ListBlock", (66,), {"label": "TlaÄŤĂtka"}), + 68: ("wagtail.blocks.StructBlock", [[("buttons", 67)]], {}), + 69: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 69), ("right_column_content", 70)]], + {}, + ), + 72: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 73: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 69), + ("middle_column_content", 72), + ("right_column_content", 70), + ] + ], + {}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ] + ], + {"label": "YouTube video"}, + ), + 75: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 76: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + "template": "styleguide2/includes/atoms/text/prose_richtext.html", + }, + ), + 77: ( + "wagtail.blocks.StreamBlock", + [[("text", 76), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 78: ( + "wagtail.blocks.StructBlock", + [[("name", 75), ("content", 77)]], + {}, + ), + 79: ("wagtail.blocks.CharBlock", (), {"label": "Citace"}), + 80: ("wagtail.blocks.CharBlock", (), {"label": "JmĂ©no autora"}), + 81: ( + "wagtail.blocks.StructBlock", + [[("quote", 79), ("autor_name", 80)]], + {}, + ), + 82: ( + "wagtail.documents.blocks.DocumentChooserBlock", + (), + {"label": "StáhnutelnĂ˝ soubor"}, + ), + 83: ("wagtail.blocks.StructBlock", [[("file", 82)]], {}), + }, + verbose_name="ÄŚlánek", + ), ), migrations.AlterField( - model_name='mainprogrampage', - name='program', - field=wagtail.fields.StreamField([('program_group', 7), ('program_group_crossroad', 15), ('program_group_popout', 25), ('program_group_with_candidates', 139), ('elections_program', 141)], blank=True, block_lookup={0: ('wagtail.blocks.CharBlock', (), {'help_text': "NapĹ™. 'KrajskĂ© volby 2024', 'EvropskĂ© volby 2024', ...", 'label': 'Název programu'}), 1: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz pokrĂ˝vajĂcĂ celou tuto část', 'required': False}), 2: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Ikona', 'required': False}), 3: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek ÄŤlánku programu'}), 4: ('wagtail.blocks.RichTextBlock', (), {'features': ['h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Obsah'}), 5: ('wagtail.blocks.StructBlock', [[('url', 1), ('icon', 2), ('title', 3), ('text', 4)]], {}), 6: ('wagtail.blocks.ListBlock', (5,), {'label': 'JednotlivĂ© ÄŤlánky programu'}), 7: ('wagtail.blocks.StructBlock', [[('title', 0), ('point_list', 6)]], {}), 8: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek'}), 9: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 10: ('wagtail.blocks.RichTextBlock', (), {'label': 'KrátkĂ˝ text pod nadpisem', 'required': False}), 11: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'page_type': ['main.MainArticlesPage', 'main.MainArticlePage', 'main.MainProgramPage', 'main.MainPeoplePage', 'main.MainPersonPage', 'main.MainSimplePage', 'main.MainContactPage', 'main.MainCrossroadPage'], 'required': False}), 12: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 13: ('wagtail.blocks.StructBlock', [[('image', 8), ('title', 9), ('text', 10), ('page', 11), ('link', 12)]], {}), 14: ('wagtail.blocks.ListBlock', (13,), {'label': 'Karty programu'}), 15: ('wagtail.blocks.StructBlock', [[('title', 0), ('point_list', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'help_text': 'ZobrazĂ se nad pĹ™epĂnaÄŤem mezi kandidáty a programem.', 'label': 'Preambule', 'required': False}), 17: ('wagtail.blocks.CharBlock', (), {'label': 'Název'}), 18: ('wagtail.blocks.RichTextBlock', (), {'label': 'Popis', 'required': False}), 19: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek vyskakovacĂho bloku'}), 20: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Garant', 'page_type': ['district.DistrictPersonPage'], 'required': False}), 21: ('wagtail.blocks.StructBlock', [[('title', 19), ('content', 4), ('guarantor', 20)]], {}), 22: ('wagtail.blocks.ListBlock', (21,), {'label': 'JednotlivĂ© bloky programu'}), 23: ('wagtail.blocks.StructBlock', [[('name', 17), ('icon', 2), ('description', 18), ('point_list', 22)]], {}), 24: ('wagtail.blocks.ListBlock', (23,), {'label': 'Kategorie programu'}), 25: ('wagtail.blocks.StructBlock', [[('title', 0), ('preamble', 16), ('categories', 24)]], {}), 26: ('wagtail.blocks.RichTextBlock', (), {'help_text': 'Text, kterĂ˝ se zobrazĂ pĹ™ed pĹ™epĂnaÄŤem mezi kandidáty a programem.', 'label': 'Preambule', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'default': 'Kandidáti', 'label': 'Nadpis záloĹľky pro kandidáty'}), 28: ('wagtail.blocks.CharBlock', (), {'default': 'Program', 'label': 'Nadpis záloĹľky pro program'}), 29: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage']}), 30: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Pokud nenĂ vybrán, pouĹľije se obrázek ze stránky kandidáta', 'label': 'Obrázek', 'required': False}), 31: ('wagtail.blocks.StructBlock', [[('page', 29), ('image', 30), ('description', 18)]], {}), 32: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis'}), 33: ('wagtail.blocks.CharBlock', (), {'label': 'Podnadpis', 'required': False}), 34: ('wagtail.blocks.CharBlock', (), {'label': 'PovolánĂ', 'required': False}), 35: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 36: ('wagtail.blocks.CharBlock', (), {'default': 'Zjisti vĂce', 'help_text': 'Pokud nenĂ vyplnÄ›no, odkaz tlaÄŤĂtka se nezobrazĂ', 'label': 'Text tlaÄŤĂtka', 'required': False}), 37: ('wagtail.blocks.StructBlock', [[('title', 32), ('subtitle', 33), ('job', 34), ('image', 30), ('description', 18), ('button_url', 35), ('button_text', 36)]], {}), 38: ('wagtail.blocks.StreamBlock', [[('candidate', 31), ('custom_candidate', 37)]], {'label': ' ', 'required': False}), 39: ('wagtail.blocks.StructBlock', [[('stream_candidates', 38)]], {'help_text': 'ZobrazĂ se ve velkĂ˝ch blocĂch na začátku stránky.', 'label': 'Osoby na ÄŤele kandidátky'}), 40: ('wagtail.blocks.CharBlock', (), {'default': 'OstatnĂ kandidáti', 'label': ' ', 'required': False}), 41: ('wagtail.blocks.CharBlock', (), {'label': 'ÄŚĂslo'}), 42: ('wagtail.blocks.StructBlock', [[('number', 41), ('page', 29), ('image', 30)]], {}), 43: ('wagtail.blocks.ListBlock', (42,), {'default': [], 'label': ' ', 'min_num': 0}), 44: ('wagtail.blocks.StructBlock', [[('heading', 40), ('candidates', 43)]], {'help_text': 'ZobrazĂ se v kompaktnĂm seznamu pod ÄŤelem kandidátky. NĂĹľe mĹŻĹľeš zmÄ›nit nadpis.', 'label': 'OstatnĂ osoby na kandidátce'}), 45: ('wagtail.blocks.CharBlock', (), {'help_text': "NapĹ™. 'VolebnĂ noviny'", 'label': 'Název sekce'}), 46: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 47: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 48: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 49: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 50: ('wagtail.blocks.StructBlock', [[('align', 47), ('color', 48), ('text', 49)]], {}), 51: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 52: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 53: ('wagtail.blocks.StructBlock', [[('left_text', 51), ('right_text', 52)]], {}), 54: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 55: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 56: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 57: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 58: ('wagtail.blocks.StructBlock', [[('headline', 54), ('tag', 55), ('style', 56), ('align', 57)]], {}), 59: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 60: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 61: ('wagtail.blocks.StructBlock', [[('color', 48), ('title', 59), ('picture', 60)]], {}), 62: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 63: ('wagtail.blocks.ListBlock', (62,), {'label': 'Odstavce'}), 64: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 65: ('wagtail.blocks.StructBlock', [[('color', 48), ('items', 63), ('picture', 64)]], {}), 66: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 67: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 68: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 69: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 70: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 71: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 72: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 73: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 74: ('wagtail.blocks.StructBlock', [[('bg_color', 66), ('image', 67), ('background', 68), ('title', 69), ('title_color', 70), ('content', 71), ('button_text', 72), ('button_url', 73)]], {'label': 'Karta'}), 75: ('wagtail.blocks.ListBlock', (74,), {'label': 'Karty'}), 76: ('wagtail.blocks.StructBlock', [[('cards', 75)]], {}), 77: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 78: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 79: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 80: ('wagtail.blocks.ListBlock', (79,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 81: ('wagtail.blocks.StructBlock', [[('gallery_items', 80)]], {'label': 'Galerie'}), 82: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 83: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 84: ('wagtail.blocks.StructBlock', [[('img', 82), ('caption', 83)]], {}), 85: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 86: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 87: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 88: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 89: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 90: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 91: ('wagtail.blocks.StructBlock', [[('poster_image', 87), ('video_url', 88), ('video_id', 89), ('is_full_width', 90)]], {}), 92: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 93: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 94: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 95: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 96: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('osm-mapnik', 'OSM Mapnik'), ('stadia-osm-bright', 'Stadia OSM Bright'), ('stadia-outdoors', 'Stadia Outdoors'), ('mapbox-streets', 'Mapbox Streets'), ('mapbox-outdoors', 'Mapbox Outdoors'), ('mapbox-light', 'Mapbox Light'), ('mapbox-dark', 'Mapbox Dark'), ('mapbox-satellite', 'Mapbox Satellite'), ('mapbox-pirate', 'Mapbox Pirate Theme')], 'label': 'Styl'}), 97: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 98: ('wagtail.blocks.StructBlock', [[('lat', 92), ('lon', 93), ('hex_color', 94), ('zoom', 95), ('style', 96), ('height', 97)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 99: ('wagtail.blocks.TextBlock', (), {'help_text': "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", 'label': 'Geodata', 'required': True}), 100: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 101: ('wagtail.blocks.StructBlock', [[('title', 9), ('description', 83), ('geojson', 99), ('image', 85), ('link', 12), ('hex_color', 100)]], {'required': True}), 102: ('wagtail.blocks.ListBlock', (101,), {'label': 'Součásti'}), 103: ('wagtail.blocks.StructBlock', [[('features', 102), ('zoom', 95), ('style', 96), ('height', 97)]], {'label': 'Mapová kolekce'}), 104: ('wagtail.blocks.StreamBlock', [[('text', 49), ('table', 77), ('figure', 84), ('youtube', 91), ('map_point', 98), ('map_collection', 103)]], {'label': 'Obsah', 'required': False}), 105: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 106: ('wagtail.blocks.StructBlock', [[('img', 85), ('headline', 86), ('content', 104), ('page', 105), ('link', 12)]], {}), 107: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 108: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black', 'ÄŚerná'), ('white', 'BĂlá'), ('pirati-yellow', 'Ĺ˝lutá'), ('grey-125', 'SvÄ›tle šedá'), ('blue-300', 'Modrá'), ('cyan-200', 'Tyrkysová'), ('green-400', 'Zelená'), ('violet-400', 'VĂnová'), ('red-600', 'ÄŚervená')], 'label': 'Barva'}), 109: ('wagtail.blocks.BooleanBlock', (), {'default': True, 'help_text': 'Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.', 'label': 'Animovat na hover', 'required': False}), 110: ('wagtail.blocks.StructBlock', [[('title', 107), ('color', 108), ('hoveractive', 109), ('page', 105), ('link', 12), ('align', 57)]], {}), 111: ('wagtail.blocks.ListBlock', (110,), {'label': 'TlaÄŤĂtka'}), 112: ('wagtail.blocks.StructBlock', [[('buttons', 111)]], {}), 113: ('wagtail.blocks.StreamBlock', [[('text', 49), ('table', 77), ('card', 106), ('figure', 84), ('youtube', 91), ('map_point', 98), ('map_collection', 103), ('button', 110), ('button_group', 112)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 114: ('wagtail.blocks.StreamBlock', [[('text', 49), ('table', 77), ('card', 106), ('figure', 84), ('youtube', 91), ('map_point', 98), ('map_collection', 103), ('button', 110), ('button_group', 112)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 115: ('wagtail.blocks.StructBlock', [[('left_column_content', 113), ('right_column_content', 114)]], {}), 116: ('wagtail.blocks.StreamBlock', [[('text', 49), ('table', 77), ('card', 106), ('figure', 84), ('youtube', 91), ('map_point', 98), ('map_collection', 103), ('button', 110), ('button_group', 112)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 117: ('wagtail.blocks.StructBlock', [[('left_column_content', 113), ('middle_column_content', 116), ('right_column_content', 114)]], {}), 118: ('wagtail.blocks.StructBlock', [[('poster_image', 87), ('video_url', 88), ('video_id', 89), ('is_full_width', 90)]], {'label': 'YouTube video'}), 119: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 120: ('wagtail.blocks.StreamBlock', [[('text', 46), ('headline', 58), ('table', 77)]], {'label': 'Obsah'}), 121: ('wagtail.blocks.StructBlock', [[('name', 119), ('content', 120)]], {}), 122: ('wagtail.blocks.StreamBlock', [[('text', 46), ('advanced_text', 50), ('two_columns_text', 53), ('headline', 58), ('headline_with_picture', 61), ('picture_list', 65), ('flip_cards', 76), ('table', 77), ('popout_table', 78), ('gallery', 81), ('figure', 84), ('card', 106), ('two_columns', 115), ('three_columns', 117), ('youtube', 118), ('map_point', 98), ('map_collection', 103), ('button', 110), ('button_group', 112), ('popout_point', 121)]], {'label': 'Obsah'}), 123: ('wagtail.blocks.StructBlock', [[('title', 45), ('child_blocks', 122)]], {}), 124: ('wagtail.blocks.ListBlock', (123,), {'default': [], 'help_text': 'PouĹľitelnĂ© napĹ™. pro zobrazenĂ volebnĂch novin na separátnĂ záloĹľce stránky s programem.', 'label': 'OstatnĂ záloĹľky', 'min_num': 0}), 125: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz'}), 126: ('wagtail.blocks.StructBlock', [[('text', 17), ('link', 125)]], {'label': 'Odkaz'}), 127: ('wagtail.blocks.ListBlock', (126,), {'default': [], 'help_text': 'Odkazy na jinĂ© části stránky, kterĂ© se zobrazĂ jako záloĹľka nahoĹ™e.', 'label': 'Odkazy zobrazenĂ© jako záloĹľky', 'min_num': 0}), 128: ('wagtail.blocks.CharBlock', (), {'default': 'Program', 'help_text': "NapĹ™. 'Program'", 'label': 'Nadpis'}), 129: ('wagtail.blocks.IntegerBlock', (), {'label': 'ÄŚĂslo'}), 130: ('wagtail.blocks.TextBlock', (), {'label': 'Obsah'}), 131: ('wagtail.blocks.StructBlock', [[('content', 130)]], {}), 132: ('wagtail.blocks.ListBlock', (131,), {'label': 'Body'}), 133: ('wagtail.blocks.StructBlock', [[('number', 129), ('name', 17), ('points', 132)]], {}), 134: ('wagtail.blocks.ListBlock', (133,), {'label': 'Kategorie'}), 135: ('wagtail.blocks.URLBlock', (), {'help_text': 'Pro zobrazenĂ odkazu na celou verzi programu musĂ bĂ˝t obÄ› následujĂcĂ pole vyplnÄ›ná.', 'label': 'Odkaz na celou verzi programu', 'required': False}), 136: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis odkazu na celou verzi programu', 'required': False}), 137: ('wagtail.blocks.StructBlock', [[('label', 128), ('categories', 134), ('long_version_url', 135), ('long_version_text', 136)]], {'template': 'styleguide2/includes/molecules/program/program_block.html'}), 138: ('wagtail.blocks.StreamBlock', [[('program_group', 7), ('program_group_crossroad', 15), ('program_group_popout', 25), ('carousel_program', 137)]], {'required': False}), 139: ('wagtail.blocks.StructBlock', [[('title', 0), ('preamble_content', 26), ('candidates_title', 27), ('program_title', 28), ('primary_candidates', 39), ('secondary_candidates', 44), ('other_views', 124), ('tab_links', 127), ('program', 138)]], {}), 140: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'page_type': ['elections.ElectionsFullProgramPage'], 'required': False}), 141: ('wagtail.blocks.StructBlock', [[('title', 0), ('program_page', 140)]], {})}, verbose_name='Programy'), + model_name="mainprogrampage", + name="program", + field=wagtail.fields.StreamField( + [ + ("program_group", 7), + ("program_group_crossroad", 15), + ("program_group_popout", 25), + ("program_group_with_candidates", 139), + ("elections_program", 141), + ], + blank=True, + block_lookup={ + 0: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NapĹ™. 'KrajskĂ© volby 2024', 'EvropskĂ© volby 2024', ...", + "label": "Název programu", + }, + ), + 1: ( + "wagtail.blocks.URLBlock", + (), + { + "label": "Odkaz pokrĂ˝vajĂcĂ celou tuto část", + "required": False, + }, + ), + 2: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Ikona", "required": False}, + ), + 3: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek ÄŤlánku programu"}, + ), + 4: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "Obsah", + }, + ), + 5: ( + "wagtail.blocks.StructBlock", + [[("url", 1), ("icon", 2), ("title", 3), ("text", 4)]], + {}, + ), + 6: ( + "wagtail.blocks.ListBlock", + (5,), + {"label": "JednotlivĂ© ÄŤlánky programu"}, + ), + 7: ( + "wagtail.blocks.StructBlock", + [[("title", 0), ("point_list", 6)]], + {}, + ), + 8: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek"}, + ), + 9: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": True}, + ), + 10: ( + "wagtail.blocks.RichTextBlock", + (), + {"label": "KrátkĂ˝ text pod nadpisem", "required": False}, + ), + 11: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Stránka", + "page_type": [ + "main.MainArticlesPage", + "main.MainArticlePage", + "main.MainProgramPage", + "main.MainPeoplePage", + "main.MainPersonPage", + "main.MainSimplePage", + "main.MainContactPage", + "main.MainCrossroadPage", + ], + "required": False, + }, + ), + 12: ( + "wagtail.blocks.URLBlock", + (), + {"label": "Odkaz", "required": False}, + ), + 13: ( + "wagtail.blocks.StructBlock", + [ + [ + ("image", 8), + ("title", 9), + ("text", 10), + ("page", 11), + ("link", 12), + ] + ], + {}, + ), + 14: ( + "wagtail.blocks.ListBlock", + (13,), + {"label": "Karty programu"}, + ), + 15: ( + "wagtail.blocks.StructBlock", + [[("title", 0), ("point_list", 14)]], + {}, + ), + 16: ( + "wagtail.blocks.RichTextBlock", + (), + { + "help_text": "ZobrazĂ se nad pĹ™epĂnaÄŤem mezi kandidáty a programem.", + "label": "Preambule", + "required": False, + }, + ), + 17: ("wagtail.blocks.CharBlock", (), {"label": "Název"}), + 18: ( + "wagtail.blocks.RichTextBlock", + (), + {"label": "Popis", "required": False}, + ), + 19: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek vyskakovacĂho bloku"}, + ), + 20: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Garant", + "page_type": ["district.DistrictPersonPage"], + "required": False, + }, + ), + 21: ( + "wagtail.blocks.StructBlock", + [[("title", 19), ("content", 4), ("guarantor", 20)]], + {}, + ), + 22: ( + "wagtail.blocks.ListBlock", + (21,), + {"label": "JednotlivĂ© bloky programu"}, + ), + 23: ( + "wagtail.blocks.StructBlock", + [ + [ + ("name", 17), + ("icon", 2), + ("description", 18), + ("point_list", 22), + ] + ], + {}, + ), + 24: ( + "wagtail.blocks.ListBlock", + (23,), + {"label": "Kategorie programu"}, + ), + 25: ( + "wagtail.blocks.StructBlock", + [[("title", 0), ("preamble", 16), ("categories", 24)]], + {}, + ), + 26: ( + "wagtail.blocks.RichTextBlock", + (), + { + "help_text": "Text, kterĂ˝ se zobrazĂ pĹ™ed pĹ™epĂnaÄŤem mezi kandidáty a programem.", + "label": "Preambule", + "required": False, + }, + ), + 27: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "Kandidáti", + "label": "Nadpis záloĹľky pro kandidáty", + }, + ), + 28: ( + "wagtail.blocks.CharBlock", + (), + {"default": "Program", "label": "Nadpis záloĹľky pro program"}, + ), + 29: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Stránka", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + ], + }, + ), + 30: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Pokud nenĂ vybrán, pouĹľije se obrázek ze stránky kandidáta", + "label": "Obrázek", + "required": False, + }, + ), + 31: ( + "wagtail.blocks.StructBlock", + [[("page", 29), ("image", 30), ("description", 18)]], + {}, + ), + 32: ("wagtail.blocks.CharBlock", (), {"label": "Nadpis"}), + 33: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Podnadpis", "required": False}, + ), + 34: ( + "wagtail.blocks.CharBlock", + (), + {"label": "PovolánĂ", "required": False}, + ), + 35: ( + "wagtail.blocks.URLBlock", + (), + {"label": "Odkaz tlaÄŤĂtka", "required": False}, + ), + 36: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "Zjisti vĂce", + "help_text": "Pokud nenĂ vyplnÄ›no, odkaz tlaÄŤĂtka se nezobrazĂ", + "label": "Text tlaÄŤĂtka", + "required": False, + }, + ), + 37: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 32), + ("subtitle", 33), + ("job", 34), + ("image", 30), + ("description", 18), + ("button_url", 35), + ("button_text", 36), + ] + ], + {}, + ), + 38: ( + "wagtail.blocks.StreamBlock", + [[("candidate", 31), ("custom_candidate", 37)]], + {"label": " ", "required": False}, + ), + 39: ( + "wagtail.blocks.StructBlock", + [[("stream_candidates", 38)]], + { + "help_text": "ZobrazĂ se ve velkĂ˝ch blocĂch na začátku stránky.", + "label": "Osoby na ÄŤele kandidátky", + }, + ), + 40: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "OstatnĂ kandidáti", + "label": " ", + "required": False, + }, + ), + 41: ("wagtail.blocks.CharBlock", (), {"label": "ÄŚĂslo"}), + 42: ( + "wagtail.blocks.StructBlock", + [[("number", 41), ("page", 29), ("image", 30)]], + {}, + ), + 43: ( + "wagtail.blocks.ListBlock", + (42,), + {"default": [], "label": " ", "min_num": 0}, + ), + 44: ( + "wagtail.blocks.StructBlock", + [[("heading", 40), ("candidates", 43)]], + { + "help_text": "ZobrazĂ se v kompaktnĂm seznamu pod ÄŤelem kandidátky. NĂĹľe mĹŻĹľeš zmÄ›nit nadpis.", + "label": "OstatnĂ osoby na kandidátce", + }, + ), + 45: ( + "wagtail.blocks.CharBlock", + (), + {"help_text": "NapĹ™. 'VolebnĂ noviny'", "label": "Název sekce"}, + ), + 46: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + "template": "styleguide2/includes/atoms/text/prose_richtext.html", + }, + ), + 47: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("left", "vlevo"), + ("center", "uprostĹ™ed"), + ("right", "vpravo"), + ], + "label": "zarovnánĂ", + }, + ), + 48: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black_on_white", "ÄŤerná na bĂlĂ©"), + ("black_on_yellow", "ÄŤerná na ĹľlutĂ©"), + ("white_on_black", "bĂlá na ÄŤernĂ©"), + ("white_on_blue", "bĂlá na modrĂ©"), + ("white_on_cyan", "bĂlá na tyrkysovĂ©"), + ("white_on_violet", "bĂlá na fialovĂ©"), + ], + "label": "barva", + }, + ), + 49: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + }, + ), + 50: ( + "wagtail.blocks.StructBlock", + [[("align", 47), ("color", 48), ("text", 49)]], + {}, + ), + 51: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "levĂ˝ sloupec", + }, + ), + 52: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "pravĂ˝ sloupec", + }, + ), + 53: ( + "wagtail.blocks.StructBlock", + [[("left_text", 51), ("right_text", 52)]], + {}, + ), + 54: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Nadpis", "max_length": 300, "required": True}, + ), + 55: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("h1", "H1"), + ("h2", "H2"), + ("h3", "H3"), + ("h4", "H4"), + ("h5", "H5"), + ("h6", "H6"), + ], + "help_text": "ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.", + "label": "ĂšroveĹ nadpisu", + }, + ), + 56: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("head-alt-xl", "VelkĂ˝, Bebas Neue - 6XL"), + ("head-alt-lg", "StĹ™ednĂ, Bebas Neue - 4XL"), + ("head-alt-md", "ZákladnĂ velikost - Roboto - MD"), + ("head-alt-sm", "MalĂ˝ - Roboto - SM"), + ("head-alt-xs", "Extra malĂ˝ - Roboto - XS"), + ], + "help_text": "Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.", + "label": "Velikost", + }, + ), + 57: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("auto", "Automaticky"), + ("center", "Na stĹ™ed"), + ], + "label": "ZarovnánĂ", + }, + ), + 58: ( + "wagtail.blocks.StructBlock", + [[("headline", 54), ("tag", 55), ("style", 56), ("align", 57)]], + {}, + ), + 59: ("wagtail.blocks.CharBlock", (), {"label": "nadpis"}), + 60: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)", + "label": "obrázek", + }, + ), + 61: ( + "wagtail.blocks.StructBlock", + [[("color", 48), ("title", 59), ("picture", 60)]], + {}, + ), + 62: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "Odstavec", + }, + ), + 63: ("wagtail.blocks.ListBlock", (62,), {"label": "Odstavce"}), + 64: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)", + "label": "Obrázek", + }, + ), + 65: ( + "wagtail.blocks.StructBlock", + [[("color", 48), ("items", 63), ("picture", 64)]], + {}, + ), + 66: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "FEC900", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva pozadĂ", + }, + ), + 67: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.", + "label": "Obrázek", + "required": False, + }, + ), + 68: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje obrázek. Nelze vybrat obÄ› najednou.", + "label": "PozadĂ", + "required": False, + }, + ), + 69: ( + "wagtail.blocks.TextBlock", + (), + {"help_text": "ĹádkovánĂ je manuálnĂ.", "label": "Nadpis"}, + ), + 70: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva textu", + }, + ), + 71: ("wagtail.blocks.RichTextBlock", (), {"label": "Obsah"}), + 72: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.", + "label": "Nadpis tlaÄŤĂtka", + "required": False, + }, + ), + 73: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Odkaz tlaÄŤĂtka", "required": False}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("bg_color", 66), + ("image", 67), + ("background", 68), + ("title", 69), + ("title_color", 70), + ("content", 71), + ("button_text", 72), + ("button_url", 73), + ] + ], + {"label": "Karta"}, + ), + 75: ("wagtail.blocks.ListBlock", (74,), {"label": "Karty"}), + 76: ("wagtail.blocks.StructBlock", [[("cards", 75)]], {}), + 77: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "Tabulka", + "template": "styleguide2/includes/atoms/table/table.html", + }, + ), + 78: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "RozbalovacĂ tabulka", + "template": "styleguide2/includes/atoms/table/popout_table.html", + }, + ), + 79: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "obrázek", "required": True}, + ), + 80: ( + "wagtail.blocks.ListBlock", + (79,), + {"group": "3. OstatnĂ", "icon": "image", "label": "Galerie"}, + ), + 81: ( + "wagtail.blocks.StructBlock", + [[("gallery_items", 80)]], + {"label": "Galerie"}, + ), + 82: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": True}, + ), + 83: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Popisek", "required": False}, + ), + 84: ( + "wagtail.blocks.StructBlock", + [[("img", 82), ("caption", 83)]], + {}, + ), + 85: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": False}, + ), + 86: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Titulek", "required": False}, + ), + 87: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.", + "label": "Náhled videa (automatickĂ© pole)", + "required": False, + }, + ), + 88: ( + "wagtail.blocks.URLBlock", + (), + { + "help_text": "Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.", + "label": "Odkaz na video", + "required": False, + }, + ), + 89: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.", + "label": "ID videa (automatickĂ© pole)", + "required": False, + }, + ), + 90: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "label": "ZabĂrá celou šĂĹ™ku?", + "required": True, + }, + ), + 91: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 87), + ("video_url", 88), + ("video_id", 89), + ("is_full_width", 90), + ] + ], + {}, + ), + 92: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 50.04075", "label": "ZemÄ›pisná šĂĹ™ka"}, + ), + 93: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 15.77659", "label": "ZemÄ›pisná dĂ©lka"}, + ), + 94: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva špendlĂku (HEX)", + }, + ), + 95: ( + "wagtail.blocks.IntegerBlock", + (), + { + "default": 15, + "label": "VĂ˝chozĂ zoom", + "max_value": 18, + "min_value": 1, + }, + ), + 96: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("osm-mapnik", "OSM Mapnik"), + ("stadia-osm-bright", "Stadia OSM Bright"), + ("stadia-outdoors", "Stadia Outdoors"), + ("mapbox-streets", "Mapbox Streets"), + ("mapbox-outdoors", "Mapbox Outdoors"), + ("mapbox-light", "Mapbox Light"), + ("mapbox-dark", "Mapbox Dark"), + ("mapbox-satellite", "Mapbox Satellite"), + ("mapbox-pirate", "Mapbox Pirate Theme"), + ], + "label": "Styl", + }, + ), + 97: ( + "wagtail.blocks.IntegerBlock", + (), + {"label": "Výška v px", "max_value": 1000, "min_value": 100}, + ), + 98: ( + "wagtail.blocks.StructBlock", + [ + [ + ("lat", 92), + ("lon", 93), + ("hex_color", 94), + ("zoom", 95), + ("style", 96), + ("height", 97), + ] + ], + {"label": "Ĺ pendlĂk na mapÄ›"}, + ), + 99: ( + "wagtail.blocks.TextBlock", + (), + { + "help_text": "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", + "label": "Geodata", + "required": True, + }, + ), + 100: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva (HEX)", + }, + ), + 101: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 9), + ("description", 83), + ("geojson", 99), + ("image", 85), + ("link", 12), + ("hex_color", 100), + ] + ], + {"required": True}, + ), + 102: ("wagtail.blocks.ListBlock", (101,), {"label": "Součásti"}), + 103: ( + "wagtail.blocks.StructBlock", + [ + [ + ("features", 102), + ("zoom", 95), + ("style", 96), + ("height", 97), + ] + ], + {"label": "Mapová kolekce"}, + ), + 104: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 49), + ("table", 77), + ("figure", 84), + ("youtube", 91), + ("map_point", 98), + ("map_collection", 103), + ] + ], + {"label": "Obsah", "required": False}, + ), + 105: ( + "wagtail.blocks.PageChooserBlock", + (), + {"label": "Stránka", "required": False}, + ), + 106: ( + "wagtail.blocks.StructBlock", + [ + [ + ("img", 85), + ("headline", 86), + ("content", 104), + ("page", 105), + ("link", 12), + ] + ], + {}, + ), + 107: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "max_length": 128, "required": True}, + ), + 108: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black", "ÄŚerná"), + ("white", "BĂlá"), + ("pirati-yellow", "Ĺ˝lutá"), + ("grey-125", "SvÄ›tle šedá"), + ("blue-300", "Modrá"), + ("cyan-200", "Tyrkysová"), + ("green-400", "Zelená"), + ("violet-400", "VĂnová"), + ("red-600", "ÄŚervená"), + ], + "label": "Barva", + }, + ), + 109: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": True, + "help_text": "Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.", + "label": "Animovat na hover", + "required": False, + }, + ), + 110: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 107), + ("color", 108), + ("hoveractive", 109), + ("page", 105), + ("link", 12), + ("align", 57), + ] + ], + {}, + ), + 111: ("wagtail.blocks.ListBlock", (110,), {"label": "TlaÄŤĂtka"}), + 112: ("wagtail.blocks.StructBlock", [[("buttons", 111)]], {}), + 113: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 49), + ("table", 77), + ("card", 106), + ("figure", 84), + ("youtube", 91), + ("map_point", 98), + ("map_collection", 103), + ("button", 110), + ("button_group", 112), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 114: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 49), + ("table", 77), + ("card", 106), + ("figure", 84), + ("youtube", 91), + ("map_point", 98), + ("map_collection", 103), + ("button", 110), + ("button_group", 112), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 115: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 113), ("right_column_content", 114)]], + {}, + ), + 116: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 49), + ("table", 77), + ("card", 106), + ("figure", 84), + ("youtube", 91), + ("map_point", 98), + ("map_collection", 103), + ("button", 110), + ("button_group", 112), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 117: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 113), + ("middle_column_content", 116), + ("right_column_content", 114), + ] + ], + {}, + ), + 118: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 87), + ("video_url", 88), + ("video_id", 89), + ("is_full_width", 90), + ] + ], + {"label": "YouTube video"}, + ), + 119: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 120: ( + "wagtail.blocks.StreamBlock", + [[("text", 46), ("headline", 58), ("table", 77)]], + {"label": "Obsah"}, + ), + 121: ( + "wagtail.blocks.StructBlock", + [[("name", 119), ("content", 120)]], + {}, + ), + 122: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 46), + ("advanced_text", 50), + ("two_columns_text", 53), + ("headline", 58), + ("headline_with_picture", 61), + ("picture_list", 65), + ("flip_cards", 76), + ("table", 77), + ("popout_table", 78), + ("gallery", 81), + ("figure", 84), + ("card", 106), + ("two_columns", 115), + ("three_columns", 117), + ("youtube", 118), + ("map_point", 98), + ("map_collection", 103), + ("button", 110), + ("button_group", 112), + ("popout_point", 121), + ] + ], + {"label": "Obsah"}, + ), + 123: ( + "wagtail.blocks.StructBlock", + [[("title", 45), ("child_blocks", 122)]], + {}, + ), + 124: ( + "wagtail.blocks.ListBlock", + (123,), + { + "default": [], + "help_text": "PouĹľitelnĂ© napĹ™. pro zobrazenĂ volebnĂch novin na separátnĂ záloĹľce stránky s programem.", + "label": "OstatnĂ záloĹľky", + "min_num": 0, + }, + ), + 125: ("wagtail.blocks.URLBlock", (), {"label": "Odkaz"}), + 126: ( + "wagtail.blocks.StructBlock", + [[("text", 17), ("link", 125)]], + {"label": "Odkaz"}, + ), + 127: ( + "wagtail.blocks.ListBlock", + (126,), + { + "default": [], + "help_text": "Odkazy na jinĂ© části stránky, kterĂ© se zobrazĂ jako záloĹľka nahoĹ™e.", + "label": "Odkazy zobrazenĂ© jako záloĹľky", + "min_num": 0, + }, + ), + 128: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "Program", + "help_text": "NapĹ™. 'Program'", + "label": "Nadpis", + }, + ), + 129: ("wagtail.blocks.IntegerBlock", (), {"label": "ÄŚĂslo"}), + 130: ("wagtail.blocks.TextBlock", (), {"label": "Obsah"}), + 131: ("wagtail.blocks.StructBlock", [[("content", 130)]], {}), + 132: ("wagtail.blocks.ListBlock", (131,), {"label": "Body"}), + 133: ( + "wagtail.blocks.StructBlock", + [[("number", 129), ("name", 17), ("points", 132)]], + {}, + ), + 134: ("wagtail.blocks.ListBlock", (133,), {"label": "Kategorie"}), + 135: ( + "wagtail.blocks.URLBlock", + (), + { + "help_text": "Pro zobrazenĂ odkazu na celou verzi programu musĂ bĂ˝t obÄ› následujĂcĂ pole vyplnÄ›ná.", + "label": "Odkaz na celou verzi programu", + "required": False, + }, + ), + 136: ( + "wagtail.blocks.CharBlock", + (), + { + "label": "Nadpis odkazu na celou verzi programu", + "required": False, + }, + ), + 137: ( + "wagtail.blocks.StructBlock", + [ + [ + ("label", 128), + ("categories", 134), + ("long_version_url", 135), + ("long_version_text", 136), + ] + ], + { + "template": "styleguide2/includes/molecules/program/program_block.html" + }, + ), + 138: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("program_group", 7), + ("program_group_crossroad", 15), + ("program_group_popout", 25), + ("carousel_program", 137), + ] + ], + {"required": False}, + ), + 139: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 0), + ("preamble_content", 26), + ("candidates_title", 27), + ("program_title", 28), + ("primary_candidates", 39), + ("secondary_candidates", 44), + ("other_views", 124), + ("tab_links", 127), + ("program", 138), + ] + ], + {}, + ), + 140: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Stránka", + "page_type": ["elections.ElectionsFullProgramPage"], + "required": False, + }, + ), + 141: ( + "wagtail.blocks.StructBlock", + [[("title", 0), ("program_page", 140)]], + {}, + ), + }, + verbose_name="Programy", + ), ), ] diff --git a/main/migrations/0150_alter_mainarticlepage_content_and_more.py b/main/migrations/0150_alter_mainarticlepage_content_and_more.py index aea9c7c4897cf43138f7246ee60cd6e288e4f1f0..ab5a583dab67a872a1ab451433ed492fd431823b 100644 --- a/main/migrations/0150_alter_mainarticlepage_content_and_more.py +++ b/main/migrations/0150_alter_mainarticlepage_content_and_more.py @@ -5,20 +5,2020 @@ from django.db import migrations class Migration(migrations.Migration): - dependencies = [ - ('main', '0149_alter_mainarticlepage_content_and_more'), + ("main", "0149_alter_mainarticlepage_content_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', 72), ('three_columns', 74), ('youtube', 75), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69), ('popout_point', 79), ('quote', 82), ('download', 84)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.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': True}), 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.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11)]], {}), 68: ('wagtail.blocks.ListBlock', (67,), {'label': 'TlaÄŤĂtka'}), 69: ('wagtail.blocks.StructBlock', [[('buttons', 68)]], {}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('right_column_content', 71)]], {}), 73: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 74: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('middle_column_content', 73), ('right_column_content', 71)]], {}), 75: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 76: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 77: ('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'}), 78: ('wagtail.blocks.StreamBlock', [[('text', 77), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 79: ('wagtail.blocks.StructBlock', [[('name', 76), ('content', 78)]], {}), 80: ('wagtail.blocks.CharBlock', (), {'label': 'Citace'}), 81: ('wagtail.blocks.CharBlock', (), {'label': 'JmĂ©no autora'}), 82: ('wagtail.blocks.StructBlock', [[('quote', 80), ('autor_name', 81)]], {}), 83: ('wagtail.documents.blocks.DocumentChooserBlock', (), {'label': 'StáhnutelnĂ˝ soubor'}), 84: ('wagtail.blocks.StructBlock', [[('file', 83)]], {})}, 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", 72), + ("three_columns", 74), + ("youtube", 75), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ("popout_point", 79), + ("quote", 82), + ("download", 84), + ], + blank=True, + block_lookup={ + 0: ( + "wagtail.blocks.RichTextBlock", + (), + { + "template": "styleguide2/includes/atoms/text/prose_richtext.html" + }, + ), + 1: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("left", "vlevo"), + ("center", "uprostĹ™ed"), + ("right", "vpravo"), + ], + "label": "zarovnánĂ", + }, + ), + 2: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black_on_white", "ÄŤerná na bĂlĂ©"), + ("black_on_yellow", "ÄŤerná na ĹľlutĂ©"), + ("white_on_black", "bĂlá na ÄŤernĂ©"), + ("white_on_blue", "bĂlá na modrĂ©"), + ("white_on_cyan", "bĂlá na tyrkysovĂ©"), + ("white_on_violet", "bĂlá na fialovĂ©"), + ], + "label": "barva", + }, + ), + 3: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + }, + ), + 4: ( + "wagtail.blocks.StructBlock", + [[("align", 1), ("color", 2), ("text", 3)]], + {}, + ), + 5: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "levĂ˝ sloupec", + }, + ), + 6: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "pravĂ˝ sloupec", + }, + ), + 7: ( + "wagtail.blocks.StructBlock", + [[("left_text", 5), ("right_text", 6)]], + {}, + ), + 8: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Nadpis", "max_length": 300, "required": True}, + ), + 9: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("h1", "H1"), + ("h2", "H2"), + ("h3", "H3"), + ("h4", "H4"), + ("h5", "H5"), + ("h6", "H6"), + ], + "help_text": "ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.", + "label": "ĂšroveĹ nadpisu", + }, + ), + 10: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("head-alt-xl", "VelkĂ˝, Bebas Neue - 6XL"), + ("head-alt-lg", "StĹ™ednĂ, Bebas Neue - 4XL"), + ("head-alt-md", "ZákladnĂ velikost - Roboto - MD"), + ("head-alt-sm", "MalĂ˝ - Roboto - SM"), + ("head-alt-xs", "Extra malĂ˝ - Roboto - XS"), + ], + "help_text": "Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.", + "label": "Velikost", + }, + ), + 11: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("auto", "Automaticky"), + ("center", "Na stĹ™ed"), + ], + "label": "ZarovnánĂ", + }, + ), + 12: ( + "wagtail.blocks.StructBlock", + [[("headline", 8), ("tag", 9), ("style", 10), ("align", 11)]], + {}, + ), + 13: ("wagtail.blocks.CharBlock", (), {"label": "nadpis"}), + 14: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)", + "label": "obrázek", + }, + ), + 15: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("title", 13), ("picture", 14)]], + {}, + ), + 16: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "Odstavec", + }, + ), + 17: ("wagtail.blocks.ListBlock", (16,), {"label": "Odstavce"}), + 18: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)", + "label": "Obrázek", + }, + ), + 19: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("items", 17), ("picture", 18)]], + {}, + ), + 20: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "FEC900", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva pozadĂ", + }, + ), + 21: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.", + "label": "Obrázek", + "required": False, + }, + ), + 22: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje obrázek. Nelze vybrat obÄ› najednou.", + "label": "PozadĂ", + "required": False, + }, + ), + 23: ( + "wagtail.blocks.TextBlock", + (), + {"help_text": "ĹádkovánĂ je manuálnĂ.", "label": "Nadpis"}, + ), + 24: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva textu", + }, + ), + 25: ("wagtail.blocks.RichTextBlock", (), {"label": "Obsah"}), + 26: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.", + "label": "Nadpis tlaÄŤĂtka", + "required": False, + }, + ), + 27: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Odkaz tlaÄŤĂtka", "required": False}, + ), + 28: ( + "wagtail.blocks.StructBlock", + [ + [ + ("bg_color", 20), + ("image", 21), + ("background", 22), + ("title", 23), + ("title_color", 24), + ("content", 25), + ("button_text", 26), + ("button_url", 27), + ] + ], + {"label": "Karta"}, + ), + 29: ("wagtail.blocks.ListBlock", (28,), {"label": "Karty"}), + 30: ("wagtail.blocks.StructBlock", [[("cards", 29)]], {}), + 31: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "Tabulka", + "template": "styleguide2/includes/atoms/table/table.html", + }, + ), + 32: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "RozbalovacĂ tabulka", + "template": "styleguide2/includes/atoms/table/popout_table.html", + }, + ), + 33: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "obrázek", "required": True}, + ), + 34: ( + "wagtail.blocks.ListBlock", + (33,), + {"group": "3. OstatnĂ", "icon": "image", "label": "Galerie"}, + ), + 35: ( + "wagtail.blocks.StructBlock", + [[("gallery_items", 34)]], + {"label": "Galerie"}, + ), + 36: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": True}, + ), + 37: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Popisek", "required": False}, + ), + 38: ( + "wagtail.blocks.StructBlock", + [[("img", 36), ("caption", 37)]], + {}, + ), + 39: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": False}, + ), + 40: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Titulek", "required": False}, + ), + 41: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.", + "label": "Náhled videa (automatickĂ© pole)", + "required": False, + }, + ), + 42: ( + "wagtail.blocks.URLBlock", + (), + { + "help_text": "Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.", + "label": "Odkaz na video", + "required": False, + }, + ), + 43: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.", + "label": "ID videa (automatickĂ© pole)", + "required": False, + }, + ), + 44: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "label": "ZabĂrá celou šĂĹ™ku?", + "required": True, + }, + ), + 45: ( + "wagtail.blocks.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": True, + }, + ), + 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.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ] + ], + {}, + ), + 68: ("wagtail.blocks.ListBlock", (67,), {"label": "TlaÄŤĂtka"}), + 69: ("wagtail.blocks.StructBlock", [[("buttons", 68)]], {}), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 70), ("right_column_content", 71)]], + {}, + ), + 73: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 70), + ("middle_column_content", 73), + ("right_column_content", 71), + ] + ], + {}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 76: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 77: ( + "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", + }, + ), + 78: ( + "wagtail.blocks.StreamBlock", + [[("text", 77), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 79: ( + "wagtail.blocks.StructBlock", + [[("name", 76), ("content", 78)]], + {}, + ), + 80: ("wagtail.blocks.CharBlock", (), {"label": "Citace"}), + 81: ("wagtail.blocks.CharBlock", (), {"label": "JmĂ©no autora"}), + 82: ( + "wagtail.blocks.StructBlock", + [[("quote", 80), ("autor_name", 81)]], + {}, + ), + 83: ( + "wagtail.documents.blocks.DocumentChooserBlock", + (), + {"label": "StáhnutelnĂ˝ soubor"}, + ), + 84: ("wagtail.blocks.StructBlock", [[("file", 83)]], {}), + }, + 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', 140), ('elections_program', 142)], blank=True, block_lookup={0: ('wagtail.blocks.CharBlock', (), {'help_text': "NapĹ™. 'KrajskĂ© volby 2024', 'EvropskĂ© volby 2024', ...", 'label': 'Název programu'}), 1: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz pokrĂ˝vajĂcĂ celou tuto část', 'required': False}), 2: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Ikona', 'required': False}), 3: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek ÄŤlánku programu'}), 4: ('wagtail.blocks.RichTextBlock', (), {'features': ['h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Obsah'}), 5: ('wagtail.blocks.StructBlock', [[('url', 1), ('icon', 2), ('title', 3), ('text', 4)]], {}), 6: ('wagtail.blocks.ListBlock', (5,), {'label': 'JednotlivĂ© ÄŤlánky programu'}), 7: ('wagtail.blocks.StructBlock', [[('title', 0), ('point_list', 6)]], {}), 8: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek'}), 9: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 10: ('wagtail.blocks.RichTextBlock', (), {'label': 'KrátkĂ˝ text pod nadpisem', 'required': False}), 11: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'page_type': ['main.MainArticlesPage', 'main.MainArticlePage', 'main.MainProgramPage', 'main.MainPeoplePage', 'main.MainPersonPage', 'main.MainSimplePage', 'main.MainContactPage', 'main.MainCrossroadPage'], 'required': False}), 12: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 13: ('wagtail.blocks.StructBlock', [[('image', 8), ('title', 9), ('text', 10), ('page', 11), ('link', 12)]], {}), 14: ('wagtail.blocks.ListBlock', (13,), {'label': 'Karty programu'}), 15: ('wagtail.blocks.StructBlock', [[('title', 0), ('point_list', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'help_text': 'ZobrazĂ se nad pĹ™epĂnaÄŤem mezi kandidáty a programem.', 'label': 'Preambule', 'required': False}), 17: ('wagtail.blocks.CharBlock', (), {'label': 'Název'}), 18: ('wagtail.blocks.RichTextBlock', (), {'label': 'Popis', 'required': False}), 19: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek vyskakovacĂho bloku'}), 20: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Garant', 'page_type': ['district.DistrictPersonPage'], 'required': False}), 21: ('wagtail.blocks.StructBlock', [[('title', 19), ('content', 4), ('guarantor', 20)]], {}), 22: ('wagtail.blocks.ListBlock', (21,), {'label': 'JednotlivĂ© bloky programu'}), 23: ('wagtail.blocks.StructBlock', [[('name', 17), ('icon', 2), ('description', 18), ('point_list', 22)]], {}), 24: ('wagtail.blocks.ListBlock', (23,), {'label': 'Kategorie programu'}), 25: ('wagtail.blocks.StructBlock', [[('title', 0), ('preamble', 16), ('categories', 24)]], {}), 26: ('wagtail.blocks.RichTextBlock', (), {'help_text': 'Text, kterĂ˝ se zobrazĂ pĹ™ed pĹ™epĂnaÄŤem mezi kandidáty a programem.', 'label': 'Preambule', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'default': 'Kandidáti', 'label': 'Nadpis záloĹľky pro kandidáty'}), 28: ('wagtail.blocks.CharBlock', (), {'default': 'Program', 'label': 'Nadpis záloĹľky pro program'}), 29: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'page_type': ['district.DistrictPersonPage', 'district.DistrictOctopusPersonPage']}), 30: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Pokud nenĂ vybrán, pouĹľije se obrázek ze stránky kandidáta', 'label': 'Obrázek', 'required': False}), 31: ('wagtail.blocks.StructBlock', [[('page', 29), ('image', 30), ('description', 18)]], {}), 32: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis'}), 33: ('wagtail.blocks.CharBlock', (), {'label': 'Podnadpis', 'required': False}), 34: ('wagtail.blocks.CharBlock', (), {'label': 'PovolánĂ', 'required': False}), 35: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 36: ('wagtail.blocks.CharBlock', (), {'default': 'Zjisti vĂce', 'help_text': 'Pokud nenĂ vyplnÄ›no, odkaz tlaÄŤĂtka se nezobrazĂ', 'label': 'Text tlaÄŤĂtka', 'required': False}), 37: ('wagtail.blocks.StructBlock', [[('title', 32), ('subtitle', 33), ('job', 34), ('image', 30), ('description', 18), ('button_url', 35), ('button_text', 36)]], {}), 38: ('wagtail.blocks.StreamBlock', [[('candidate', 31), ('custom_candidate', 37)]], {'label': ' ', 'required': False}), 39: ('wagtail.blocks.StructBlock', [[('stream_candidates', 38)]], {'help_text': 'ZobrazĂ se ve velkĂ˝ch blocĂch na začátku stránky.', 'label': 'Osoby na ÄŤele kandidátky'}), 40: ('wagtail.blocks.CharBlock', (), {'default': 'OstatnĂ kandidáti', 'label': ' ', 'required': False}), 41: ('wagtail.blocks.CharBlock', (), {'label': 'ÄŚĂslo'}), 42: ('wagtail.blocks.StructBlock', [[('number', 41), ('page', 29), ('image', 30)]], {}), 43: ('wagtail.blocks.ListBlock', (42,), {'default': [], 'label': ' ', 'min_num': 0}), 44: ('wagtail.blocks.StructBlock', [[('heading', 40), ('candidates', 43)]], {'help_text': 'ZobrazĂ se v kompaktnĂm seznamu pod ÄŤelem kandidátky. NĂĹľe mĹŻĹľeš zmÄ›nit nadpis.', 'label': 'OstatnĂ osoby na kandidátce'}), 45: ('wagtail.blocks.CharBlock', (), {'help_text': "NapĹ™. 'VolebnĂ noviny'", 'label': 'Název sekce'}), 46: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 47: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 48: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 49: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 50: ('wagtail.blocks.StructBlock', [[('align', 47), ('color', 48), ('text', 49)]], {}), 51: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 52: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 53: ('wagtail.blocks.StructBlock', [[('left_text', 51), ('right_text', 52)]], {}), 54: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 55: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 56: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 57: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 58: ('wagtail.blocks.StructBlock', [[('headline', 54), ('tag', 55), ('style', 56), ('align', 57)]], {}), 59: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 60: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 61: ('wagtail.blocks.StructBlock', [[('color', 48), ('title', 59), ('picture', 60)]], {}), 62: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 63: ('wagtail.blocks.ListBlock', (62,), {'label': 'Odstavce'}), 64: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 65: ('wagtail.blocks.StructBlock', [[('color', 48), ('items', 63), ('picture', 64)]], {}), 66: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 67: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 68: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 69: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 70: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 71: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 72: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 73: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 74: ('wagtail.blocks.StructBlock', [[('bg_color', 66), ('image', 67), ('background', 68), ('title', 69), ('title_color', 70), ('content', 71), ('button_text', 72), ('button_url', 73)]], {'label': 'Karta'}), 75: ('wagtail.blocks.ListBlock', (74,), {'label': 'Karty'}), 76: ('wagtail.blocks.StructBlock', [[('cards', 75)]], {}), 77: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 78: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 79: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 80: ('wagtail.blocks.ListBlock', (79,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 81: ('wagtail.blocks.StructBlock', [[('gallery_items', 80)]], {'label': 'Galerie'}), 82: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 83: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 84: ('wagtail.blocks.StructBlock', [[('img', 82), ('caption', 83)]], {}), 85: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 86: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 87: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 88: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 89: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 90: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 91: ('wagtail.blocks.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': True}), 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.StructBlock', [[('title', 108), ('color', 109), ('hoveractive', 110), ('page', 106), ('link', 12), ('align', 57)]], {}), 112: ('wagtail.blocks.ListBlock', (111,), {'label': 'TlaÄŤĂtka'}), 113: ('wagtail.blocks.StructBlock', [[('buttons', 112)]], {}), 114: ('wagtail.blocks.StreamBlock', [[('text', 49), ('table', 77), ('card', 107), ('figure', 84), ('youtube', 92), ('map_point', 99), ('map_collection', 104), ('button', 111), ('button_group', 113)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 115: ('wagtail.blocks.StreamBlock', [[('text', 49), ('table', 77), ('card', 107), ('figure', 84), ('youtube', 92), ('map_point', 99), ('map_collection', 104), ('button', 111), ('button_group', 113)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 116: ('wagtail.blocks.StructBlock', [[('left_column_content', 114), ('right_column_content', 115)]], {}), 117: ('wagtail.blocks.StreamBlock', [[('text', 49), ('table', 77), ('card', 107), ('figure', 84), ('youtube', 92), ('map_point', 99), ('map_collection', 104), ('button', 111), ('button_group', 113)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 118: ('wagtail.blocks.StructBlock', [[('left_column_content', 114), ('middle_column_content', 117), ('right_column_content', 115)]], {}), 119: ('wagtail.blocks.StructBlock', [[('poster_image', 87), ('video_url', 88), ('video_id', 89), ('is_full_width', 90), ('autoplay', 91)]], {'label': 'YouTube video'}), 120: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 121: ('wagtail.blocks.StreamBlock', [[('text', 46), ('headline', 58), ('table', 77)]], {'label': 'Obsah'}), 122: ('wagtail.blocks.StructBlock', [[('name', 120), ('content', 121)]], {}), 123: ('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', 116), ('three_columns', 118), ('youtube', 119), ('map_point', 99), ('map_collection', 104), ('button', 111), ('button_group', 113), ('popout_point', 122)]], {'label': 'Obsah'}), 124: ('wagtail.blocks.StructBlock', [[('title', 45), ('child_blocks', 123)]], {}), 125: ('wagtail.blocks.ListBlock', (124,), {'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}), 126: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz'}), 127: ('wagtail.blocks.StructBlock', [[('text', 17), ('link', 126)]], {'label': 'Odkaz'}), 128: ('wagtail.blocks.ListBlock', (127,), {'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}), 129: ('wagtail.blocks.CharBlock', (), {'default': 'Program', 'help_text': "NapĹ™. 'Program'", 'label': 'Nadpis'}), 130: ('wagtail.blocks.IntegerBlock', (), {'label': 'ÄŚĂslo'}), 131: ('wagtail.blocks.TextBlock', (), {'label': 'Obsah'}), 132: ('wagtail.blocks.StructBlock', [[('content', 131)]], {}), 133: ('wagtail.blocks.ListBlock', (132,), {'label': 'Body'}), 134: ('wagtail.blocks.StructBlock', [[('number', 130), ('name', 17), ('points', 133)]], {}), 135: ('wagtail.blocks.ListBlock', (134,), {'label': 'Kategorie'}), 136: ('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}), 137: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis odkazu na celou verzi programu', 'required': False}), 138: ('wagtail.blocks.StructBlock', [[('label', 129), ('categories', 135), ('long_version_url', 136), ('long_version_text', 137)]], {'template': 'styleguide2/includes/molecules/program/program_block.html'}), 139: ('wagtail.blocks.StreamBlock', [[('program_group', 7), ('program_group_crossroad', 15), ('program_group_popout', 25), ('carousel_program', 138)]], {'required': False}), 140: ('wagtail.blocks.StructBlock', [[('title', 0), ('preamble_content', 26), ('candidates_title', 27), ('program_title', 28), ('primary_candidates', 39), ('secondary_candidates', 44), ('other_views', 125), ('tab_links', 128), ('program', 139)]], {}), 141: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'page_type': ['elections.ElectionsFullProgramPage'], 'required': False}), 142: ('wagtail.blocks.StructBlock', [[('title', 0), ('program_page', 141)]], {})}, 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", 140), + ("elections_program", 142), + ], + blank=True, + block_lookup={ + 0: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NapĹ™. 'KrajskĂ© volby 2024', 'EvropskĂ© volby 2024', ...", + "label": "Název programu", + }, + ), + 1: ( + "wagtail.blocks.URLBlock", + (), + { + "label": "Odkaz pokrĂ˝vajĂcĂ celou tuto část", + "required": False, + }, + ), + 2: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Ikona", "required": False}, + ), + 3: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek ÄŤlánku programu"}, + ), + 4: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "Obsah", + }, + ), + 5: ( + "wagtail.blocks.StructBlock", + [[("url", 1), ("icon", 2), ("title", 3), ("text", 4)]], + {}, + ), + 6: ( + "wagtail.blocks.ListBlock", + (5,), + {"label": "JednotlivĂ© ÄŤlánky programu"}, + ), + 7: ( + "wagtail.blocks.StructBlock", + [[("title", 0), ("point_list", 6)]], + {}, + ), + 8: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek"}, + ), + 9: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": True}, + ), + 10: ( + "wagtail.blocks.RichTextBlock", + (), + {"label": "KrátkĂ˝ text pod nadpisem", "required": False}, + ), + 11: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Stránka", + "page_type": [ + "main.MainArticlesPage", + "main.MainArticlePage", + "main.MainProgramPage", + "main.MainPeoplePage", + "main.MainPersonPage", + "main.MainSimplePage", + "main.MainContactPage", + "main.MainCrossroadPage", + ], + "required": False, + }, + ), + 12: ( + "wagtail.blocks.URLBlock", + (), + {"label": "Odkaz", "required": False}, + ), + 13: ( + "wagtail.blocks.StructBlock", + [ + [ + ("image", 8), + ("title", 9), + ("text", 10), + ("page", 11), + ("link", 12), + ] + ], + {}, + ), + 14: ( + "wagtail.blocks.ListBlock", + (13,), + {"label": "Karty programu"}, + ), + 15: ( + "wagtail.blocks.StructBlock", + [[("title", 0), ("point_list", 14)]], + {}, + ), + 16: ( + "wagtail.blocks.RichTextBlock", + (), + { + "help_text": "ZobrazĂ se nad pĹ™epĂnaÄŤem mezi kandidáty a programem.", + "label": "Preambule", + "required": False, + }, + ), + 17: ("wagtail.blocks.CharBlock", (), {"label": "Název"}), + 18: ( + "wagtail.blocks.RichTextBlock", + (), + {"label": "Popis", "required": False}, + ), + 19: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek vyskakovacĂho bloku"}, + ), + 20: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Garant", + "page_type": ["district.DistrictPersonPage"], + "required": False, + }, + ), + 21: ( + "wagtail.blocks.StructBlock", + [[("title", 19), ("content", 4), ("guarantor", 20)]], + {}, + ), + 22: ( + "wagtail.blocks.ListBlock", + (21,), + {"label": "JednotlivĂ© bloky programu"}, + ), + 23: ( + "wagtail.blocks.StructBlock", + [ + [ + ("name", 17), + ("icon", 2), + ("description", 18), + ("point_list", 22), + ] + ], + {}, + ), + 24: ( + "wagtail.blocks.ListBlock", + (23,), + {"label": "Kategorie programu"}, + ), + 25: ( + "wagtail.blocks.StructBlock", + [[("title", 0), ("preamble", 16), ("categories", 24)]], + {}, + ), + 26: ( + "wagtail.blocks.RichTextBlock", + (), + { + "help_text": "Text, kterĂ˝ se zobrazĂ pĹ™ed pĹ™epĂnaÄŤem mezi kandidáty a programem.", + "label": "Preambule", + "required": False, + }, + ), + 27: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "Kandidáti", + "label": "Nadpis záloĹľky pro kandidáty", + }, + ), + 28: ( + "wagtail.blocks.CharBlock", + (), + {"default": "Program", "label": "Nadpis záloĹľky pro program"}, + ), + 29: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Stránka", + "page_type": [ + "district.DistrictPersonPage", + "district.DistrictOctopusPersonPage", + ], + }, + ), + 30: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Pokud nenĂ vybrán, pouĹľije se obrázek ze stránky kandidáta", + "label": "Obrázek", + "required": False, + }, + ), + 31: ( + "wagtail.blocks.StructBlock", + [[("page", 29), ("image", 30), ("description", 18)]], + {}, + ), + 32: ("wagtail.blocks.CharBlock", (), {"label": "Nadpis"}), + 33: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Podnadpis", "required": False}, + ), + 34: ( + "wagtail.blocks.CharBlock", + (), + {"label": "PovolánĂ", "required": False}, + ), + 35: ( + "wagtail.blocks.URLBlock", + (), + {"label": "Odkaz tlaÄŤĂtka", "required": False}, + ), + 36: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "Zjisti vĂce", + "help_text": "Pokud nenĂ vyplnÄ›no, odkaz tlaÄŤĂtka se nezobrazĂ", + "label": "Text tlaÄŤĂtka", + "required": False, + }, + ), + 37: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 32), + ("subtitle", 33), + ("job", 34), + ("image", 30), + ("description", 18), + ("button_url", 35), + ("button_text", 36), + ] + ], + {}, + ), + 38: ( + "wagtail.blocks.StreamBlock", + [[("candidate", 31), ("custom_candidate", 37)]], + {"label": " ", "required": False}, + ), + 39: ( + "wagtail.blocks.StructBlock", + [[("stream_candidates", 38)]], + { + "help_text": "ZobrazĂ se ve velkĂ˝ch blocĂch na začátku stránky.", + "label": "Osoby na ÄŤele kandidátky", + }, + ), + 40: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "OstatnĂ kandidáti", + "label": " ", + "required": False, + }, + ), + 41: ("wagtail.blocks.CharBlock", (), {"label": "ÄŚĂslo"}), + 42: ( + "wagtail.blocks.StructBlock", + [[("number", 41), ("page", 29), ("image", 30)]], + {}, + ), + 43: ( + "wagtail.blocks.ListBlock", + (42,), + {"default": [], "label": " ", "min_num": 0}, + ), + 44: ( + "wagtail.blocks.StructBlock", + [[("heading", 40), ("candidates", 43)]], + { + "help_text": "ZobrazĂ se v kompaktnĂm seznamu pod ÄŤelem kandidátky. NĂĹľe mĹŻĹľeš zmÄ›nit nadpis.", + "label": "OstatnĂ osoby na kandidátce", + }, + ), + 45: ( + "wagtail.blocks.CharBlock", + (), + {"help_text": "NapĹ™. 'VolebnĂ noviny'", "label": "Název sekce"}, + ), + 46: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + "template": "styleguide2/includes/atoms/text/prose_richtext.html", + }, + ), + 47: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("left", "vlevo"), + ("center", "uprostĹ™ed"), + ("right", "vpravo"), + ], + "label": "zarovnánĂ", + }, + ), + 48: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black_on_white", "ÄŤerná na bĂlĂ©"), + ("black_on_yellow", "ÄŤerná na ĹľlutĂ©"), + ("white_on_black", "bĂlá na ÄŤernĂ©"), + ("white_on_blue", "bĂlá na modrĂ©"), + ("white_on_cyan", "bĂlá na tyrkysovĂ©"), + ("white_on_violet", "bĂlá na fialovĂ©"), + ], + "label": "barva", + }, + ), + 49: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + }, + ), + 50: ( + "wagtail.blocks.StructBlock", + [[("align", 47), ("color", 48), ("text", 49)]], + {}, + ), + 51: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "levĂ˝ sloupec", + }, + ), + 52: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "pravĂ˝ sloupec", + }, + ), + 53: ( + "wagtail.blocks.StructBlock", + [[("left_text", 51), ("right_text", 52)]], + {}, + ), + 54: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Nadpis", "max_length": 300, "required": True}, + ), + 55: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("h1", "H1"), + ("h2", "H2"), + ("h3", "H3"), + ("h4", "H4"), + ("h5", "H5"), + ("h6", "H6"), + ], + "help_text": "ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.", + "label": "ĂšroveĹ nadpisu", + }, + ), + 56: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("head-alt-xl", "VelkĂ˝, Bebas Neue - 6XL"), + ("head-alt-lg", "StĹ™ednĂ, Bebas Neue - 4XL"), + ("head-alt-md", "ZákladnĂ velikost - Roboto - MD"), + ("head-alt-sm", "MalĂ˝ - Roboto - SM"), + ("head-alt-xs", "Extra malĂ˝ - Roboto - XS"), + ], + "help_text": "Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.", + "label": "Velikost", + }, + ), + 57: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("auto", "Automaticky"), + ("center", "Na stĹ™ed"), + ], + "label": "ZarovnánĂ", + }, + ), + 58: ( + "wagtail.blocks.StructBlock", + [[("headline", 54), ("tag", 55), ("style", 56), ("align", 57)]], + {}, + ), + 59: ("wagtail.blocks.CharBlock", (), {"label": "nadpis"}), + 60: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)", + "label": "obrázek", + }, + ), + 61: ( + "wagtail.blocks.StructBlock", + [[("color", 48), ("title", 59), ("picture", 60)]], + {}, + ), + 62: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "Odstavec", + }, + ), + 63: ("wagtail.blocks.ListBlock", (62,), {"label": "Odstavce"}), + 64: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)", + "label": "Obrázek", + }, + ), + 65: ( + "wagtail.blocks.StructBlock", + [[("color", 48), ("items", 63), ("picture", 64)]], + {}, + ), + 66: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "FEC900", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva pozadĂ", + }, + ), + 67: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.", + "label": "Obrázek", + "required": False, + }, + ), + 68: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje obrázek. Nelze vybrat obÄ› najednou.", + "label": "PozadĂ", + "required": False, + }, + ), + 69: ( + "wagtail.blocks.TextBlock", + (), + {"help_text": "ĹádkovánĂ je manuálnĂ.", "label": "Nadpis"}, + ), + 70: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva textu", + }, + ), + 71: ("wagtail.blocks.RichTextBlock", (), {"label": "Obsah"}), + 72: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.", + "label": "Nadpis tlaÄŤĂtka", + "required": False, + }, + ), + 73: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Odkaz tlaÄŤĂtka", "required": False}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("bg_color", 66), + ("image", 67), + ("background", 68), + ("title", 69), + ("title_color", 70), + ("content", 71), + ("button_text", 72), + ("button_url", 73), + ] + ], + {"label": "Karta"}, + ), + 75: ("wagtail.blocks.ListBlock", (74,), {"label": "Karty"}), + 76: ("wagtail.blocks.StructBlock", [[("cards", 75)]], {}), + 77: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "Tabulka", + "template": "styleguide2/includes/atoms/table/table.html", + }, + ), + 78: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "RozbalovacĂ tabulka", + "template": "styleguide2/includes/atoms/table/popout_table.html", + }, + ), + 79: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "obrázek", "required": True}, + ), + 80: ( + "wagtail.blocks.ListBlock", + (79,), + {"group": "3. OstatnĂ", "icon": "image", "label": "Galerie"}, + ), + 81: ( + "wagtail.blocks.StructBlock", + [[("gallery_items", 80)]], + {"label": "Galerie"}, + ), + 82: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": True}, + ), + 83: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Popisek", "required": False}, + ), + 84: ( + "wagtail.blocks.StructBlock", + [[("img", 82), ("caption", 83)]], + {}, + ), + 85: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": False}, + ), + 86: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Titulek", "required": False}, + ), + 87: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.", + "label": "Náhled videa (automatickĂ© pole)", + "required": False, + }, + ), + 88: ( + "wagtail.blocks.URLBlock", + (), + { + "help_text": "Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.", + "label": "Odkaz na video", + "required": False, + }, + ), + 89: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.", + "label": "ID videa (automatickĂ© pole)", + "required": False, + }, + ), + 90: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "label": "ZabĂrá celou šĂĹ™ku?", + "required": True, + }, + ), + 91: ( + "wagtail.blocks.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": True, + }, + ), + 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.StructBlock", + [ + [ + ("title", 108), + ("color", 109), + ("hoveractive", 110), + ("page", 106), + ("link", 12), + ("align", 57), + ] + ], + {}, + ), + 112: ("wagtail.blocks.ListBlock", (111,), {"label": "TlaÄŤĂtka"}), + 113: ("wagtail.blocks.StructBlock", [[("buttons", 112)]], {}), + 114: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 49), + ("table", 77), + ("card", 107), + ("figure", 84), + ("youtube", 92), + ("map_point", 99), + ("map_collection", 104), + ("button", 111), + ("button_group", 113), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 115: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 49), + ("table", 77), + ("card", 107), + ("figure", 84), + ("youtube", 92), + ("map_point", 99), + ("map_collection", 104), + ("button", 111), + ("button_group", 113), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 116: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 114), ("right_column_content", 115)]], + {}, + ), + 117: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 49), + ("table", 77), + ("card", 107), + ("figure", 84), + ("youtube", 92), + ("map_point", 99), + ("map_collection", 104), + ("button", 111), + ("button_group", 113), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 118: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 114), + ("middle_column_content", 117), + ("right_column_content", 115), + ] + ], + {}, + ), + 119: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 87), + ("video_url", 88), + ("video_id", 89), + ("is_full_width", 90), + ("autoplay", 91), + ] + ], + {"label": "YouTube video"}, + ), + 120: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 121: ( + "wagtail.blocks.StreamBlock", + [[("text", 46), ("headline", 58), ("table", 77)]], + {"label": "Obsah"}, + ), + 122: ( + "wagtail.blocks.StructBlock", + [[("name", 120), ("content", 121)]], + {}, + ), + 123: ( + "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", 116), + ("three_columns", 118), + ("youtube", 119), + ("map_point", 99), + ("map_collection", 104), + ("button", 111), + ("button_group", 113), + ("popout_point", 122), + ] + ], + {"label": "Obsah"}, + ), + 124: ( + "wagtail.blocks.StructBlock", + [[("title", 45), ("child_blocks", 123)]], + {}, + ), + 125: ( + "wagtail.blocks.ListBlock", + (124,), + { + "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, + }, + ), + 126: ("wagtail.blocks.URLBlock", (), {"label": "Odkaz"}), + 127: ( + "wagtail.blocks.StructBlock", + [[("text", 17), ("link", 126)]], + {"label": "Odkaz"}, + ), + 128: ( + "wagtail.blocks.ListBlock", + (127,), + { + "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, + }, + ), + 129: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "Program", + "help_text": "NapĹ™. 'Program'", + "label": "Nadpis", + }, + ), + 130: ("wagtail.blocks.IntegerBlock", (), {"label": "ÄŚĂslo"}), + 131: ("wagtail.blocks.TextBlock", (), {"label": "Obsah"}), + 132: ("wagtail.blocks.StructBlock", [[("content", 131)]], {}), + 133: ("wagtail.blocks.ListBlock", (132,), {"label": "Body"}), + 134: ( + "wagtail.blocks.StructBlock", + [[("number", 130), ("name", 17), ("points", 133)]], + {}, + ), + 135: ("wagtail.blocks.ListBlock", (134,), {"label": "Kategorie"}), + 136: ( + "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, + }, + ), + 137: ( + "wagtail.blocks.CharBlock", + (), + { + "label": "Nadpis odkazu na celou verzi programu", + "required": False, + }, + ), + 138: ( + "wagtail.blocks.StructBlock", + [ + [ + ("label", 129), + ("categories", 135), + ("long_version_url", 136), + ("long_version_text", 137), + ] + ], + { + "template": "styleguide2/includes/molecules/program/program_block.html" + }, + ), + 139: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("program_group", 7), + ("program_group_crossroad", 15), + ("program_group_popout", 25), + ("carousel_program", 138), + ] + ], + {"required": False}, + ), + 140: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 0), + ("preamble_content", 26), + ("candidates_title", 27), + ("program_title", 28), + ("primary_candidates", 39), + ("secondary_candidates", 44), + ("other_views", 125), + ("tab_links", 128), + ("program", 139), + ] + ], + {}, + ), + 141: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Stránka", + "page_type": ["elections.ElectionsFullProgramPage"], + "required": False, + }, + ), + 142: ( + "wagtail.blocks.StructBlock", + [[("title", 0), ("program_page", 141)]], + {}, + ), + }, + verbose_name="Programy", + ), ), ] diff --git a/main/migrations/0151_alter_mainarticlepage_content_and_more.py b/main/migrations/0151_alter_mainarticlepage_content_and_more.py index 4ee93b8664ce6332ba1633e0c014519e0510bbc9..83aa8d98b37bc7d24d0614951e26b35fd89e5fa3 100644 --- a/main/migrations/0151_alter_mainarticlepage_content_and_more.py +++ b/main/migrations/0151_alter_mainarticlepage_content_and_more.py @@ -5,20 +5,2022 @@ from django.db import migrations class Migration(migrations.Migration): - dependencies = [ - ('main', '0150_alter_mainarticlepage_content_and_more'), + ("main", "0150_alter_mainarticlepage_content_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', 72), ('three_columns', 74), ('youtube', 75), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69), ('popout_point', 79), ('quote', 82), ('download', 84)], 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': True}), 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': True}), 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.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11)]], {}), 68: ('wagtail.blocks.ListBlock', (67,), {'label': 'TlaÄŤĂtka'}), 69: ('wagtail.blocks.StructBlock', [[('buttons', 68)]], {}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('right_column_content', 71)]], {}), 73: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 74: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('middle_column_content', 73), ('right_column_content', 71)]], {}), 75: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 76: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 77: ('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'}), 78: ('wagtail.blocks.StreamBlock', [[('text', 77), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 79: ('wagtail.blocks.StructBlock', [[('name', 76), ('content', 78)]], {}), 80: ('wagtail.blocks.CharBlock', (), {'label': 'Citace'}), 81: ('wagtail.blocks.CharBlock', (), {'label': 'JmĂ©no autora'}), 82: ('wagtail.blocks.StructBlock', [[('quote', 80), ('autor_name', 81)]], {}), 83: ('wagtail.documents.blocks.DocumentChooserBlock', (), {'label': 'StáhnutelnĂ˝ soubor'}), 84: ('wagtail.blocks.StructBlock', [[('file', 83)]], {})}, 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", 72), + ("three_columns", 74), + ("youtube", 75), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ("popout_point", 79), + ("quote", 82), + ("download", 84), + ], + 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": True, + }, + ), + 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": True, + }, + ), + 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.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ] + ], + {}, + ), + 68: ("wagtail.blocks.ListBlock", (67,), {"label": "TlaÄŤĂtka"}), + 69: ("wagtail.blocks.StructBlock", [[("buttons", 68)]], {}), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 70), ("right_column_content", 71)]], + {}, + ), + 73: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 70), + ("middle_column_content", 73), + ("right_column_content", 71), + ] + ], + {}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 76: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 77: ( + "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", + }, + ), + 78: ( + "wagtail.blocks.StreamBlock", + [[("text", 77), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 79: ( + "wagtail.blocks.StructBlock", + [[("name", 76), ("content", 78)]], + {}, + ), + 80: ("wagtail.blocks.CharBlock", (), {"label": "Citace"}), + 81: ("wagtail.blocks.CharBlock", (), {"label": "JmĂ©no autora"}), + 82: ( + "wagtail.blocks.StructBlock", + [[("quote", 80), ("autor_name", 81)]], + {}, + ), + 83: ( + "wagtail.documents.blocks.DocumentChooserBlock", + (), + {"label": "StáhnutelnĂ˝ soubor"}, + ), + 84: ("wagtail.blocks.StructBlock", [[("file", 83)]], {}), + }, + 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', 140), ('elections_program', 142)], 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': True}), 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': True}), 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.StructBlock', [[('title', 108), ('color', 109), ('hoveractive', 110), ('page', 106), ('link', 12), ('align', 57)]], {}), 112: ('wagtail.blocks.ListBlock', (111,), {'label': 'TlaÄŤĂtka'}), 113: ('wagtail.blocks.StructBlock', [[('buttons', 112)]], {}), 114: ('wagtail.blocks.StreamBlock', [[('text', 49), ('table', 77), ('card', 107), ('figure', 84), ('youtube', 92), ('map_point', 99), ('map_collection', 104), ('button', 111), ('button_group', 113)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 115: ('wagtail.blocks.StreamBlock', [[('text', 49), ('table', 77), ('card', 107), ('figure', 84), ('youtube', 92), ('map_point', 99), ('map_collection', 104), ('button', 111), ('button_group', 113)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 116: ('wagtail.blocks.StructBlock', [[('left_column_content', 114), ('right_column_content', 115)]], {}), 117: ('wagtail.blocks.StreamBlock', [[('text', 49), ('table', 77), ('card', 107), ('figure', 84), ('youtube', 92), ('map_point', 99), ('map_collection', 104), ('button', 111), ('button_group', 113)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 118: ('wagtail.blocks.StructBlock', [[('left_column_content', 114), ('middle_column_content', 117), ('right_column_content', 115)]], {}), 119: ('wagtail.blocks.StructBlock', [[('poster_image', 87), ('video_url', 88), ('video_id', 89), ('is_full_width', 90), ('autoplay', 91)]], {'label': 'YouTube video'}), 120: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 121: ('wagtail.blocks.StreamBlock', [[('text', 46), ('headline', 58), ('table', 77)]], {'label': 'Obsah'}), 122: ('wagtail.blocks.StructBlock', [[('name', 120), ('content', 121)]], {}), 123: ('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', 116), ('three_columns', 118), ('youtube', 119), ('map_point', 99), ('map_collection', 104), ('button', 111), ('button_group', 113), ('popout_point', 122)]], {'label': 'Obsah'}), 124: ('wagtail.blocks.StructBlock', [[('title', 45), ('child_blocks', 123)]], {}), 125: ('wagtail.blocks.ListBlock', (124,), {'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}), 126: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz'}), 127: ('wagtail.blocks.StructBlock', [[('text', 17), ('link', 126)]], {'label': 'Odkaz'}), 128: ('wagtail.blocks.ListBlock', (127,), {'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}), 129: ('wagtail.blocks.CharBlock', (), {'default': 'Program', 'help_text': "NapĹ™. 'Program'", 'label': 'Nadpis'}), 130: ('wagtail.blocks.IntegerBlock', (), {'label': 'ÄŚĂslo'}), 131: ('wagtail.blocks.TextBlock', (), {'label': 'Obsah'}), 132: ('wagtail.blocks.StructBlock', [[('content', 131)]], {}), 133: ('wagtail.blocks.ListBlock', (132,), {'label': 'Body'}), 134: ('wagtail.blocks.StructBlock', [[('number', 130), ('name', 17), ('points', 133)]], {}), 135: ('wagtail.blocks.ListBlock', (134,), {'label': 'Kategorie'}), 136: ('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}), 137: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis odkazu na celou verzi programu', 'required': False}), 138: ('wagtail.blocks.StructBlock', [[('label', 129), ('categories', 135), ('long_version_url', 136), ('long_version_text', 137)]], {'template': 'styleguide2/includes/molecules/program/program_block.html'}), 139: ('wagtail.blocks.StreamBlock', [[('program_group', 7), ('program_group_crossroad', 15), ('program_group_popout', 25), ('carousel_program', 138)]], {'required': False}), 140: ('wagtail.blocks.StructBlock', [[('title', 0), ('preamble_content', 26), ('candidates_title', 27), ('program_title', 28), ('primary_candidates', 39), ('secondary_candidates', 44), ('other_views', 125), ('tab_links', 128), ('program', 139)]], {}), 141: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'page_type': ['elections.ElectionsFullProgramPage'], 'required': False}), 142: ('wagtail.blocks.StructBlock', [[('title', 0), ('program_page', 141)]], {})}, 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", 140), + ("elections_program", 142), + ], + 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": True, + }, + ), + 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": True, + }, + ), + 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.StructBlock", + [ + [ + ("title", 108), + ("color", 109), + ("hoveractive", 110), + ("page", 106), + ("link", 12), + ("align", 57), + ] + ], + {}, + ), + 112: ("wagtail.blocks.ListBlock", (111,), {"label": "TlaÄŤĂtka"}), + 113: ("wagtail.blocks.StructBlock", [[("buttons", 112)]], {}), + 114: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 49), + ("table", 77), + ("card", 107), + ("figure", 84), + ("youtube", 92), + ("map_point", 99), + ("map_collection", 104), + ("button", 111), + ("button_group", 113), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 115: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 49), + ("table", 77), + ("card", 107), + ("figure", 84), + ("youtube", 92), + ("map_point", 99), + ("map_collection", 104), + ("button", 111), + ("button_group", 113), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 116: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 114), ("right_column_content", 115)]], + {}, + ), + 117: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 49), + ("table", 77), + ("card", 107), + ("figure", 84), + ("youtube", 92), + ("map_point", 99), + ("map_collection", 104), + ("button", 111), + ("button_group", 113), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 118: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 114), + ("middle_column_content", 117), + ("right_column_content", 115), + ] + ], + {}, + ), + 119: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 87), + ("video_url", 88), + ("video_id", 89), + ("is_full_width", 90), + ("autoplay", 91), + ] + ], + {"label": "YouTube video"}, + ), + 120: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 121: ( + "wagtail.blocks.StreamBlock", + [[("text", 46), ("headline", 58), ("table", 77)]], + {"label": "Obsah"}, + ), + 122: ( + "wagtail.blocks.StructBlock", + [[("name", 120), ("content", 121)]], + {}, + ), + 123: ( + "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", 116), + ("three_columns", 118), + ("youtube", 119), + ("map_point", 99), + ("map_collection", 104), + ("button", 111), + ("button_group", 113), + ("popout_point", 122), + ] + ], + {"label": "Obsah"}, + ), + 124: ( + "wagtail.blocks.StructBlock", + [[("title", 45), ("child_blocks", 123)]], + {}, + ), + 125: ( + "wagtail.blocks.ListBlock", + (124,), + { + "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, + }, + ), + 126: ("wagtail.blocks.URLBlock", (), {"label": "Odkaz"}), + 127: ( + "wagtail.blocks.StructBlock", + [[("text", 17), ("link", 126)]], + {"label": "Odkaz"}, + ), + 128: ( + "wagtail.blocks.ListBlock", + (127,), + { + "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, + }, + ), + 129: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "Program", + "help_text": "NapĹ™. 'Program'", + "label": "Nadpis", + }, + ), + 130: ("wagtail.blocks.IntegerBlock", (), {"label": "ÄŚĂslo"}), + 131: ("wagtail.blocks.TextBlock", (), {"label": "Obsah"}), + 132: ("wagtail.blocks.StructBlock", [[("content", 131)]], {}), + 133: ("wagtail.blocks.ListBlock", (132,), {"label": "Body"}), + 134: ( + "wagtail.blocks.StructBlock", + [[("number", 130), ("name", 17), ("points", 133)]], + {}, + ), + 135: ("wagtail.blocks.ListBlock", (134,), {"label": "Kategorie"}), + 136: ( + "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, + }, + ), + 137: ( + "wagtail.blocks.CharBlock", + (), + { + "label": "Nadpis odkazu na celou verzi programu", + "required": False, + }, + ), + 138: ( + "wagtail.blocks.StructBlock", + [ + [ + ("label", 129), + ("categories", 135), + ("long_version_url", 136), + ("long_version_text", 137), + ] + ], + { + "template": "styleguide2/includes/molecules/program/program_block.html" + }, + ), + 139: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("program_group", 7), + ("program_group_crossroad", 15), + ("program_group_popout", 25), + ("carousel_program", 138), + ] + ], + {"required": False}, + ), + 140: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 0), + ("preamble_content", 26), + ("candidates_title", 27), + ("program_title", 28), + ("primary_candidates", 39), + ("secondary_candidates", 44), + ("other_views", 125), + ("tab_links", 128), + ("program", 139), + ] + ], + {}, + ), + 141: ( + "wagtail.blocks.PageChooserBlock", + (), + { + "label": "Stránka", + "page_type": ["elections.ElectionsFullProgramPage"], + "required": False, + }, + ), + 142: ( + "wagtail.blocks.StructBlock", + [[("title", 0), ("program_page", 141)]], + {}, + ), + }, + verbose_name="Programy", + ), ), ] diff --git a/main/migrations/0152_alter_mainarticlepage_content_and_more.py b/main/migrations/0152_alter_mainarticlepage_content_and_more.py index 2bb58369ec6c1c8cd67aba75d778ba3e95c93789..10b8c5988d1499eaaa2cab05869d649594380751 100644 --- a/main/migrations/0152_alter_mainarticlepage_content_and_more.py +++ b/main/migrations/0152_alter_mainarticlepage_content_and_more.py @@ -5,20 +5,2048 @@ from django.db import migrations class Migration(migrations.Migration): - dependencies = [ - ('main', '0151_alter_mainarticlepage_content_and_more'), + ("main", "0151_alter_mainarticlepage_content_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': True}), 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': True}), 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', 'Veliká'), ('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": True, + }, + ), + 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": True, + }, + ), + 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", "Veliká"), + ("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': True}), 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': True}), 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', 'Veliká'), ('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": True, + }, + ), + 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": True, + }, + ), + 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", "Veliká"), + ("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/main/migrations/0153_alter_mainarticlepage_content_and_more.py b/main/migrations/0153_alter_mainarticlepage_content_and_more.py index d44b687b500292a99f1d0951fe345e1b8438e3b0..d930c425e16c5000966634158fe18c8bd3001f28 100644 --- a/main/migrations/0153_alter_mainarticlepage_content_and_more.py +++ b/main/migrations/0153_alter_mainarticlepage_content_and_more.py @@ -5,20 +5,2048 @@ from django.db import migrations class Migration(migrations.Migration): - dependencies = [ - ('main', '0152_alter_mainarticlepage_content_and_more'), + ("main", "0152_alter_mainarticlepage_content_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': True}), 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': True}), 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": True, + }, + ), + 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": True, + }, + ), + 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': True}), 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': True}), 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": True, + }, + ), + 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": True, + }, + ), + 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/main/migrations/0154_mainhomepage_ecomail_newsletter_list_id_and_more.py b/main/migrations/0154_mainhomepage_ecomail_newsletter_list_id_and_more.py index ed1ac0df421c3b6453c740bec8fbbcb0ef34e4aa..65208ded56f2ab40ba5ee0170964848bd815862e 100644 --- a/main/migrations/0154_mainhomepage_ecomail_newsletter_list_id_and_more.py +++ b/main/migrations/0154_mainhomepage_ecomail_newsletter_list_id_and_more.py @@ -4,20 +4,27 @@ from django.db import migrations, models class Migration(migrations.Migration): - dependencies = [ - ('main', '0153_alter_mainarticlepage_content_and_more'), + ("main", "0153_alter_mainarticlepage_content_and_more"), ] operations = [ migrations.AddField( - model_name='mainhomepage', - name='ecomail_newsletter_list_id', - field=models.IntegerField(blank=True, null=True, verbose_name='ID Ecomail newsletteru'), + model_name="mainhomepage", + name="ecomail_newsletter_list_id", + field=models.IntegerField( + blank=True, null=True, verbose_name="ID Ecomail newsletteru" + ), ), migrations.AddField( - model_name='mainhomepage', - 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="mainhomepage", + 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/main/models.py b/main/models.py index 7bc516bc04c9db092f6ad79decf9c109c607410c..e4b62d26e1e1c8dcd6e59e341bab3f07ebb95e37 100644 --- a/main/models.py +++ b/main/models.py @@ -77,7 +77,7 @@ class MainHomePage(MainHomePageMixin): max_length=128, blank=True, null=True, - help_text="OddÄ›lte čárkou, napĹ™Ăklad 'Tag1,Tag2,Tag3'. Bez mezer." + help_text="OddÄ›lte čárkou, napĹ™Ăklad 'Tag1,Tag2,Tag3'. Bez mezer.", ) # content @@ -148,9 +148,9 @@ class MainHomePage(MainHomePageMixin): MainHomePageMixin.settings_panels + [ FieldPanel("ecomail_newsletter_list_id"), - FieldPanel("ecomail_newsletter_list_tags") + FieldPanel("ecomail_newsletter_list_tags"), ], - heading="NastavenĂ" + heading="NastavenĂ", ), ObjectList(MainHomePageMixin.promote_panels, heading="Metadata"), ] @@ -496,7 +496,7 @@ class MainCareersPage( .all() ) - def get_career_pages(self, show_closed: bool = False, category: str|None = None): + def get_career_pages(self, show_closed: bool = False, category: str | None = None): filter = models.Q() current_date = date.today() @@ -659,7 +659,7 @@ Pirátská strana # From email "vyberka@pirati.cz", # To email - [form.cleaned_data['email']], + [form.cleaned_data["email"]], ) administrator_email = EmailMessage( @@ -711,11 +711,12 @@ PĹ™i otevĂránĂ souborĹŻ buÄŹte opatrnĂ, virovĂ˝ sken probÄ›hl, ale nemusĂ b for file in form.cleaned_data["other_files"]: file.seek(0) - administrator_email.attach(file.name, file.read(), file.content_type) + administrator_email.attach( + file.name, file.read(), file.content_type + ) sent_successfully = ( - administrator_email.send() - and recipient_email.send() + administrator_email.send() and recipient_email.send() ) if sent_successfully: diff --git a/main/templatetags/careers.py b/main/templatetags/careers.py index 0637d8cd0808947901b670489d55aaccd9c8421c..92dd21262d5264efeff6214d1b7b24ce8cc36186 100644 --- a/main/templatetags/careers.py +++ b/main/templatetags/careers.py @@ -4,5 +4,5 @@ register = template.Library() @register.simple_tag -def get_career_pages(page, show_closed: bool, category: str|None = None): +def get_career_pages(page, show_closed: bool, category: str | None = None): return page.get_career_pages(show_closed, category) diff --git a/make_a_wish/apps.py b/make_a_wish/apps.py index 554e1af7acbe8ab2168a86eb870ff1ef323f86c5..e873fc636555819fee5973169c054d56c9ad2bd6 100644 --- a/make_a_wish/apps.py +++ b/make_a_wish/apps.py @@ -2,4 +2,4 @@ from django.apps import AppConfig class MakeAWishConfig(AppConfig): - name = 'make_a_wish' \ No newline at end of file + name = "make_a_wish" diff --git a/make_a_wish/blocks.py b/make_a_wish/blocks.py index c4876fc788c3e5040e70f1c7e35afefc942dbe46..472bda329869dfff5e4c2c438ed8b3db7fe1df52 100644 --- a/make_a_wish/blocks.py +++ b/make_a_wish/blocks.py @@ -1,9 +1,4 @@ -from wagtail.blocks import ( - CharBlock, - ListBlock, - StructBlock, - TextBlock, -) +from wagtail.blocks import CharBlock, StructBlock from wagtail.images.blocks import ImageChooserBlock @@ -13,15 +8,9 @@ class CommonWishBlock(StructBlock): required=True, ) - title = CharBlock( - label="Nadpis", - required=True - ) + title = CharBlock(label="Nadpis", required=True) - description = CharBlock( - label="Popis", - required=True - ) + description = CharBlock(label="Popis", required=True) class Meta: icon = "heart" @@ -30,15 +19,13 @@ class CommonWishBlock(StructBlock): class TourDateBlock(StructBlock): date = CharBlock( - label="Datum a lokace", - required=True, - help_text="NapĹ™. 14.5. v Plzni" + label="Datum a lokace", required=True, help_text="NapĹ™. 14.5. v Plzni" ) details = CharBlock( label="Detaily", required=True, - help_text="NapĹ™. 13:00 - 17:00 ParkovištÄ› pĹ™ed OlympiĂ" + help_text="NapĹ™. 13:00 - 17:00 ParkovištÄ› pĹ™ed OlympiĂ", ) class Meta: @@ -47,14 +34,10 @@ class TourDateBlock(StructBlock): class StatBlock(StructBlock): - count = CharBlock( - label="ÄŚĂslo" - ) + count = CharBlock(label="ÄŚĂslo") - description = CharBlock( - label="Popis" - ) + description = CharBlock(label="Popis") class Meta: icon = "heart" - label = "Statistika" \ No newline at end of file + label = "Statistika" diff --git a/make_a_wish/migrations/0001_initial.py b/make_a_wish/migrations/0001_initial.py index 5673e681ab05ed201a98cad9c5a5b6e36afb1176..382a86ce8502dff754b9cf4b10e872f3b3b309b0 100644 --- a/make_a_wish/migrations/0001_initial.py +++ b/make_a_wish/migrations/0001_initial.py @@ -7,31 +7,146 @@ from django.db import migrations, models class Migration(migrations.Migration): - initial = True dependencies = [ - ('wagtailcore', '0094_alter_page_locale'), - ('wagtailimages', '0027_image_description'), + ("wagtailcore", "0094_alter_page_locale"), + ("wagtailimages", "0027_image_description"), ] operations = [ migrations.CreateModel( - name='MakeAWishRoot', + name="MakeAWishRoot", fields=[ - ('page_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='wagtailcore.page')), - ('title_suffix', models.CharField(blank=True, help_text='UmoĹľĹuje pĹ™idat pĹ™Ăponu k názvu stránky. Pokud vyplnĂš napĹ™Ăklad "Pardubicko", v levĂ©m hornĂm rohu bude logo PirátskĂ© strany a text "| Pardubicko".', max_length=100, null=True, verbose_name='PĹ™Ăpona názvu stránky')), - ('meta_title_suffix', models.CharField(blank=True, help_text='UmoĹľĹuje pĹ™idat pĹ™Ăponu k titulku stránky běžnÄ› zobrazovanĂ©mu na záloĹľce s touto stránkou. Pokud vyplnĂš napĹ™Ăklad "Piráti Pardubicko", záloĹľka s kontakty bude nadepsaná "Kontakty | Piráti Pardubicko".', max_length=100, null=True, verbose_name='PĹ™Ăpona meta titulku stránky')), - ('main_text', wagtail.fields.RichTextField(verbose_name='HlavnĂ text')), - ('video_url', models.URLField(help_text='Automaticky se spustĂ bez zvuku', verbose_name='URL Videa vpravo')), - ('common_wishes', wagtail.fields.StreamField([('wish', 3)], block_lookup={0: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Ikona', 'required': True}), 1: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'required': True}), 2: ('wagtail.blocks.CharBlock', (), {'label': 'Popis', 'required': True}), 3: ('wagtail.blocks.StructBlock', [[('image', 0), ('title', 1), ('description', 2)]], {})}, verbose_name='NejÄŤastÄ›jšà přánĂ')), - ('tour_dates', wagtail.fields.StreamField([('tour_date', 2)], block_lookup={0: ('wagtail.blocks.CharBlock', (), {'help_text': 'NapĹ™. 14.5. v Plzni', 'label': 'Datum a lokace', 'required': True}), 1: ('wagtail.blocks.CharBlock', (), {'help_text': 'NapĹ™. 13:00 - 17:00 ParkovištÄ› pĹ™ed OlympiĂ', 'label': 'Detaily', 'required': True}), 2: ('wagtail.blocks.StructBlock', [[('date', 0), ('details', 1)]], {})}, verbose_name='Tour termĂny')), - ('new_wish_image', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='wagtailimages.image', verbose_name='Obrázek k novĂ©mu pránĂ')), - ('search_image', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.image', verbose_name='Search image')), + ( + "page_ptr", + models.OneToOneField( + auto_created=True, + on_delete=django.db.models.deletion.CASCADE, + parent_link=True, + primary_key=True, + serialize=False, + to="wagtailcore.page", + ), + ), + ( + "title_suffix", + models.CharField( + blank=True, + help_text='UmoĹľĹuje pĹ™idat pĹ™Ăponu k názvu stránky. Pokud vyplnĂš napĹ™Ăklad "Pardubicko", v levĂ©m hornĂm rohu bude logo PirátskĂ© strany a text "| Pardubicko".', + max_length=100, + null=True, + verbose_name="PĹ™Ăpona názvu stránky", + ), + ), + ( + "meta_title_suffix", + models.CharField( + blank=True, + help_text='UmoĹľĹuje pĹ™idat pĹ™Ăponu k titulku stránky běžnÄ› zobrazovanĂ©mu na záloĹľce s touto stránkou. Pokud vyplnĂš napĹ™Ăklad "Piráti Pardubicko", záloĹľka s kontakty bude nadepsaná "Kontakty | Piráti Pardubicko".', + max_length=100, + null=True, + verbose_name="PĹ™Ăpona meta titulku stránky", + ), + ), + ("main_text", wagtail.fields.RichTextField(verbose_name="HlavnĂ text")), + ( + "video_url", + models.URLField( + help_text="Automaticky se spustĂ bez zvuku", + verbose_name="URL Videa vpravo", + ), + ), + ( + "common_wishes", + wagtail.fields.StreamField( + [("wish", 3)], + block_lookup={ + 0: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Ikona", "required": True}, + ), + 1: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Nadpis", "required": True}, + ), + 2: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Popis", "required": True}, + ), + 3: ( + "wagtail.blocks.StructBlock", + [[("image", 0), ("title", 1), ("description", 2)]], + {}, + ), + }, + verbose_name="NejÄŤastÄ›jšà přánĂ", + ), + ), + ( + "tour_dates", + wagtail.fields.StreamField( + [("tour_date", 2)], + block_lookup={ + 0: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NapĹ™. 14.5. v Plzni", + "label": "Datum a lokace", + "required": True, + }, + ), + 1: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NapĹ™. 13:00 - 17:00 ParkovištÄ› pĹ™ed OlympiĂ", + "label": "Detaily", + "required": True, + }, + ), + 2: ( + "wagtail.blocks.StructBlock", + [[("date", 0), ("details", 1)]], + {}, + ), + }, + verbose_name="Tour termĂny", + ), + ), + ( + "new_wish_image", + models.ForeignKey( + blank=True, + null=True, + on_delete=django.db.models.deletion.PROTECT, + to="wagtailimages.image", + verbose_name="Obrázek k novĂ©mu pránĂ", + ), + ), + ( + "search_image", + models.ForeignKey( + blank=True, + null=True, + on_delete=django.db.models.deletion.SET_NULL, + related_name="+", + to="wagtailimages.image", + verbose_name="Search image", + ), + ), ], options={ - 'verbose_name': 'Máte přánĂ', + "verbose_name": "Máte přánĂ", }, - bases=('wagtailcore.page', wagtailmetadata.models.WagtailImageMetadataMixin, models.Model), + bases=( + "wagtailcore.page", + wagtailmetadata.models.WagtailImageMetadataMixin, + models.Model, + ), ), ] diff --git a/make_a_wish/migrations/0002_alter_makeawishroot_main_text.py b/make_a_wish/migrations/0002_alter_makeawishroot_main_text.py index 6c65b6dd90dc591327507bbf1b4cfd4673cfd962..82cd800976bf6187f23892720e993cfbe57f07c8 100644 --- a/make_a_wish/migrations/0002_alter_makeawishroot_main_text.py +++ b/make_a_wish/migrations/0002_alter_makeawishroot_main_text.py @@ -4,15 +4,14 @@ from django.db import migrations, models class Migration(migrations.Migration): - dependencies = [ - ('make_a_wish', '0001_initial'), + ("make_a_wish", "0001_initial"), ] operations = [ migrations.AlterField( - model_name='makeawishroot', - name='main_text', - field=models.TextField(verbose_name='HlavnĂ text'), + model_name="makeawishroot", + name="main_text", + field=models.TextField(verbose_name="HlavnĂ text"), ), ] diff --git a/make_a_wish/migrations/0003_makeawishroot_stats.py b/make_a_wish/migrations/0003_makeawishroot_stats.py index 7bcdedb7de58efe39ecbb355d13a310b7083b13c..d048a3f0bc11f03d5c50581eee3f083645fd66ce 100644 --- a/make_a_wish/migrations/0003_makeawishroot_stats.py +++ b/make_a_wish/migrations/0003_makeawishroot_stats.py @@ -5,16 +5,28 @@ from django.db import migrations class Migration(migrations.Migration): - dependencies = [ - ('make_a_wish', '0002_alter_makeawishroot_main_text'), + ("make_a_wish", "0002_alter_makeawishroot_main_text"), ] operations = [ migrations.AddField( - model_name='makeawishroot', - name='stats', - field=wagtail.fields.StreamField([('stat', 2)], block_lookup={0: ('wagtail.blocks.CharBlock', (), {'label': 'ÄŚĂslo'}), 1: ('wagtail.blocks.CharBlock', (), {'label': 'Popis'}), 2: ('wagtail.blocks.StructBlock', [[('count', 0), ('description', 1)]], {})}, default=[], verbose_name='Statistiky'), + model_name="makeawishroot", + name="stats", + field=wagtail.fields.StreamField( + [("stat", 2)], + block_lookup={ + 0: ("wagtail.blocks.CharBlock", (), {"label": "ÄŚĂslo"}), + 1: ("wagtail.blocks.CharBlock", (), {"label": "Popis"}), + 2: ( + "wagtail.blocks.StructBlock", + [[("count", 0), ("description", 1)]], + {}, + ), + }, + default=[], + verbose_name="Statistiky", + ), preserve_default=False, ), ] diff --git a/make_a_wish/migrations/0004_makeawishformfield.py b/make_a_wish/migrations/0004_makeawishformfield.py index 3c89c7b7195e1d1f56dabfd6d2f234c127f4233a..cb674259ae1c25e54082cacba46b6076ea8935da 100644 --- a/make_a_wish/migrations/0004_makeawishformfield.py +++ b/make_a_wish/migrations/0004_makeawishformfield.py @@ -6,29 +6,105 @@ from django.db import migrations, models class Migration(migrations.Migration): - dependencies = [ - ('make_a_wish', '0003_makeawishroot_stats'), + ("make_a_wish", "0003_makeawishroot_stats"), ] operations = [ migrations.CreateModel( - name='MakeAWIshFormField', + name="MakeAWIshFormField", fields=[ - ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('sort_order', models.IntegerField(blank=True, editable=False, null=True)), - ('clean_name', models.CharField(blank=True, default='', help_text='Safe name of the form field, the label converted to ascii_snake_case', max_length=255, verbose_name='name')), - ('label', models.CharField(help_text='The label of the form field', max_length=255, verbose_name='label')), - ('field_type', models.CharField(choices=[('singleline', 'Single line text'), ('multiline', 'Multi-line text'), ('email', 'Email'), ('number', 'Number'), ('url', 'URL'), ('checkbox', 'Checkbox'), ('checkboxes', 'Checkboxes'), ('dropdown', 'Drop down'), ('multiselect', 'Multiple select'), ('radio', 'Radio buttons'), ('date', 'Date'), ('datetime', 'Date/time'), ('hidden', 'Hidden field')], max_length=16, verbose_name='field type')), - ('required', models.BooleanField(default=True, verbose_name='required')), - ('choices', models.TextField(blank=True, help_text='Comma or new line separated list of choices. Only applicable in checkboxes, radio and dropdown.', verbose_name='choices')), - ('default_value', models.TextField(blank=True, help_text='Default value. Comma or new line separated values supported for checkboxes.', verbose_name='default value')), - ('help_text', models.CharField(blank=True, max_length=255, verbose_name='help text')), - ('page', modelcluster.fields.ParentalKey(on_delete=django.db.models.deletion.CASCADE, related_name='form_fields', to='make_a_wish.makeawishroot')), + ( + "id", + models.AutoField( + auto_created=True, + primary_key=True, + serialize=False, + verbose_name="ID", + ), + ), + ( + "sort_order", + models.IntegerField(blank=True, editable=False, null=True), + ), + ( + "clean_name", + models.CharField( + blank=True, + default="", + help_text="Safe name of the form field, the label converted to ascii_snake_case", + max_length=255, + verbose_name="name", + ), + ), + ( + "label", + models.CharField( + help_text="The label of the form field", + max_length=255, + verbose_name="label", + ), + ), + ( + "field_type", + models.CharField( + choices=[ + ("singleline", "Single line text"), + ("multiline", "Multi-line text"), + ("email", "Email"), + ("number", "Number"), + ("url", "URL"), + ("checkbox", "Checkbox"), + ("checkboxes", "Checkboxes"), + ("dropdown", "Drop down"), + ("multiselect", "Multiple select"), + ("radio", "Radio buttons"), + ("date", "Date"), + ("datetime", "Date/time"), + ("hidden", "Hidden field"), + ], + max_length=16, + verbose_name="field type", + ), + ), + ( + "required", + models.BooleanField(default=True, verbose_name="required"), + ), + ( + "choices", + models.TextField( + blank=True, + help_text="Comma or new line separated list of choices. Only applicable in checkboxes, radio and dropdown.", + verbose_name="choices", + ), + ), + ( + "default_value", + models.TextField( + blank=True, + help_text="Default value. Comma or new line separated values supported for checkboxes.", + verbose_name="default value", + ), + ), + ( + "help_text", + models.CharField( + blank=True, max_length=255, verbose_name="help text" + ), + ), + ( + "page", + modelcluster.fields.ParentalKey( + on_delete=django.db.models.deletion.CASCADE, + related_name="form_fields", + to="make_a_wish.makeawishroot", + ), + ), ], options={ - 'ordering': ['sort_order'], - 'abstract': False, + "ordering": ["sort_order"], + "abstract": False, }, ), ] diff --git a/make_a_wish/migrations/0005_makeawishroot_success_text.py b/make_a_wish/migrations/0005_makeawishroot_success_text.py index 33b812bdddefe5fa3dff9482cf6ed0ffb04246f0..d85b6be72fe72661c46c9cb12553b5c55ff57d6a 100644 --- a/make_a_wish/migrations/0005_makeawishroot_success_text.py +++ b/make_a_wish/migrations/0005_makeawishroot_success_text.py @@ -4,16 +4,17 @@ from django.db import migrations, models class Migration(migrations.Migration): - dependencies = [ - ('make_a_wish', '0004_makeawishformfield'), + ("make_a_wish", "0004_makeawishformfield"), ] operations = [ migrations.AddField( - model_name='makeawishroot', - name='success_text', - field=models.TextField(default='', verbose_name='Text po odeslánĂ formuláře'), + model_name="makeawishroot", + name="success_text", + field=models.TextField( + default="", verbose_name="Text po odeslánĂ formuláře" + ), preserve_default=False, ), ] diff --git a/make_a_wish/migrations/0006_makeawishroot_header_image_and_more.py b/make_a_wish/migrations/0006_makeawishroot_header_image_and_more.py index 41e0ee9844476c020dd1374df7155b4a8a779271..0190021eab9bcebd432bff90f8ad3127378e3f82 100644 --- a/make_a_wish/migrations/0006_makeawishroot_header_image_and_more.py +++ b/make_a_wish/migrations/0006_makeawishroot_header_image_and_more.py @@ -5,21 +5,34 @@ from django.db import migrations, models class Migration(migrations.Migration): - dependencies = [ - ('make_a_wish', '0005_makeawishroot_success_text'), - ('wagtailimages', '0027_image_description'), + ("make_a_wish", "0005_makeawishroot_success_text"), + ("wagtailimages", "0027_image_description"), ] operations = [ migrations.AddField( - model_name='makeawishroot', - name='header_image', - field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='+', to='wagtailimages.image', verbose_name='Obrázek v headeru'), + model_name="makeawishroot", + name="header_image", + field=models.ForeignKey( + blank=True, + null=True, + on_delete=django.db.models.deletion.PROTECT, + related_name="+", + to="wagtailimages.image", + verbose_name="Obrázek v headeru", + ), ), migrations.AlterField( - model_name='makeawishroot', - name='new_wish_image', - field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='+', to='wagtailimages.image', verbose_name='Obrázek k novĂ©mu přánĂ'), + model_name="makeawishroot", + name="new_wish_image", + field=models.ForeignKey( + blank=True, + null=True, + on_delete=django.db.models.deletion.PROTECT, + related_name="+", + to="wagtailimages.image", + verbose_name="Obrázek k novĂ©mu přánĂ", + ), ), ] diff --git a/make_a_wish/migrations/0007_makeawishroot_matomo_id.py b/make_a_wish/migrations/0007_makeawishroot_matomo_id.py index 86b6536fff97fd7ffcbaa5740a18eb3381eef9c4..1b55cfafd505c24f4f93214687d80be0c2f6cca1 100644 --- a/make_a_wish/migrations/0007_makeawishroot_matomo_id.py +++ b/make_a_wish/migrations/0007_makeawishroot_matomo_id.py @@ -4,15 +4,18 @@ from django.db import migrations, models class Migration(migrations.Migration): - dependencies = [ - ('make_a_wish', '0006_makeawishroot_header_image_and_more'), + ("make_a_wish", "0006_makeawishroot_header_image_and_more"), ] operations = [ migrations.AddField( - model_name='makeawishroot', - name='matomo_id', - field=models.IntegerField(blank=True, null=True, verbose_name='Matomo ID pro sledovánĂ návštÄ›vnosti'), + model_name="makeawishroot", + name="matomo_id", + field=models.IntegerField( + blank=True, + null=True, + verbose_name="Matomo ID pro sledovánĂ návštÄ›vnosti", + ), ), ] diff --git a/make_a_wish/models.py b/make_a_wish/models.py index cb9f2f18555aea2d24eb1fabd1ba2040275e3e54..95381ca9b9c7f1bb130b39223abb9ecb4debbc8a 100644 --- a/make_a_wish/models.py +++ b/make_a_wish/models.py @@ -1,23 +1,16 @@ from django.db import models - from modelcluster.fields import ParentalKey -from wagtail.models import Page -from wagtail.fields import StreamField - -from shared.models import ( - ExtendedMetadataHomePageMixin, -) -from wagtailmetadata.models import MetadataPageMixin from wagtail.admin.panels import FieldPanel, InlinePanel, ObjectList, TabbedInterface from wagtail.contrib.forms.models import AbstractForm, AbstractFormField from wagtail.contrib.forms.panels import FormSubmissionsPanel +from wagtail.fields import StreamField +from wagtail.models import Page +from wagtailmetadata.models import MetadataPageMixin + +from shared.models import ExtendedMetadataHomePageMixin from shared_legacy.utils import make_promote_panels -from .blocks import ( - CommonWishBlock, - TourDateBlock, - StatBlock, -) +from .blocks import CommonWishBlock, StatBlock, TourDateBlock class MakeAWIshFormField(AbstractFormField): @@ -51,30 +44,18 @@ class MakeAWishRoot( ) video_url = models.URLField( - verbose_name="URL Videa vpravo", - help_text="Automaticky se spustĂ bez zvuku" + verbose_name="URL Videa vpravo", help_text="Automaticky se spustĂ bez zvuku" ) common_wishes = StreamField( - [ - ("wish", CommonWishBlock()) - ], - verbose_name="NejÄŤastÄ›jšà přánĂ" + [("wish", CommonWishBlock())], verbose_name="NejÄŤastÄ›jšà přánĂ" ) tour_dates = StreamField( - [ - ("tour_date", TourDateBlock()) - ], - verbose_name="Tour termĂny" + [("tour_date", TourDateBlock())], verbose_name="Tour termĂny" ) - stats = StreamField( - [ - ("stat", StatBlock()) - ], - verbose_name="Statistiky" - ) + stats = StreamField([("stat", StatBlock())], verbose_name="Statistiky") matomo_id = models.IntegerField( "Matomo ID pro sledovánĂ návštÄ›vnosti", blank=True, null=True @@ -92,9 +73,7 @@ class MakeAWishRoot( InlinePanel("form_fields", label="Formulář - nemÄ›nit!!"), ] - promote_panels = make_promote_panels() + [ - FieldPanel("matomo_id") - ] + promote_panels = make_promote_panels() + [FieldPanel("matomo_id")] submissions_panels = [FormSubmissionsPanel()] @@ -107,4 +86,4 @@ class MakeAWishRoot( ) class Meta: - verbose_name = "Máte přánĂ" \ No newline at end of file + verbose_name = "Máte přánĂ" diff --git a/make_a_wish/templates/make_a_wish/header/wish_header.html b/make_a_wish/templates/make_a_wish/header/wish_header.html index fc7caf92ec8a67e94fc28ce5d78eaa04e62e2b7b..779963ba72d122c4e0f7be2fa1e9bad11abd29e1 100644 --- a/make_a_wish/templates/make_a_wish/header/wish_header.html +++ b/make_a_wish/templates/make_a_wish/header/wish_header.html @@ -19,4 +19,4 @@ </div> </div> </div> -{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/make_a_wish/templates/make_a_wish/make_a_wish_root.html b/make_a_wish/templates/make_a_wish/make_a_wish_root.html index f1bdd38a49b04a3c3c8c2c0b8c77275a844954b1..61db639573fd28cf8eb3e5965a664a7a2e5a985a 100644 --- a/make_a_wish/templates/make_a_wish/make_a_wish_root.html +++ b/make_a_wish/templates/make_a_wish/make_a_wish_root.html @@ -21,11 +21,11 @@ <div class="prose prose-black text-2xl xl:text-3xl mb-8 xl:!w-[115%%]"> {{ page.main_text }} </div> - + <div class="bg-grey-175 border-grey-200 border-2 xl:!w-[115%]"> <div class="flex gap-0 xl:flex-row flex-col"> {% image page.new_wish_image original class="h-32 xl:flex-1" style="height:6rem" %} - + <div class=" font-alt text-3xl xl:border-l-2 border-grey-200 xl:w-48 justify-center items-center flex @@ -37,7 +37,7 @@ + PĹ™idat přánĂ </div> </div> - + <div class="hidden duration-150" id="make_a_wish"> <form class="border-t-2 border-grey-200 p-8" @@ -50,14 +50,14 @@ {{ hidden_field.errors }} {{ hidden_field }} {% endfor %} - + <textarea class="bg-white font-alt p-3 text-3xl border-2 border-grey-200 w-full" placeholder="PĹ™eju si, aby..." name="vase_prani" id="id_vase_prani" ></textarea> - + <div class="flex xl:gap-6 gap-4 justify-center mt-4 xl:flex-row flex-col"> <input type="text" @@ -66,7 +66,7 @@ name="jmeno_a_prijmeni" id="id_jmeno_a_prijmeni" > - + <input type="email" class="bg-white font-alt p-3 text-3xl border-2 border-grey-200 flex-1" @@ -75,7 +75,7 @@ id="id_e_mail" > </div> - + <div class="mt-4"> <input type="submit" @@ -87,10 +87,10 @@ </div> </div> {% endblock %} - + <div class="xl:mb-16 hidden" id="separator"></div> </div> - + {% block video %} <div class="flex xl:justify-end xl:absolute xl:ml-[920px] xl:mt-[-8px] xl:mb-0 mb-8"> <video @@ -104,7 +104,7 @@ </div> {% endblock %} </div> - + <div class="bg-black"> <div class="container--wide text-white pb-16 pt-24 xl:pr-[71px]"> <div class="grid grid-cols-1 xl:grid-cols-3"> @@ -113,7 +113,7 @@ <div class="text-7xl xl:text-center">â–Ľ</div> </div> </div> - + <div class="mt-16 p-12 bg-grey-50"> <ul class="flex flex-col xl:gap-6 gap-12"> {% for wish in page.common_wishes %} @@ -130,10 +130,10 @@ {% endfor %} </ul> </div> - + <div class="mt-12 xl:p-12 p-6 bg-grey-50 text-black"> <h3 class="head-4xl text-5xl pt-6">Máte přánĂ tour</h3> - + <ul class="flex flex-col gap-4 mt-8"> {% for tour_date in page.tour_dates %} <li class="py-4"> @@ -144,16 +144,16 @@ {{ tour_date.value.details }} </div> </li> - + {% if not forloop.last %} <div class="mx-24 border-t-2 border-grey-200"></div> {% endif %} {% endfor %} </ul> </div> - + <h3 class="mt-12 xl:head-6xl head-9xl text-white">Naše data</h3> - + <div class="mt-4 p-6 bg-grey-50 text-black flex gap-8 xl:gap-16 justify-between xl:flex-row flex-col"> {% for stat_info in page.stats %} <div class="flex gap-4 items-center"> @@ -167,21 +167,21 @@ </div> </div> </main> - + <script> document.getElementById("open_wish").onclick = ((e) => { const makeAWish = document.getElementById("make_a_wish"); const separator = document.getElementById("separator"); - + if (makeAWish.classList.contains("hidden")) { makeAWish.classList.remove("hidden"); separator.classList.remove("hidden"); - + e.currentTarget.innerHTML = "↠Zrušit" } else { makeAWish.classList.add("hidden"); separator.classList.add("hidden"); - + e.currentTarget.innerHTML = "+ PĹ™idat přánĂ" } }); diff --git a/make_a_wish/templates/make_a_wish/make_a_wish_root_landing.html b/make_a_wish/templates/make_a_wish/make_a_wish_root_landing.html index 623763e345e4553719545be93dc53224824930a7..8b4e2b381527b89147268c4bb6660933a91e1d0d 100644 --- a/make_a_wish/templates/make_a_wish/make_a_wish_root_landing.html +++ b/make_a_wish/templates/make_a_wish/make_a_wish_root_landing.html @@ -6,4 +6,4 @@ </div> {% endblock %} -{% block video %}{% endblock %} \ No newline at end of file +{% block video %}{% endblock %} diff --git a/shared/blocks/parents/struct.py b/shared/blocks/parents/struct.py index b7d8f0eebc2ad7da02b0e81e8c58a51727f37a80..a74a03991f0a7965959f9018cf3b75368324c41c 100644 --- a/shared/blocks/parents/struct.py +++ b/shared/blocks/parents/struct.py @@ -155,7 +155,7 @@ class NewsletterSubscriptionBlock(blocks.StructBlock): 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." - ) + ), ) title_line_1 = blocks.CharBlock( diff --git a/shared/blocks/parents/video.py b/shared/blocks/parents/video.py index 69c4d67fff83a24cae8263083b9e06f5e102003e..81201789a0d84d176fad8e39e6945d98b83449ff 100644 --- a/shared/blocks/parents/video.py +++ b/shared/blocks/parents/video.py @@ -32,7 +32,7 @@ class YouTubeVideoBlock(blocks.StructBlock): label="ZabĂrá maximálnà šĂĹ™ku povolenou pro text?", required=True, default=False, - help_text="Pokud toto pole nenĂ zaškrtlĂ©, video bude užšà neĹľ text okolo." + help_text="Pokud toto pole nenĂ zaškrtlĂ©, video bude užšà neĹľ text okolo.", ) autoplay = blocks.BooleanBlock( @@ -42,7 +42,7 @@ class YouTubeVideoBlock(blocks.StructBlock): help_text=( "Automaticky spustĂ video bez zvuku. Pozor, nÄ›kterĂ© prohlĂĹľeÄŤe " "blokujĂ i automatickĂ© pĹ™ehrávánĂ videĂ bez zvuku." - ) + ), ) class Meta: diff --git a/shared/models/main.py b/shared/models/main.py index 54c522275dfbd790cd1ead34dcdd7d0623f41887..9581a335b0ad98726cfdda900774eb5a0e6f5d54 100644 --- a/shared/models/main.py +++ b/shared/models/main.py @@ -50,7 +50,11 @@ from shared.blocks import ( TwoTextColumnBlock, ) from shared.forms import SubscribeForm -from shared.utils import make_promote_panels, subscribe_to_newsletter, subscribe_to_ecomail_newsletter +from shared.utils import ( + make_promote_panels, + subscribe_to_ecomail_newsletter, + subscribe_to_newsletter, +) from tuning import admin_help logger = logging.getLogger(__name__) @@ -1077,7 +1081,7 @@ class MainHomePageMixin( ), default=True, null=False, - blank=False + blank=False, ) content_panels = Page.content_panels + [ @@ -1215,27 +1219,22 @@ class MainHomePageMixin( if form.is_valid(): # If there is a mailtrain newsletter list ID, subscribe to it. - # + # # Otherwise, if there is no ecomail newsletter list ID, subscribe # to the global mailtrain list as long as it's defined. - # + # # If there is an ecomail newsletter list ID, subscribe to it # (even if the mailtrain one was also subscribed to. Seems logical here.) if hasattr(self, "newsletter_list_id") and self.newsletter_list_id: subscribe_to_newsletter( - form.cleaned_data["email"], - self.newsletter_list_id + form.cleaned_data["email"], self.newsletter_list_id ) elif ( - ( - not hasattr(self, "ecomail_newsletter_list_id") - or not self.ecomail_newsletter_list_id - ) - and settings.PIRATICZ_NEWSLETTER_CID - ): + not hasattr(self, "ecomail_newsletter_list_id") + or not self.ecomail_newsletter_list_id + ) and settings.PIRATICZ_NEWSLETTER_CID: subscribe_to_newsletter( - form.cleaned_data["email"], - settings.PIRATICZ_NEWSLETTER_CID + form.cleaned_data["email"], settings.PIRATICZ_NEWSLETTER_CID ) if ( @@ -1246,7 +1245,7 @@ class MainHomePageMixin( subscribe_to_ecomail_newsletter( form.cleaned_data["email"], self.ecomail_newsletter_list_id, - self.ecomail_newsletter_list_tags + self.ecomail_newsletter_list_tags, ) messages.success( diff --git a/shared/static/styleguide2/pirati-ui.svg b/shared/static/styleguide2/pirati-ui.svg index ffc20eccf43c3d89476c0124b2475cd314fe2ecd..c6e3a71ad07f5229dda5d69c9289dc5ce339be12 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/shared/templates/styleguide2/base.html b/shared/templates/styleguide2/base.html index 52448572e2c1c9ce61e98364a2a5b8c4e39eb42c..71b5537d8a9f65bd6a37ad094dd3ec07403e09a3 100644 --- a/shared/templates/styleguide2/base.html +++ b/shared/templates/styleguide2/base.html @@ -4,7 +4,7 @@ <html lang="cs"> <head> {% block head_start %}{% endblock %} - + {% if request.in_preview_panel %} <base target="_blank"> {% endif %} diff --git a/shared/templates/styleguide2/includes/atoms/buttons/round_button_block.html b/shared/templates/styleguide2/includes/atoms/buttons/round_button_block.html index c1a749b50f03daf0c54b414dab66fdbdb3300cef..7f40ed1ad21b28a943689597747685bb7661a34d 100644 --- a/shared/templates/styleguide2/includes/atoms/buttons/round_button_block.html +++ b/shared/templates/styleguide2/includes/atoms/buttons/round_button_block.html @@ -6,9 +6,9 @@ {% if page.root_page.content_is_centered %} mx-auto {% endif %} - + py-4 - + {% if self.align == 'center' %}flex justify-center items-center max-w-[100ch]{% endif %} " > diff --git a/shared/templates/styleguide2/includes/atoms/youtube_video/youtube_video.html b/shared/templates/styleguide2/includes/atoms/youtube_video/youtube_video.html index 5d9dc91bc4eae2ddc50618b8f6f9cd863e59c877..5b475f9351a066ff202d1959b06bb796d83e6772 100644 --- a/shared/templates/styleguide2/includes/atoms/youtube_video/youtube_video.html +++ b/shared/templates/styleguide2/includes/atoms/youtube_video/youtube_video.html @@ -5,7 +5,7 @@ flex flex-col gap-2 mb-10 relative - + {% if not self.is_full_width %} max-w-[600px] {% else %} @@ -52,7 +52,7 @@ <div class=" content-block aspect-video mb-10 - + {% if not self.is_full_width %} max-w-[600px] {% else %} diff --git a/shared/templates/styleguide2/includes/organisms/header/simple_header.html b/shared/templates/styleguide2/includes/organisms/header/simple_header.html index 88b76f9bcf4187e0a7df488ee7b1b959c8c3c912..8b713586c8fdc112ea2d08921deb01daac0b703e 100644 --- a/shared/templates/styleguide2/includes/organisms/header/simple_header.html +++ b/shared/templates/styleguide2/includes/organisms/header/simple_header.html @@ -28,7 +28,7 @@ {% if background_image %} {% if not show_transparent_header %}bg-[#00000088]{% endif %} - + bg-no-repeat bg-cover bg-center bg-blend-darken bg-[top_right_-7rem] {% else %} bg-black diff --git a/shared/utils.py b/shared/utils.py index 506b60f37f1232cefa5f0cd73af58b821275a490..9a3efc63003e59005f9fd980ea419ef4e38b3d05 100644 --- a/shared/utils.py +++ b/shared/utils.py @@ -83,10 +83,7 @@ def subscribe_to_ecomail_newsletter(email, list_id: int, categories: str): response = requests.post( urljoin(settings.ECOMAIL_API_URL, f"lists/{list_id}/subscribe"), data=json.dumps(data), - headers={ - "Content-Type": "application/json", - "key": settings.ECOMAIL_API_KEY - } + headers={"Content-Type": "application/json", "key": settings.ECOMAIL_API_KEY}, ) if response.status_code != 200: diff --git a/shared_legacy/blocks/base.py b/shared_legacy/blocks/base.py index c8079c52a78764131a151e8c5fdcd7b6684f2194..49231078bc2be6a4b238b1794414cf72843da35b 100644 --- a/shared_legacy/blocks/base.py +++ b/shared_legacy/blocks/base.py @@ -1079,7 +1079,7 @@ class NewsletterSubscriptionBlock(blocks.StructBlock): 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." - ) + ), ) description = blocks.CharBlock( label="Popis newsletteru", diff --git a/uniweb/migrations/0117_uniwebhomepage_has_expanded_navbar.py b/uniweb/migrations/0117_uniwebhomepage_has_expanded_navbar.py index 2b5341db22251e06d4e27f68d39c4153d504ee82..90351d1f0f992d6c87036d92beda085f62004e3c 100644 --- a/uniweb/migrations/0117_uniwebhomepage_has_expanded_navbar.py +++ b/uniweb/migrations/0117_uniwebhomepage_has_expanded_navbar.py @@ -4,15 +4,18 @@ from django.db import migrations, models class Migration(migrations.Migration): - dependencies = [ - ('uniweb', '0116_alter_uniwebhomepage_menu_button_content'), + ("uniweb", "0116_alter_uniwebhomepage_menu_button_content"), ] operations = [ migrations.AddField( - model_name='uniwebhomepage', - name='has_expanded_navbar', - field=models.BooleanField(default=True, help_text='Pokud je toto pole zaškrtlĂ©, navigaÄŤnĂ lišta bude vĹľdy mĂt rezervovanĂ© mĂsto na obrazovce.', verbose_name='Má rozšĂĹ™enĂ˝ navbar?'), + model_name="uniwebhomepage", + name="has_expanded_navbar", + field=models.BooleanField( + default=True, + help_text="Pokud je toto pole zaškrtlĂ©, navigaÄŤnĂ lišta bude vĹľdy mĂt rezervovanĂ© mĂsto na obrazovce.", + verbose_name="Má rozšĂĹ™enĂ˝ navbar?", + ), ), ] diff --git a/uniweb/migrations/0118_uniwebflexiblepage_show_tansparent_header.py b/uniweb/migrations/0118_uniwebflexiblepage_show_tansparent_header.py index 457de51c27acd3f4aa7844a1ab885c873f34fa64..4c2efaccda2262ffe90d86017520ad22d525cada 100644 --- a/uniweb/migrations/0118_uniwebflexiblepage_show_tansparent_header.py +++ b/uniweb/migrations/0118_uniwebflexiblepage_show_tansparent_header.py @@ -4,15 +4,18 @@ from django.db import migrations, models class Migration(migrations.Migration): - dependencies = [ - ('uniweb', '0117_uniwebhomepage_has_expanded_navbar'), + ("uniweb", "0117_uniwebhomepage_has_expanded_navbar"), ] operations = [ migrations.AddField( - model_name='uniwebflexiblepage', - name='show_tansparent_header', - field=models.BooleanField(default=False, help_text='Pokud je toto pole zaškrtlĂ©, obrázek na pozadĂ hlaviÄŤky se neztmavĂ.', verbose_name='PrĹŻhledná hlaviÄŤka?'), + model_name="uniwebflexiblepage", + name="show_tansparent_header", + field=models.BooleanField( + default=False, + help_text="Pokud je toto pole zaškrtlĂ©, obrázek na pozadĂ hlaviÄŤky se neztmavĂ.", + verbose_name="PrĹŻhledná hlaviÄŤka?", + ), ), ] diff --git a/uniweb/migrations/0119_uniwebformpage_main_image_and_more.py b/uniweb/migrations/0119_uniwebformpage_main_image_and_more.py index e7614a6e55aa5cd9ecba67fbcc010569488dcde7..c5ef666b39e1fd7f29755391c54547f46180666e 100644 --- a/uniweb/migrations/0119_uniwebformpage_main_image_and_more.py +++ b/uniweb/migrations/0119_uniwebformpage_main_image_and_more.py @@ -5,21 +5,31 @@ from django.db import migrations, models class Migration(migrations.Migration): - dependencies = [ - ('uniweb', '0118_uniwebflexiblepage_show_tansparent_header'), - ('wagtailimages', '0027_image_description'), + ("uniweb", "0118_uniwebflexiblepage_show_tansparent_header"), + ("wagtailimages", "0027_image_description"), ] operations = [ migrations.AddField( - model_name='uniwebformpage', - name='main_image', - field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='+', to='wagtailimages.image', verbose_name='Obrázek na pozadĂ hlaviÄŤky'), + model_name="uniwebformpage", + name="main_image", + field=models.ForeignKey( + blank=True, + null=True, + on_delete=django.db.models.deletion.PROTECT, + related_name="+", + to="wagtailimages.image", + verbose_name="Obrázek na pozadĂ hlaviÄŤky", + ), ), migrations.AddField( - model_name='uniwebformpage', - name='show_transparent_header', - field=models.BooleanField(default=False, help_text='Pokud je toto pole zaškrtlĂ©, obrázek na pozadĂ hlaviÄŤky se neztmavĂ.', verbose_name='PrĹŻhledná hlaviÄŤka?'), + model_name="uniwebformpage", + name="show_transparent_header", + field=models.BooleanField( + default=False, + help_text="Pokud je toto pole zaškrtlĂ©, obrázek na pozadĂ hlaviÄŤky se neztmavĂ.", + verbose_name="PrĹŻhledná hlaviÄŤka?", + ), ), ] diff --git a/uniweb/migrations/0120_rename_show_tansparent_header_uniwebflexiblepage_show_transparent_header.py b/uniweb/migrations/0120_rename_show_tansparent_header_uniwebflexiblepage_show_transparent_header.py index df250a5a5967be934d688ed6d1768a3af02e0bc9..4c246ada992865ad957b59fc94c286496b436ddd 100644 --- a/uniweb/migrations/0120_rename_show_tansparent_header_uniwebflexiblepage_show_transparent_header.py +++ b/uniweb/migrations/0120_rename_show_tansparent_header_uniwebflexiblepage_show_transparent_header.py @@ -4,15 +4,14 @@ from django.db import migrations class Migration(migrations.Migration): - dependencies = [ - ('uniweb', '0119_uniwebformpage_main_image_and_more'), + ("uniweb", "0119_uniwebformpage_main_image_and_more"), ] operations = [ migrations.RenameField( - model_name='uniwebflexiblepage', - old_name='show_tansparent_header', - new_name='show_transparent_header', + model_name="uniwebflexiblepage", + old_name="show_tansparent_header", + new_name="show_transparent_header", ), ] diff --git a/uniweb/migrations/0121_alter_uniwebarticlepage_content_and_more.py b/uniweb/migrations/0121_alter_uniwebarticlepage_content_and_more.py index c7f42acdfac381a0a389a13f29fd83654de664ab..8fb0242b26537125f4f6f40d5fa133e18cd7ffbc 100644 --- a/uniweb/migrations/0121_alter_uniwebarticlepage_content_and_more.py +++ b/uniweb/migrations/0121_alter_uniwebarticlepage_content_and_more.py @@ -5,40 +5,4789 @@ from django.db import migrations class Migration(migrations.Migration): - dependencies = [ - ('uniweb', '0120_rename_show_tansparent_header_uniwebflexiblepage_show_transparent_header'), + ( + "uniweb", + "0120_rename_show_tansparent_header_uniwebflexiblepage_show_transparent_header", + ), ] operations = [ migrations.AlterField( - model_name='uniwebarticlepage', - name='content', - field=wagtail.fields.StreamField([('text', 0), ('advanced_text', 4), ('two_columns_text', 7), ('headline', 12), ('headline_with_picture', 15), ('picture_list', 19), ('flip_cards', 30), ('table', 31), ('popout_table', 32), ('gallery', 35), ('figure', 38), ('card', 62), ('two_columns', 71), ('three_columns', 73), ('youtube', 74), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68), ('popout_point', 78), ('quote', 81), ('download', 83)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {}), 46: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 48: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 49: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 50: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('osm-mapnik', 'OSM Mapnik'), ('stadia-osm-bright', 'Stadia OSM Bright'), ('stadia-outdoors', 'Stadia Outdoors'), ('mapbox-streets', 'Mapbox Streets'), ('mapbox-outdoors', 'Mapbox Outdoors'), ('mapbox-light', 'Mapbox Light'), ('mapbox-dark', 'Mapbox Dark'), ('mapbox-satellite', 'Mapbox Satellite'), ('mapbox-pirate', 'Mapbox Pirate Theme')], 'label': 'Styl'}), 51: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 52: ('wagtail.blocks.StructBlock', [[('lat', 46), ('lon', 47), ('hex_color', 48), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 53: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 54: ('wagtail.blocks.TextBlock', (), {'help_text': "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", 'label': 'Geodata', 'required': True}), 55: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 56: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 57: ('wagtail.blocks.StructBlock', [[('title', 53), ('description', 37), ('geojson', 54), ('image', 39), ('link', 55), ('hex_color', 56)]], {'required': True}), 58: ('wagtail.blocks.ListBlock', (57,), {'label': 'Součásti'}), 59: ('wagtail.blocks.StructBlock', [[('features', 58), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Mapová kolekce'}), 60: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59)]], {'label': 'Obsah', 'required': False}), 61: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 62: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 60), ('page', 61), ('link', 55)]], {}), 63: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 64: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black', 'ÄŚerná'), ('white', 'BĂlá'), ('pirati-yellow', 'Ĺ˝lutá'), ('grey-125', 'SvÄ›tle šedá'), ('blue-300', 'Modrá'), ('cyan-200', 'Tyrkysová'), ('green-400', 'Zelená'), ('violet-400', 'VĂnová'), ('red-600', 'ÄŚervená')], 'label': 'Barva'}), 65: ('wagtail.blocks.BooleanBlock', (), {'default': True, 'help_text': 'Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.', 'label': 'Animovat na hover', 'required': False}), 66: ('wagtail.blocks.StructBlock', [[('title', 63), ('color', 64), ('hoveractive', 65), ('page', 61), ('link', 55), ('align', 11)]], {}), 67: ('wagtail.blocks.ListBlock', (66,), {'label': 'TlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('buttons', 67)]], {}), 69: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('right_column_content', 70)]], {}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('middle_column_content', 72), ('right_column_content', 70)]], {}), 74: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {'label': 'YouTube video'}), 75: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 76: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 77: ('wagtail.blocks.StreamBlock', [[('text', 76), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 78: ('wagtail.blocks.StructBlock', [[('name', 75), ('content', 77)]], {}), 79: ('wagtail.blocks.CharBlock', (), {'label': 'Citace'}), 80: ('wagtail.blocks.CharBlock', (), {'label': 'JmĂ©no autora'}), 81: ('wagtail.blocks.StructBlock', [[('quote', 79), ('autor_name', 80)]], {}), 82: ('wagtail.documents.blocks.DocumentChooserBlock', (), {'label': 'StáhnutelnĂ˝ soubor'}), 83: ('wagtail.blocks.StructBlock', [[('file', 82)]], {})}, verbose_name='ÄŚlánek'), + model_name="uniwebarticlepage", + name="content", + field=wagtail.fields.StreamField( + [ + ("text", 0), + ("advanced_text", 4), + ("two_columns_text", 7), + ("headline", 12), + ("headline_with_picture", 15), + ("picture_list", 19), + ("flip_cards", 30), + ("table", 31), + ("popout_table", 32), + ("gallery", 35), + ("figure", 38), + ("card", 62), + ("two_columns", 71), + ("three_columns", 73), + ("youtube", 74), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ("popout_point", 78), + ("quote", 81), + ("download", 83), + ], + blank=True, + block_lookup={ + 0: ( + "wagtail.blocks.RichTextBlock", + (), + { + "template": "styleguide2/includes/atoms/text/prose_richtext.html" + }, + ), + 1: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("left", "vlevo"), + ("center", "uprostĹ™ed"), + ("right", "vpravo"), + ], + "label": "zarovnánĂ", + }, + ), + 2: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black_on_white", "ÄŤerná na bĂlĂ©"), + ("black_on_yellow", "ÄŤerná na ĹľlutĂ©"), + ("white_on_black", "bĂlá na ÄŤernĂ©"), + ("white_on_blue", "bĂlá na modrĂ©"), + ("white_on_cyan", "bĂlá na tyrkysovĂ©"), + ("white_on_violet", "bĂlá na fialovĂ©"), + ], + "label": "barva", + }, + ), + 3: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + }, + ), + 4: ( + "wagtail.blocks.StructBlock", + [[("align", 1), ("color", 2), ("text", 3)]], + {}, + ), + 5: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "levĂ˝ sloupec", + }, + ), + 6: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "pravĂ˝ sloupec", + }, + ), + 7: ( + "wagtail.blocks.StructBlock", + [[("left_text", 5), ("right_text", 6)]], + {}, + ), + 8: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Nadpis", "max_length": 300, "required": True}, + ), + 9: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("h1", "H1"), + ("h2", "H2"), + ("h3", "H3"), + ("h4", "H4"), + ("h5", "H5"), + ("h6", "H6"), + ], + "help_text": "ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.", + "label": "ĂšroveĹ nadpisu", + }, + ), + 10: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("head-alt-xl", "VelkĂ˝, Bebas Neue - 6XL"), + ("head-alt-lg", "StĹ™ednĂ, Bebas Neue - 4XL"), + ("head-alt-md", "ZákladnĂ velikost - Roboto - MD"), + ("head-alt-sm", "MalĂ˝ - Roboto - SM"), + ("head-alt-xs", "Extra malĂ˝ - Roboto - XS"), + ], + "help_text": "Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.", + "label": "Velikost", + }, + ), + 11: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("auto", "Automaticky"), + ("center", "Na stĹ™ed"), + ], + "label": "ZarovnánĂ", + }, + ), + 12: ( + "wagtail.blocks.StructBlock", + [[("headline", 8), ("tag", 9), ("style", 10), ("align", 11)]], + {}, + ), + 13: ("wagtail.blocks.CharBlock", (), {"label": "nadpis"}), + 14: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)", + "label": "obrázek", + }, + ), + 15: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("title", 13), ("picture", 14)]], + {}, + ), + 16: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "Odstavec", + }, + ), + 17: ("wagtail.blocks.ListBlock", (16,), {"label": "Odstavce"}), + 18: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)", + "label": "Obrázek", + }, + ), + 19: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("items", 17), ("picture", 18)]], + {}, + ), + 20: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "FEC900", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva pozadĂ", + }, + ), + 21: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.", + "label": "Obrázek", + "required": False, + }, + ), + 22: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje obrázek. Nelze vybrat obÄ› najednou.", + "label": "PozadĂ", + "required": False, + }, + ), + 23: ( + "wagtail.blocks.TextBlock", + (), + {"help_text": "ĹádkovánĂ je manuálnĂ.", "label": "Nadpis"}, + ), + 24: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva textu", + }, + ), + 25: ("wagtail.blocks.RichTextBlock", (), {"label": "Obsah"}), + 26: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.", + "label": "Nadpis tlaÄŤĂtka", + "required": False, + }, + ), + 27: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Odkaz tlaÄŤĂtka", "required": False}, + ), + 28: ( + "wagtail.blocks.StructBlock", + [ + [ + ("bg_color", 20), + ("image", 21), + ("background", 22), + ("title", 23), + ("title_color", 24), + ("content", 25), + ("button_text", 26), + ("button_url", 27), + ] + ], + {"label": "Karta"}, + ), + 29: ("wagtail.blocks.ListBlock", (28,), {"label": "Karty"}), + 30: ("wagtail.blocks.StructBlock", [[("cards", 29)]], {}), + 31: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "Tabulka", + "template": "styleguide2/includes/atoms/table/table.html", + }, + ), + 32: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "RozbalovacĂ tabulka", + "template": "styleguide2/includes/atoms/table/popout_table.html", + }, + ), + 33: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "obrázek", "required": True}, + ), + 34: ( + "wagtail.blocks.ListBlock", + (33,), + {"group": "3. OstatnĂ", "icon": "image", "label": "Galerie"}, + ), + 35: ( + "wagtail.blocks.StructBlock", + [[("gallery_items", 34)]], + {"label": "Galerie"}, + ), + 36: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": True}, + ), + 37: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Popisek", "required": False}, + ), + 38: ( + "wagtail.blocks.StructBlock", + [[("img", 36), ("caption", 37)]], + {}, + ), + 39: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": False}, + ), + 40: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Titulek", "required": False}, + ), + 41: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.", + "label": "Náhled videa (automatickĂ© pole)", + "required": False, + }, + ), + 42: ( + "wagtail.blocks.URLBlock", + (), + { + "help_text": "Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.", + "label": "Odkaz na video", + "required": False, + }, + ), + 43: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.", + "label": "ID videa (automatickĂ© pole)", + "required": False, + }, + ), + 44: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "label": "ZabĂrá celou šĂĹ™ku?", + "required": True, + }, + ), + 45: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ] + ], + {}, + ), + 46: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 50.04075", "label": "ZemÄ›pisná šĂĹ™ka"}, + ), + 47: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 15.77659", "label": "ZemÄ›pisná dĂ©lka"}, + ), + 48: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva špendlĂku (HEX)", + }, + ), + 49: ( + "wagtail.blocks.IntegerBlock", + (), + { + "default": 15, + "label": "VĂ˝chozĂ zoom", + "max_value": 18, + "min_value": 1, + }, + ), + 50: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("osm-mapnik", "OSM Mapnik"), + ("stadia-osm-bright", "Stadia OSM Bright"), + ("stadia-outdoors", "Stadia Outdoors"), + ("mapbox-streets", "Mapbox Streets"), + ("mapbox-outdoors", "Mapbox Outdoors"), + ("mapbox-light", "Mapbox Light"), + ("mapbox-dark", "Mapbox Dark"), + ("mapbox-satellite", "Mapbox Satellite"), + ("mapbox-pirate", "Mapbox Pirate Theme"), + ], + "label": "Styl", + }, + ), + 51: ( + "wagtail.blocks.IntegerBlock", + (), + {"label": "Výška v px", "max_value": 1000, "min_value": 100}, + ), + 52: ( + "wagtail.blocks.StructBlock", + [ + [ + ("lat", 46), + ("lon", 47), + ("hex_color", 48), + ("zoom", 49), + ("style", 50), + ("height", 51), + ] + ], + {"label": "Ĺ pendlĂk na mapÄ›"}, + ), + 53: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": True}, + ), + 54: ( + "wagtail.blocks.TextBlock", + (), + { + "help_text": "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", + "label": "Geodata", + "required": True, + }, + ), + 55: ( + "wagtail.blocks.URLBlock", + (), + {"label": "Odkaz", "required": False}, + ), + 56: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva (HEX)", + }, + ), + 57: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 53), + ("description", 37), + ("geojson", 54), + ("image", 39), + ("link", 55), + ("hex_color", 56), + ] + ], + {"required": True}, + ), + 58: ("wagtail.blocks.ListBlock", (57,), {"label": "Součásti"}), + 59: ( + "wagtail.blocks.StructBlock", + [ + [ + ("features", 58), + ("zoom", 49), + ("style", 50), + ("height", 51), + ] + ], + {"label": "Mapová kolekce"}, + ), + 60: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ] + ], + {"label": "Obsah", "required": False}, + ), + 61: ( + "wagtail.blocks.PageChooserBlock", + (), + {"label": "Stránka", "required": False}, + ), + 62: ( + "wagtail.blocks.StructBlock", + [ + [ + ("img", 39), + ("headline", 40), + ("content", 60), + ("page", 61), + ("link", 55), + ] + ], + {}, + ), + 63: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "max_length": 128, "required": True}, + ), + 64: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black", "ÄŚerná"), + ("white", "BĂlá"), + ("pirati-yellow", "Ĺ˝lutá"), + ("grey-125", "SvÄ›tle šedá"), + ("blue-300", "Modrá"), + ("cyan-200", "Tyrkysová"), + ("green-400", "Zelená"), + ("violet-400", "VĂnová"), + ("red-600", "ÄŚervená"), + ], + "label": "Barva", + }, + ), + 65: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": True, + "help_text": "Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.", + "label": "Animovat na hover", + "required": False, + }, + ), + 66: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 63), + ("color", 64), + ("hoveractive", 65), + ("page", 61), + ("link", 55), + ("align", 11), + ] + ], + {}, + ), + 67: ("wagtail.blocks.ListBlock", (66,), {"label": "TlaÄŤĂtka"}), + 68: ("wagtail.blocks.StructBlock", [[("buttons", 67)]], {}), + 69: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 69), ("right_column_content", 70)]], + {}, + ), + 72: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 73: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 69), + ("middle_column_content", 72), + ("right_column_content", 70), + ] + ], + {}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ] + ], + {"label": "YouTube video"}, + ), + 75: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 76: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + "template": "styleguide2/includes/atoms/text/prose_richtext.html", + }, + ), + 77: ( + "wagtail.blocks.StreamBlock", + [[("text", 76), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 78: ( + "wagtail.blocks.StructBlock", + [[("name", 75), ("content", 77)]], + {}, + ), + 79: ("wagtail.blocks.CharBlock", (), {"label": "Citace"}), + 80: ("wagtail.blocks.CharBlock", (), {"label": "JmĂ©no autora"}), + 81: ( + "wagtail.blocks.StructBlock", + [[("quote", 79), ("autor_name", 80)]], + {}, + ), + 82: ( + "wagtail.documents.blocks.DocumentChooserBlock", + (), + {"label": "StáhnutelnĂ˝ soubor"}, + ), + 83: ("wagtail.blocks.StructBlock", [[("file", 82)]], {}), + }, + verbose_name="ÄŚlánek", + ), ), migrations.AlterField( - model_name='uniwebflexiblepage', - name='content', - field=wagtail.fields.StreamField([('text', 0), ('advanced_text', 4), ('two_columns_text', 7), ('headline', 12), ('headline_with_picture', 15), ('picture_list', 19), ('flip_cards', 30), ('table', 31), ('popout_table', 32), ('gallery', 35), ('figure', 38), ('card', 62), ('two_columns', 71), ('three_columns', 73), ('youtube', 74), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68), ('popout_point', 77), ('calendar', 80), ('newsletter', 85)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {}), 46: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 48: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 49: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 50: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('osm-mapnik', 'OSM Mapnik'), ('stadia-osm-bright', 'Stadia OSM Bright'), ('stadia-outdoors', 'Stadia Outdoors'), ('mapbox-streets', 'Mapbox Streets'), ('mapbox-outdoors', 'Mapbox Outdoors'), ('mapbox-light', 'Mapbox Light'), ('mapbox-dark', 'Mapbox Dark'), ('mapbox-satellite', 'Mapbox Satellite'), ('mapbox-pirate', 'Mapbox Pirate Theme')], 'label': 'Styl'}), 51: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 52: ('wagtail.blocks.StructBlock', [[('lat', 46), ('lon', 47), ('hex_color', 48), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 53: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 54: ('wagtail.blocks.TextBlock', (), {'help_text': "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", 'label': 'Geodata', 'required': True}), 55: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 56: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 57: ('wagtail.blocks.StructBlock', [[('title', 53), ('description', 37), ('geojson', 54), ('image', 39), ('link', 55), ('hex_color', 56)]], {'required': True}), 58: ('wagtail.blocks.ListBlock', (57,), {'label': 'Součásti'}), 59: ('wagtail.blocks.StructBlock', [[('features', 58), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Mapová kolekce'}), 60: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59)]], {'label': 'Obsah', 'required': False}), 61: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 62: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 60), ('page', 61), ('link', 55)]], {}), 63: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 64: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black', 'ÄŚerná'), ('white', 'BĂlá'), ('pirati-yellow', 'Ĺ˝lutá'), ('grey-125', 'SvÄ›tle šedá'), ('blue-300', 'Modrá'), ('cyan-200', 'Tyrkysová'), ('green-400', 'Zelená'), ('violet-400', 'VĂnová'), ('red-600', 'ÄŚervená')], 'label': 'Barva'}), 65: ('wagtail.blocks.BooleanBlock', (), {'default': True, 'help_text': 'Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.', 'label': 'Animovat na hover', 'required': False}), 66: ('wagtail.blocks.StructBlock', [[('title', 63), ('color', 64), ('hoveractive', 65), ('page', 61), ('link', 55), ('align', 11)]], {}), 67: ('wagtail.blocks.ListBlock', (66,), {'label': 'TlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('buttons', 67)]], {}), 69: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('right_column_content', 70)]], {}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('middle_column_content', 72), ('right_column_content', 70)]], {}), 74: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {'label': 'YouTube video'}), 75: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 76: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 77: ('wagtail.blocks.StructBlock', [[('name', 75), ('content', 76)]], {}), 78: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': False}), 79: ('wagtail.blocks.static_block.StaticBlock', (), {'admin_text': 'Adresa kalendáře se zadává v nastavenĂ hlavnĂ stránky webu', 'label': 'Volba kalendáře'}), 80: ('wagtail.blocks.StructBlock', [[('title', 78), ('info', 79)]], {}), 81: ('wagtail.blocks.CharBlock', (), {'label': 'ID newsletteru', 'required': True}), 82: ('wagtail.blocks.CharBlock', (), {'default': 'OdebĂrej náš', 'label': 'Nadpis bloku (1. řádek)', 'required': True}), 83: ('wagtail.blocks.CharBlock', (), {'default': 'newsletter', 'label': 'Nadpis bloku (2. řádek)', 'required': True}), 84: ('wagtail.blocks.CharBlock', (), {'default': 'Fake news tam nenajdeš, ale dozvĂš se, co chystáme doopravdy!', 'label': 'Popis newsletteru', 'required': True}), 85: ('wagtail.blocks.StructBlock', [[('list_id', 81), ('title_line_1', 82), ('title_line_2', 83), ('description', 84)]], {})}, verbose_name='obsah stránky'), + model_name="uniwebflexiblepage", + name="content", + field=wagtail.fields.StreamField( + [ + ("text", 0), + ("advanced_text", 4), + ("two_columns_text", 7), + ("headline", 12), + ("headline_with_picture", 15), + ("picture_list", 19), + ("flip_cards", 30), + ("table", 31), + ("popout_table", 32), + ("gallery", 35), + ("figure", 38), + ("card", 62), + ("two_columns", 71), + ("three_columns", 73), + ("youtube", 74), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ("popout_point", 77), + ("calendar", 80), + ("newsletter", 85), + ], + blank=True, + block_lookup={ + 0: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + "template": "styleguide2/includes/atoms/text/prose_richtext.html", + }, + ), + 1: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("left", "vlevo"), + ("center", "uprostĹ™ed"), + ("right", "vpravo"), + ], + "label": "zarovnánĂ", + }, + ), + 2: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black_on_white", "ÄŤerná na bĂlĂ©"), + ("black_on_yellow", "ÄŤerná na ĹľlutĂ©"), + ("white_on_black", "bĂlá na ÄŤernĂ©"), + ("white_on_blue", "bĂlá na modrĂ©"), + ("white_on_cyan", "bĂlá na tyrkysovĂ©"), + ("white_on_violet", "bĂlá na fialovĂ©"), + ], + "label": "barva", + }, + ), + 3: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + }, + ), + 4: ( + "wagtail.blocks.StructBlock", + [[("align", 1), ("color", 2), ("text", 3)]], + {}, + ), + 5: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "levĂ˝ sloupec", + }, + ), + 6: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "pravĂ˝ sloupec", + }, + ), + 7: ( + "wagtail.blocks.StructBlock", + [[("left_text", 5), ("right_text", 6)]], + {}, + ), + 8: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Nadpis", "max_length": 300, "required": True}, + ), + 9: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("h1", "H1"), + ("h2", "H2"), + ("h3", "H3"), + ("h4", "H4"), + ("h5", "H5"), + ("h6", "H6"), + ], + "help_text": "ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.", + "label": "ĂšroveĹ nadpisu", + }, + ), + 10: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("head-alt-xl", "VelkĂ˝, Bebas Neue - 6XL"), + ("head-alt-lg", "StĹ™ednĂ, Bebas Neue - 4XL"), + ("head-alt-md", "ZákladnĂ velikost - Roboto - MD"), + ("head-alt-sm", "MalĂ˝ - Roboto - SM"), + ("head-alt-xs", "Extra malĂ˝ - Roboto - XS"), + ], + "help_text": "Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.", + "label": "Velikost", + }, + ), + 11: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("auto", "Automaticky"), + ("center", "Na stĹ™ed"), + ], + "label": "ZarovnánĂ", + }, + ), + 12: ( + "wagtail.blocks.StructBlock", + [[("headline", 8), ("tag", 9), ("style", 10), ("align", 11)]], + {}, + ), + 13: ("wagtail.blocks.CharBlock", (), {"label": "nadpis"}), + 14: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)", + "label": "obrázek", + }, + ), + 15: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("title", 13), ("picture", 14)]], + {}, + ), + 16: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "Odstavec", + }, + ), + 17: ("wagtail.blocks.ListBlock", (16,), {"label": "Odstavce"}), + 18: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)", + "label": "Obrázek", + }, + ), + 19: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("items", 17), ("picture", 18)]], + {}, + ), + 20: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "FEC900", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva pozadĂ", + }, + ), + 21: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.", + "label": "Obrázek", + "required": False, + }, + ), + 22: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje obrázek. Nelze vybrat obÄ› najednou.", + "label": "PozadĂ", + "required": False, + }, + ), + 23: ( + "wagtail.blocks.TextBlock", + (), + {"help_text": "ĹádkovánĂ je manuálnĂ.", "label": "Nadpis"}, + ), + 24: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva textu", + }, + ), + 25: ("wagtail.blocks.RichTextBlock", (), {"label": "Obsah"}), + 26: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.", + "label": "Nadpis tlaÄŤĂtka", + "required": False, + }, + ), + 27: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Odkaz tlaÄŤĂtka", "required": False}, + ), + 28: ( + "wagtail.blocks.StructBlock", + [ + [ + ("bg_color", 20), + ("image", 21), + ("background", 22), + ("title", 23), + ("title_color", 24), + ("content", 25), + ("button_text", 26), + ("button_url", 27), + ] + ], + {"label": "Karta"}, + ), + 29: ("wagtail.blocks.ListBlock", (28,), {"label": "Karty"}), + 30: ("wagtail.blocks.StructBlock", [[("cards", 29)]], {}), + 31: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "Tabulka", + "template": "styleguide2/includes/atoms/table/table.html", + }, + ), + 32: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "RozbalovacĂ tabulka", + "template": "styleguide2/includes/atoms/table/popout_table.html", + }, + ), + 33: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "obrázek", "required": True}, + ), + 34: ( + "wagtail.blocks.ListBlock", + (33,), + {"group": "3. OstatnĂ", "icon": "image", "label": "Galerie"}, + ), + 35: ( + "wagtail.blocks.StructBlock", + [[("gallery_items", 34)]], + {"label": "Galerie"}, + ), + 36: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": True}, + ), + 37: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Popisek", "required": False}, + ), + 38: ( + "wagtail.blocks.StructBlock", + [[("img", 36), ("caption", 37)]], + {}, + ), + 39: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": False}, + ), + 40: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Titulek", "required": False}, + ), + 41: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.", + "label": "Náhled videa (automatickĂ© pole)", + "required": False, + }, + ), + 42: ( + "wagtail.blocks.URLBlock", + (), + { + "help_text": "Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.", + "label": "Odkaz na video", + "required": False, + }, + ), + 43: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.", + "label": "ID videa (automatickĂ© pole)", + "required": False, + }, + ), + 44: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "label": "ZabĂrá celou šĂĹ™ku?", + "required": True, + }, + ), + 45: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ] + ], + {}, + ), + 46: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 50.04075", "label": "ZemÄ›pisná šĂĹ™ka"}, + ), + 47: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 15.77659", "label": "ZemÄ›pisná dĂ©lka"}, + ), + 48: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva špendlĂku (HEX)", + }, + ), + 49: ( + "wagtail.blocks.IntegerBlock", + (), + { + "default": 15, + "label": "VĂ˝chozĂ zoom", + "max_value": 18, + "min_value": 1, + }, + ), + 50: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("osm-mapnik", "OSM Mapnik"), + ("stadia-osm-bright", "Stadia OSM Bright"), + ("stadia-outdoors", "Stadia Outdoors"), + ("mapbox-streets", "Mapbox Streets"), + ("mapbox-outdoors", "Mapbox Outdoors"), + ("mapbox-light", "Mapbox Light"), + ("mapbox-dark", "Mapbox Dark"), + ("mapbox-satellite", "Mapbox Satellite"), + ("mapbox-pirate", "Mapbox Pirate Theme"), + ], + "label": "Styl", + }, + ), + 51: ( + "wagtail.blocks.IntegerBlock", + (), + {"label": "Výška v px", "max_value": 1000, "min_value": 100}, + ), + 52: ( + "wagtail.blocks.StructBlock", + [ + [ + ("lat", 46), + ("lon", 47), + ("hex_color", 48), + ("zoom", 49), + ("style", 50), + ("height", 51), + ] + ], + {"label": "Ĺ pendlĂk na mapÄ›"}, + ), + 53: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": True}, + ), + 54: ( + "wagtail.blocks.TextBlock", + (), + { + "help_text": "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", + "label": "Geodata", + "required": True, + }, + ), + 55: ( + "wagtail.blocks.URLBlock", + (), + {"label": "Odkaz", "required": False}, + ), + 56: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva (HEX)", + }, + ), + 57: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 53), + ("description", 37), + ("geojson", 54), + ("image", 39), + ("link", 55), + ("hex_color", 56), + ] + ], + {"required": True}, + ), + 58: ("wagtail.blocks.ListBlock", (57,), {"label": "Součásti"}), + 59: ( + "wagtail.blocks.StructBlock", + [ + [ + ("features", 58), + ("zoom", 49), + ("style", 50), + ("height", 51), + ] + ], + {"label": "Mapová kolekce"}, + ), + 60: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ] + ], + {"label": "Obsah", "required": False}, + ), + 61: ( + "wagtail.blocks.PageChooserBlock", + (), + {"label": "Stránka", "required": False}, + ), + 62: ( + "wagtail.blocks.StructBlock", + [ + [ + ("img", 39), + ("headline", 40), + ("content", 60), + ("page", 61), + ("link", 55), + ] + ], + {}, + ), + 63: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "max_length": 128, "required": True}, + ), + 64: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black", "ÄŚerná"), + ("white", "BĂlá"), + ("pirati-yellow", "Ĺ˝lutá"), + ("grey-125", "SvÄ›tle šedá"), + ("blue-300", "Modrá"), + ("cyan-200", "Tyrkysová"), + ("green-400", "Zelená"), + ("violet-400", "VĂnová"), + ("red-600", "ÄŚervená"), + ], + "label": "Barva", + }, + ), + 65: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": True, + "help_text": "Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.", + "label": "Animovat na hover", + "required": False, + }, + ), + 66: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 63), + ("color", 64), + ("hoveractive", 65), + ("page", 61), + ("link", 55), + ("align", 11), + ] + ], + {}, + ), + 67: ("wagtail.blocks.ListBlock", (66,), {"label": "TlaÄŤĂtka"}), + 68: ("wagtail.blocks.StructBlock", [[("buttons", 67)]], {}), + 69: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 69), ("right_column_content", 70)]], + {}, + ), + 72: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 73: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 69), + ("middle_column_content", 72), + ("right_column_content", 70), + ] + ], + {}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ] + ], + {"label": "YouTube video"}, + ), + 75: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 76: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 77: ( + "wagtail.blocks.StructBlock", + [[("name", 75), ("content", 76)]], + {}, + ), + 78: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": False}, + ), + 79: ( + "wagtail.blocks.static_block.StaticBlock", + (), + { + "admin_text": "Adresa kalendáře se zadává v nastavenĂ hlavnĂ stránky webu", + "label": "Volba kalendáře", + }, + ), + 80: ( + "wagtail.blocks.StructBlock", + [[("title", 78), ("info", 79)]], + {}, + ), + 81: ( + "wagtail.blocks.CharBlock", + (), + {"label": "ID newsletteru", "required": True}, + ), + 82: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "OdebĂrej náš", + "label": "Nadpis bloku (1. řádek)", + "required": True, + }, + ), + 83: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "newsletter", + "label": "Nadpis bloku (2. řádek)", + "required": True, + }, + ), + 84: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "Fake news tam nenajdeš, ale dozvĂš se, co chystáme doopravdy!", + "label": "Popis newsletteru", + "required": True, + }, + ), + 85: ( + "wagtail.blocks.StructBlock", + [ + [ + ("list_id", 81), + ("title_line_1", 82), + ("title_line_2", 83), + ("description", 84), + ] + ], + {}, + ), + }, + verbose_name="obsah stránky", + ), ), migrations.AlterField( - model_name='uniwebformpage', - name='content_after', - field=wagtail.fields.StreamField([('text', 0), ('advanced_text', 4), ('two_columns_text', 7), ('headline', 12), ('headline_with_picture', 15), ('picture_list', 19), ('flip_cards', 30), ('table', 31), ('popout_table', 32), ('gallery', 35), ('figure', 38), ('card', 62), ('two_columns', 71), ('three_columns', 73), ('youtube', 74), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68), ('popout_point', 77), ('calendar', 80)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {}), 46: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 48: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 49: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 50: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('osm-mapnik', 'OSM Mapnik'), ('stadia-osm-bright', 'Stadia OSM Bright'), ('stadia-outdoors', 'Stadia Outdoors'), ('mapbox-streets', 'Mapbox Streets'), ('mapbox-outdoors', 'Mapbox Outdoors'), ('mapbox-light', 'Mapbox Light'), ('mapbox-dark', 'Mapbox Dark'), ('mapbox-satellite', 'Mapbox Satellite'), ('mapbox-pirate', 'Mapbox Pirate Theme')], 'label': 'Styl'}), 51: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 52: ('wagtail.blocks.StructBlock', [[('lat', 46), ('lon', 47), ('hex_color', 48), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 53: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 54: ('wagtail.blocks.TextBlock', (), {'help_text': "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", 'label': 'Geodata', 'required': True}), 55: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 56: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 57: ('wagtail.blocks.StructBlock', [[('title', 53), ('description', 37), ('geojson', 54), ('image', 39), ('link', 55), ('hex_color', 56)]], {'required': True}), 58: ('wagtail.blocks.ListBlock', (57,), {'label': 'Součásti'}), 59: ('wagtail.blocks.StructBlock', [[('features', 58), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Mapová kolekce'}), 60: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59)]], {'label': 'Obsah', 'required': False}), 61: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 62: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 60), ('page', 61), ('link', 55)]], {}), 63: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 64: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black', 'ÄŚerná'), ('white', 'BĂlá'), ('pirati-yellow', 'Ĺ˝lutá'), ('grey-125', 'SvÄ›tle šedá'), ('blue-300', 'Modrá'), ('cyan-200', 'Tyrkysová'), ('green-400', 'Zelená'), ('violet-400', 'VĂnová'), ('red-600', 'ÄŚervená')], 'label': 'Barva'}), 65: ('wagtail.blocks.BooleanBlock', (), {'default': True, 'help_text': 'Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.', 'label': 'Animovat na hover', 'required': False}), 66: ('wagtail.blocks.StructBlock', [[('title', 63), ('color', 64), ('hoveractive', 65), ('page', 61), ('link', 55), ('align', 11)]], {}), 67: ('wagtail.blocks.ListBlock', (66,), {'label': 'TlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('buttons', 67)]], {}), 69: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('right_column_content', 70)]], {}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('middle_column_content', 72), ('right_column_content', 70)]], {}), 74: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {'label': 'YouTube video'}), 75: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 76: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 77: ('wagtail.blocks.StructBlock', [[('name', 75), ('content', 76)]], {}), 78: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': False}), 79: ('wagtail.blocks.static_block.StaticBlock', (), {'admin_text': 'Adresa kalendáře se zadává v nastavenĂ hlavnĂ stránky webu', 'label': 'Volba kalendáře'}), 80: ('wagtail.blocks.StructBlock', [[('title', 78), ('info', 79)]], {})}, verbose_name='obsah stránky za formulářem'), + model_name="uniwebformpage", + name="content_after", + field=wagtail.fields.StreamField( + [ + ("text", 0), + ("advanced_text", 4), + ("two_columns_text", 7), + ("headline", 12), + ("headline_with_picture", 15), + ("picture_list", 19), + ("flip_cards", 30), + ("table", 31), + ("popout_table", 32), + ("gallery", 35), + ("figure", 38), + ("card", 62), + ("two_columns", 71), + ("three_columns", 73), + ("youtube", 74), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ("popout_point", 77), + ("calendar", 80), + ], + blank=True, + block_lookup={ + 0: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + "template": "styleguide2/includes/atoms/text/prose_richtext.html", + }, + ), + 1: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("left", "vlevo"), + ("center", "uprostĹ™ed"), + ("right", "vpravo"), + ], + "label": "zarovnánĂ", + }, + ), + 2: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black_on_white", "ÄŤerná na bĂlĂ©"), + ("black_on_yellow", "ÄŤerná na ĹľlutĂ©"), + ("white_on_black", "bĂlá na ÄŤernĂ©"), + ("white_on_blue", "bĂlá na modrĂ©"), + ("white_on_cyan", "bĂlá na tyrkysovĂ©"), + ("white_on_violet", "bĂlá na fialovĂ©"), + ], + "label": "barva", + }, + ), + 3: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + }, + ), + 4: ( + "wagtail.blocks.StructBlock", + [[("align", 1), ("color", 2), ("text", 3)]], + {}, + ), + 5: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "levĂ˝ sloupec", + }, + ), + 6: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "pravĂ˝ sloupec", + }, + ), + 7: ( + "wagtail.blocks.StructBlock", + [[("left_text", 5), ("right_text", 6)]], + {}, + ), + 8: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Nadpis", "max_length": 300, "required": True}, + ), + 9: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("h1", "H1"), + ("h2", "H2"), + ("h3", "H3"), + ("h4", "H4"), + ("h5", "H5"), + ("h6", "H6"), + ], + "help_text": "ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.", + "label": "ĂšroveĹ nadpisu", + }, + ), + 10: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("head-alt-xl", "VelkĂ˝, Bebas Neue - 6XL"), + ("head-alt-lg", "StĹ™ednĂ, Bebas Neue - 4XL"), + ("head-alt-md", "ZákladnĂ velikost - Roboto - MD"), + ("head-alt-sm", "MalĂ˝ - Roboto - SM"), + ("head-alt-xs", "Extra malĂ˝ - Roboto - XS"), + ], + "help_text": "Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.", + "label": "Velikost", + }, + ), + 11: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("auto", "Automaticky"), + ("center", "Na stĹ™ed"), + ], + "label": "ZarovnánĂ", + }, + ), + 12: ( + "wagtail.blocks.StructBlock", + [[("headline", 8), ("tag", 9), ("style", 10), ("align", 11)]], + {}, + ), + 13: ("wagtail.blocks.CharBlock", (), {"label": "nadpis"}), + 14: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)", + "label": "obrázek", + }, + ), + 15: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("title", 13), ("picture", 14)]], + {}, + ), + 16: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "Odstavec", + }, + ), + 17: ("wagtail.blocks.ListBlock", (16,), {"label": "Odstavce"}), + 18: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)", + "label": "Obrázek", + }, + ), + 19: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("items", 17), ("picture", 18)]], + {}, + ), + 20: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "FEC900", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva pozadĂ", + }, + ), + 21: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.", + "label": "Obrázek", + "required": False, + }, + ), + 22: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje obrázek. Nelze vybrat obÄ› najednou.", + "label": "PozadĂ", + "required": False, + }, + ), + 23: ( + "wagtail.blocks.TextBlock", + (), + {"help_text": "ĹádkovánĂ je manuálnĂ.", "label": "Nadpis"}, + ), + 24: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva textu", + }, + ), + 25: ("wagtail.blocks.RichTextBlock", (), {"label": "Obsah"}), + 26: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.", + "label": "Nadpis tlaÄŤĂtka", + "required": False, + }, + ), + 27: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Odkaz tlaÄŤĂtka", "required": False}, + ), + 28: ( + "wagtail.blocks.StructBlock", + [ + [ + ("bg_color", 20), + ("image", 21), + ("background", 22), + ("title", 23), + ("title_color", 24), + ("content", 25), + ("button_text", 26), + ("button_url", 27), + ] + ], + {"label": "Karta"}, + ), + 29: ("wagtail.blocks.ListBlock", (28,), {"label": "Karty"}), + 30: ("wagtail.blocks.StructBlock", [[("cards", 29)]], {}), + 31: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "Tabulka", + "template": "styleguide2/includes/atoms/table/table.html", + }, + ), + 32: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "RozbalovacĂ tabulka", + "template": "styleguide2/includes/atoms/table/popout_table.html", + }, + ), + 33: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "obrázek", "required": True}, + ), + 34: ( + "wagtail.blocks.ListBlock", + (33,), + {"group": "3. OstatnĂ", "icon": "image", "label": "Galerie"}, + ), + 35: ( + "wagtail.blocks.StructBlock", + [[("gallery_items", 34)]], + {"label": "Galerie"}, + ), + 36: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": True}, + ), + 37: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Popisek", "required": False}, + ), + 38: ( + "wagtail.blocks.StructBlock", + [[("img", 36), ("caption", 37)]], + {}, + ), + 39: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": False}, + ), + 40: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Titulek", "required": False}, + ), + 41: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.", + "label": "Náhled videa (automatickĂ© pole)", + "required": False, + }, + ), + 42: ( + "wagtail.blocks.URLBlock", + (), + { + "help_text": "Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.", + "label": "Odkaz na video", + "required": False, + }, + ), + 43: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.", + "label": "ID videa (automatickĂ© pole)", + "required": False, + }, + ), + 44: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "label": "ZabĂrá celou šĂĹ™ku?", + "required": True, + }, + ), + 45: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ] + ], + {}, + ), + 46: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 50.04075", "label": "ZemÄ›pisná šĂĹ™ka"}, + ), + 47: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 15.77659", "label": "ZemÄ›pisná dĂ©lka"}, + ), + 48: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva špendlĂku (HEX)", + }, + ), + 49: ( + "wagtail.blocks.IntegerBlock", + (), + { + "default": 15, + "label": "VĂ˝chozĂ zoom", + "max_value": 18, + "min_value": 1, + }, + ), + 50: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("osm-mapnik", "OSM Mapnik"), + ("stadia-osm-bright", "Stadia OSM Bright"), + ("stadia-outdoors", "Stadia Outdoors"), + ("mapbox-streets", "Mapbox Streets"), + ("mapbox-outdoors", "Mapbox Outdoors"), + ("mapbox-light", "Mapbox Light"), + ("mapbox-dark", "Mapbox Dark"), + ("mapbox-satellite", "Mapbox Satellite"), + ("mapbox-pirate", "Mapbox Pirate Theme"), + ], + "label": "Styl", + }, + ), + 51: ( + "wagtail.blocks.IntegerBlock", + (), + {"label": "Výška v px", "max_value": 1000, "min_value": 100}, + ), + 52: ( + "wagtail.blocks.StructBlock", + [ + [ + ("lat", 46), + ("lon", 47), + ("hex_color", 48), + ("zoom", 49), + ("style", 50), + ("height", 51), + ] + ], + {"label": "Ĺ pendlĂk na mapÄ›"}, + ), + 53: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": True}, + ), + 54: ( + "wagtail.blocks.TextBlock", + (), + { + "help_text": "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", + "label": "Geodata", + "required": True, + }, + ), + 55: ( + "wagtail.blocks.URLBlock", + (), + {"label": "Odkaz", "required": False}, + ), + 56: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva (HEX)", + }, + ), + 57: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 53), + ("description", 37), + ("geojson", 54), + ("image", 39), + ("link", 55), + ("hex_color", 56), + ] + ], + {"required": True}, + ), + 58: ("wagtail.blocks.ListBlock", (57,), {"label": "Součásti"}), + 59: ( + "wagtail.blocks.StructBlock", + [ + [ + ("features", 58), + ("zoom", 49), + ("style", 50), + ("height", 51), + ] + ], + {"label": "Mapová kolekce"}, + ), + 60: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ] + ], + {"label": "Obsah", "required": False}, + ), + 61: ( + "wagtail.blocks.PageChooserBlock", + (), + {"label": "Stránka", "required": False}, + ), + 62: ( + "wagtail.blocks.StructBlock", + [ + [ + ("img", 39), + ("headline", 40), + ("content", 60), + ("page", 61), + ("link", 55), + ] + ], + {}, + ), + 63: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "max_length": 128, "required": True}, + ), + 64: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black", "ÄŚerná"), + ("white", "BĂlá"), + ("pirati-yellow", "Ĺ˝lutá"), + ("grey-125", "SvÄ›tle šedá"), + ("blue-300", "Modrá"), + ("cyan-200", "Tyrkysová"), + ("green-400", "Zelená"), + ("violet-400", "VĂnová"), + ("red-600", "ÄŚervená"), + ], + "label": "Barva", + }, + ), + 65: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": True, + "help_text": "Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.", + "label": "Animovat na hover", + "required": False, + }, + ), + 66: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 63), + ("color", 64), + ("hoveractive", 65), + ("page", 61), + ("link", 55), + ("align", 11), + ] + ], + {}, + ), + 67: ("wagtail.blocks.ListBlock", (66,), {"label": "TlaÄŤĂtka"}), + 68: ("wagtail.blocks.StructBlock", [[("buttons", 67)]], {}), + 69: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 69), ("right_column_content", 70)]], + {}, + ), + 72: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 73: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 69), + ("middle_column_content", 72), + ("right_column_content", 70), + ] + ], + {}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ] + ], + {"label": "YouTube video"}, + ), + 75: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 76: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 77: ( + "wagtail.blocks.StructBlock", + [[("name", 75), ("content", 76)]], + {}, + ), + 78: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": False}, + ), + 79: ( + "wagtail.blocks.static_block.StaticBlock", + (), + { + "admin_text": "Adresa kalendáře se zadává v nastavenĂ hlavnĂ stránky webu", + "label": "Volba kalendáře", + }, + ), + 80: ( + "wagtail.blocks.StructBlock", + [[("title", 78), ("info", 79)]], + {}, + ), + }, + verbose_name="obsah stránky za formulářem", + ), ), migrations.AlterField( - model_name='uniwebformpage', - name='content_before', - field=wagtail.fields.StreamField([('text', 0), ('advanced_text', 4), ('two_columns_text', 7), ('headline', 12), ('headline_with_picture', 15), ('picture_list', 19), ('flip_cards', 30), ('table', 31), ('popout_table', 32), ('gallery', 35), ('figure', 38), ('card', 62), ('two_columns', 71), ('three_columns', 73), ('youtube', 74), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68), ('popout_point', 77), ('calendar', 80)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {}), 46: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 48: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 49: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 50: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('osm-mapnik', 'OSM Mapnik'), ('stadia-osm-bright', 'Stadia OSM Bright'), ('stadia-outdoors', 'Stadia Outdoors'), ('mapbox-streets', 'Mapbox Streets'), ('mapbox-outdoors', 'Mapbox Outdoors'), ('mapbox-light', 'Mapbox Light'), ('mapbox-dark', 'Mapbox Dark'), ('mapbox-satellite', 'Mapbox Satellite'), ('mapbox-pirate', 'Mapbox Pirate Theme')], 'label': 'Styl'}), 51: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 52: ('wagtail.blocks.StructBlock', [[('lat', 46), ('lon', 47), ('hex_color', 48), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 53: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 54: ('wagtail.blocks.TextBlock', (), {'help_text': "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", 'label': 'Geodata', 'required': True}), 55: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 56: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 57: ('wagtail.blocks.StructBlock', [[('title', 53), ('description', 37), ('geojson', 54), ('image', 39), ('link', 55), ('hex_color', 56)]], {'required': True}), 58: ('wagtail.blocks.ListBlock', (57,), {'label': 'Součásti'}), 59: ('wagtail.blocks.StructBlock', [[('features', 58), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Mapová kolekce'}), 60: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59)]], {'label': 'Obsah', 'required': False}), 61: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 62: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 60), ('page', 61), ('link', 55)]], {}), 63: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 64: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black', 'ÄŚerná'), ('white', 'BĂlá'), ('pirati-yellow', 'Ĺ˝lutá'), ('grey-125', 'SvÄ›tle šedá'), ('blue-300', 'Modrá'), ('cyan-200', 'Tyrkysová'), ('green-400', 'Zelená'), ('violet-400', 'VĂnová'), ('red-600', 'ÄŚervená')], 'label': 'Barva'}), 65: ('wagtail.blocks.BooleanBlock', (), {'default': True, 'help_text': 'Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.', 'label': 'Animovat na hover', 'required': False}), 66: ('wagtail.blocks.StructBlock', [[('title', 63), ('color', 64), ('hoveractive', 65), ('page', 61), ('link', 55), ('align', 11)]], {}), 67: ('wagtail.blocks.ListBlock', (66,), {'label': 'TlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('buttons', 67)]], {}), 69: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('right_column_content', 70)]], {}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('middle_column_content', 72), ('right_column_content', 70)]], {}), 74: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {'label': 'YouTube video'}), 75: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 76: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 77: ('wagtail.blocks.StructBlock', [[('name', 75), ('content', 76)]], {}), 78: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': False}), 79: ('wagtail.blocks.static_block.StaticBlock', (), {'admin_text': 'Adresa kalendáře se zadává v nastavenĂ hlavnĂ stránky webu', 'label': 'Volba kalendáře'}), 80: ('wagtail.blocks.StructBlock', [[('title', 78), ('info', 79)]], {})}, verbose_name='obsah stránky pĹ™ed formulářem'), + model_name="uniwebformpage", + name="content_before", + field=wagtail.fields.StreamField( + [ + ("text", 0), + ("advanced_text", 4), + ("two_columns_text", 7), + ("headline", 12), + ("headline_with_picture", 15), + ("picture_list", 19), + ("flip_cards", 30), + ("table", 31), + ("popout_table", 32), + ("gallery", 35), + ("figure", 38), + ("card", 62), + ("two_columns", 71), + ("three_columns", 73), + ("youtube", 74), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ("popout_point", 77), + ("calendar", 80), + ], + blank=True, + block_lookup={ + 0: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + "template": "styleguide2/includes/atoms/text/prose_richtext.html", + }, + ), + 1: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("left", "vlevo"), + ("center", "uprostĹ™ed"), + ("right", "vpravo"), + ], + "label": "zarovnánĂ", + }, + ), + 2: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black_on_white", "ÄŤerná na bĂlĂ©"), + ("black_on_yellow", "ÄŤerná na ĹľlutĂ©"), + ("white_on_black", "bĂlá na ÄŤernĂ©"), + ("white_on_blue", "bĂlá na modrĂ©"), + ("white_on_cyan", "bĂlá na tyrkysovĂ©"), + ("white_on_violet", "bĂlá na fialovĂ©"), + ], + "label": "barva", + }, + ), + 3: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + }, + ), + 4: ( + "wagtail.blocks.StructBlock", + [[("align", 1), ("color", 2), ("text", 3)]], + {}, + ), + 5: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "levĂ˝ sloupec", + }, + ), + 6: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "pravĂ˝ sloupec", + }, + ), + 7: ( + "wagtail.blocks.StructBlock", + [[("left_text", 5), ("right_text", 6)]], + {}, + ), + 8: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Nadpis", "max_length": 300, "required": True}, + ), + 9: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("h1", "H1"), + ("h2", "H2"), + ("h3", "H3"), + ("h4", "H4"), + ("h5", "H5"), + ("h6", "H6"), + ], + "help_text": "ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.", + "label": "ĂšroveĹ nadpisu", + }, + ), + 10: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("head-alt-xl", "VelkĂ˝, Bebas Neue - 6XL"), + ("head-alt-lg", "StĹ™ednĂ, Bebas Neue - 4XL"), + ("head-alt-md", "ZákladnĂ velikost - Roboto - MD"), + ("head-alt-sm", "MalĂ˝ - Roboto - SM"), + ("head-alt-xs", "Extra malĂ˝ - Roboto - XS"), + ], + "help_text": "Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.", + "label": "Velikost", + }, + ), + 11: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("auto", "Automaticky"), + ("center", "Na stĹ™ed"), + ], + "label": "ZarovnánĂ", + }, + ), + 12: ( + "wagtail.blocks.StructBlock", + [[("headline", 8), ("tag", 9), ("style", 10), ("align", 11)]], + {}, + ), + 13: ("wagtail.blocks.CharBlock", (), {"label": "nadpis"}), + 14: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)", + "label": "obrázek", + }, + ), + 15: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("title", 13), ("picture", 14)]], + {}, + ), + 16: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "Odstavec", + }, + ), + 17: ("wagtail.blocks.ListBlock", (16,), {"label": "Odstavce"}), + 18: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)", + "label": "Obrázek", + }, + ), + 19: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("items", 17), ("picture", 18)]], + {}, + ), + 20: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "FEC900", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva pozadĂ", + }, + ), + 21: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.", + "label": "Obrázek", + "required": False, + }, + ), + 22: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje obrázek. Nelze vybrat obÄ› najednou.", + "label": "PozadĂ", + "required": False, + }, + ), + 23: ( + "wagtail.blocks.TextBlock", + (), + {"help_text": "ĹádkovánĂ je manuálnĂ.", "label": "Nadpis"}, + ), + 24: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva textu", + }, + ), + 25: ("wagtail.blocks.RichTextBlock", (), {"label": "Obsah"}), + 26: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.", + "label": "Nadpis tlaÄŤĂtka", + "required": False, + }, + ), + 27: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Odkaz tlaÄŤĂtka", "required": False}, + ), + 28: ( + "wagtail.blocks.StructBlock", + [ + [ + ("bg_color", 20), + ("image", 21), + ("background", 22), + ("title", 23), + ("title_color", 24), + ("content", 25), + ("button_text", 26), + ("button_url", 27), + ] + ], + {"label": "Karta"}, + ), + 29: ("wagtail.blocks.ListBlock", (28,), {"label": "Karty"}), + 30: ("wagtail.blocks.StructBlock", [[("cards", 29)]], {}), + 31: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "Tabulka", + "template": "styleguide2/includes/atoms/table/table.html", + }, + ), + 32: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "RozbalovacĂ tabulka", + "template": "styleguide2/includes/atoms/table/popout_table.html", + }, + ), + 33: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "obrázek", "required": True}, + ), + 34: ( + "wagtail.blocks.ListBlock", + (33,), + {"group": "3. OstatnĂ", "icon": "image", "label": "Galerie"}, + ), + 35: ( + "wagtail.blocks.StructBlock", + [[("gallery_items", 34)]], + {"label": "Galerie"}, + ), + 36: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": True}, + ), + 37: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Popisek", "required": False}, + ), + 38: ( + "wagtail.blocks.StructBlock", + [[("img", 36), ("caption", 37)]], + {}, + ), + 39: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": False}, + ), + 40: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Titulek", "required": False}, + ), + 41: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.", + "label": "Náhled videa (automatickĂ© pole)", + "required": False, + }, + ), + 42: ( + "wagtail.blocks.URLBlock", + (), + { + "help_text": "Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.", + "label": "Odkaz na video", + "required": False, + }, + ), + 43: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.", + "label": "ID videa (automatickĂ© pole)", + "required": False, + }, + ), + 44: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "label": "ZabĂrá celou šĂĹ™ku?", + "required": True, + }, + ), + 45: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ] + ], + {}, + ), + 46: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 50.04075", "label": "ZemÄ›pisná šĂĹ™ka"}, + ), + 47: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 15.77659", "label": "ZemÄ›pisná dĂ©lka"}, + ), + 48: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva špendlĂku (HEX)", + }, + ), + 49: ( + "wagtail.blocks.IntegerBlock", + (), + { + "default": 15, + "label": "VĂ˝chozĂ zoom", + "max_value": 18, + "min_value": 1, + }, + ), + 50: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("osm-mapnik", "OSM Mapnik"), + ("stadia-osm-bright", "Stadia OSM Bright"), + ("stadia-outdoors", "Stadia Outdoors"), + ("mapbox-streets", "Mapbox Streets"), + ("mapbox-outdoors", "Mapbox Outdoors"), + ("mapbox-light", "Mapbox Light"), + ("mapbox-dark", "Mapbox Dark"), + ("mapbox-satellite", "Mapbox Satellite"), + ("mapbox-pirate", "Mapbox Pirate Theme"), + ], + "label": "Styl", + }, + ), + 51: ( + "wagtail.blocks.IntegerBlock", + (), + {"label": "Výška v px", "max_value": 1000, "min_value": 100}, + ), + 52: ( + "wagtail.blocks.StructBlock", + [ + [ + ("lat", 46), + ("lon", 47), + ("hex_color", 48), + ("zoom", 49), + ("style", 50), + ("height", 51), + ] + ], + {"label": "Ĺ pendlĂk na mapÄ›"}, + ), + 53: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": True}, + ), + 54: ( + "wagtail.blocks.TextBlock", + (), + { + "help_text": "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", + "label": "Geodata", + "required": True, + }, + ), + 55: ( + "wagtail.blocks.URLBlock", + (), + {"label": "Odkaz", "required": False}, + ), + 56: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva (HEX)", + }, + ), + 57: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 53), + ("description", 37), + ("geojson", 54), + ("image", 39), + ("link", 55), + ("hex_color", 56), + ] + ], + {"required": True}, + ), + 58: ("wagtail.blocks.ListBlock", (57,), {"label": "Součásti"}), + 59: ( + "wagtail.blocks.StructBlock", + [ + [ + ("features", 58), + ("zoom", 49), + ("style", 50), + ("height", 51), + ] + ], + {"label": "Mapová kolekce"}, + ), + 60: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ] + ], + {"label": "Obsah", "required": False}, + ), + 61: ( + "wagtail.blocks.PageChooserBlock", + (), + {"label": "Stránka", "required": False}, + ), + 62: ( + "wagtail.blocks.StructBlock", + [ + [ + ("img", 39), + ("headline", 40), + ("content", 60), + ("page", 61), + ("link", 55), + ] + ], + {}, + ), + 63: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "max_length": 128, "required": True}, + ), + 64: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black", "ÄŚerná"), + ("white", "BĂlá"), + ("pirati-yellow", "Ĺ˝lutá"), + ("grey-125", "SvÄ›tle šedá"), + ("blue-300", "Modrá"), + ("cyan-200", "Tyrkysová"), + ("green-400", "Zelená"), + ("violet-400", "VĂnová"), + ("red-600", "ÄŚervená"), + ], + "label": "Barva", + }, + ), + 65: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": True, + "help_text": "Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.", + "label": "Animovat na hover", + "required": False, + }, + ), + 66: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 63), + ("color", 64), + ("hoveractive", 65), + ("page", 61), + ("link", 55), + ("align", 11), + ] + ], + {}, + ), + 67: ("wagtail.blocks.ListBlock", (66,), {"label": "TlaÄŤĂtka"}), + 68: ("wagtail.blocks.StructBlock", [[("buttons", 67)]], {}), + 69: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 69), ("right_column_content", 70)]], + {}, + ), + 72: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 73: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 69), + ("middle_column_content", 72), + ("right_column_content", 70), + ] + ], + {}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ] + ], + {"label": "YouTube video"}, + ), + 75: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 76: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 77: ( + "wagtail.blocks.StructBlock", + [[("name", 75), ("content", 76)]], + {}, + ), + 78: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": False}, + ), + 79: ( + "wagtail.blocks.static_block.StaticBlock", + (), + { + "admin_text": "Adresa kalendáře se zadává v nastavenĂ hlavnĂ stránky webu", + "label": "Volba kalendáře", + }, + ), + 80: ( + "wagtail.blocks.StructBlock", + [[("title", 78), ("info", 79)]], + {}, + ), + }, + verbose_name="obsah stránky pĹ™ed formulářem", + ), ), migrations.AlterField( - model_name='uniwebformpage', - name='content_landing', - field=wagtail.fields.StreamField([('text', 0), ('advanced_text', 4), ('two_columns_text', 7), ('headline', 12), ('headline_with_picture', 15), ('picture_list', 19), ('flip_cards', 30), ('table', 31), ('popout_table', 32), ('gallery', 35), ('figure', 38), ('card', 62), ('two_columns', 71), ('three_columns', 73), ('youtube', 74), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68), ('popout_point', 77), ('calendar', 80)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {}), 46: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 48: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 49: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 50: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('osm-mapnik', 'OSM Mapnik'), ('stadia-osm-bright', 'Stadia OSM Bright'), ('stadia-outdoors', 'Stadia Outdoors'), ('mapbox-streets', 'Mapbox Streets'), ('mapbox-outdoors', 'Mapbox Outdoors'), ('mapbox-light', 'Mapbox Light'), ('mapbox-dark', 'Mapbox Dark'), ('mapbox-satellite', 'Mapbox Satellite'), ('mapbox-pirate', 'Mapbox Pirate Theme')], 'label': 'Styl'}), 51: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 52: ('wagtail.blocks.StructBlock', [[('lat', 46), ('lon', 47), ('hex_color', 48), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 53: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 54: ('wagtail.blocks.TextBlock', (), {'help_text': "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", 'label': 'Geodata', 'required': True}), 55: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 56: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 57: ('wagtail.blocks.StructBlock', [[('title', 53), ('description', 37), ('geojson', 54), ('image', 39), ('link', 55), ('hex_color', 56)]], {'required': True}), 58: ('wagtail.blocks.ListBlock', (57,), {'label': 'Součásti'}), 59: ('wagtail.blocks.StructBlock', [[('features', 58), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Mapová kolekce'}), 60: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59)]], {'label': 'Obsah', 'required': False}), 61: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 62: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 60), ('page', 61), ('link', 55)]], {}), 63: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 64: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black', 'ÄŚerná'), ('white', 'BĂlá'), ('pirati-yellow', 'Ĺ˝lutá'), ('grey-125', 'SvÄ›tle šedá'), ('blue-300', 'Modrá'), ('cyan-200', 'Tyrkysová'), ('green-400', 'Zelená'), ('violet-400', 'VĂnová'), ('red-600', 'ÄŚervená')], 'label': 'Barva'}), 65: ('wagtail.blocks.BooleanBlock', (), {'default': True, 'help_text': 'Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.', 'label': 'Animovat na hover', 'required': False}), 66: ('wagtail.blocks.StructBlock', [[('title', 63), ('color', 64), ('hoveractive', 65), ('page', 61), ('link', 55), ('align', 11)]], {}), 67: ('wagtail.blocks.ListBlock', (66,), {'label': 'TlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('buttons', 67)]], {}), 69: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('right_column_content', 70)]], {}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('middle_column_content', 72), ('right_column_content', 70)]], {}), 74: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {'label': 'YouTube video'}), 75: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 76: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 77: ('wagtail.blocks.StructBlock', [[('name', 75), ('content', 76)]], {}), 78: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': False}), 79: ('wagtail.blocks.static_block.StaticBlock', (), {'admin_text': 'Adresa kalendáře se zadává v nastavenĂ hlavnĂ stránky webu', 'label': 'Volba kalendáře'}), 80: ('wagtail.blocks.StructBlock', [[('title', 78), ('info', 79)]], {})}, verbose_name='Obsah stránky zobrazenĂ© po odeslánĂ formuláře'), + model_name="uniwebformpage", + name="content_landing", + field=wagtail.fields.StreamField( + [ + ("text", 0), + ("advanced_text", 4), + ("two_columns_text", 7), + ("headline", 12), + ("headline_with_picture", 15), + ("picture_list", 19), + ("flip_cards", 30), + ("table", 31), + ("popout_table", 32), + ("gallery", 35), + ("figure", 38), + ("card", 62), + ("two_columns", 71), + ("three_columns", 73), + ("youtube", 74), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ("popout_point", 77), + ("calendar", 80), + ], + blank=True, + block_lookup={ + 0: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + "template": "styleguide2/includes/atoms/text/prose_richtext.html", + }, + ), + 1: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("left", "vlevo"), + ("center", "uprostĹ™ed"), + ("right", "vpravo"), + ], + "label": "zarovnánĂ", + }, + ), + 2: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black_on_white", "ÄŤerná na bĂlĂ©"), + ("black_on_yellow", "ÄŤerná na ĹľlutĂ©"), + ("white_on_black", "bĂlá na ÄŤernĂ©"), + ("white_on_blue", "bĂlá na modrĂ©"), + ("white_on_cyan", "bĂlá na tyrkysovĂ©"), + ("white_on_violet", "bĂlá na fialovĂ©"), + ], + "label": "barva", + }, + ), + 3: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + }, + ), + 4: ( + "wagtail.blocks.StructBlock", + [[("align", 1), ("color", 2), ("text", 3)]], + {}, + ), + 5: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "levĂ˝ sloupec", + }, + ), + 6: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "pravĂ˝ sloupec", + }, + ), + 7: ( + "wagtail.blocks.StructBlock", + [[("left_text", 5), ("right_text", 6)]], + {}, + ), + 8: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Nadpis", "max_length": 300, "required": True}, + ), + 9: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("h1", "H1"), + ("h2", "H2"), + ("h3", "H3"), + ("h4", "H4"), + ("h5", "H5"), + ("h6", "H6"), + ], + "help_text": "ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.", + "label": "ĂšroveĹ nadpisu", + }, + ), + 10: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("head-alt-xl", "VelkĂ˝, Bebas Neue - 6XL"), + ("head-alt-lg", "StĹ™ednĂ, Bebas Neue - 4XL"), + ("head-alt-md", "ZákladnĂ velikost - Roboto - MD"), + ("head-alt-sm", "MalĂ˝ - Roboto - SM"), + ("head-alt-xs", "Extra malĂ˝ - Roboto - XS"), + ], + "help_text": "Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.", + "label": "Velikost", + }, + ), + 11: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("auto", "Automaticky"), + ("center", "Na stĹ™ed"), + ], + "label": "ZarovnánĂ", + }, + ), + 12: ( + "wagtail.blocks.StructBlock", + [[("headline", 8), ("tag", 9), ("style", 10), ("align", 11)]], + {}, + ), + 13: ("wagtail.blocks.CharBlock", (), {"label": "nadpis"}), + 14: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)", + "label": "obrázek", + }, + ), + 15: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("title", 13), ("picture", 14)]], + {}, + ), + 16: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "Odstavec", + }, + ), + 17: ("wagtail.blocks.ListBlock", (16,), {"label": "Odstavce"}), + 18: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)", + "label": "Obrázek", + }, + ), + 19: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("items", 17), ("picture", 18)]], + {}, + ), + 20: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "FEC900", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva pozadĂ", + }, + ), + 21: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.", + "label": "Obrázek", + "required": False, + }, + ), + 22: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje obrázek. Nelze vybrat obÄ› najednou.", + "label": "PozadĂ", + "required": False, + }, + ), + 23: ( + "wagtail.blocks.TextBlock", + (), + {"help_text": "ĹádkovánĂ je manuálnĂ.", "label": "Nadpis"}, + ), + 24: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva textu", + }, + ), + 25: ("wagtail.blocks.RichTextBlock", (), {"label": "Obsah"}), + 26: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.", + "label": "Nadpis tlaÄŤĂtka", + "required": False, + }, + ), + 27: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Odkaz tlaÄŤĂtka", "required": False}, + ), + 28: ( + "wagtail.blocks.StructBlock", + [ + [ + ("bg_color", 20), + ("image", 21), + ("background", 22), + ("title", 23), + ("title_color", 24), + ("content", 25), + ("button_text", 26), + ("button_url", 27), + ] + ], + {"label": "Karta"}, + ), + 29: ("wagtail.blocks.ListBlock", (28,), {"label": "Karty"}), + 30: ("wagtail.blocks.StructBlock", [[("cards", 29)]], {}), + 31: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "Tabulka", + "template": "styleguide2/includes/atoms/table/table.html", + }, + ), + 32: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "RozbalovacĂ tabulka", + "template": "styleguide2/includes/atoms/table/popout_table.html", + }, + ), + 33: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "obrázek", "required": True}, + ), + 34: ( + "wagtail.blocks.ListBlock", + (33,), + {"group": "3. OstatnĂ", "icon": "image", "label": "Galerie"}, + ), + 35: ( + "wagtail.blocks.StructBlock", + [[("gallery_items", 34)]], + {"label": "Galerie"}, + ), + 36: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": True}, + ), + 37: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Popisek", "required": False}, + ), + 38: ( + "wagtail.blocks.StructBlock", + [[("img", 36), ("caption", 37)]], + {}, + ), + 39: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": False}, + ), + 40: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Titulek", "required": False}, + ), + 41: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.", + "label": "Náhled videa (automatickĂ© pole)", + "required": False, + }, + ), + 42: ( + "wagtail.blocks.URLBlock", + (), + { + "help_text": "Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.", + "label": "Odkaz na video", + "required": False, + }, + ), + 43: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.", + "label": "ID videa (automatickĂ© pole)", + "required": False, + }, + ), + 44: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "label": "ZabĂrá celou šĂĹ™ku?", + "required": True, + }, + ), + 45: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ] + ], + {}, + ), + 46: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 50.04075", "label": "ZemÄ›pisná šĂĹ™ka"}, + ), + 47: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 15.77659", "label": "ZemÄ›pisná dĂ©lka"}, + ), + 48: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva špendlĂku (HEX)", + }, + ), + 49: ( + "wagtail.blocks.IntegerBlock", + (), + { + "default": 15, + "label": "VĂ˝chozĂ zoom", + "max_value": 18, + "min_value": 1, + }, + ), + 50: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("osm-mapnik", "OSM Mapnik"), + ("stadia-osm-bright", "Stadia OSM Bright"), + ("stadia-outdoors", "Stadia Outdoors"), + ("mapbox-streets", "Mapbox Streets"), + ("mapbox-outdoors", "Mapbox Outdoors"), + ("mapbox-light", "Mapbox Light"), + ("mapbox-dark", "Mapbox Dark"), + ("mapbox-satellite", "Mapbox Satellite"), + ("mapbox-pirate", "Mapbox Pirate Theme"), + ], + "label": "Styl", + }, + ), + 51: ( + "wagtail.blocks.IntegerBlock", + (), + {"label": "Výška v px", "max_value": 1000, "min_value": 100}, + ), + 52: ( + "wagtail.blocks.StructBlock", + [ + [ + ("lat", 46), + ("lon", 47), + ("hex_color", 48), + ("zoom", 49), + ("style", 50), + ("height", 51), + ] + ], + {"label": "Ĺ pendlĂk na mapÄ›"}, + ), + 53: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": True}, + ), + 54: ( + "wagtail.blocks.TextBlock", + (), + { + "help_text": "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", + "label": "Geodata", + "required": True, + }, + ), + 55: ( + "wagtail.blocks.URLBlock", + (), + {"label": "Odkaz", "required": False}, + ), + 56: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva (HEX)", + }, + ), + 57: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 53), + ("description", 37), + ("geojson", 54), + ("image", 39), + ("link", 55), + ("hex_color", 56), + ] + ], + {"required": True}, + ), + 58: ("wagtail.blocks.ListBlock", (57,), {"label": "Součásti"}), + 59: ( + "wagtail.blocks.StructBlock", + [ + [ + ("features", 58), + ("zoom", 49), + ("style", 50), + ("height", 51), + ] + ], + {"label": "Mapová kolekce"}, + ), + 60: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ] + ], + {"label": "Obsah", "required": False}, + ), + 61: ( + "wagtail.blocks.PageChooserBlock", + (), + {"label": "Stránka", "required": False}, + ), + 62: ( + "wagtail.blocks.StructBlock", + [ + [ + ("img", 39), + ("headline", 40), + ("content", 60), + ("page", 61), + ("link", 55), + ] + ], + {}, + ), + 63: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "max_length": 128, "required": True}, + ), + 64: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black", "ÄŚerná"), + ("white", "BĂlá"), + ("pirati-yellow", "Ĺ˝lutá"), + ("grey-125", "SvÄ›tle šedá"), + ("blue-300", "Modrá"), + ("cyan-200", "Tyrkysová"), + ("green-400", "Zelená"), + ("violet-400", "VĂnová"), + ("red-600", "ÄŚervená"), + ], + "label": "Barva", + }, + ), + 65: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": True, + "help_text": "Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.", + "label": "Animovat na hover", + "required": False, + }, + ), + 66: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 63), + ("color", 64), + ("hoveractive", 65), + ("page", 61), + ("link", 55), + ("align", 11), + ] + ], + {}, + ), + 67: ("wagtail.blocks.ListBlock", (66,), {"label": "TlaÄŤĂtka"}), + 68: ("wagtail.blocks.StructBlock", [[("buttons", 67)]], {}), + 69: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 69), ("right_column_content", 70)]], + {}, + ), + 72: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 73: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 69), + ("middle_column_content", 72), + ("right_column_content", 70), + ] + ], + {}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ] + ], + {"label": "YouTube video"}, + ), + 75: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 76: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 77: ( + "wagtail.blocks.StructBlock", + [[("name", 75), ("content", 76)]], + {}, + ), + 78: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": False}, + ), + 79: ( + "wagtail.blocks.static_block.StaticBlock", + (), + { + "admin_text": "Adresa kalendáře se zadává v nastavenĂ hlavnĂ stránky webu", + "label": "Volba kalendáře", + }, + ), + 80: ( + "wagtail.blocks.StructBlock", + [[("title", 78), ("info", 79)]], + {}, + ), + }, + verbose_name="Obsah stránky zobrazenĂ© po odeslánĂ formuláře", + ), ), migrations.AlterField( - model_name='uniwebhomepage', - name='content', - field=wagtail.fields.StreamField([('text', 0), ('advanced_text', 4), ('two_columns_text', 7), ('headline', 12), ('headline_with_picture', 15), ('picture_list', 19), ('flip_cards', 30), ('table', 31), ('popout_table', 32), ('gallery', 35), ('figure', 38), ('card', 62), ('two_columns', 71), ('three_columns', 73), ('youtube', 74), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68), ('popout_point', 77), ('calendar', 80), ('newsletter', 85), ('news_block', 88)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {}), 46: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 50.04075', 'label': 'ZemÄ›pisná šĂĹ™ka'}), 47: ('wagtail.blocks.DecimalBlock', (), {'help_text': 'NapĹ™. 15.77659', 'label': 'ZemÄ›pisná dĂ©lka'}), 48: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva špendlĂku (HEX)'}), 49: ('wagtail.blocks.IntegerBlock', (), {'default': 15, 'label': 'VĂ˝chozĂ zoom', 'max_value': 18, 'min_value': 1}), 50: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('osm-mapnik', 'OSM Mapnik'), ('stadia-osm-bright', 'Stadia OSM Bright'), ('stadia-outdoors', 'Stadia Outdoors'), ('mapbox-streets', 'Mapbox Streets'), ('mapbox-outdoors', 'Mapbox Outdoors'), ('mapbox-light', 'Mapbox Light'), ('mapbox-dark', 'Mapbox Dark'), ('mapbox-satellite', 'Mapbox Satellite'), ('mapbox-pirate', 'Mapbox Pirate Theme')], 'label': 'Styl'}), 51: ('wagtail.blocks.IntegerBlock', (), {'label': 'Výška v px', 'max_value': 1000, 'min_value': 100}), 52: ('wagtail.blocks.StructBlock', [[('lat', 46), ('lon', 47), ('hex_color', 48), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Ĺ pendlĂk na mapÄ›'}), 53: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': True}), 54: ('wagtail.blocks.TextBlock', (), {'help_text': "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", 'label': 'Geodata', 'required': True}), 55: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz', 'required': False}), 56: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': 'Zadejte barvu pomocĂ HEX notace (bez # na začátku).', 'label': 'Barva (HEX)'}), 57: ('wagtail.blocks.StructBlock', [[('title', 53), ('description', 37), ('geojson', 54), ('image', 39), ('link', 55), ('hex_color', 56)]], {'required': True}), 58: ('wagtail.blocks.ListBlock', (57,), {'label': 'Součásti'}), 59: ('wagtail.blocks.StructBlock', [[('features', 58), ('zoom', 49), ('style', 50), ('height', 51)]], {'label': 'Mapová kolekce'}), 60: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59)]], {'label': 'Obsah', 'required': False}), 61: ('wagtail.blocks.PageChooserBlock', (), {'label': 'Stránka', 'required': False}), 62: ('wagtail.blocks.StructBlock', [[('img', 39), ('headline', 40), ('content', 60), ('page', 61), ('link', 55)]], {}), 63: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'max_length': 128, 'required': True}), 64: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black', 'ÄŚerná'), ('white', 'BĂlá'), ('pirati-yellow', 'Ĺ˝lutá'), ('grey-125', 'SvÄ›tle šedá'), ('blue-300', 'Modrá'), ('cyan-200', 'Tyrkysová'), ('green-400', 'Zelená'), ('violet-400', 'VĂnová'), ('red-600', 'ÄŚervená')], 'label': 'Barva'}), 65: ('wagtail.blocks.BooleanBlock', (), {'default': True, 'help_text': 'Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.', 'label': 'Animovat na hover', 'required': False}), 66: ('wagtail.blocks.StructBlock', [[('title', 63), ('color', 64), ('hoveractive', 65), ('page', 61), ('link', 55), ('align', 11)]], {}), 67: ('wagtail.blocks.ListBlock', (66,), {'label': 'TlaÄŤĂtka'}), 68: ('wagtail.blocks.StructBlock', [[('buttons', 67)]], {}), 69: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('right_column_content', 70)]], {}), 72: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 62), ('figure', 38), ('youtube', 45), ('map_point', 52), ('map_collection', 59), ('button', 66), ('button_group', 68)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 73: ('wagtail.blocks.StructBlock', [[('left_column_content', 69), ('middle_column_content', 72), ('right_column_content', 70)]], {}), 74: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44)]], {'label': 'YouTube video'}), 75: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 76: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 77: ('wagtail.blocks.StructBlock', [[('name', 75), ('content', 76)]], {}), 78: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': False}), 79: ('wagtail.blocks.static_block.StaticBlock', (), {'admin_text': 'Adresa kalendáře se zadává v nastavenĂ hlavnĂ stránky webu', 'label': 'Volba kalendáře'}), 80: ('wagtail.blocks.StructBlock', [[('title', 78), ('info', 79)]], {}), 81: ('wagtail.blocks.CharBlock', (), {'label': 'ID newsletteru', 'required': True}), 82: ('wagtail.blocks.CharBlock', (), {'default': 'OdebĂrej náš', 'label': 'Nadpis bloku (1. řádek)', 'required': True}), 83: ('wagtail.blocks.CharBlock', (), {'default': 'newsletter', 'label': 'Nadpis bloku (2. řádek)', 'required': True}), 84: ('wagtail.blocks.CharBlock', (), {'default': 'Fake news tam nenajdeš, ale dozvĂš se, co chystáme doopravdy!', 'label': 'Popis newsletteru', 'required': True}), 85: ('wagtail.blocks.StructBlock', [[('list_id', 81), ('title_line_1', 82), ('title_line_2', 83), ('description', 84)]], {}), 86: ('wagtail.blocks.CharBlock', (), {'help_text': 'NejnovÄ›jšà články se naÄŤtou automaticky', 'label': 'Titulek'}), 87: ('wagtail.blocks.TextBlock', (), {'label': 'Popis', 'required': False}), 88: ('wagtail.blocks.StructBlock', [[('title', 86), ('description', 87)]], {'group': '3. OstatnĂ', 'template': 'styleguide2/includes/organisms/articles/district/articles_section.html'})}, verbose_name='obsah stránky'), + model_name="uniwebhomepage", + name="content", + field=wagtail.fields.StreamField( + [ + ("text", 0), + ("advanced_text", 4), + ("two_columns_text", 7), + ("headline", 12), + ("headline_with_picture", 15), + ("picture_list", 19), + ("flip_cards", 30), + ("table", 31), + ("popout_table", 32), + ("gallery", 35), + ("figure", 38), + ("card", 62), + ("two_columns", 71), + ("three_columns", 73), + ("youtube", 74), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ("popout_point", 77), + ("calendar", 80), + ("newsletter", 85), + ("news_block", 88), + ], + blank=True, + block_lookup={ + 0: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + "template": "styleguide2/includes/atoms/text/prose_richtext.html", + }, + ), + 1: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("left", "vlevo"), + ("center", "uprostĹ™ed"), + ("right", "vpravo"), + ], + "label": "zarovnánĂ", + }, + ), + 2: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black_on_white", "ÄŤerná na bĂlĂ©"), + ("black_on_yellow", "ÄŤerná na ĹľlutĂ©"), + ("white_on_black", "bĂlá na ÄŤernĂ©"), + ("white_on_blue", "bĂlá na modrĂ©"), + ("white_on_cyan", "bĂlá na tyrkysovĂ©"), + ("white_on_violet", "bĂlá na fialovĂ©"), + ], + "label": "barva", + }, + ), + 3: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + }, + ), + 4: ( + "wagtail.blocks.StructBlock", + [[("align", 1), ("color", 2), ("text", 3)]], + {}, + ), + 5: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "levĂ˝ sloupec", + }, + ), + 6: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "pravĂ˝ sloupec", + }, + ), + 7: ( + "wagtail.blocks.StructBlock", + [[("left_text", 5), ("right_text", 6)]], + {}, + ), + 8: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Nadpis", "max_length": 300, "required": True}, + ), + 9: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("h1", "H1"), + ("h2", "H2"), + ("h3", "H3"), + ("h4", "H4"), + ("h5", "H5"), + ("h6", "H6"), + ], + "help_text": "ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.", + "label": "ĂšroveĹ nadpisu", + }, + ), + 10: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("head-alt-xl", "VelkĂ˝, Bebas Neue - 6XL"), + ("head-alt-lg", "StĹ™ednĂ, Bebas Neue - 4XL"), + ("head-alt-md", "ZákladnĂ velikost - Roboto - MD"), + ("head-alt-sm", "MalĂ˝ - Roboto - SM"), + ("head-alt-xs", "Extra malĂ˝ - Roboto - XS"), + ], + "help_text": "Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.", + "label": "Velikost", + }, + ), + 11: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("auto", "Automaticky"), + ("center", "Na stĹ™ed"), + ], + "label": "ZarovnánĂ", + }, + ), + 12: ( + "wagtail.blocks.StructBlock", + [[("headline", 8), ("tag", 9), ("style", 10), ("align", 11)]], + {}, + ), + 13: ("wagtail.blocks.CharBlock", (), {"label": "nadpis"}), + 14: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)", + "label": "obrázek", + }, + ), + 15: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("title", 13), ("picture", 14)]], + {}, + ), + 16: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "Odstavec", + }, + ), + 17: ("wagtail.blocks.ListBlock", (16,), {"label": "Odstavce"}), + 18: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)", + "label": "Obrázek", + }, + ), + 19: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("items", 17), ("picture", 18)]], + {}, + ), + 20: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "FEC900", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva pozadĂ", + }, + ), + 21: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.", + "label": "Obrázek", + "required": False, + }, + ), + 22: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje obrázek. Nelze vybrat obÄ› najednou.", + "label": "PozadĂ", + "required": False, + }, + ), + 23: ( + "wagtail.blocks.TextBlock", + (), + {"help_text": "ĹádkovánĂ je manuálnĂ.", "label": "Nadpis"}, + ), + 24: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva textu", + }, + ), + 25: ("wagtail.blocks.RichTextBlock", (), {"label": "Obsah"}), + 26: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.", + "label": "Nadpis tlaÄŤĂtka", + "required": False, + }, + ), + 27: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Odkaz tlaÄŤĂtka", "required": False}, + ), + 28: ( + "wagtail.blocks.StructBlock", + [ + [ + ("bg_color", 20), + ("image", 21), + ("background", 22), + ("title", 23), + ("title_color", 24), + ("content", 25), + ("button_text", 26), + ("button_url", 27), + ] + ], + {"label": "Karta"}, + ), + 29: ("wagtail.blocks.ListBlock", (28,), {"label": "Karty"}), + 30: ("wagtail.blocks.StructBlock", [[("cards", 29)]], {}), + 31: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "Tabulka", + "template": "styleguide2/includes/atoms/table/table.html", + }, + ), + 32: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "RozbalovacĂ tabulka", + "template": "styleguide2/includes/atoms/table/popout_table.html", + }, + ), + 33: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "obrázek", "required": True}, + ), + 34: ( + "wagtail.blocks.ListBlock", + (33,), + {"group": "3. OstatnĂ", "icon": "image", "label": "Galerie"}, + ), + 35: ( + "wagtail.blocks.StructBlock", + [[("gallery_items", 34)]], + {"label": "Galerie"}, + ), + 36: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": True}, + ), + 37: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Popisek", "required": False}, + ), + 38: ( + "wagtail.blocks.StructBlock", + [[("img", 36), ("caption", 37)]], + {}, + ), + 39: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": False}, + ), + 40: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Titulek", "required": False}, + ), + 41: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.", + "label": "Náhled videa (automatickĂ© pole)", + "required": False, + }, + ), + 42: ( + "wagtail.blocks.URLBlock", + (), + { + "help_text": "Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.", + "label": "Odkaz na video", + "required": False, + }, + ), + 43: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.", + "label": "ID videa (automatickĂ© pole)", + "required": False, + }, + ), + 44: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "label": "ZabĂrá celou šĂĹ™ku?", + "required": True, + }, + ), + 45: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ] + ], + {}, + ), + 46: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 50.04075", "label": "ZemÄ›pisná šĂĹ™ka"}, + ), + 47: ( + "wagtail.blocks.DecimalBlock", + (), + {"help_text": "NapĹ™. 15.77659", "label": "ZemÄ›pisná dĂ©lka"}, + ), + 48: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva špendlĂku (HEX)", + }, + ), + 49: ( + "wagtail.blocks.IntegerBlock", + (), + { + "default": 15, + "label": "VĂ˝chozĂ zoom", + "max_value": 18, + "min_value": 1, + }, + ), + 50: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("osm-mapnik", "OSM Mapnik"), + ("stadia-osm-bright", "Stadia OSM Bright"), + ("stadia-outdoors", "Stadia Outdoors"), + ("mapbox-streets", "Mapbox Streets"), + ("mapbox-outdoors", "Mapbox Outdoors"), + ("mapbox-light", "Mapbox Light"), + ("mapbox-dark", "Mapbox Dark"), + ("mapbox-satellite", "Mapbox Satellite"), + ("mapbox-pirate", "Mapbox Pirate Theme"), + ], + "label": "Styl", + }, + ), + 51: ( + "wagtail.blocks.IntegerBlock", + (), + {"label": "Výška v px", "max_value": 1000, "min_value": 100}, + ), + 52: ( + "wagtail.blocks.StructBlock", + [ + [ + ("lat", 46), + ("lon", 47), + ("hex_color", 48), + ("zoom", 49), + ("style", 50), + ("height", 51), + ] + ], + {"label": "Ĺ pendlĂk na mapÄ›"}, + ), + 53: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": True}, + ), + 54: ( + "wagtail.blocks.TextBlock", + (), + { + "help_text": "VloĹľte surovĂ˝ GeoJSON objekt typu 'Feature'. Vyrobit jej mĹŻĹľete napĹ™. pomocĂ online sluĹľby geojson.io. Pokud u objektu poskytnete properties 'title' a 'description', zobrazĂ se jak na mapÄ›, tak i v detailu.", + "label": "Geodata", + "required": True, + }, + ), + 55: ( + "wagtail.blocks.URLBlock", + (), + {"label": "Odkaz", "required": False}, + ), + 56: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "Zadejte barvu pomocĂ HEX notace (bez # na začátku).", + "label": "Barva (HEX)", + }, + ), + 57: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 53), + ("description", 37), + ("geojson", 54), + ("image", 39), + ("link", 55), + ("hex_color", 56), + ] + ], + {"required": True}, + ), + 58: ("wagtail.blocks.ListBlock", (57,), {"label": "Součásti"}), + 59: ( + "wagtail.blocks.StructBlock", + [ + [ + ("features", 58), + ("zoom", 49), + ("style", 50), + ("height", 51), + ] + ], + {"label": "Mapová kolekce"}, + ), + 60: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ] + ], + {"label": "Obsah", "required": False}, + ), + 61: ( + "wagtail.blocks.PageChooserBlock", + (), + {"label": "Stránka", "required": False}, + ), + 62: ( + "wagtail.blocks.StructBlock", + [ + [ + ("img", 39), + ("headline", 40), + ("content", 60), + ("page", 61), + ("link", 55), + ] + ], + {}, + ), + 63: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "max_length": 128, "required": True}, + ), + 64: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black", "ÄŚerná"), + ("white", "BĂlá"), + ("pirati-yellow", "Ĺ˝lutá"), + ("grey-125", "SvÄ›tle šedá"), + ("blue-300", "Modrá"), + ("cyan-200", "Tyrkysová"), + ("green-400", "Zelená"), + ("violet-400", "VĂnová"), + ("red-600", "ÄŚervená"), + ], + "label": "Barva", + }, + ), + 65: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": True, + "help_text": "Pokud je zapnuto, tlaÄŤĂtko pĹ™i najetĂ kurzorem ukáže Ĺľlutou šipku.", + "label": "Animovat na hover", + "required": False, + }, + ), + 66: ( + "wagtail.blocks.StructBlock", + [ + [ + ("title", 63), + ("color", 64), + ("hoveractive", 65), + ("page", 61), + ("link", 55), + ("align", 11), + ] + ], + {}, + ), + 67: ("wagtail.blocks.ListBlock", (66,), {"label": "TlaÄŤĂtka"}), + 68: ("wagtail.blocks.StructBlock", [[("buttons", 67)]], {}), + 69: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 69), ("right_column_content", 70)]], + {}, + ), + 72: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 62), + ("figure", 38), + ("youtube", 45), + ("map_point", 52), + ("map_collection", 59), + ("button", 66), + ("button_group", 68), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 73: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 69), + ("middle_column_content", 72), + ("right_column_content", 70), + ] + ], + {}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ] + ], + {"label": "YouTube video"}, + ), + 75: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 76: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 77: ( + "wagtail.blocks.StructBlock", + [[("name", 75), ("content", 76)]], + {}, + ), + 78: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": False}, + ), + 79: ( + "wagtail.blocks.static_block.StaticBlock", + (), + { + "admin_text": "Adresa kalendáře se zadává v nastavenĂ hlavnĂ stránky webu", + "label": "Volba kalendáře", + }, + ), + 80: ( + "wagtail.blocks.StructBlock", + [[("title", 78), ("info", 79)]], + {}, + ), + 81: ( + "wagtail.blocks.CharBlock", + (), + {"label": "ID newsletteru", "required": True}, + ), + 82: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "OdebĂrej náš", + "label": "Nadpis bloku (1. řádek)", + "required": True, + }, + ), + 83: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "newsletter", + "label": "Nadpis bloku (2. řádek)", + "required": True, + }, + ), + 84: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "Fake news tam nenajdeš, ale dozvĂš se, co chystáme doopravdy!", + "label": "Popis newsletteru", + "required": True, + }, + ), + 85: ( + "wagtail.blocks.StructBlock", + [ + [ + ("list_id", 81), + ("title_line_1", 82), + ("title_line_2", 83), + ("description", 84), + ] + ], + {}, + ), + 86: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NejnovÄ›jšà články se naÄŤtou automaticky", + "label": "Titulek", + }, + ), + 87: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Popis", "required": False}, + ), + 88: ( + "wagtail.blocks.StructBlock", + [[("title", 86), ("description", 87)]], + { + "group": "3. OstatnĂ", + "template": "styleguide2/includes/organisms/articles/district/articles_section.html", + }, + ), + }, + verbose_name="obsah stránky", + ), ), ] diff --git a/uniweb/migrations/0122_uniwebhomepage_main_image_and_more.py b/uniweb/migrations/0122_uniwebhomepage_main_image_and_more.py index 8ea25ea335e834978159a4adb7cc07d00c414a83..fe9b65b42b57ad1a100854faa5329b692003e0fe 100644 --- a/uniweb/migrations/0122_uniwebhomepage_main_image_and_more.py +++ b/uniweb/migrations/0122_uniwebhomepage_main_image_and_more.py @@ -5,21 +5,31 @@ from django.db import migrations, models class Migration(migrations.Migration): - dependencies = [ - ('uniweb', '0121_alter_uniwebarticlepage_content_and_more'), - ('wagtailimages', '0027_image_description'), + ("uniweb", "0121_alter_uniwebarticlepage_content_and_more"), + ("wagtailimages", "0027_image_description"), ] operations = [ migrations.AddField( - model_name='uniwebhomepage', - name='main_image', - field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='+', to='wagtailimages.image', verbose_name='Obrázek na pozadĂ hlaviÄŤky'), + model_name="uniwebhomepage", + name="main_image", + field=models.ForeignKey( + blank=True, + null=True, + on_delete=django.db.models.deletion.PROTECT, + related_name="+", + to="wagtailimages.image", + verbose_name="Obrázek na pozadĂ hlaviÄŤky", + ), ), migrations.AddField( - model_name='uniwebhomepage', - name='show_transparent_header', - field=models.BooleanField(default=False, help_text='Pokud je toto pole zaškrtlĂ©, obrázek na pozadĂ hlaviÄŤky se neztmavĂ.', verbose_name='PrĹŻhledná hlaviÄŤka?'), + model_name="uniwebhomepage", + name="show_transparent_header", + field=models.BooleanField( + default=False, + help_text="Pokud je toto pole zaškrtlĂ©, obrázek na pozadĂ hlaviÄŤky se neztmavĂ.", + verbose_name="PrĹŻhledná hlaviÄŤka?", + ), ), ] diff --git a/uniweb/migrations/0123_alter_uniwebarticlepage_content_and_more.py b/uniweb/migrations/0123_alter_uniwebarticlepage_content_and_more.py index 049d485c646df3cf38092eba0c4716e9aa6d959c..8560584fe7110f9d4a4c5c8208ea5a46cfaf56b0 100644 --- a/uniweb/migrations/0123_alter_uniwebarticlepage_content_and_more.py +++ b/uniweb/migrations/0123_alter_uniwebarticlepage_content_and_more.py @@ -5,40 +5,4858 @@ from django.db import migrations class Migration(migrations.Migration): - dependencies = [ - ('uniweb', '0122_uniwebhomepage_main_image_and_more'), + ("uniweb", "0122_uniwebhomepage_main_image_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', 72), ('three_columns', 74), ('youtube', 75), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69), ('popout_point', 79), ('quote', 82), ('download', 84)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.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': True}), 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.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11)]], {}), 68: ('wagtail.blocks.ListBlock', (67,), {'label': 'TlaÄŤĂtka'}), 69: ('wagtail.blocks.StructBlock', [[('buttons', 68)]], {}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('right_column_content', 71)]], {}), 73: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 74: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('middle_column_content', 73), ('right_column_content', 71)]], {}), 75: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 76: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 77: ('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'}), 78: ('wagtail.blocks.StreamBlock', [[('text', 77), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 79: ('wagtail.blocks.StructBlock', [[('name', 76), ('content', 78)]], {}), 80: ('wagtail.blocks.CharBlock', (), {'label': 'Citace'}), 81: ('wagtail.blocks.CharBlock', (), {'label': 'JmĂ©no autora'}), 82: ('wagtail.blocks.StructBlock', [[('quote', 80), ('autor_name', 81)]], {}), 83: ('wagtail.documents.blocks.DocumentChooserBlock', (), {'label': 'StáhnutelnĂ˝ soubor'}), 84: ('wagtail.blocks.StructBlock', [[('file', 83)]], {})}, 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", 72), + ("three_columns", 74), + ("youtube", 75), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ("popout_point", 79), + ("quote", 82), + ("download", 84), + ], + blank=True, + block_lookup={ + 0: ( + "wagtail.blocks.RichTextBlock", + (), + { + "template": "styleguide2/includes/atoms/text/prose_richtext.html" + }, + ), + 1: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("left", "vlevo"), + ("center", "uprostĹ™ed"), + ("right", "vpravo"), + ], + "label": "zarovnánĂ", + }, + ), + 2: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black_on_white", "ÄŤerná na bĂlĂ©"), + ("black_on_yellow", "ÄŤerná na ĹľlutĂ©"), + ("white_on_black", "bĂlá na ÄŤernĂ©"), + ("white_on_blue", "bĂlá na modrĂ©"), + ("white_on_cyan", "bĂlá na tyrkysovĂ©"), + ("white_on_violet", "bĂlá na fialovĂ©"), + ], + "label": "barva", + }, + ), + 3: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + }, + ), + 4: ( + "wagtail.blocks.StructBlock", + [[("align", 1), ("color", 2), ("text", 3)]], + {}, + ), + 5: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "levĂ˝ sloupec", + }, + ), + 6: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "pravĂ˝ sloupec", + }, + ), + 7: ( + "wagtail.blocks.StructBlock", + [[("left_text", 5), ("right_text", 6)]], + {}, + ), + 8: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Nadpis", "max_length": 300, "required": True}, + ), + 9: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("h1", "H1"), + ("h2", "H2"), + ("h3", "H3"), + ("h4", "H4"), + ("h5", "H5"), + ("h6", "H6"), + ], + "help_text": "ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.", + "label": "ĂšroveĹ nadpisu", + }, + ), + 10: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("head-alt-xl", "VelkĂ˝, Bebas Neue - 6XL"), + ("head-alt-lg", "StĹ™ednĂ, Bebas Neue - 4XL"), + ("head-alt-md", "ZákladnĂ velikost - Roboto - MD"), + ("head-alt-sm", "MalĂ˝ - Roboto - SM"), + ("head-alt-xs", "Extra malĂ˝ - Roboto - XS"), + ], + "help_text": "Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.", + "label": "Velikost", + }, + ), + 11: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("auto", "Automaticky"), + ("center", "Na stĹ™ed"), + ], + "label": "ZarovnánĂ", + }, + ), + 12: ( + "wagtail.blocks.StructBlock", + [[("headline", 8), ("tag", 9), ("style", 10), ("align", 11)]], + {}, + ), + 13: ("wagtail.blocks.CharBlock", (), {"label": "nadpis"}), + 14: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)", + "label": "obrázek", + }, + ), + 15: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("title", 13), ("picture", 14)]], + {}, + ), + 16: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "Odstavec", + }, + ), + 17: ("wagtail.blocks.ListBlock", (16,), {"label": "Odstavce"}), + 18: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)", + "label": "Obrázek", + }, + ), + 19: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("items", 17), ("picture", 18)]], + {}, + ), + 20: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "FEC900", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva pozadĂ", + }, + ), + 21: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.", + "label": "Obrázek", + "required": False, + }, + ), + 22: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje obrázek. Nelze vybrat obÄ› najednou.", + "label": "PozadĂ", + "required": False, + }, + ), + 23: ( + "wagtail.blocks.TextBlock", + (), + {"help_text": "ĹádkovánĂ je manuálnĂ.", "label": "Nadpis"}, + ), + 24: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva textu", + }, + ), + 25: ("wagtail.blocks.RichTextBlock", (), {"label": "Obsah"}), + 26: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.", + "label": "Nadpis tlaÄŤĂtka", + "required": False, + }, + ), + 27: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Odkaz tlaÄŤĂtka", "required": False}, + ), + 28: ( + "wagtail.blocks.StructBlock", + [ + [ + ("bg_color", 20), + ("image", 21), + ("background", 22), + ("title", 23), + ("title_color", 24), + ("content", 25), + ("button_text", 26), + ("button_url", 27), + ] + ], + {"label": "Karta"}, + ), + 29: ("wagtail.blocks.ListBlock", (28,), {"label": "Karty"}), + 30: ("wagtail.blocks.StructBlock", [[("cards", 29)]], {}), + 31: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "Tabulka", + "template": "styleguide2/includes/atoms/table/table.html", + }, + ), + 32: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "RozbalovacĂ tabulka", + "template": "styleguide2/includes/atoms/table/popout_table.html", + }, + ), + 33: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "obrázek", "required": True}, + ), + 34: ( + "wagtail.blocks.ListBlock", + (33,), + {"group": "3. OstatnĂ", "icon": "image", "label": "Galerie"}, + ), + 35: ( + "wagtail.blocks.StructBlock", + [[("gallery_items", 34)]], + {"label": "Galerie"}, + ), + 36: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": True}, + ), + 37: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Popisek", "required": False}, + ), + 38: ( + "wagtail.blocks.StructBlock", + [[("img", 36), ("caption", 37)]], + {}, + ), + 39: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": False}, + ), + 40: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Titulek", "required": False}, + ), + 41: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.", + "label": "Náhled videa (automatickĂ© pole)", + "required": False, + }, + ), + 42: ( + "wagtail.blocks.URLBlock", + (), + { + "help_text": "Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.", + "label": "Odkaz na video", + "required": False, + }, + ), + 43: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.", + "label": "ID videa (automatickĂ© pole)", + "required": False, + }, + ), + 44: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "label": "ZabĂrá celou šĂĹ™ku?", + "required": True, + }, + ), + 45: ( + "wagtail.blocks.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": True, + }, + ), + 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.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ] + ], + {}, + ), + 68: ("wagtail.blocks.ListBlock", (67,), {"label": "TlaÄŤĂtka"}), + 69: ("wagtail.blocks.StructBlock", [[("buttons", 68)]], {}), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 70), ("right_column_content", 71)]], + {}, + ), + 73: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 70), + ("middle_column_content", 73), + ("right_column_content", 71), + ] + ], + {}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 76: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 77: ( + "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", + }, + ), + 78: ( + "wagtail.blocks.StreamBlock", + [[("text", 77), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 79: ( + "wagtail.blocks.StructBlock", + [[("name", 76), ("content", 78)]], + {}, + ), + 80: ("wagtail.blocks.CharBlock", (), {"label": "Citace"}), + 81: ("wagtail.blocks.CharBlock", (), {"label": "JmĂ©no autora"}), + 82: ( + "wagtail.blocks.StructBlock", + [[("quote", 80), ("autor_name", 81)]], + {}, + ), + 83: ( + "wagtail.documents.blocks.DocumentChooserBlock", + (), + {"label": "StáhnutelnĂ˝ soubor"}, + ), + 84: ("wagtail.blocks.StructBlock", [[("file", 83)]], {}), + }, + 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', 72), ('three_columns', 74), ('youtube', 75), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69), ('popout_point', 78), ('calendar', 81), ('newsletter', 86)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.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': True}), 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.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11)]], {}), 68: ('wagtail.blocks.ListBlock', (67,), {'label': 'TlaÄŤĂtka'}), 69: ('wagtail.blocks.StructBlock', [[('buttons', 68)]], {}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('right_column_content', 71)]], {}), 73: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 74: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('middle_column_content', 73), ('right_column_content', 71)]], {}), 75: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 76: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 77: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 78: ('wagtail.blocks.StructBlock', [[('name', 76), ('content', 77)]], {}), 79: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': False}), 80: ('wagtail.blocks.static_block.StaticBlock', (), {'admin_text': 'Adresa kalendáře se zadává v nastavenĂ hlavnĂ stránky webu', 'label': 'Volba kalendáře'}), 81: ('wagtail.blocks.StructBlock', [[('title', 79), ('info', 80)]], {}), 82: ('wagtail.blocks.CharBlock', (), {'label': 'ID newsletteru', 'required': True}), 83: ('wagtail.blocks.CharBlock', (), {'default': 'OdebĂrej náš', 'label': 'Nadpis bloku (1. řádek)', 'required': True}), 84: ('wagtail.blocks.CharBlock', (), {'default': 'newsletter', 'label': 'Nadpis bloku (2. řádek)', 'required': True}), 85: ('wagtail.blocks.CharBlock', (), {'default': 'Fake news tam nenajdeš, ale dozvĂš se, co chystáme doopravdy!', 'label': 'Popis newsletteru', 'required': True}), 86: ('wagtail.blocks.StructBlock', [[('list_id', 82), ('title_line_1', 83), ('title_line_2', 84), ('description', 85)]], {})}, 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", 72), + ("three_columns", 74), + ("youtube", 75), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ("popout_point", 78), + ("calendar", 81), + ("newsletter", 86), + ], + blank=True, + block_lookup={ + 0: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + "template": "styleguide2/includes/atoms/text/prose_richtext.html", + }, + ), + 1: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("left", "vlevo"), + ("center", "uprostĹ™ed"), + ("right", "vpravo"), + ], + "label": "zarovnánĂ", + }, + ), + 2: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black_on_white", "ÄŤerná na bĂlĂ©"), + ("black_on_yellow", "ÄŤerná na ĹľlutĂ©"), + ("white_on_black", "bĂlá na ÄŤernĂ©"), + ("white_on_blue", "bĂlá na modrĂ©"), + ("white_on_cyan", "bĂlá na tyrkysovĂ©"), + ("white_on_violet", "bĂlá na fialovĂ©"), + ], + "label": "barva", + }, + ), + 3: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + }, + ), + 4: ( + "wagtail.blocks.StructBlock", + [[("align", 1), ("color", 2), ("text", 3)]], + {}, + ), + 5: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "levĂ˝ sloupec", + }, + ), + 6: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "pravĂ˝ sloupec", + }, + ), + 7: ( + "wagtail.blocks.StructBlock", + [[("left_text", 5), ("right_text", 6)]], + {}, + ), + 8: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Nadpis", "max_length": 300, "required": True}, + ), + 9: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("h1", "H1"), + ("h2", "H2"), + ("h3", "H3"), + ("h4", "H4"), + ("h5", "H5"), + ("h6", "H6"), + ], + "help_text": "ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.", + "label": "ĂšroveĹ nadpisu", + }, + ), + 10: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("head-alt-xl", "VelkĂ˝, Bebas Neue - 6XL"), + ("head-alt-lg", "StĹ™ednĂ, Bebas Neue - 4XL"), + ("head-alt-md", "ZákladnĂ velikost - Roboto - MD"), + ("head-alt-sm", "MalĂ˝ - Roboto - SM"), + ("head-alt-xs", "Extra malĂ˝ - Roboto - XS"), + ], + "help_text": "Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.", + "label": "Velikost", + }, + ), + 11: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("auto", "Automaticky"), + ("center", "Na stĹ™ed"), + ], + "label": "ZarovnánĂ", + }, + ), + 12: ( + "wagtail.blocks.StructBlock", + [[("headline", 8), ("tag", 9), ("style", 10), ("align", 11)]], + {}, + ), + 13: ("wagtail.blocks.CharBlock", (), {"label": "nadpis"}), + 14: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)", + "label": "obrázek", + }, + ), + 15: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("title", 13), ("picture", 14)]], + {}, + ), + 16: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "Odstavec", + }, + ), + 17: ("wagtail.blocks.ListBlock", (16,), {"label": "Odstavce"}), + 18: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)", + "label": "Obrázek", + }, + ), + 19: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("items", 17), ("picture", 18)]], + {}, + ), + 20: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "FEC900", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva pozadĂ", + }, + ), + 21: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.", + "label": "Obrázek", + "required": False, + }, + ), + 22: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje obrázek. Nelze vybrat obÄ› najednou.", + "label": "PozadĂ", + "required": False, + }, + ), + 23: ( + "wagtail.blocks.TextBlock", + (), + {"help_text": "ĹádkovánĂ je manuálnĂ.", "label": "Nadpis"}, + ), + 24: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva textu", + }, + ), + 25: ("wagtail.blocks.RichTextBlock", (), {"label": "Obsah"}), + 26: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.", + "label": "Nadpis tlaÄŤĂtka", + "required": False, + }, + ), + 27: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Odkaz tlaÄŤĂtka", "required": False}, + ), + 28: ( + "wagtail.blocks.StructBlock", + [ + [ + ("bg_color", 20), + ("image", 21), + ("background", 22), + ("title", 23), + ("title_color", 24), + ("content", 25), + ("button_text", 26), + ("button_url", 27), + ] + ], + {"label": "Karta"}, + ), + 29: ("wagtail.blocks.ListBlock", (28,), {"label": "Karty"}), + 30: ("wagtail.blocks.StructBlock", [[("cards", 29)]], {}), + 31: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "Tabulka", + "template": "styleguide2/includes/atoms/table/table.html", + }, + ), + 32: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "RozbalovacĂ tabulka", + "template": "styleguide2/includes/atoms/table/popout_table.html", + }, + ), + 33: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "obrázek", "required": True}, + ), + 34: ( + "wagtail.blocks.ListBlock", + (33,), + {"group": "3. OstatnĂ", "icon": "image", "label": "Galerie"}, + ), + 35: ( + "wagtail.blocks.StructBlock", + [[("gallery_items", 34)]], + {"label": "Galerie"}, + ), + 36: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": True}, + ), + 37: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Popisek", "required": False}, + ), + 38: ( + "wagtail.blocks.StructBlock", + [[("img", 36), ("caption", 37)]], + {}, + ), + 39: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": False}, + ), + 40: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Titulek", "required": False}, + ), + 41: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.", + "label": "Náhled videa (automatickĂ© pole)", + "required": False, + }, + ), + 42: ( + "wagtail.blocks.URLBlock", + (), + { + "help_text": "Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.", + "label": "Odkaz na video", + "required": False, + }, + ), + 43: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.", + "label": "ID videa (automatickĂ© pole)", + "required": False, + }, + ), + 44: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "label": "ZabĂrá celou šĂĹ™ku?", + "required": True, + }, + ), + 45: ( + "wagtail.blocks.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": True, + }, + ), + 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.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ] + ], + {}, + ), + 68: ("wagtail.blocks.ListBlock", (67,), {"label": "TlaÄŤĂtka"}), + 69: ("wagtail.blocks.StructBlock", [[("buttons", 68)]], {}), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 70), ("right_column_content", 71)]], + {}, + ), + 73: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 70), + ("middle_column_content", 73), + ("right_column_content", 71), + ] + ], + {}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 76: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 77: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 78: ( + "wagtail.blocks.StructBlock", + [[("name", 76), ("content", 77)]], + {}, + ), + 79: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": False}, + ), + 80: ( + "wagtail.blocks.static_block.StaticBlock", + (), + { + "admin_text": "Adresa kalendáře se zadává v nastavenĂ hlavnĂ stránky webu", + "label": "Volba kalendáře", + }, + ), + 81: ( + "wagtail.blocks.StructBlock", + [[("title", 79), ("info", 80)]], + {}, + ), + 82: ( + "wagtail.blocks.CharBlock", + (), + {"label": "ID newsletteru", "required": True}, + ), + 83: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "OdebĂrej náš", + "label": "Nadpis bloku (1. řádek)", + "required": True, + }, + ), + 84: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "newsletter", + "label": "Nadpis bloku (2. řádek)", + "required": True, + }, + ), + 85: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "Fake news tam nenajdeš, ale dozvĂš se, co chystáme doopravdy!", + "label": "Popis newsletteru", + "required": True, + }, + ), + 86: ( + "wagtail.blocks.StructBlock", + [ + [ + ("list_id", 82), + ("title_line_1", 83), + ("title_line_2", 84), + ("description", 85), + ] + ], + {}, + ), + }, + 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', 72), ('three_columns', 74), ('youtube', 75), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69), ('popout_point', 78), ('calendar', 81)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.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': True}), 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.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11)]], {}), 68: ('wagtail.blocks.ListBlock', (67,), {'label': 'TlaÄŤĂtka'}), 69: ('wagtail.blocks.StructBlock', [[('buttons', 68)]], {}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('right_column_content', 71)]], {}), 73: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 74: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('middle_column_content', 73), ('right_column_content', 71)]], {}), 75: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 76: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 77: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 78: ('wagtail.blocks.StructBlock', [[('name', 76), ('content', 77)]], {}), 79: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': False}), 80: ('wagtail.blocks.static_block.StaticBlock', (), {'admin_text': 'Adresa kalendáře se zadává v nastavenĂ hlavnĂ stránky webu', 'label': 'Volba kalendáře'}), 81: ('wagtail.blocks.StructBlock', [[('title', 79), ('info', 80)]], {})}, 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", 72), + ("three_columns", 74), + ("youtube", 75), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ("popout_point", 78), + ("calendar", 81), + ], + blank=True, + block_lookup={ + 0: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + "template": "styleguide2/includes/atoms/text/prose_richtext.html", + }, + ), + 1: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("left", "vlevo"), + ("center", "uprostĹ™ed"), + ("right", "vpravo"), + ], + "label": "zarovnánĂ", + }, + ), + 2: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black_on_white", "ÄŤerná na bĂlĂ©"), + ("black_on_yellow", "ÄŤerná na ĹľlutĂ©"), + ("white_on_black", "bĂlá na ÄŤernĂ©"), + ("white_on_blue", "bĂlá na modrĂ©"), + ("white_on_cyan", "bĂlá na tyrkysovĂ©"), + ("white_on_violet", "bĂlá na fialovĂ©"), + ], + "label": "barva", + }, + ), + 3: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + }, + ), + 4: ( + "wagtail.blocks.StructBlock", + [[("align", 1), ("color", 2), ("text", 3)]], + {}, + ), + 5: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "levĂ˝ sloupec", + }, + ), + 6: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "pravĂ˝ sloupec", + }, + ), + 7: ( + "wagtail.blocks.StructBlock", + [[("left_text", 5), ("right_text", 6)]], + {}, + ), + 8: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Nadpis", "max_length": 300, "required": True}, + ), + 9: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("h1", "H1"), + ("h2", "H2"), + ("h3", "H3"), + ("h4", "H4"), + ("h5", "H5"), + ("h6", "H6"), + ], + "help_text": "ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.", + "label": "ĂšroveĹ nadpisu", + }, + ), + 10: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("head-alt-xl", "VelkĂ˝, Bebas Neue - 6XL"), + ("head-alt-lg", "StĹ™ednĂ, Bebas Neue - 4XL"), + ("head-alt-md", "ZákladnĂ velikost - Roboto - MD"), + ("head-alt-sm", "MalĂ˝ - Roboto - SM"), + ("head-alt-xs", "Extra malĂ˝ - Roboto - XS"), + ], + "help_text": "Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.", + "label": "Velikost", + }, + ), + 11: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("auto", "Automaticky"), + ("center", "Na stĹ™ed"), + ], + "label": "ZarovnánĂ", + }, + ), + 12: ( + "wagtail.blocks.StructBlock", + [[("headline", 8), ("tag", 9), ("style", 10), ("align", 11)]], + {}, + ), + 13: ("wagtail.blocks.CharBlock", (), {"label": "nadpis"}), + 14: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)", + "label": "obrázek", + }, + ), + 15: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("title", 13), ("picture", 14)]], + {}, + ), + 16: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "Odstavec", + }, + ), + 17: ("wagtail.blocks.ListBlock", (16,), {"label": "Odstavce"}), + 18: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)", + "label": "Obrázek", + }, + ), + 19: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("items", 17), ("picture", 18)]], + {}, + ), + 20: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "FEC900", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva pozadĂ", + }, + ), + 21: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.", + "label": "Obrázek", + "required": False, + }, + ), + 22: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje obrázek. Nelze vybrat obÄ› najednou.", + "label": "PozadĂ", + "required": False, + }, + ), + 23: ( + "wagtail.blocks.TextBlock", + (), + {"help_text": "ĹádkovánĂ je manuálnĂ.", "label": "Nadpis"}, + ), + 24: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva textu", + }, + ), + 25: ("wagtail.blocks.RichTextBlock", (), {"label": "Obsah"}), + 26: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.", + "label": "Nadpis tlaÄŤĂtka", + "required": False, + }, + ), + 27: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Odkaz tlaÄŤĂtka", "required": False}, + ), + 28: ( + "wagtail.blocks.StructBlock", + [ + [ + ("bg_color", 20), + ("image", 21), + ("background", 22), + ("title", 23), + ("title_color", 24), + ("content", 25), + ("button_text", 26), + ("button_url", 27), + ] + ], + {"label": "Karta"}, + ), + 29: ("wagtail.blocks.ListBlock", (28,), {"label": "Karty"}), + 30: ("wagtail.blocks.StructBlock", [[("cards", 29)]], {}), + 31: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "Tabulka", + "template": "styleguide2/includes/atoms/table/table.html", + }, + ), + 32: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "RozbalovacĂ tabulka", + "template": "styleguide2/includes/atoms/table/popout_table.html", + }, + ), + 33: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "obrázek", "required": True}, + ), + 34: ( + "wagtail.blocks.ListBlock", + (33,), + {"group": "3. OstatnĂ", "icon": "image", "label": "Galerie"}, + ), + 35: ( + "wagtail.blocks.StructBlock", + [[("gallery_items", 34)]], + {"label": "Galerie"}, + ), + 36: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": True}, + ), + 37: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Popisek", "required": False}, + ), + 38: ( + "wagtail.blocks.StructBlock", + [[("img", 36), ("caption", 37)]], + {}, + ), + 39: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": False}, + ), + 40: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Titulek", "required": False}, + ), + 41: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.", + "label": "Náhled videa (automatickĂ© pole)", + "required": False, + }, + ), + 42: ( + "wagtail.blocks.URLBlock", + (), + { + "help_text": "Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.", + "label": "Odkaz na video", + "required": False, + }, + ), + 43: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.", + "label": "ID videa (automatickĂ© pole)", + "required": False, + }, + ), + 44: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "label": "ZabĂrá celou šĂĹ™ku?", + "required": True, + }, + ), + 45: ( + "wagtail.blocks.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": True, + }, + ), + 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.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ] + ], + {}, + ), + 68: ("wagtail.blocks.ListBlock", (67,), {"label": "TlaÄŤĂtka"}), + 69: ("wagtail.blocks.StructBlock", [[("buttons", 68)]], {}), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 70), ("right_column_content", 71)]], + {}, + ), + 73: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 70), + ("middle_column_content", 73), + ("right_column_content", 71), + ] + ], + {}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 76: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 77: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 78: ( + "wagtail.blocks.StructBlock", + [[("name", 76), ("content", 77)]], + {}, + ), + 79: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": False}, + ), + 80: ( + "wagtail.blocks.static_block.StaticBlock", + (), + { + "admin_text": "Adresa kalendáře se zadává v nastavenĂ hlavnĂ stránky webu", + "label": "Volba kalendáře", + }, + ), + 81: ( + "wagtail.blocks.StructBlock", + [[("title", 79), ("info", 80)]], + {}, + ), + }, + 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', 72), ('three_columns', 74), ('youtube', 75), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69), ('popout_point', 78), ('calendar', 81)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.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': True}), 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.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11)]], {}), 68: ('wagtail.blocks.ListBlock', (67,), {'label': 'TlaÄŤĂtka'}), 69: ('wagtail.blocks.StructBlock', [[('buttons', 68)]], {}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('right_column_content', 71)]], {}), 73: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 74: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('middle_column_content', 73), ('right_column_content', 71)]], {}), 75: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 76: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 77: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 78: ('wagtail.blocks.StructBlock', [[('name', 76), ('content', 77)]], {}), 79: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': False}), 80: ('wagtail.blocks.static_block.StaticBlock', (), {'admin_text': 'Adresa kalendáře se zadává v nastavenĂ hlavnĂ stránky webu', 'label': 'Volba kalendáře'}), 81: ('wagtail.blocks.StructBlock', [[('title', 79), ('info', 80)]], {})}, 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", 72), + ("three_columns", 74), + ("youtube", 75), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ("popout_point", 78), + ("calendar", 81), + ], + blank=True, + block_lookup={ + 0: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + "template": "styleguide2/includes/atoms/text/prose_richtext.html", + }, + ), + 1: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("left", "vlevo"), + ("center", "uprostĹ™ed"), + ("right", "vpravo"), + ], + "label": "zarovnánĂ", + }, + ), + 2: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black_on_white", "ÄŤerná na bĂlĂ©"), + ("black_on_yellow", "ÄŤerná na ĹľlutĂ©"), + ("white_on_black", "bĂlá na ÄŤernĂ©"), + ("white_on_blue", "bĂlá na modrĂ©"), + ("white_on_cyan", "bĂlá na tyrkysovĂ©"), + ("white_on_violet", "bĂlá na fialovĂ©"), + ], + "label": "barva", + }, + ), + 3: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + }, + ), + 4: ( + "wagtail.blocks.StructBlock", + [[("align", 1), ("color", 2), ("text", 3)]], + {}, + ), + 5: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "levĂ˝ sloupec", + }, + ), + 6: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "pravĂ˝ sloupec", + }, + ), + 7: ( + "wagtail.blocks.StructBlock", + [[("left_text", 5), ("right_text", 6)]], + {}, + ), + 8: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Nadpis", "max_length": 300, "required": True}, + ), + 9: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("h1", "H1"), + ("h2", "H2"), + ("h3", "H3"), + ("h4", "H4"), + ("h5", "H5"), + ("h6", "H6"), + ], + "help_text": "ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.", + "label": "ĂšroveĹ nadpisu", + }, + ), + 10: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("head-alt-xl", "VelkĂ˝, Bebas Neue - 6XL"), + ("head-alt-lg", "StĹ™ednĂ, Bebas Neue - 4XL"), + ("head-alt-md", "ZákladnĂ velikost - Roboto - MD"), + ("head-alt-sm", "MalĂ˝ - Roboto - SM"), + ("head-alt-xs", "Extra malĂ˝ - Roboto - XS"), + ], + "help_text": "Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.", + "label": "Velikost", + }, + ), + 11: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("auto", "Automaticky"), + ("center", "Na stĹ™ed"), + ], + "label": "ZarovnánĂ", + }, + ), + 12: ( + "wagtail.blocks.StructBlock", + [[("headline", 8), ("tag", 9), ("style", 10), ("align", 11)]], + {}, + ), + 13: ("wagtail.blocks.CharBlock", (), {"label": "nadpis"}), + 14: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)", + "label": "obrázek", + }, + ), + 15: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("title", 13), ("picture", 14)]], + {}, + ), + 16: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "Odstavec", + }, + ), + 17: ("wagtail.blocks.ListBlock", (16,), {"label": "Odstavce"}), + 18: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)", + "label": "Obrázek", + }, + ), + 19: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("items", 17), ("picture", 18)]], + {}, + ), + 20: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "FEC900", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva pozadĂ", + }, + ), + 21: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.", + "label": "Obrázek", + "required": False, + }, + ), + 22: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje obrázek. Nelze vybrat obÄ› najednou.", + "label": "PozadĂ", + "required": False, + }, + ), + 23: ( + "wagtail.blocks.TextBlock", + (), + {"help_text": "ĹádkovánĂ je manuálnĂ.", "label": "Nadpis"}, + ), + 24: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva textu", + }, + ), + 25: ("wagtail.blocks.RichTextBlock", (), {"label": "Obsah"}), + 26: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.", + "label": "Nadpis tlaÄŤĂtka", + "required": False, + }, + ), + 27: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Odkaz tlaÄŤĂtka", "required": False}, + ), + 28: ( + "wagtail.blocks.StructBlock", + [ + [ + ("bg_color", 20), + ("image", 21), + ("background", 22), + ("title", 23), + ("title_color", 24), + ("content", 25), + ("button_text", 26), + ("button_url", 27), + ] + ], + {"label": "Karta"}, + ), + 29: ("wagtail.blocks.ListBlock", (28,), {"label": "Karty"}), + 30: ("wagtail.blocks.StructBlock", [[("cards", 29)]], {}), + 31: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "Tabulka", + "template": "styleguide2/includes/atoms/table/table.html", + }, + ), + 32: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "RozbalovacĂ tabulka", + "template": "styleguide2/includes/atoms/table/popout_table.html", + }, + ), + 33: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "obrázek", "required": True}, + ), + 34: ( + "wagtail.blocks.ListBlock", + (33,), + {"group": "3. OstatnĂ", "icon": "image", "label": "Galerie"}, + ), + 35: ( + "wagtail.blocks.StructBlock", + [[("gallery_items", 34)]], + {"label": "Galerie"}, + ), + 36: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": True}, + ), + 37: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Popisek", "required": False}, + ), + 38: ( + "wagtail.blocks.StructBlock", + [[("img", 36), ("caption", 37)]], + {}, + ), + 39: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": False}, + ), + 40: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Titulek", "required": False}, + ), + 41: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.", + "label": "Náhled videa (automatickĂ© pole)", + "required": False, + }, + ), + 42: ( + "wagtail.blocks.URLBlock", + (), + { + "help_text": "Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.", + "label": "Odkaz na video", + "required": False, + }, + ), + 43: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.", + "label": "ID videa (automatickĂ© pole)", + "required": False, + }, + ), + 44: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "label": "ZabĂrá celou šĂĹ™ku?", + "required": True, + }, + ), + 45: ( + "wagtail.blocks.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": True, + }, + ), + 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.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ] + ], + {}, + ), + 68: ("wagtail.blocks.ListBlock", (67,), {"label": "TlaÄŤĂtka"}), + 69: ("wagtail.blocks.StructBlock", [[("buttons", 68)]], {}), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 70), ("right_column_content", 71)]], + {}, + ), + 73: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 70), + ("middle_column_content", 73), + ("right_column_content", 71), + ] + ], + {}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 76: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 77: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 78: ( + "wagtail.blocks.StructBlock", + [[("name", 76), ("content", 77)]], + {}, + ), + 79: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": False}, + ), + 80: ( + "wagtail.blocks.static_block.StaticBlock", + (), + { + "admin_text": "Adresa kalendáře se zadává v nastavenĂ hlavnĂ stránky webu", + "label": "Volba kalendáře", + }, + ), + 81: ( + "wagtail.blocks.StructBlock", + [[("title", 79), ("info", 80)]], + {}, + ), + }, + 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', 72), ('three_columns', 74), ('youtube', 75), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69), ('popout_point', 78), ('calendar', 81)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.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': True}), 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.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11)]], {}), 68: ('wagtail.blocks.ListBlock', (67,), {'label': 'TlaÄŤĂtka'}), 69: ('wagtail.blocks.StructBlock', [[('buttons', 68)]], {}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('right_column_content', 71)]], {}), 73: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 74: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('middle_column_content', 73), ('right_column_content', 71)]], {}), 75: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 76: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 77: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 78: ('wagtail.blocks.StructBlock', [[('name', 76), ('content', 77)]], {}), 79: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': False}), 80: ('wagtail.blocks.static_block.StaticBlock', (), {'admin_text': 'Adresa kalendáře se zadává v nastavenĂ hlavnĂ stránky webu', 'label': 'Volba kalendáře'}), 81: ('wagtail.blocks.StructBlock', [[('title', 79), ('info', 80)]], {})}, 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", 72), + ("three_columns", 74), + ("youtube", 75), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ("popout_point", 78), + ("calendar", 81), + ], + blank=True, + block_lookup={ + 0: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + "template": "styleguide2/includes/atoms/text/prose_richtext.html", + }, + ), + 1: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("left", "vlevo"), + ("center", "uprostĹ™ed"), + ("right", "vpravo"), + ], + "label": "zarovnánĂ", + }, + ), + 2: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black_on_white", "ÄŤerná na bĂlĂ©"), + ("black_on_yellow", "ÄŤerná na ĹľlutĂ©"), + ("white_on_black", "bĂlá na ÄŤernĂ©"), + ("white_on_blue", "bĂlá na modrĂ©"), + ("white_on_cyan", "bĂlá na tyrkysovĂ©"), + ("white_on_violet", "bĂlá na fialovĂ©"), + ], + "label": "barva", + }, + ), + 3: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + }, + ), + 4: ( + "wagtail.blocks.StructBlock", + [[("align", 1), ("color", 2), ("text", 3)]], + {}, + ), + 5: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "levĂ˝ sloupec", + }, + ), + 6: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "pravĂ˝ sloupec", + }, + ), + 7: ( + "wagtail.blocks.StructBlock", + [[("left_text", 5), ("right_text", 6)]], + {}, + ), + 8: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Nadpis", "max_length": 300, "required": True}, + ), + 9: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("h1", "H1"), + ("h2", "H2"), + ("h3", "H3"), + ("h4", "H4"), + ("h5", "H5"), + ("h6", "H6"), + ], + "help_text": "ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.", + "label": "ĂšroveĹ nadpisu", + }, + ), + 10: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("head-alt-xl", "VelkĂ˝, Bebas Neue - 6XL"), + ("head-alt-lg", "StĹ™ednĂ, Bebas Neue - 4XL"), + ("head-alt-md", "ZákladnĂ velikost - Roboto - MD"), + ("head-alt-sm", "MalĂ˝ - Roboto - SM"), + ("head-alt-xs", "Extra malĂ˝ - Roboto - XS"), + ], + "help_text": "Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.", + "label": "Velikost", + }, + ), + 11: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("auto", "Automaticky"), + ("center", "Na stĹ™ed"), + ], + "label": "ZarovnánĂ", + }, + ), + 12: ( + "wagtail.blocks.StructBlock", + [[("headline", 8), ("tag", 9), ("style", 10), ("align", 11)]], + {}, + ), + 13: ("wagtail.blocks.CharBlock", (), {"label": "nadpis"}), + 14: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)", + "label": "obrázek", + }, + ), + 15: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("title", 13), ("picture", 14)]], + {}, + ), + 16: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "Odstavec", + }, + ), + 17: ("wagtail.blocks.ListBlock", (16,), {"label": "Odstavce"}), + 18: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)", + "label": "Obrázek", + }, + ), + 19: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("items", 17), ("picture", 18)]], + {}, + ), + 20: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "FEC900", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva pozadĂ", + }, + ), + 21: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.", + "label": "Obrázek", + "required": False, + }, + ), + 22: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje obrázek. Nelze vybrat obÄ› najednou.", + "label": "PozadĂ", + "required": False, + }, + ), + 23: ( + "wagtail.blocks.TextBlock", + (), + {"help_text": "ĹádkovánĂ je manuálnĂ.", "label": "Nadpis"}, + ), + 24: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva textu", + }, + ), + 25: ("wagtail.blocks.RichTextBlock", (), {"label": "Obsah"}), + 26: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.", + "label": "Nadpis tlaÄŤĂtka", + "required": False, + }, + ), + 27: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Odkaz tlaÄŤĂtka", "required": False}, + ), + 28: ( + "wagtail.blocks.StructBlock", + [ + [ + ("bg_color", 20), + ("image", 21), + ("background", 22), + ("title", 23), + ("title_color", 24), + ("content", 25), + ("button_text", 26), + ("button_url", 27), + ] + ], + {"label": "Karta"}, + ), + 29: ("wagtail.blocks.ListBlock", (28,), {"label": "Karty"}), + 30: ("wagtail.blocks.StructBlock", [[("cards", 29)]], {}), + 31: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "Tabulka", + "template": "styleguide2/includes/atoms/table/table.html", + }, + ), + 32: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "RozbalovacĂ tabulka", + "template": "styleguide2/includes/atoms/table/popout_table.html", + }, + ), + 33: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "obrázek", "required": True}, + ), + 34: ( + "wagtail.blocks.ListBlock", + (33,), + {"group": "3. OstatnĂ", "icon": "image", "label": "Galerie"}, + ), + 35: ( + "wagtail.blocks.StructBlock", + [[("gallery_items", 34)]], + {"label": "Galerie"}, + ), + 36: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": True}, + ), + 37: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Popisek", "required": False}, + ), + 38: ( + "wagtail.blocks.StructBlock", + [[("img", 36), ("caption", 37)]], + {}, + ), + 39: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": False}, + ), + 40: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Titulek", "required": False}, + ), + 41: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.", + "label": "Náhled videa (automatickĂ© pole)", + "required": False, + }, + ), + 42: ( + "wagtail.blocks.URLBlock", + (), + { + "help_text": "Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.", + "label": "Odkaz na video", + "required": False, + }, + ), + 43: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.", + "label": "ID videa (automatickĂ© pole)", + "required": False, + }, + ), + 44: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "label": "ZabĂrá celou šĂĹ™ku?", + "required": True, + }, + ), + 45: ( + "wagtail.blocks.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": True, + }, + ), + 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.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ] + ], + {}, + ), + 68: ("wagtail.blocks.ListBlock", (67,), {"label": "TlaÄŤĂtka"}), + 69: ("wagtail.blocks.StructBlock", [[("buttons", 68)]], {}), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 70), ("right_column_content", 71)]], + {}, + ), + 73: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 70), + ("middle_column_content", 73), + ("right_column_content", 71), + ] + ], + {}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 76: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 77: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 78: ( + "wagtail.blocks.StructBlock", + [[("name", 76), ("content", 77)]], + {}, + ), + 79: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": False}, + ), + 80: ( + "wagtail.blocks.static_block.StaticBlock", + (), + { + "admin_text": "Adresa kalendáře se zadává v nastavenĂ hlavnĂ stránky webu", + "label": "Volba kalendáře", + }, + ), + 81: ( + "wagtail.blocks.StructBlock", + [[("title", 79), ("info", 80)]], + {}, + ), + }, + 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', 72), ('three_columns', 74), ('youtube', 75), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69), ('popout_point', 78), ('calendar', 81), ('newsletter', 86), ('news_block', 89)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor', 'template': 'styleguide2/includes/atoms/text/prose_richtext.html'}), 1: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('left', 'vlevo'), ('center', 'uprostĹ™ed'), ('right', 'vpravo')], 'label': 'zarovnánĂ'}), 2: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('black_on_white', 'ÄŤerná na bĂlĂ©'), ('black_on_yellow', 'ÄŤerná na ĹľlutĂ©'), ('white_on_black', 'bĂlá na ÄŤernĂ©'), ('white_on_blue', 'bĂlá na modrĂ©'), ('white_on_cyan', 'bĂlá na tyrkysovĂ©'), ('white_on_violet', 'bĂlá na fialovĂ©')], 'label': 'barva'}), 3: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'group': '1. Text', 'label': 'TextovĂ˝ editor'}), 4: ('wagtail.blocks.StructBlock', [[('align', 1), ('color', 2), ('text', 3)]], {}), 5: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'levĂ˝ sloupec'}), 6: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'pravĂ˝ sloupec'}), 7: ('wagtail.blocks.StructBlock', [[('left_text', 5), ('right_text', 6)]], {}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'max_length': 300, 'required': True}), 9: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')], 'help_text': 'ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.', 'label': 'ĂšroveĹ nadpisu'}), 10: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('head-alt-xl', 'VelkĂ˝, Bebas Neue - 6XL'), ('head-alt-lg', 'StĹ™ednĂ, Bebas Neue - 4XL'), ('head-alt-md', 'ZákladnĂ velikost - Roboto - MD'), ('head-alt-sm', 'MalĂ˝ - Roboto - SM'), ('head-alt-xs', 'Extra malĂ˝ - Roboto - XS')], 'help_text': 'Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.', 'label': 'Velikost'}), 11: ('wagtail.blocks.ChoiceBlock', [], {'choices': [('auto', 'Automaticky'), ('center', 'Na stĹ™ed')], 'label': 'ZarovnánĂ'}), 12: ('wagtail.blocks.StructBlock', [[('headline', 8), ('tag', 9), ('style', 10), ('align', 11)]], {}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'nadpis'}), 14: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)', 'label': 'obrázek'}), 15: ('wagtail.blocks.StructBlock', [[('color', 2), ('title', 13), ('picture', 14)]], {}), 16: ('wagtail.blocks.RichTextBlock', (), {'features': ['h2', 'h3', 'h4', 'h5', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'superscript', 'subscript', 'strikethrough', 'blockquote', 'embed'], 'label': 'Odstavec'}), 17: ('wagtail.blocks.ListBlock', (16,), {'label': 'Odstavce'}), 18: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)', 'label': 'Obrázek'}), 19: ('wagtail.blocks.StructBlock', [[('color', 2), ('items', 17), ('picture', 18)]], {}), 20: ('wagtail.blocks.CharBlock', (), {'default': 'FEC900', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva pozadĂ'}), 21: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.', 'label': 'Obrázek', 'required': False}), 22: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'Nahrazuje obrázek. Nelze vybrat obÄ› najednou.', 'label': 'PozadĂ', 'required': False}), 23: ('wagtail.blocks.TextBlock', (), {'help_text': 'ĹádkovánĂ je manuálnĂ.', 'label': 'Nadpis'}), 24: ('wagtail.blocks.CharBlock', (), {'default': '000000', 'help_text': "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", 'label': 'Barva textu'}), 25: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah'}), 26: ('wagtail.blocks.CharBlock', (), {'help_text': 'Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.', 'label': 'Nadpis tlaÄŤĂtka', 'required': False}), 27: ('wagtail.blocks.CharBlock', (), {'label': 'Odkaz tlaÄŤĂtka', 'required': False}), 28: ('wagtail.blocks.StructBlock', [[('bg_color', 20), ('image', 21), ('background', 22), ('title', 23), ('title_color', 24), ('content', 25), ('button_text', 26), ('button_url', 27)]], {'label': 'Karta'}), 29: ('wagtail.blocks.ListBlock', (28,), {'label': 'Karty'}), 30: ('wagtail.blocks.StructBlock', [[('cards', 29)]], {}), 31: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'Tabulka', 'template': 'styleguide2/includes/atoms/table/table.html'}), 32: ('wagtail.contrib.table_block.blocks.TableBlock', (), {'group': '3. OstatnĂ', 'label': 'RozbalovacĂ tabulka', 'template': 'styleguide2/includes/atoms/table/popout_table.html'}), 33: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'obrázek', 'required': True}), 34: ('wagtail.blocks.ListBlock', (33,), {'group': '3. OstatnĂ', 'icon': 'image', 'label': 'Galerie'}), 35: ('wagtail.blocks.StructBlock', [[('gallery_items', 34)]], {'label': 'Galerie'}), 36: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': True}), 37: ('wagtail.blocks.TextBlock', (), {'label': 'Popisek', 'required': False}), 38: ('wagtail.blocks.StructBlock', [[('img', 36), ('caption', 37)]], {}), 39: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek', 'required': False}), 40: ('wagtail.blocks.TextBlock', (), {'label': 'Titulek', 'required': False}), 41: ('wagtail.images.blocks.ImageChooserBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.', 'label': 'Náhled videa (automatickĂ© pole)', 'required': False}), 42: ('wagtail.blocks.URLBlock', (), {'help_text': 'Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.', 'label': 'Odkaz na video', 'required': False}), 43: ('wagtail.blocks.CharBlock', (), {'help_text': 'NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.', 'label': 'ID videa (automatickĂ© pole)', 'required': False}), 44: ('wagtail.blocks.BooleanBlock', (), {'default': False, 'label': 'ZabĂrá celou šĂĹ™ku?', 'required': True}), 45: ('wagtail.blocks.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': True}), 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.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11)]], {}), 68: ('wagtail.blocks.ListBlock', (67,), {'label': 'TlaÄŤĂtka'}), 69: ('wagtail.blocks.StructBlock', [[('buttons', 68)]], {}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('right_column_content', 71)]], {}), 73: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 74: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('middle_column_content', 73), ('right_column_content', 71)]], {}), 75: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 76: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 77: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 78: ('wagtail.blocks.StructBlock', [[('name', 76), ('content', 77)]], {}), 79: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': False}), 80: ('wagtail.blocks.static_block.StaticBlock', (), {'admin_text': 'Adresa kalendáře se zadává v nastavenĂ hlavnĂ stránky webu', 'label': 'Volba kalendáře'}), 81: ('wagtail.blocks.StructBlock', [[('title', 79), ('info', 80)]], {}), 82: ('wagtail.blocks.CharBlock', (), {'label': 'ID newsletteru', 'required': True}), 83: ('wagtail.blocks.CharBlock', (), {'default': 'OdebĂrej náš', 'label': 'Nadpis bloku (1. řádek)', 'required': True}), 84: ('wagtail.blocks.CharBlock', (), {'default': 'newsletter', 'label': 'Nadpis bloku (2. řádek)', 'required': True}), 85: ('wagtail.blocks.CharBlock', (), {'default': 'Fake news tam nenajdeš, ale dozvĂš se, co chystáme doopravdy!', 'label': 'Popis newsletteru', 'required': True}), 86: ('wagtail.blocks.StructBlock', [[('list_id', 82), ('title_line_1', 83), ('title_line_2', 84), ('description', 85)]], {}), 87: ('wagtail.blocks.CharBlock', (), {'help_text': 'NejnovÄ›jšà články se naÄŤtou automaticky', 'label': 'Titulek'}), 88: ('wagtail.blocks.TextBlock', (), {'label': 'Popis', 'required': False}), 89: ('wagtail.blocks.StructBlock', [[('title', 87), ('description', 88)]], {'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", 72), + ("three_columns", 74), + ("youtube", 75), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ("popout_point", 78), + ("calendar", 81), + ("newsletter", 86), + ("news_block", 89), + ], + blank=True, + block_lookup={ + 0: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + "template": "styleguide2/includes/atoms/text/prose_richtext.html", + }, + ), + 1: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("left", "vlevo"), + ("center", "uprostĹ™ed"), + ("right", "vpravo"), + ], + "label": "zarovnánĂ", + }, + ), + 2: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("black_on_white", "ÄŤerná na bĂlĂ©"), + ("black_on_yellow", "ÄŤerná na ĹľlutĂ©"), + ("white_on_black", "bĂlá na ÄŤernĂ©"), + ("white_on_blue", "bĂlá na modrĂ©"), + ("white_on_cyan", "bĂlá na tyrkysovĂ©"), + ("white_on_violet", "bĂlá na fialovĂ©"), + ], + "label": "barva", + }, + ), + 3: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "group": "1. Text", + "label": "TextovĂ˝ editor", + }, + ), + 4: ( + "wagtail.blocks.StructBlock", + [[("align", 1), ("color", 2), ("text", 3)]], + {}, + ), + 5: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "levĂ˝ sloupec", + }, + ), + 6: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "pravĂ˝ sloupec", + }, + ), + 7: ( + "wagtail.blocks.StructBlock", + [[("left_text", 5), ("right_text", 6)]], + {}, + ), + 8: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Nadpis", "max_length": 300, "required": True}, + ), + 9: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("h1", "H1"), + ("h2", "H2"), + ("h3", "H3"), + ("h4", "H4"), + ("h5", "H5"), + ("h6", "H6"), + ], + "help_text": "ÄŚĂm nižšà čĂslo, tĂm vyššà úroveĹ.", + "label": "ĂšroveĹ nadpisu", + }, + ), + 10: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("head-alt-xl", "VelkĂ˝, Bebas Neue - 6XL"), + ("head-alt-lg", "StĹ™ednĂ, Bebas Neue - 4XL"), + ("head-alt-md", "ZákladnĂ velikost - Roboto - MD"), + ("head-alt-sm", "MalĂ˝ - Roboto - SM"), + ("head-alt-xs", "Extra malĂ˝ - Roboto - XS"), + ], + "help_text": "Náhled si prohlĂ©dnÄ›te na https://styleguide2.pirati.cz/pattern/patterns/atoms/text/headings.html.", + "label": "Velikost", + }, + ), + 11: ( + "wagtail.blocks.ChoiceBlock", + [], + { + "choices": [ + ("auto", "Automaticky"), + ("center", "Na stĹ™ed"), + ], + "label": "ZarovnánĂ", + }, + ), + 12: ( + "wagtail.blocks.StructBlock", + [[("headline", 8), ("tag", 9), ("style", 10), ("align", 11)]], + {}, + ), + 13: ("wagtail.blocks.CharBlock", (), {"label": "nadpis"}), + 14: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "rozmÄ›r na výšku 75px nebo vĂce (obrázek bude zmenšen na výšku 75px)", + "label": "obrázek", + }, + ), + 15: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("title", 13), ("picture", 14)]], + {}, + ), + 16: ( + "wagtail.blocks.RichTextBlock", + (), + { + "features": [ + "h2", + "h3", + "h4", + "h5", + "bold", + "italic", + "ol", + "ul", + "hr", + "link", + "document-link", + "image", + "superscript", + "subscript", + "strikethrough", + "blockquote", + "embed", + ], + "label": "Odstavec", + }, + ), + 17: ("wagtail.blocks.ListBlock", (16,), {"label": "Odstavce"}), + 18: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "RozmÄ›r 30x30px nebo vĂce (obrázek bude zmenšen na 30x30px)", + "label": "Obrázek", + }, + ), + 19: ( + "wagtail.blocks.StructBlock", + [[("color", 2), ("items", 17), ("picture", 18)]], + {}, + ), + 20: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "FEC900", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva pozadĂ", + }, + ), + 21: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje pozadĂ. Nelze vybrat obÄ› najednou.", + "label": "Obrázek", + "required": False, + }, + ), + 22: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "Nahrazuje obrázek. Nelze vybrat obÄ› najednou.", + "label": "PozadĂ", + "required": False, + }, + ), + 23: ( + "wagtail.blocks.TextBlock", + (), + {"help_text": "ĹádkovánĂ je manuálnĂ.", "label": "Nadpis"}, + ), + 24: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "000000", + "help_text": "KĂłd barvy lze vytvoĹ™it napĹ™. <a href='https://mdn.github.io/css-examples/tools/color-picker/' target='_blank'>zde</a>.", + "label": "Barva textu", + }, + ), + 25: ("wagtail.blocks.RichTextBlock", (), {"label": "Obsah"}), + 26: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "Pokud nenĂ vyplnÄ›n, tlaÄŤĂtko se neukáže.", + "label": "Nadpis tlaÄŤĂtka", + "required": False, + }, + ), + 27: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Odkaz tlaÄŤĂtka", "required": False}, + ), + 28: ( + "wagtail.blocks.StructBlock", + [ + [ + ("bg_color", 20), + ("image", 21), + ("background", 22), + ("title", 23), + ("title_color", 24), + ("content", 25), + ("button_text", 26), + ("button_url", 27), + ] + ], + {"label": "Karta"}, + ), + 29: ("wagtail.blocks.ListBlock", (28,), {"label": "Karty"}), + 30: ("wagtail.blocks.StructBlock", [[("cards", 29)]], {}), + 31: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "Tabulka", + "template": "styleguide2/includes/atoms/table/table.html", + }, + ), + 32: ( + "wagtail.contrib.table_block.blocks.TableBlock", + (), + { + "group": "3. OstatnĂ", + "label": "RozbalovacĂ tabulka", + "template": "styleguide2/includes/atoms/table/popout_table.html", + }, + ), + 33: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "obrázek", "required": True}, + ), + 34: ( + "wagtail.blocks.ListBlock", + (33,), + {"group": "3. OstatnĂ", "icon": "image", "label": "Galerie"}, + ), + 35: ( + "wagtail.blocks.StructBlock", + [[("gallery_items", 34)]], + {"label": "Galerie"}, + ), + 36: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": True}, + ), + 37: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Popisek", "required": False}, + ), + 38: ( + "wagtail.blocks.StructBlock", + [[("img", 36), ("caption", 37)]], + {}, + ), + 39: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + {"label": "Obrázek", "required": False}, + ), + 40: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Titulek", "required": False}, + ), + 41: ( + "wagtail.images.blocks.ImageChooserBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, náhled bude dohledán automaticky.", + "label": "Náhled videa (automatickĂ© pole)", + "required": False, + }, + ), + 42: ( + "wagtail.blocks.URLBlock", + (), + { + "help_text": "Odkaz na YouTube video bude automaticky zkonvertován na ID videa a NEBUDE uloĹľen.", + "label": "Odkaz na video", + "required": False, + }, + ), + 43: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NenĂ tĹ™eba vyplĹovat, bude automaticky naÄŤteno z odkazu.", + "label": "ID videa (automatickĂ© pole)", + "required": False, + }, + ), + 44: ( + "wagtail.blocks.BooleanBlock", + (), + { + "default": False, + "label": "ZabĂrá celou šĂĹ™ku?", + "required": True, + }, + ), + 45: ( + "wagtail.blocks.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": True, + }, + ), + 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.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ] + ], + {}, + ), + 68: ("wagtail.blocks.ListBlock", (67,), {"label": "TlaÄŤĂtka"}), + 69: ("wagtail.blocks.StructBlock", [[("buttons", 68)]], {}), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 70), ("right_column_content", 71)]], + {}, + ), + 73: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 70), + ("middle_column_content", 73), + ("right_column_content", 71), + ] + ], + {}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 76: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 77: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 78: ( + "wagtail.blocks.StructBlock", + [[("name", 76), ("content", 77)]], + {}, + ), + 79: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": False}, + ), + 80: ( + "wagtail.blocks.static_block.StaticBlock", + (), + { + "admin_text": "Adresa kalendáře se zadává v nastavenĂ hlavnĂ stránky webu", + "label": "Volba kalendáře", + }, + ), + 81: ( + "wagtail.blocks.StructBlock", + [[("title", 79), ("info", 80)]], + {}, + ), + 82: ( + "wagtail.blocks.CharBlock", + (), + {"label": "ID newsletteru", "required": True}, + ), + 83: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "OdebĂrej náš", + "label": "Nadpis bloku (1. řádek)", + "required": True, + }, + ), + 84: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "newsletter", + "label": "Nadpis bloku (2. řádek)", + "required": True, + }, + ), + 85: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "Fake news tam nenajdeš, ale dozvĂš se, co chystáme doopravdy!", + "label": "Popis newsletteru", + "required": True, + }, + ), + 86: ( + "wagtail.blocks.StructBlock", + [ + [ + ("list_id", 82), + ("title_line_1", 83), + ("title_line_2", 84), + ("description", 85), + ] + ], + {}, + ), + 87: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NejnovÄ›jšà články se naÄŤtou automaticky", + "label": "Titulek", + }, + ), + 88: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Popis", "required": False}, + ), + 89: ( + "wagtail.blocks.StructBlock", + [[("title", 87), ("description", 88)]], + { + "group": "3. OstatnĂ", + "template": "styleguide2/includes/organisms/articles/district/articles_section.html", + }, + ), + }, + verbose_name="obsah stránky", + ), ), ] diff --git a/uniweb/migrations/0124_alter_uniwebarticlepage_content_and_more.py b/uniweb/migrations/0124_alter_uniwebarticlepage_content_and_more.py index 26c1bf5b8a661cde3ebcc59cd180f45605959a2e..f99b9901d4e6af370870ff9c10ca15b0ca9a5cbd 100644 --- a/uniweb/migrations/0124_alter_uniwebarticlepage_content_and_more.py +++ b/uniweb/migrations/0124_alter_uniwebarticlepage_content_and_more.py @@ -5,40 +5,4864 @@ from django.db import migrations class Migration(migrations.Migration): - dependencies = [ - ('uniweb', '0123_alter_uniwebarticlepage_content_and_more'), + ("uniweb", "0123_alter_uniwebarticlepage_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', 72), ('three_columns', 74), ('youtube', 75), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69), ('popout_point', 79), ('quote', 82), ('download', 84)], 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': True}), 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': True}), 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.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11)]], {}), 68: ('wagtail.blocks.ListBlock', (67,), {'label': 'TlaÄŤĂtka'}), 69: ('wagtail.blocks.StructBlock', [[('buttons', 68)]], {}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('right_column_content', 71)]], {}), 73: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 74: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('middle_column_content', 73), ('right_column_content', 71)]], {}), 75: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 76: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 77: ('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'}), 78: ('wagtail.blocks.StreamBlock', [[('text', 77), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 79: ('wagtail.blocks.StructBlock', [[('name', 76), ('content', 78)]], {}), 80: ('wagtail.blocks.CharBlock', (), {'label': 'Citace'}), 81: ('wagtail.blocks.CharBlock', (), {'label': 'JmĂ©no autora'}), 82: ('wagtail.blocks.StructBlock', [[('quote', 80), ('autor_name', 81)]], {}), 83: ('wagtail.documents.blocks.DocumentChooserBlock', (), {'label': 'StáhnutelnĂ˝ soubor'}), 84: ('wagtail.blocks.StructBlock', [[('file', 83)]], {})}, 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", 72), + ("three_columns", 74), + ("youtube", 75), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ("popout_point", 79), + ("quote", 82), + ("download", 84), + ], + 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": True, + }, + ), + 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": True, + }, + ), + 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.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ] + ], + {}, + ), + 68: ("wagtail.blocks.ListBlock", (67,), {"label": "TlaÄŤĂtka"}), + 69: ("wagtail.blocks.StructBlock", [[("buttons", 68)]], {}), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 70), ("right_column_content", 71)]], + {}, + ), + 73: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 70), + ("middle_column_content", 73), + ("right_column_content", 71), + ] + ], + {}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 76: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 77: ( + "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", + }, + ), + 78: ( + "wagtail.blocks.StreamBlock", + [[("text", 77), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 79: ( + "wagtail.blocks.StructBlock", + [[("name", 76), ("content", 78)]], + {}, + ), + 80: ("wagtail.blocks.CharBlock", (), {"label": "Citace"}), + 81: ("wagtail.blocks.CharBlock", (), {"label": "JmĂ©no autora"}), + 82: ( + "wagtail.blocks.StructBlock", + [[("quote", 80), ("autor_name", 81)]], + {}, + ), + 83: ( + "wagtail.documents.blocks.DocumentChooserBlock", + (), + {"label": "StáhnutelnĂ˝ soubor"}, + ), + 84: ("wagtail.blocks.StructBlock", [[("file", 83)]], {}), + }, + 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', 72), ('three_columns', 74), ('youtube', 75), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69), ('popout_point', 78), ('calendar', 81), ('newsletter', 86)], 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': True}), 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': True}), 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.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11)]], {}), 68: ('wagtail.blocks.ListBlock', (67,), {'label': 'TlaÄŤĂtka'}), 69: ('wagtail.blocks.StructBlock', [[('buttons', 68)]], {}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('right_column_content', 71)]], {}), 73: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 74: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('middle_column_content', 73), ('right_column_content', 71)]], {}), 75: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 76: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 77: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 78: ('wagtail.blocks.StructBlock', [[('name', 76), ('content', 77)]], {}), 79: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': False}), 80: ('wagtail.blocks.static_block.StaticBlock', (), {'admin_text': 'Adresa kalendáře se zadává v nastavenĂ hlavnĂ stránky webu', 'label': 'Volba kalendáře'}), 81: ('wagtail.blocks.StructBlock', [[('title', 79), ('info', 80)]], {}), 82: ('wagtail.blocks.CharBlock', (), {'label': 'ID newsletteru', 'required': True}), 83: ('wagtail.blocks.CharBlock', (), {'default': 'OdebĂrej náš', 'label': 'Nadpis bloku (1. řádek)', 'required': True}), 84: ('wagtail.blocks.CharBlock', (), {'default': 'newsletter', 'label': 'Nadpis bloku (2. řádek)', 'required': True}), 85: ('wagtail.blocks.CharBlock', (), {'default': 'Fake news tam nenajdeš, ale dozvĂš se, co chystáme doopravdy!', 'label': 'Popis newsletteru', 'required': True}), 86: ('wagtail.blocks.StructBlock', [[('list_id', 82), ('title_line_1', 83), ('title_line_2', 84), ('description', 85)]], {})}, 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", 72), + ("three_columns", 74), + ("youtube", 75), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ("popout_point", 78), + ("calendar", 81), + ("newsletter", 86), + ], + 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": True, + }, + ), + 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": True, + }, + ), + 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.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ] + ], + {}, + ), + 68: ("wagtail.blocks.ListBlock", (67,), {"label": "TlaÄŤĂtka"}), + 69: ("wagtail.blocks.StructBlock", [[("buttons", 68)]], {}), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 70), ("right_column_content", 71)]], + {}, + ), + 73: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 70), + ("middle_column_content", 73), + ("right_column_content", 71), + ] + ], + {}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 76: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 77: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 78: ( + "wagtail.blocks.StructBlock", + [[("name", 76), ("content", 77)]], + {}, + ), + 79: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": False}, + ), + 80: ( + "wagtail.blocks.static_block.StaticBlock", + (), + { + "admin_text": "Adresa kalendáře se zadává v nastavenĂ hlavnĂ stránky webu", + "label": "Volba kalendáře", + }, + ), + 81: ( + "wagtail.blocks.StructBlock", + [[("title", 79), ("info", 80)]], + {}, + ), + 82: ( + "wagtail.blocks.CharBlock", + (), + {"label": "ID newsletteru", "required": True}, + ), + 83: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "OdebĂrej náš", + "label": "Nadpis bloku (1. řádek)", + "required": True, + }, + ), + 84: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "newsletter", + "label": "Nadpis bloku (2. řádek)", + "required": True, + }, + ), + 85: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "Fake news tam nenajdeš, ale dozvĂš se, co chystáme doopravdy!", + "label": "Popis newsletteru", + "required": True, + }, + ), + 86: ( + "wagtail.blocks.StructBlock", + [ + [ + ("list_id", 82), + ("title_line_1", 83), + ("title_line_2", 84), + ("description", 85), + ] + ], + {}, + ), + }, + 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', 72), ('three_columns', 74), ('youtube', 75), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69), ('popout_point', 78), ('calendar', 81)], 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': True}), 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': True}), 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.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11)]], {}), 68: ('wagtail.blocks.ListBlock', (67,), {'label': 'TlaÄŤĂtka'}), 69: ('wagtail.blocks.StructBlock', [[('buttons', 68)]], {}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('right_column_content', 71)]], {}), 73: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 74: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('middle_column_content', 73), ('right_column_content', 71)]], {}), 75: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 76: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 77: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 78: ('wagtail.blocks.StructBlock', [[('name', 76), ('content', 77)]], {}), 79: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': False}), 80: ('wagtail.blocks.static_block.StaticBlock', (), {'admin_text': 'Adresa kalendáře se zadává v nastavenĂ hlavnĂ stránky webu', 'label': 'Volba kalendáře'}), 81: ('wagtail.blocks.StructBlock', [[('title', 79), ('info', 80)]], {})}, 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", 72), + ("three_columns", 74), + ("youtube", 75), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ("popout_point", 78), + ("calendar", 81), + ], + 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": True, + }, + ), + 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": True, + }, + ), + 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.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ] + ], + {}, + ), + 68: ("wagtail.blocks.ListBlock", (67,), {"label": "TlaÄŤĂtka"}), + 69: ("wagtail.blocks.StructBlock", [[("buttons", 68)]], {}), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 70), ("right_column_content", 71)]], + {}, + ), + 73: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 70), + ("middle_column_content", 73), + ("right_column_content", 71), + ] + ], + {}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 76: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 77: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 78: ( + "wagtail.blocks.StructBlock", + [[("name", 76), ("content", 77)]], + {}, + ), + 79: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": False}, + ), + 80: ( + "wagtail.blocks.static_block.StaticBlock", + (), + { + "admin_text": "Adresa kalendáře se zadává v nastavenĂ hlavnĂ stránky webu", + "label": "Volba kalendáře", + }, + ), + 81: ( + "wagtail.blocks.StructBlock", + [[("title", 79), ("info", 80)]], + {}, + ), + }, + 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', 72), ('three_columns', 74), ('youtube', 75), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69), ('popout_point', 78), ('calendar', 81)], 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': True}), 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': True}), 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.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11)]], {}), 68: ('wagtail.blocks.ListBlock', (67,), {'label': 'TlaÄŤĂtka'}), 69: ('wagtail.blocks.StructBlock', [[('buttons', 68)]], {}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('right_column_content', 71)]], {}), 73: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 74: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('middle_column_content', 73), ('right_column_content', 71)]], {}), 75: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 76: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 77: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 78: ('wagtail.blocks.StructBlock', [[('name', 76), ('content', 77)]], {}), 79: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': False}), 80: ('wagtail.blocks.static_block.StaticBlock', (), {'admin_text': 'Adresa kalendáře se zadává v nastavenĂ hlavnĂ stránky webu', 'label': 'Volba kalendáře'}), 81: ('wagtail.blocks.StructBlock', [[('title', 79), ('info', 80)]], {})}, 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", 72), + ("three_columns", 74), + ("youtube", 75), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ("popout_point", 78), + ("calendar", 81), + ], + 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": True, + }, + ), + 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": True, + }, + ), + 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.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ] + ], + {}, + ), + 68: ("wagtail.blocks.ListBlock", (67,), {"label": "TlaÄŤĂtka"}), + 69: ("wagtail.blocks.StructBlock", [[("buttons", 68)]], {}), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 70), ("right_column_content", 71)]], + {}, + ), + 73: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 70), + ("middle_column_content", 73), + ("right_column_content", 71), + ] + ], + {}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 76: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 77: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 78: ( + "wagtail.blocks.StructBlock", + [[("name", 76), ("content", 77)]], + {}, + ), + 79: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": False}, + ), + 80: ( + "wagtail.blocks.static_block.StaticBlock", + (), + { + "admin_text": "Adresa kalendáře se zadává v nastavenĂ hlavnĂ stránky webu", + "label": "Volba kalendáře", + }, + ), + 81: ( + "wagtail.blocks.StructBlock", + [[("title", 79), ("info", 80)]], + {}, + ), + }, + 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', 72), ('three_columns', 74), ('youtube', 75), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69), ('popout_point', 78), ('calendar', 81)], 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': True}), 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': True}), 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.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11)]], {}), 68: ('wagtail.blocks.ListBlock', (67,), {'label': 'TlaÄŤĂtka'}), 69: ('wagtail.blocks.StructBlock', [[('buttons', 68)]], {}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('right_column_content', 71)]], {}), 73: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 74: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('middle_column_content', 73), ('right_column_content', 71)]], {}), 75: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 76: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 77: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 78: ('wagtail.blocks.StructBlock', [[('name', 76), ('content', 77)]], {}), 79: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': False}), 80: ('wagtail.blocks.static_block.StaticBlock', (), {'admin_text': 'Adresa kalendáře se zadává v nastavenĂ hlavnĂ stránky webu', 'label': 'Volba kalendáře'}), 81: ('wagtail.blocks.StructBlock', [[('title', 79), ('info', 80)]], {})}, 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", 72), + ("three_columns", 74), + ("youtube", 75), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ("popout_point", 78), + ("calendar", 81), + ], + 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": True, + }, + ), + 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": True, + }, + ), + 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.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ] + ], + {}, + ), + 68: ("wagtail.blocks.ListBlock", (67,), {"label": "TlaÄŤĂtka"}), + 69: ("wagtail.blocks.StructBlock", [[("buttons", 68)]], {}), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 70), ("right_column_content", 71)]], + {}, + ), + 73: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 70), + ("middle_column_content", 73), + ("right_column_content", 71), + ] + ], + {}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 76: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 77: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 78: ( + "wagtail.blocks.StructBlock", + [[("name", 76), ("content", 77)]], + {}, + ), + 79: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": False}, + ), + 80: ( + "wagtail.blocks.static_block.StaticBlock", + (), + { + "admin_text": "Adresa kalendáře se zadává v nastavenĂ hlavnĂ stránky webu", + "label": "Volba kalendáře", + }, + ), + 81: ( + "wagtail.blocks.StructBlock", + [[("title", 79), ("info", 80)]], + {}, + ), + }, + 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', 72), ('three_columns', 74), ('youtube', 75), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69), ('popout_point', 78), ('calendar', 81), ('newsletter', 86), ('news_block', 89)], 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': True}), 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': True}), 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.StructBlock', [[('title', 64), ('color', 65), ('hoveractive', 66), ('page', 62), ('link', 56), ('align', 11)]], {}), 68: ('wagtail.blocks.ListBlock', (67,), {'label': 'TlaÄŤĂtka'}), 69: ('wagtail.blocks.StructBlock', [[('buttons', 68)]], {}), 70: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah levĂ©ho sloupce', 'required': True}), 71: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah pravĂ©ho sloupce', 'required': True}), 72: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('right_column_content', 71)]], {}), 73: ('wagtail.blocks.StreamBlock', [[('text', 3), ('table', 31), ('card', 63), ('figure', 38), ('youtube', 46), ('map_point', 53), ('map_collection', 60), ('button', 67), ('button_group', 69)]], {'label': 'Obsah prostĹ™ednĂho sloupce', 'required': True}), 74: ('wagtail.blocks.StructBlock', [[('left_column_content', 70), ('middle_column_content', 73), ('right_column_content', 71)]], {}), 75: ('wagtail.blocks.StructBlock', [[('poster_image', 41), ('video_url', 42), ('video_id', 43), ('is_full_width', 44), ('autoplay', 45)]], {'label': 'YouTube video'}), 76: ('wagtail.blocks.CharBlock', (), {'label': 'Název', 'required': True}), 77: ('wagtail.blocks.StreamBlock', [[('text', 0), ('headline', 12), ('table', 31)]], {'label': 'Obsah'}), 78: ('wagtail.blocks.StructBlock', [[('name', 76), ('content', 77)]], {}), 79: ('wagtail.blocks.CharBlock', (), {'label': 'Titulek', 'required': False}), 80: ('wagtail.blocks.static_block.StaticBlock', (), {'admin_text': 'Adresa kalendáře se zadává v nastavenĂ hlavnĂ stránky webu', 'label': 'Volba kalendáře'}), 81: ('wagtail.blocks.StructBlock', [[('title', 79), ('info', 80)]], {}), 82: ('wagtail.blocks.CharBlock', (), {'label': 'ID newsletteru', 'required': True}), 83: ('wagtail.blocks.CharBlock', (), {'default': 'OdebĂrej náš', 'label': 'Nadpis bloku (1. řádek)', 'required': True}), 84: ('wagtail.blocks.CharBlock', (), {'default': 'newsletter', 'label': 'Nadpis bloku (2. řádek)', 'required': True}), 85: ('wagtail.blocks.CharBlock', (), {'default': 'Fake news tam nenajdeš, ale dozvĂš se, co chystáme doopravdy!', 'label': 'Popis newsletteru', 'required': True}), 86: ('wagtail.blocks.StructBlock', [[('list_id', 82), ('title_line_1', 83), ('title_line_2', 84), ('description', 85)]], {}), 87: ('wagtail.blocks.CharBlock', (), {'help_text': 'NejnovÄ›jšà články se naÄŤtou automaticky', 'label': 'Titulek'}), 88: ('wagtail.blocks.TextBlock', (), {'label': 'Popis', 'required': False}), 89: ('wagtail.blocks.StructBlock', [[('title', 87), ('description', 88)]], {'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", 72), + ("three_columns", 74), + ("youtube", 75), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ("popout_point", 78), + ("calendar", 81), + ("newsletter", 86), + ("news_block", 89), + ], + 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": True, + }, + ), + 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": True, + }, + ), + 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.StructBlock", + [ + [ + ("title", 64), + ("color", 65), + ("hoveractive", 66), + ("page", 62), + ("link", 56), + ("align", 11), + ] + ], + {}, + ), + 68: ("wagtail.blocks.ListBlock", (67,), {"label": "TlaÄŤĂtka"}), + 69: ("wagtail.blocks.StructBlock", [[("buttons", 68)]], {}), + 70: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah levĂ©ho sloupce", "required": True}, + ), + 71: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah pravĂ©ho sloupce", "required": True}, + ), + 72: ( + "wagtail.blocks.StructBlock", + [[("left_column_content", 70), ("right_column_content", 71)]], + {}, + ), + 73: ( + "wagtail.blocks.StreamBlock", + [ + [ + ("text", 3), + ("table", 31), + ("card", 63), + ("figure", 38), + ("youtube", 46), + ("map_point", 53), + ("map_collection", 60), + ("button", 67), + ("button_group", 69), + ] + ], + {"label": "Obsah prostĹ™ednĂho sloupce", "required": True}, + ), + 74: ( + "wagtail.blocks.StructBlock", + [ + [ + ("left_column_content", 70), + ("middle_column_content", 73), + ("right_column_content", 71), + ] + ], + {}, + ), + 75: ( + "wagtail.blocks.StructBlock", + [ + [ + ("poster_image", 41), + ("video_url", 42), + ("video_id", 43), + ("is_full_width", 44), + ("autoplay", 45), + ] + ], + {"label": "YouTube video"}, + ), + 76: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Název", "required": True}, + ), + 77: ( + "wagtail.blocks.StreamBlock", + [[("text", 0), ("headline", 12), ("table", 31)]], + {"label": "Obsah"}, + ), + 78: ( + "wagtail.blocks.StructBlock", + [[("name", 76), ("content", 77)]], + {}, + ), + 79: ( + "wagtail.blocks.CharBlock", + (), + {"label": "Titulek", "required": False}, + ), + 80: ( + "wagtail.blocks.static_block.StaticBlock", + (), + { + "admin_text": "Adresa kalendáře se zadává v nastavenĂ hlavnĂ stránky webu", + "label": "Volba kalendáře", + }, + ), + 81: ( + "wagtail.blocks.StructBlock", + [[("title", 79), ("info", 80)]], + {}, + ), + 82: ( + "wagtail.blocks.CharBlock", + (), + {"label": "ID newsletteru", "required": True}, + ), + 83: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "OdebĂrej náš", + "label": "Nadpis bloku (1. řádek)", + "required": True, + }, + ), + 84: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "newsletter", + "label": "Nadpis bloku (2. řádek)", + "required": True, + }, + ), + 85: ( + "wagtail.blocks.CharBlock", + (), + { + "default": "Fake news tam nenajdeš, ale dozvĂš se, co chystáme doopravdy!", + "label": "Popis newsletteru", + "required": True, + }, + ), + 86: ( + "wagtail.blocks.StructBlock", + [ + [ + ("list_id", 82), + ("title_line_1", 83), + ("title_line_2", 84), + ("description", 85), + ] + ], + {}, + ), + 87: ( + "wagtail.blocks.CharBlock", + (), + { + "help_text": "NejnovÄ›jšà články se naÄŤtou automaticky", + "label": "Titulek", + }, + ), + 88: ( + "wagtail.blocks.TextBlock", + (), + {"label": "Popis", "required": False}, + ), + 89: ( + "wagtail.blocks.StructBlock", + [[("title", 87), ("description", 88)]], + { + "group": "3. OstatnĂ", + "template": "styleguide2/includes/organisms/articles/district/articles_section.html", + }, + ), + }, + verbose_name="obsah stránky", + ), ), ] diff --git a/uniweb/migrations/0125_alter_uniwebarticlepage_content_and_more.py b/uniweb/migrations/0125_alter_uniwebarticlepage_content_and_more.py index efeb19cbb3ecaf43e298e76dee1a37a804850704..e40c246254f63d4d420ff815b973e5c9ec76c320 100644 --- a/uniweb/migrations/0125_alter_uniwebarticlepage_content_and_more.py +++ b/uniweb/migrations/0125_alter_uniwebarticlepage_content_and_more.py @@ -5,40 +5,4942 @@ from django.db import migrations class Migration(migrations.Migration): - dependencies = [ - ('uniweb', '0124_alter_uniwebarticlepage_content_and_more'), + ("uniweb", "0124_alter_uniwebarticlepage_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': True}), 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': True}), 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', 'Veliká'), ('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": True, + }, + ), + 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": True, + }, + ), + 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", "Veliká"), + ("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': True}), 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': True}), 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', 'Veliká'), ('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', (), {'label': 'ID newsletteru', 'required': True}), 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": True, + }, + ), + 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": True, + }, + ), + 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", "Veliká"), + ("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", + (), + {"label": "ID newsletteru", "required": True}, + ), + 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': True}), 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': True}), 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', 'Veliká'), ('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": True, + }, + ), + 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": True, + }, + ), + 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", "Veliká"), + ("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': True}), 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': True}), 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', 'Veliká'), ('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": True, + }, + ), + 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": True, + }, + ), + 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", "Veliká"), + ("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': True}), 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': True}), 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', 'Veliká'), ('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": True, + }, + ), + 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": True, + }, + ), + 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", "Veliká"), + ("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': True}), 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': True}), 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', 'Veliká'), ('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', (), {'label': 'ID newsletteru', 'required': True}), 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": True, + }, + ), + 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": True, + }, + ), + 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", "Veliká"), + ("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", + (), + {"label": "ID newsletteru", "required": True}, + ), + 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/0126_alter_uniwebarticlepage_content_and_more.py b/uniweb/migrations/0126_alter_uniwebarticlepage_content_and_more.py index b8df39e36e2df07ac507f0605ad3198daabf7797..f6f04a02bb4ee2b54fe55ad3f0dae77b24e55076 100644 --- a/uniweb/migrations/0126_alter_uniwebarticlepage_content_and_more.py +++ b/uniweb/migrations/0126_alter_uniwebarticlepage_content_and_more.py @@ -5,40 +5,4942 @@ from django.db import migrations class Migration(migrations.Migration): - dependencies = [ - ('uniweb', '0125_alter_uniwebarticlepage_content_and_more'), + ("uniweb", "0125_alter_uniwebarticlepage_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': True}), 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': True}), 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": True, + }, + ), + 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": True, + }, + ), + 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': True}), 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': True}), 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', (), {'label': 'ID newsletteru', 'required': True}), 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": True, + }, + ), + 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": True, + }, + ), + 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", + (), + {"label": "ID newsletteru", "required": True}, + ), + 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': True}), 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': True}), 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": True, + }, + ), + 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": True, + }, + ), + 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': True}), 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': True}), 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": True, + }, + ), + 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": True, + }, + ), + 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': True}), 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': True}), 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": True, + }, + ), + 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": True, + }, + ), + 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': True}), 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': True}), 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', (), {'label': 'ID newsletteru', 'required': True}), 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": True, + }, + ), + 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": True, + }, + ), + 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", + (), + {"label": "ID newsletteru", "required": True}, + ), + 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/0127_alter_uniwebflexiblepage_content_and_more.py b/uniweb/migrations/0127_alter_uniwebflexiblepage_content_and_more.py index 7ba524340a714ada000f9289f984a1990726038c..4f8446c4c201c9a9f320d5b2b58b77e26ea73778 100644 --- a/uniweb/migrations/0127_alter_uniwebflexiblepage_content_and_more.py +++ b/uniweb/migrations/0127_alter_uniwebflexiblepage_content_and_more.py @@ -5,20 +5,1735 @@ from django.db import migrations class Migration(migrations.Migration): - dependencies = [ - ('uniweb', '0126_alter_uniwebarticlepage_content_and_more'), + ("uniweb", "0126_alter_uniwebarticlepage_content_and_more"), ] operations = [ 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': True}), 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': True}), 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": True, + }, + ), + 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": True, + }, + ), + 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='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': True}), 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': True}), 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": True, + }, + ), + 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": True, + }, + ), + 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/models.py b/uniweb/models.py index 15bd9b02b6370ce185392febaf6d3821fa68b93a..72934e7259f42e3e63534610c779efbca9ea0654 100644 --- a/uniweb/models.py +++ b/uniweb/models.py @@ -81,9 +81,8 @@ class UniwebHomePage( default=False, verbose_name="PrĹŻhledná hlaviÄŤka?", help_text=( - "Pokud je toto pole zaškrtlĂ©, obrázek na pozadĂ hlaviÄŤky " - "se neztmavĂ." - ) + "Pokud je toto pole zaškrtlĂ©, obrázek na pozadĂ hlaviÄŤky " "se neztmavĂ." + ), ) main_image = models.ForeignKey( @@ -283,9 +282,8 @@ class UniwebFlexiblePage( default=False, verbose_name="PrĹŻhledná hlaviÄŤka?", help_text=( - "Pokud je toto pole zaškrtlĂ©, obrázek na pozadĂ hlaviÄŤky " - "se neztmavĂ." - ) + "Pokud je toto pole zaškrtlĂ©, obrázek na pozadĂ hlaviÄŤky " "se neztmavĂ." + ), ) main_image = models.ForeignKey( @@ -433,9 +431,8 @@ class UniwebFormPage( default=False, verbose_name="PrĹŻhledná hlaviÄŤka?", help_text=( - "Pokud je toto pole zaškrtlĂ©, obrázek na pozadĂ hlaviÄŤky " - "se neztmavĂ." - ) + "Pokud je toto pole zaškrtlĂ©, obrázek na pozadĂ hlaviÄŤky " "se neztmavĂ." + ), ) main_image = models.ForeignKey(