Content Blocks
cjkcms.blocks.AccordionBlock
Bases: BaseBlock
Allows selecting an accordion snippet
Source code in cjkcms/blocks/content_blocks.py
22 23 24 25 26 27 28 29 30 31 32 33 |
|
cjkcms.blocks.CardBlock
Bases: BaseBlock
A component of information with image, text, and buttons.
Source code in cjkcms/blocks/content_blocks.py
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 75 76 77 78 79 80 81 82 83 84 85 |
|
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
73 74 75 76 77 78 79 80 81 82 83 84 85 |
|
cjkcms.blocks.CarouselBlock
Bases: BaseBlock
Enables choosing a Carousel snippet.
Source code in cjkcms/blocks/content_blocks.py
88 89 90 91 92 93 94 95 96 97 98 99 |
|
cjkcms.blocks.FilmStripBlock
Bases: BaseBlock
Enables choosing a Film Strip Snippet.
Source code in cjkcms/blocks/content_blocks.py
102 103 104 105 106 107 108 109 110 111 112 |
|
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
115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 |
|
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
138 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 |
|
cjkcms.blocks.NavDocumentLinkWithSubLinkBlock
Bases: NavSubLinkBlock
, NavDocumentLinkBlock
Document link with option for sub-links.
Source code in cjkcms/blocks/content_blocks.py
285 286 287 288 289 290 291 292 |
|
cjkcms.blocks.NavExternalLinkWithSubLinkBlock
Bases: NavSubLinkBlock
, NavExternalLinkBlock
External link with option for sub-links.
Source code in cjkcms/blocks/content_blocks.py
256 257 258 259 260 261 262 263 |
|
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
266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 |
|
cjkcms.blocks.PriceListBlock
Bases: BaseBlock
A price list, such as a menu for a restaurant.
Source code in cjkcms/blocks/content_blocks.py
327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 |
|
cjkcms.blocks.ReusableContentBlock
Bases: BaseBlock
Enables choosing a ResusableContent snippet.
Source code in cjkcms/blocks/content_blocks.py
350 351 352 353 354 355 356 357 358 359 360 361 |
|
cjkcms.blocks.content.events.PublicEventBlock
Bases: BaseBlock
Entry to form a List of public events
Source code in cjkcms/blocks/content/events.py
7 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 |
|