Content Blocks
cjkcms.blocks.AccordionBlock
Bases: BaseBlock
Allows selecting an accordion snippet
Source code in cjkcms/blocks/content_blocks.py
23 24 25 26 27 28 29 30 31 32 33 34 | |
cjkcms.blocks.CardBlock
Bases: BaseBlock
A component of information with image, text, and buttons.
Source code in cjkcms/blocks/content_blocks.py
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 | |
get_template
get_template(context=None)
Return the default_card_template declared in parent CardGrid, otherwise use the default template.
Source code in cjkcms/blocks/content_blocks.py
74 75 76 77 78 79 80 81 82 83 84 85 86 | |
cjkcms.blocks.CarouselBlock
Bases: BaseBlock
Enables choosing a Carousel snippet.
Source code in cjkcms/blocks/content_blocks.py
89 90 91 92 93 94 95 96 97 98 99 100 | |
cjkcms.blocks.FilmStripBlock
Bases: BaseBlock
Enables choosing a Film Strip Snippet.
Source code in cjkcms/blocks/content_blocks.py
103 104 105 106 107 108 109 110 111 112 113 | |
cjkcms.blocks.ImageGalleryBlock
Bases: BaseBlock
Show a collection of images with interactive previews that expand to full size images in a modal.
Source code in cjkcms/blocks/content_blocks.py
116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 | |
cjkcms.blocks.ModalBlock
Bases: ButtonMixin, BaseLayoutBlock
Renders a button that then opens a popup/modal with content.
Source code in cjkcms/blocks/content_blocks.py
139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 | |
cjkcms.blocks.NavDocumentLinkWithSubLinkBlock
Bases: NavSubLinkBlock, NavDocumentLinkBlock
Document link with option for sub-links.
Source code in cjkcms/blocks/content_blocks.py
277 278 279 280 281 282 283 284 | |
cjkcms.blocks.NavExternalLinkWithSubLinkBlock
Bases: NavSubLinkBlock, NavExternalLinkBlock
External link with option for sub-links.
Source code in cjkcms/blocks/content_blocks.py
248 249 250 251 252 253 254 255 | |
cjkcms.blocks.NavPageLinkWithSubLinkBlock
Bases: NavSubLinkBlock, NavPageLinkBlock
Page link with option for sub-links or showing child pages.
Source code in cjkcms/blocks/content_blocks.py
258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 | |
cjkcms.blocks.PriceListBlock
Bases: BaseBlock
A price list, such as a menu for a restaurant.
Source code in cjkcms/blocks/content_blocks.py
319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 | |
cjkcms.blocks.ReusableContentBlock
Bases: BaseBlock
Enables choosing a ResusableContent snippet.
Source code in cjkcms/blocks/content_blocks.py
342 343 344 345 346 347 348 349 350 351 352 353 | |
cjkcms.blocks.content.events.PublicEventBlock
Bases: BaseBlock
Entry to form a List of public events
Source code in cjkcms/blocks/content/events.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | |