Adds option to change layout of the related items.
This commit is contained in:
parent
ac78d44a8d
commit
9dbc599434
|
@ -19,8 +19,7 @@ function tainacan_blocksy_enqueue_scripts() {
|
||||||
|
|
||||||
// This should only happen if we have Tainacan plugin installed
|
// This should only happen if we have Tainacan plugin installed
|
||||||
if ( defined ('TAINACAN_VERSION') ) {
|
if ( defined ('TAINACAN_VERSION') ) {
|
||||||
// $collections_post_types = \Tainacan\Repositories\Repository::get_collections_db_identifiers();
|
|
||||||
// $post_type = get_post_type();
|
|
||||||
wp_enqueue_script( 'tainacan-blocksy-scripts', TAINACAN_BLOCKSY_PLUGIN_URL_PATH . '/js/scripts.js', array(), TAINACAN_BLOCKSY_VERSION, true );
|
wp_enqueue_script( 'tainacan-blocksy-scripts', TAINACAN_BLOCKSY_PLUGIN_URL_PATH . '/js/scripts.js', array(), TAINACAN_BLOCKSY_VERSION, true );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,6 +20,36 @@ $options = [
|
||||||
'prefix' => $prefix,
|
'prefix' => $prefix,
|
||||||
]),
|
]),
|
||||||
'inner-options' => [
|
'inner-options' => [
|
||||||
|
$prefix . 'items_related_to_this_layout' => [
|
||||||
|
'label' => false,
|
||||||
|
'type' => 'ct-image-picker',
|
||||||
|
'value' => 'carousel',
|
||||||
|
'design' => 'block',
|
||||||
|
'setting' => [ 'transport' => 'postMessage' ],
|
||||||
|
'choices' => [
|
||||||
|
'carousel' => [
|
||||||
|
'src' => tainacan_blocksy_image_picker_url( 'items-carousel.svg' ),
|
||||||
|
'title' => __( 'Carousel', 'tainacan-blocksy' ),
|
||||||
|
],
|
||||||
|
'grid' => [
|
||||||
|
'src' => tainacan_blocksy_image_picker_url( 'items-grid.svg' ),
|
||||||
|
'title' => __( 'Grid', 'tainacan-blocksy' ),
|
||||||
|
],
|
||||||
|
'list' => [
|
||||||
|
'src' => tainacan_blocksy_image_picker_url( 'items-list.svg' ),
|
||||||
|
'title' => __( 'List', 'tainacan-blocksy' ),
|
||||||
|
],
|
||||||
|
],
|
||||||
|
'sync' => blocksy_sync_single_post_container([
|
||||||
|
'prefix' => $prefix
|
||||||
|
])
|
||||||
|
],
|
||||||
|
blocksy_rand_md5() => [
|
||||||
|
'type' => 'ct-condition',
|
||||||
|
'condition' => [
|
||||||
|
$prefix . 'items_related_to_this_layout' => 'carousel'
|
||||||
|
],
|
||||||
|
'options' => [
|
||||||
$prefix . 'items_related_to_this_max_items_per_screen' => [
|
$prefix . 'items_related_to_this_max_items_per_screen' => [
|
||||||
'label' => __( 'Max amount of items per slide', 'blocksy' ),
|
'label' => __( 'Max amount of items per slide', 'blocksy' ),
|
||||||
'type' => 'ct-number',
|
'type' => 'ct-number',
|
||||||
|
@ -28,7 +58,26 @@ $options = [
|
||||||
'min' => 1,
|
'min' => 1,
|
||||||
'max' => 10,
|
'max' => 10,
|
||||||
'sync' => ''
|
'sync' => ''
|
||||||
|
]
|
||||||
|
]
|
||||||
],
|
],
|
||||||
|
blocksy_rand_md5() => [
|
||||||
|
'type' => 'ct-condition',
|
||||||
|
'condition' => [
|
||||||
|
$prefix . 'items_related_to_this_layout' => 'grid | list'
|
||||||
|
],
|
||||||
|
'options' => [
|
||||||
|
$prefix . 'items_related_to_this_max_column_count' => [
|
||||||
|
'label' => __( 'Max amount of items columns', 'blocksy' ),
|
||||||
|
'type' => 'ct-number',
|
||||||
|
'design' => 'inline',
|
||||||
|
'value' => 4,
|
||||||
|
'min' => 1,
|
||||||
|
'max' => 8,
|
||||||
|
'sync' => ''
|
||||||
|
]
|
||||||
|
]
|
||||||
|
]
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
];
|
];
|
|
@ -1,6 +1,12 @@
|
||||||
// Scripts that run on document load need to be manually refreshed when inside the customizer
|
// Scripts that run on document load need to be manually refreshed when inside the customizer
|
||||||
if (window.ctEvents && window.ctEvents.default) {
|
if (window.ctEvents) {
|
||||||
window.ctEvents.default.on('blocksy:frontend:init', () => {
|
|
||||||
|
if ( window.ctEvents.default )
|
||||||
|
window.ctEvents.default.on('blocksy:frontend:init', onBlocksyFrontendInit);
|
||||||
|
else
|
||||||
|
window.ctEvents.on('blocksy:frontend:init', onBlocksyFrontendInit);
|
||||||
|
|
||||||
|
function onBlocksyFrontendInit() {
|
||||||
|
|
||||||
/* Handles updating Media Items component */
|
/* Handles updating Media Items component */
|
||||||
if (tainacan_plugin?.classes?.TainacanMediaGallery && tainacan_plugin?.tainacan_media_components) {
|
if (tainacan_plugin?.classes?.TainacanMediaGallery && tainacan_plugin?.tainacan_media_components) {
|
||||||
|
@ -18,5 +24,9 @@ if (window.ctEvents && window.ctEvents.default) {
|
||||||
|
|
||||||
/* Handles updating Items carousel */
|
/* Handles updating Items carousel */
|
||||||
document.dispatchEvent(new Event('TainacanReloadCarouselItemsListBlock'));
|
document.dispatchEvent(new Event('TainacanReloadCarouselItemsListBlock'));
|
||||||
});
|
|
||||||
|
/* Handles Dynamic Items lists */
|
||||||
|
document.dispatchEvent(new Event('TainacanReloadDynamicItemsBlock'));
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
|
@ -0,0 +1,122 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg
|
||||||
|
version="1.1"
|
||||||
|
viewBox="0 0 100 70"
|
||||||
|
id="Layer_1"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||||||
|
<metadata
|
||||||
|
id="metadata15">
|
||||||
|
<rdf:RDF>
|
||||||
|
<cc:Work
|
||||||
|
rdf:about="">
|
||||||
|
<dc:format>image/svg+xml</dc:format>
|
||||||
|
<dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||||
|
</cc:Work>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<defs
|
||||||
|
id="defs13" />
|
||||||
|
<style
|
||||||
|
id="style2">.st2{fill:#e6e7e8}</style>
|
||||||
|
<path
|
||||||
|
id="path4"
|
||||||
|
fill="#fff"
|
||||||
|
d="M13 73.5c-1.4 0-2.5-1.1-2.5-2.5V13c0-1.4 1.1-2.5 2.5-2.5h74c1.4 0 2.5 1.1 2.5 2.5v58c0 1.4-1.1 2.5-2.5 2.5H13z" />
|
||||||
|
<path
|
||||||
|
id="path6"
|
||||||
|
fill="#565d66"
|
||||||
|
d="M87 11c1.1 0 2 .9 2 2v58c0 1.1-.9 2-2 2H13c-1.1 0-2-.9-2-2V13c0-1.1.9-2 2-2h74m0-1H13c-1.7 0-3 1.3-3 3v58c0 1.7 1.3 3 3 3h74c1.6 0 3-1.3 3-3V13c0-1.7-1.4-3-3-3z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.383166"
|
||||||
|
id="path869"
|
||||||
|
d="m 59.30861,39.812768 h -7.04263 c -0.103564,0 -0.172615,-0.113657 -0.172615,-0.284147 v -6.819562 c 0,-0.17049 0.06905,-0.284147 0.172615,-0.284147 h 7.04263 c 0.103563,0 0.172614,0.113656 0.172614,0.284147 v 6.819562 c 0,0.170488 -0.06905,0.284147 -0.172614,0.284147 z" />
|
||||||
|
<path
|
||||||
|
d="m 68.657498,39.812768 h -7.042631 c -0.103564,0 -0.172614,-0.113657 -0.172614,-0.284147 v -6.819562 c 0,-0.17049 0.06905,-0.284147 0.172614,-0.284147 h 7.042631 c 0.103564,0 0.172613,0.113656 0.172613,0.284147 v 6.819562 c 0,0.170488 -0.06905,0.284147 -0.172613,0.284147 z"
|
||||||
|
id="path883"
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.383166" />
|
||||||
|
<path
|
||||||
|
d="m 49.959722,39.812768 h -7.042631 c -0.103564,0 -0.172615,-0.113657 -0.172615,-0.284147 v -6.819562 c 0,-0.17049 0.06905,-0.284147 0.172615,-0.284147 h 7.042631 c 0.103564,0 0.172615,0.113656 0.172615,0.284147 v 6.819562 c 0,0.170488 -0.06905,0.284147 -0.172615,0.284147 z"
|
||||||
|
id="path885"
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.383166" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.383166"
|
||||||
|
id="path887"
|
||||||
|
d="m 40.610836,39.812768 h -7.042632 c -0.103564,0 -0.172612,-0.113657 -0.172612,-0.284147 v -6.819562 c 0,-0.17049 0.06905,-0.284147 0.172612,-0.284147 h 7.042632 c 0.103564,0 0.172613,0.113656 0.172613,0.284147 v 6.819562 c 0,0.170488 -0.06905,0.284147 -0.172613,0.284147 z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.383166"
|
||||||
|
id="path891"
|
||||||
|
d="m 31.261946,39.812768 h -7.04263 c -0.103564,0 -0.172613,-0.113657 -0.172613,-0.284147 v -6.819562 c 0,-0.17049 0.06905,-0.284147 0.172613,-0.284147 h 7.04263 c 0.103564,0 0.172615,0.113656 0.172615,0.284147 v 6.819562 c 0,0.170488 -0.06905,0.284147 -0.172615,0.284147 z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:1.44235"
|
||||||
|
id="path935"
|
||||||
|
d="M 38.592289,26.417141 H 20.617397 c -0.17797,0 -0.296616,-0.314782 -0.296616,-0.786955 0,-0.472173 0.118645,-0.786955 0.296616,-0.786955 H 38.59229 c 0.177969,0 0.296616,0.314782 0.296616,0.786955 0,0.472173 -0.118647,0.786955 -0.296617,0.786955 z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.824948"
|
||||||
|
id="path937"
|
||||||
|
d="m 42.327382,29.646857 h -21.64935 c -0.214351,0 -0.357251,-0.209981 -0.357251,-0.524952 0,-0.314971 0.1429,-0.524952 0.357251,-0.524952 h 21.64935 c 0.21435,0 0.35725,0.209981 0.35725,0.524952 0,0.314971 -0.142901,0.524952 -0.35725,0.524952 z" />
|
||||||
|
<path
|
||||||
|
d="m 78.006382,39.812768 h -7.04263 c -0.103564,0 -0.172614,-0.113657 -0.172614,-0.284147 v -6.819562 c 0,-0.17049 0.06905,-0.284147 0.172614,-0.284147 h 7.04263 c 0.103564,0 0.172613,0.113656 0.172613,0.284147 v 6.819562 c 0,0.170488 -0.06905,0.284147 -0.172613,0.284147 z"
|
||||||
|
id="path1196"
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.383166" />
|
||||||
|
<path
|
||||||
|
id="rect1300"
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.377952;stroke-linecap:round;stroke-linejoin:round"
|
||||||
|
d="m 19.969755,36.120131 0.475371,0.475371 1.162595,1.162597 0.477954,-0.477958 -1.162594,-1.162594 1.162594,-1.162593 -0.475373,-0.475374 -1.162595,1.162597 z" />
|
||||||
|
<path
|
||||||
|
id="path6789"
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.377952;stroke-linecap:round;stroke-linejoin:round"
|
||||||
|
d="m 82.255942,36.120131 -0.47537,0.475371 -1.16259,1.162597 -0.47796,-0.477958 1.1626,-1.162594 -1.1626,-1.162593 0.47537,-0.475374 1.1626,1.162597 z" />
|
||||||
|
<path
|
||||||
|
id="rect6857"
|
||||||
|
style="fill:#e6e7e8;stroke-width:0.377953;stroke-linecap:round;stroke-linejoin:round"
|
||||||
|
d="m 20.896171,42.614773 h 8.841097 c 0.318766,0 0.575389,0.256623 0.575389,0.575389 v 1.347191 c 0,0.318765 -0.256623,0.575389 -0.575389,0.575389 h -8.841097 c -0.318766,0 -0.575389,-0.256624 -0.575389,-0.575389 v -1.347191 c 0,-0.318766 0.256623,-0.575389 0.575389,-0.575389 z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.383166"
|
||||||
|
id="path7121"
|
||||||
|
d="m 59.30861,65.62754 h -7.04263 c -0.103564,0 -0.172615,-0.113657 -0.172615,-0.284147 v -6.819562 c 0,-0.17049 0.06905,-0.284147 0.172615,-0.284147 h 7.04263 c 0.103563,0 0.172614,0.113656 0.172614,0.284147 v 6.819562 c 0,0.170488 -0.06905,0.284147 -0.172614,0.284147 z" />
|
||||||
|
<path
|
||||||
|
d="m 68.657498,65.62754 h -7.042631 c -0.103564,0 -0.172614,-0.113657 -0.172614,-0.284147 v -6.819562 c 0,-0.17049 0.06905,-0.284147 0.172614,-0.284147 h 7.042631 c 0.103564,0 0.172613,0.113656 0.172613,0.284147 v 6.819562 c 0,0.170488 -0.06905,0.284147 -0.172613,0.284147 z"
|
||||||
|
id="path7123"
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.383166" />
|
||||||
|
<path
|
||||||
|
d="m 49.959722,65.62754 h -7.042631 c -0.103564,0 -0.172615,-0.113657 -0.172615,-0.284147 v -6.819562 c 0,-0.17049 0.06905,-0.284147 0.172615,-0.284147 h 7.042631 c 0.103564,0 0.172615,0.113656 0.172615,0.284147 v 6.819562 c 0,0.170488 -0.06905,0.284147 -0.172615,0.284147 z"
|
||||||
|
id="path7125"
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.383166" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.383166"
|
||||||
|
id="path7127"
|
||||||
|
d="m 40.610836,65.62754 h -7.042632 c -0.103564,0 -0.172612,-0.113657 -0.172612,-0.284147 v -6.819562 c 0,-0.17049 0.06905,-0.284147 0.172612,-0.284147 h 7.042632 c 0.103564,0 0.172613,0.113656 0.172613,0.284147 v 6.819562 c 0,0.170488 -0.06905,0.284147 -0.172613,0.284147 z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.383166"
|
||||||
|
id="path7129"
|
||||||
|
d="m 31.261946,65.62754 h -7.04263 c -0.103564,0 -0.172613,-0.113657 -0.172613,-0.284147 v -6.819562 c 0,-0.17049 0.06905,-0.284147 0.172613,-0.284147 h 7.04263 c 0.103564,0 0.172615,0.113656 0.172615,0.284147 v 6.819562 c 0,0.170488 -0.06905,0.284147 -0.172615,0.284147 z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:1.44235"
|
||||||
|
id="path7131"
|
||||||
|
d="M 38.592289,52.231913 H 20.617397 c -0.17797,0 -0.296616,-0.314782 -0.296616,-0.786955 0,-0.472173 0.118645,-0.786955 0.296616,-0.786955 H 38.59229 c 0.177969,0 0.296616,0.314782 0.296616,0.786955 0,0.472173 -0.118647,0.786955 -0.296617,0.786955 z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.824948"
|
||||||
|
id="path7133"
|
||||||
|
d="m 42.327382,55.461629 h -21.64935 c -0.214351,0 -0.357251,-0.209981 -0.357251,-0.524952 0,-0.314971 0.1429,-0.524952 0.357251,-0.524952 h 21.64935 c 0.21435,0 0.35725,0.209981 0.35725,0.524952 0,0.314971 -0.142901,0.524952 -0.35725,0.524952 z" />
|
||||||
|
<path
|
||||||
|
d="m 78.006382,65.62754 h -7.04263 c -0.103564,0 -0.172614,-0.113657 -0.172614,-0.284147 v -6.819562 c 0,-0.17049 0.06905,-0.284147 0.172614,-0.284147 h 7.04263 c 0.103564,0 0.172613,0.113656 0.172613,0.284147 v 6.819562 c 0,0.170488 -0.06905,0.284147 -0.172613,0.284147 z"
|
||||||
|
id="path7135"
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.383166" />
|
||||||
|
<path
|
||||||
|
id="path7137"
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.377952;stroke-linecap:round;stroke-linejoin:round"
|
||||||
|
d="m 19.969755,61.934903 0.475371,0.475371 1.162595,1.162597 0.477954,-0.477958 -1.162594,-1.162594 1.162594,-1.162593 -0.475373,-0.475374 -1.162595,1.162597 z" />
|
||||||
|
<path
|
||||||
|
id="path7139"
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.377952;stroke-linecap:round;stroke-linejoin:round"
|
||||||
|
d="m 82.255942,61.934903 -0.47537,0.475371 -1.16259,1.162597 -0.47796,-0.477958 1.1626,-1.162594 -1.1626,-1.162593 0.47537,-0.475374 1.1626,1.162597 z" />
|
||||||
|
<path
|
||||||
|
id="rect7141"
|
||||||
|
style="fill:#e6e7e8;stroke-width:0.377953;stroke-linecap:round;stroke-linejoin:round"
|
||||||
|
d="m 20.896171,68.42955 h 8.841097 c 0.318766,0 0.575389,0.256624 0.575389,0.575389 v 1.347191 c 0,0.318766 -0.256623,0.575389 -0.575389,0.575389 h -8.841097 c -0.318766,0 -0.575389,-0.256623 -0.575389,-0.575389 v -1.347191 c 0,-0.318765 0.256623,-0.575389 0.575389,-0.575389 z" />
|
||||||
|
</svg>
|
After Width: | Height: | Size: 8.7 KiB |
|
@ -0,0 +1,122 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg
|
||||||
|
version="1.1"
|
||||||
|
viewBox="0 0 100 70"
|
||||||
|
id="Layer_1"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||||||
|
<metadata
|
||||||
|
id="metadata15">
|
||||||
|
<rdf:RDF>
|
||||||
|
<cc:Work
|
||||||
|
rdf:about="">
|
||||||
|
<dc:format>image/svg+xml</dc:format>
|
||||||
|
<dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||||
|
</cc:Work>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<defs
|
||||||
|
id="defs13" />
|
||||||
|
<style
|
||||||
|
id="style2">.st2{fill:#e6e7e8}</style>
|
||||||
|
<path
|
||||||
|
id="path4"
|
||||||
|
fill="#fff"
|
||||||
|
d="M13 73.5c-1.4 0-2.5-1.1-2.5-2.5V13c0-1.4 1.1-2.5 2.5-2.5h74c1.4 0 2.5 1.1 2.5 2.5v58c0 1.4-1.1 2.5-2.5 2.5H13z" />
|
||||||
|
<path
|
||||||
|
id="path6"
|
||||||
|
fill="#565d66"
|
||||||
|
d="M87 11c1.1 0 2 .9 2 2v58c0 1.1-.9 2-2 2H13c-1.1 0-2-.9-2-2V13c0-1.1.9-2 2-2h74m0-1H13c-1.7 0-3 1.3-3 3v58c0 1.7 1.3 3 3 3h74c1.6 0 3-1.3 3-3V13c0-1.7-1.4-3-3-3z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.383166"
|
||||||
|
id="path869"
|
||||||
|
d="m 55.849531,39.812768 h -7.04263 c -0.103564,0 -0.172615,-0.113657 -0.172615,-0.284147 v -6.819562 c 0,-0.17049 0.06905,-0.284147 0.172615,-0.284147 h 7.04263 c 0.103563,0 0.172614,0.113656 0.172614,0.284147 v 6.819562 c 0,0.170488 -0.06905,0.284147 -0.172614,0.284147 z" />
|
||||||
|
<path
|
||||||
|
d="m 65.198419,39.812768 h -7.042631 c -0.103564,0 -0.172614,-0.113657 -0.172614,-0.284147 v -6.819562 c 0,-0.17049 0.06905,-0.284147 0.172614,-0.284147 h 7.042631 c 0.103564,0 0.172613,0.113656 0.172613,0.284147 v 6.819562 c 0,0.170488 -0.06905,0.284147 -0.172613,0.284147 z"
|
||||||
|
id="path883"
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.383166" />
|
||||||
|
<path
|
||||||
|
d="m 46.500643,39.812768 h -7.042631 c -0.103564,0 -0.172615,-0.113657 -0.172615,-0.284147 v -6.819562 c 0,-0.17049 0.06905,-0.284147 0.172615,-0.284147 h 7.042631 c 0.103564,0 0.172615,0.113656 0.172615,0.284147 v 6.819562 c 0,0.170488 -0.06905,0.284147 -0.172615,0.284147 z"
|
||||||
|
id="path885"
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.383166" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.383166"
|
||||||
|
id="path887"
|
||||||
|
d="m 37.151757,39.812768 h -7.042632 c -0.103564,0 -0.172612,-0.113657 -0.172612,-0.284147 v -6.819562 c 0,-0.17049 0.06905,-0.284147 0.172612,-0.284147 h 7.042632 c 0.103564,0 0.172613,0.113656 0.172613,0.284147 v 6.819562 c 0,0.170488 -0.06905,0.284147 -0.172613,0.284147 z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.383166"
|
||||||
|
id="path891"
|
||||||
|
d="m 27.802867,39.812768 h -7.04263 c -0.103564,0 -0.172613,-0.113657 -0.172613,-0.284147 v -6.819562 c 0,-0.17049 0.06905,-0.284147 0.172613,-0.284147 h 7.04263 c 0.103564,0 0.172615,0.113656 0.172615,0.284147 v 6.819562 c 0,0.170488 -0.06905,0.284147 -0.172615,0.284147 z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:1.44235"
|
||||||
|
id="path935"
|
||||||
|
d="M 38.592289,26.417141 H 20.617397 c -0.17797,0 -0.296616,-0.314782 -0.296616,-0.786955 0,-0.472173 0.118645,-0.786955 0.296616,-0.786955 H 38.59229 c 0.177969,0 0.296616,0.314782 0.296616,0.786955 0,0.472173 -0.118647,0.786955 -0.296617,0.786955 z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.824948"
|
||||||
|
id="path937"
|
||||||
|
d="m 42.327382,29.646857 h -21.64935 c -0.214351,0 -0.357251,-0.209981 -0.357251,-0.524952 0,-0.314971 0.1429,-0.524952 0.357251,-0.524952 h 21.64935 c 0.21435,0 0.35725,0.209981 0.35725,0.524952 0,0.314971 -0.142901,0.524952 -0.35725,0.524952 z" />
|
||||||
|
<path
|
||||||
|
d="m 74.547303,39.812768 h -7.04263 c -0.103564,0 -0.172614,-0.113657 -0.172614,-0.284147 v -6.819562 c 0,-0.17049 0.06905,-0.284147 0.172614,-0.284147 h 7.04263 c 0.103564,0 0.172613,0.113656 0.172613,0.284147 v 6.819562 c 0,0.170488 -0.06905,0.284147 -0.172613,0.284147 z"
|
||||||
|
id="path1196"
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.383166" />
|
||||||
|
<path
|
||||||
|
id="rect6857"
|
||||||
|
style="fill:#e6e7e8;stroke-width:0.377953;stroke-linecap:round;stroke-linejoin:round"
|
||||||
|
d="m 20.896171,50.801317 h 8.841097 c 0.318766,0 0.575389,0.256623 0.575389,0.575389 v 1.347191 c 0,0.318765 -0.256623,0.575389 -0.575389,0.575389 h -8.841097 c -0.318766,0 -0.575389,-0.256624 -0.575389,-0.575389 v -1.347191 c 0,-0.318766 0.256623,-0.575389 0.575389,-0.575389 z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:1.44235"
|
||||||
|
id="path7131"
|
||||||
|
d="M 38.592289,60.418457 H 20.617397 c -0.17797,0 -0.296616,-0.314782 -0.296616,-0.786955 0,-0.472173 0.118645,-0.786955 0.296616,-0.786955 H 38.59229 c 0.177969,0 0.296616,0.314782 0.296616,0.786955 0,0.472173 -0.118647,0.786955 -0.296617,0.786955 z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.824948"
|
||||||
|
id="path7133"
|
||||||
|
d="m 42.327382,63.648173 h -21.64935 c -0.214351,0 -0.357251,-0.209981 -0.357251,-0.524952 0,-0.314971 0.1429,-0.524952 0.357251,-0.524952 h 21.64935 c 0.21435,0 0.35725,0.209981 0.35725,0.524952 0,0.314971 -0.142901,0.524952 -0.35725,0.524952 z" />
|
||||||
|
<g
|
||||||
|
id="g933"
|
||||||
|
transform="translate(-3.459079,8.186544)">
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.383166"
|
||||||
|
id="path7121"
|
||||||
|
d="m 59.30861,65.62754 h -7.04263 c -0.103564,0 -0.172615,-0.113657 -0.172615,-0.284147 v -6.819562 c 0,-0.17049 0.06905,-0.284147 0.172615,-0.284147 h 7.04263 c 0.103563,0 0.172614,0.113656 0.172614,0.284147 v 6.819562 c 0,0.170488 -0.06905,0.284147 -0.172614,0.284147 z" />
|
||||||
|
<path
|
||||||
|
d="m 68.657498,65.62754 h -7.042631 c -0.103564,0 -0.172614,-0.113657 -0.172614,-0.284147 v -6.819562 c 0,-0.17049 0.06905,-0.284147 0.172614,-0.284147 h 7.042631 c 0.103564,0 0.172613,0.113656 0.172613,0.284147 v 6.819562 c 0,0.170488 -0.06905,0.284147 -0.172613,0.284147 z"
|
||||||
|
id="path7123"
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.383166" />
|
||||||
|
<path
|
||||||
|
d="m 49.959722,65.62754 h -7.042631 c -0.103564,0 -0.172615,-0.113657 -0.172615,-0.284147 v -6.819562 c 0,-0.17049 0.06905,-0.284147 0.172615,-0.284147 h 7.042631 c 0.103564,0 0.172615,0.113656 0.172615,0.284147 v 6.819562 c 0,0.170488 -0.06905,0.284147 -0.172615,0.284147 z"
|
||||||
|
id="path7125"
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.383166" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.383166"
|
||||||
|
id="path7127"
|
||||||
|
d="m 40.610836,65.62754 h -7.042632 c -0.103564,0 -0.172612,-0.113657 -0.172612,-0.284147 v -6.819562 c 0,-0.17049 0.06905,-0.284147 0.172612,-0.284147 h 7.042632 c 0.103564,0 0.172613,0.113656 0.172613,0.284147 v 6.819562 c 0,0.170488 -0.06905,0.284147 -0.172613,0.284147 z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.383166"
|
||||||
|
id="path7129"
|
||||||
|
d="m 31.261946,65.62754 h -7.04263 c -0.103564,0 -0.172613,-0.113657 -0.172613,-0.284147 v -6.819562 c 0,-0.17049 0.06905,-0.284147 0.172613,-0.284147 h 7.04263 c 0.103564,0 0.172615,0.113656 0.172615,0.284147 v 6.819562 c 0,0.170488 -0.06905,0.284147 -0.172615,0.284147 z" />
|
||||||
|
<path
|
||||||
|
d="m 78.006382,65.62754 h -7.04263 c -0.103564,0 -0.172614,-0.113657 -0.172614,-0.284147 v -6.819562 c 0,-0.17049 0.06905,-0.284147 0.172614,-0.284147 h 7.04263 c 0.103564,0 0.172613,0.113656 0.172613,0.284147 v 6.819562 c 0,0.170488 -0.06905,0.284147 -0.172613,0.284147 z"
|
||||||
|
id="path7135"
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.383166" />
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
id="g945"
|
||||||
|
transform="translate(-28.046662,-10.835348)">
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.383166"
|
||||||
|
id="path936"
|
||||||
|
d="m 55.849531,59.812768 h -7.04263 c -0.103564,0 -0.172615,-0.113657 -0.172615,-0.284147 v -6.819562 c 0,-0.17049 0.06905,-0.284147 0.172615,-0.284147 h 7.04263 c 0.103563,0 0.172614,0.113656 0.172614,0.284147 v 6.819562 c 0,0.170488 -0.06905,0.284147 -0.172614,0.284147 z" />
|
||||||
|
<path
|
||||||
|
d="m 65.198419,59.812768 h -7.042631 c -0.103564,0 -0.172614,-0.113657 -0.172614,-0.284147 v -6.819562 c 0,-0.17049 0.06905,-0.284147 0.172614,-0.284147 h 7.042631 c 0.103564,0 0.172613,0.113656 0.172613,0.284147 v 6.819562 c 0,0.170488 -0.06905,0.284147 -0.172613,0.284147 z"
|
||||||
|
id="path938"
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.383166" />
|
||||||
|
<path
|
||||||
|
d="m 74.547303,59.812768 h -7.04263 c -0.103564,0 -0.172614,-0.113657 -0.172614,-0.284147 v -6.819562 c 0,-0.17049 0.06905,-0.284147 0.172614,-0.284147 h 7.04263 c 0.103564,0 0.172613,0.113656 0.172613,0.284147 v 6.819562 c 0,0.170488 -0.06905,0.284147 -0.172613,0.284147 z"
|
||||||
|
id="path940"
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.383166" />
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 8.5 KiB |
|
@ -0,0 +1,196 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg
|
||||||
|
version="1.1"
|
||||||
|
viewBox="0 0 100 70"
|
||||||
|
id="Layer_1"
|
||||||
|
sodipodi:docname="items-grid.svg"
|
||||||
|
inkscape:version="1.1 (1:1.1+rc+202105240936+c4e8f9ed74)"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||||||
|
<sodipodi:namedview
|
||||||
|
id="namedview30"
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#666666"
|
||||||
|
borderopacity="1.0"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:pageopacity="0.0"
|
||||||
|
inkscape:pagecheckerboard="0"
|
||||||
|
showgrid="false"
|
||||||
|
inkscape:zoom="7.5857143"
|
||||||
|
inkscape:cx="43.370998"
|
||||||
|
inkscape:cy="44.227872"
|
||||||
|
inkscape:window-width="2560"
|
||||||
|
inkscape:window-height="1044"
|
||||||
|
inkscape:window-x="1366"
|
||||||
|
inkscape:window-y="0"
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
inkscape:current-layer="Layer_1" />
|
||||||
|
<metadata
|
||||||
|
id="metadata15">
|
||||||
|
<rdf:RDF>
|
||||||
|
<cc:Work
|
||||||
|
rdf:about="">
|
||||||
|
<dc:format>image/svg+xml</dc:format>
|
||||||
|
<dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||||
|
</cc:Work>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<defs
|
||||||
|
id="defs13" />
|
||||||
|
<style
|
||||||
|
id="style2">.st2{fill:#e6e7e8}</style>
|
||||||
|
<path
|
||||||
|
id="path4"
|
||||||
|
fill="#fff"
|
||||||
|
d="M13 73.5c-1.4 0-2.5-1.1-2.5-2.5V13c0-1.4 1.1-2.5 2.5-2.5h74c1.4 0 2.5 1.1 2.5 2.5v58c0 1.4-1.1 2.5-2.5 2.5H13z" />
|
||||||
|
<path
|
||||||
|
id="path6"
|
||||||
|
fill="#565d66"
|
||||||
|
d="M87 11c1.1 0 2 .9 2 2v58c0 1.1-.9 2-2 2H13c-1.1 0-2-.9-2-2V13c0-1.1.9-2 2-2h74m0-1H13c-1.7 0-3 1.3-3 3v58c0 1.7 1.3 3 3 3h74c1.6 0 3-1.3 3-3V13c0-1.7-1.4-3-3-3z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.383166"
|
||||||
|
id="path891"
|
||||||
|
d="m 23.641332,35.551675 h -2.980653 c -0.04383,0 -0.07305,-0.0481 -0.07305,-0.120259 v -2.886244 c 0,-0.07216 0.02922,-0.12026 0.07305,-0.12026 h 2.980653 c 0.04383,0 0.07306,0.0481 0.07306,0.12026 v 2.886244 c 0,0.07216 -0.02922,0.120259 -0.07306,0.120259 z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:1.44235"
|
||||||
|
id="path935"
|
||||||
|
d="M 38.592289,26.417141 H 20.617397 c -0.17797,0 -0.296616,-0.314782 -0.296616,-0.786955 0,-0.472173 0.118645,-0.786955 0.296616,-0.786955 H 38.59229 c 0.177969,0 0.296616,0.314782 0.296616,0.786955 0,0.472173 -0.118647,0.786955 -0.296617,0.786955 z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.824948"
|
||||||
|
id="path937"
|
||||||
|
d="m 42.327382,29.646857 h -21.64935 c -0.214351,0 -0.357251,-0.209981 -0.357251,-0.524952 0,-0.314971 0.1429,-0.524952 0.357251,-0.524952 h 21.64935 c 0.21435,0 0.35725,0.209981 0.35725,0.524952 0,0.314971 -0.142901,0.524952 -0.35725,0.524952 z" />
|
||||||
|
<path
|
||||||
|
id="rect6857"
|
||||||
|
style="fill:#e6e7e8;stroke-width:0.377953;stroke-linecap:round;stroke-linejoin:round"
|
||||||
|
d="m 20.896171,47.19261 h 8.841097 c 0.318766,0 0.575389,0.256623 0.575389,0.575389 v 1.347191 c 0,0.318765 -0.256623,0.575389 -0.575389,0.575389 h -8.841097 c -0.318766,0 -0.575389,-0.256624 -0.575389,-0.575389 v -1.347191 c 0,-0.318766 0.256623,-0.575389 0.575389,-0.575389 z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:1.44235"
|
||||||
|
id="path7131"
|
||||||
|
d="M 38.592289,60.418457 H 20.617397 c -0.17797,0 -0.296616,-0.314782 -0.296616,-0.786955 0,-0.472173 0.118645,-0.786955 0.296616,-0.786955 H 38.59229 c 0.177969,0 0.296616,0.314782 0.296616,0.786955 0,0.472173 -0.118647,0.786955 -0.296617,0.786955 z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.824948"
|
||||||
|
id="path7133"
|
||||||
|
d="m 42.327382,63.648173 h -21.64935 c -0.214351,0 -0.357251,-0.209981 -0.357251,-0.524952 0,-0.314971 0.1429,-0.524952 0.357251,-0.524952 h 21.64935 c 0.21435,0 0.35725,0.209981 0.35725,0.524952 0,0.314971 -0.142901,0.524952 -0.35725,0.524952 z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.824946"
|
||||||
|
id="path867"
|
||||||
|
d="M 37.286639,34.27645 H 25.087672 c -0.120783,0 -0.201304,-0.154416 -0.201304,-0.386041 0,-0.231624 0.08052,-0.386041 0.201304,-0.386041 h 12.198967 c 0.120782,0 0.201304,0.154417 0.201304,0.386041 0,0.231625 -0.08053,0.386041 -0.201304,0.386041 z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.383166"
|
||||||
|
id="path870"
|
||||||
|
d="m 23.641332,40.007877 h -2.980653 c -0.04383,0 -0.07305,-0.0481 -0.07305,-0.120259 v -2.886244 c 0,-0.07216 0.02922,-0.12026 0.07305,-0.12026 h 2.980653 c 0.04383,0 0.07306,0.0481 0.07306,0.12026 v 2.886244 c 0,0.07216 -0.02922,0.120259 -0.07306,0.120259 z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.824946"
|
||||||
|
id="path872"
|
||||||
|
d="M 35.26655,38.732652 H 25.054877 c -0.101106,0 -0.168509,-0.154416 -0.168509,-0.386041 0,-0.231624 0.0674,-0.386041 0.168509,-0.386041 H 35.26655 c 0.101106,0 0.16851,0.154417 0.16851,0.386041 0,0.231625 -0.0674,0.386041 -0.16851,0.386041 z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.383166"
|
||||||
|
id="path1274"
|
||||||
|
d="m 44.288171,35.551675 h -2.980653 c -0.04383,0 -0.07305,-0.0481 -0.07305,-0.120259 v -2.886244 c 0,-0.07216 0.02922,-0.12026 0.07305,-0.12026 h 2.980653 c 0.04383,0 0.07306,0.0481 0.07306,0.12026 v 2.886244 c 0,0.07216 -0.02922,0.120259 -0.07306,0.120259 z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.824946"
|
||||||
|
id="path1276"
|
||||||
|
d="m 55.468817,34.27645 h -9.774318 c -0.09678,0 -0.161292,-0.154416 -0.161292,-0.386041 0,-0.231624 0.06452,-0.386041 0.161292,-0.386041 h 9.774318 c 0.09678,0 0.161292,0.154417 0.161292,0.386041 0,0.231625 -0.06452,0.386041 -0.161292,0.386041 z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.383166"
|
||||||
|
id="path1278"
|
||||||
|
d="m 44.288171,40.007877 h -2.980653 c -0.04383,0 -0.07305,-0.0481 -0.07305,-0.120259 v -2.886244 c 0,-0.07216 0.02922,-0.12026 0.07305,-0.12026 h 2.980653 c 0.04383,0 0.07306,0.0481 0.07306,0.12026 v 2.886244 c 0,0.07216 -0.02922,0.120259 -0.07306,0.120259 z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.824946"
|
||||||
|
id="path1280"
|
||||||
|
d="M 57.84248,38.732652 H 45.733033 c -0.119896,0 -0.199826,-0.154416 -0.199826,-0.386041 0,-0.231624 0.07993,-0.386041 0.199826,-0.386041 H 57.84248 c 0.119896,0 0.199827,0.154417 0.199827,0.386041 0,0.231625 -0.07993,0.386041 -0.199827,0.386041 z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.383166"
|
||||||
|
id="path1370"
|
||||||
|
d="m 65.641332,35.551675 h -2.980653 c -0.04383,0 -0.07305,-0.0481 -0.07305,-0.120259 v -2.886244 c 0,-0.07216 0.02922,-0.12026 0.07305,-0.12026 h 2.980653 c 0.04383,0 0.07306,0.0481 0.07306,0.12026 v 2.886244 c 0,0.07216 -0.02922,0.120259 -0.07306,0.120259 z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.824946"
|
||||||
|
id="path1372"
|
||||||
|
d="M 79.01378,34.27645 H 67.083243 c -0.118129,0 -0.196873,-0.154416 -0.196873,-0.386041 0,-0.231624 0.07875,-0.386041 0.196873,-0.386041 H 79.01378 c 0.11813,0 0.196873,0.154417 0.196873,0.386041 0,0.231625 -0.07875,0.386041 -0.196873,0.386041 z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.383166"
|
||||||
|
id="path1374"
|
||||||
|
d="m 65.641332,40.007877 h -2.980653 c -0.04383,0 -0.07305,-0.0481 -0.07305,-0.120259 v -2.886244 c 0,-0.07216 0.02922,-0.12026 0.07305,-0.12026 h 2.980653 c 0.04383,0 0.07306,0.0481 0.07306,0.12026 v 2.886244 c 0,0.07216 -0.02922,0.120259 -0.07306,0.120259 z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.824946"
|
||||||
|
id="path1376"
|
||||||
|
d="M 77.508019,38.732652 H 67.058798 c -0.103458,0 -0.17243,-0.154416 -0.17243,-0.386041 0,-0.231624 0.06897,-0.386041 0.17243,-0.386041 h 10.449221 c 0.103458,0 0.17243,0.154417 0.17243,0.386041 0,0.231625 -0.06897,0.386041 -0.17243,0.386041 z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.383166"
|
||||||
|
id="path1378"
|
||||||
|
d="m 23.641332,44.352662 h -2.980653 c -0.04383,0 -0.07305,-0.0481 -0.07305,-0.120259 v -2.886244 c 0,-0.07216 0.02922,-0.12026 0.07305,-0.12026 h 2.980653 c 0.04383,0 0.07306,0.0481 0.07306,0.12026 v 2.886244 c 0,0.07216 -0.02922,0.120259 -0.07306,0.120259 z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.824946"
|
||||||
|
id="path1380"
|
||||||
|
d="M 37.286639,43.077437 H 25.087672 c -0.120783,0 -0.201304,-0.154416 -0.201304,-0.386041 0,-0.231624 0.08052,-0.386041 0.201304,-0.386041 h 12.198967 c 0.120782,0 0.201304,0.154417 0.201304,0.386041 0,0.231625 -0.08053,0.386041 -0.201304,0.386041 z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.383166"
|
||||||
|
id="path1382"
|
||||||
|
d="m 44.288171,44.352662 h -2.980653 c -0.04383,0 -0.07305,-0.0481 -0.07305,-0.120259 v -2.886244 c 0,-0.07216 0.02922,-0.12026 0.07305,-0.12026 h 2.980653 c 0.04383,0 0.07306,0.0481 0.07306,0.12026 v 2.886244 c 0,0.07216 -0.02922,0.120259 -0.07306,0.120259 z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.824946"
|
||||||
|
id="path1384"
|
||||||
|
d="m 55.468817,43.077437 h -9.774318 c -0.09678,0 -0.161292,-0.154416 -0.161292,-0.386041 0,-0.231624 0.06452,-0.386041 0.161292,-0.386041 h 9.774318 c 0.09678,0 0.161292,0.154417 0.161292,0.386041 0,0.231625 -0.06452,0.386041 -0.161292,0.386041 z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.383166"
|
||||||
|
id="path1386"
|
||||||
|
d="m 65.641332,44.352662 h -2.980653 c -0.04383,0 -0.07305,-0.0481 -0.07305,-0.120259 v -2.886244 c 0,-0.07216 0.02922,-0.12026 0.07305,-0.12026 h 2.980653 c 0.04383,0 0.07306,0.0481 0.07306,0.12026 v 2.886244 c 0,0.07216 -0.02922,0.120259 -0.07306,0.120259 z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.824946"
|
||||||
|
id="path1388"
|
||||||
|
d="M 79.01378,43.077437 H 67.083243 c -0.118129,0 -0.196873,-0.154416 -0.196873,-0.386041 0,-0.231624 0.07875,-0.386041 0.196873,-0.386041 H 79.01378 c 0.11813,0 0.196873,0.154417 0.196873,0.386041 0,0.231625 -0.07875,0.386041 -0.196873,0.386041 z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.383166"
|
||||||
|
id="path1470"
|
||||||
|
d="m 23.641332,69.551675 h -2.980653 c -0.04383,0 -0.07305,-0.0481 -0.07305,-0.120259 v -2.886244 c 0,-0.07216 0.02922,-0.12026 0.07305,-0.12026 h 2.980653 c 0.04383,0 0.07306,0.0481 0.07306,0.12026 v 2.886244 c 0,0.07216 -0.02922,0.120259 -0.07306,0.120259 z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.824946"
|
||||||
|
id="path1474"
|
||||||
|
d="M 37.286639,68.27645 H 25.087672 c -0.120783,0 -0.201304,-0.154416 -0.201304,-0.386041 0,-0.231624 0.08052,-0.386041 0.201304,-0.386041 h 12.198967 c 0.120782,0 0.201304,0.154417 0.201304,0.386041 0,0.231625 -0.08053,0.386041 -0.201304,0.386041 z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.383166"
|
||||||
|
id="path1476"
|
||||||
|
d="m 23.641332,74.007877 h -2.980653 c -0.04383,0 -0.07305,-0.0481 -0.07305,-0.120259 v -2.886244 c 0,-0.07216 0.02922,-0.12026 0.07305,-0.12026 h 2.980653 c 0.04383,0 0.07306,0.0481 0.07306,0.12026 v 2.886244 c 0,0.07216 -0.02922,0.120259 -0.07306,0.120259 z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.824946"
|
||||||
|
id="path1478"
|
||||||
|
d="M 35.26655,72.732652 H 25.054877 c -0.101106,0 -0.168509,-0.154416 -0.168509,-0.386041 0,-0.231624 0.0674,-0.386041 0.168509,-0.386041 H 35.26655 c 0.101106,0 0.16851,0.154417 0.16851,0.386041 0,0.231625 -0.0674,0.386041 -0.16851,0.386041 z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.383166"
|
||||||
|
id="path1480"
|
||||||
|
d="m 44.288171,69.551675 h -2.980653 c -0.04383,0 -0.07305,-0.0481 -0.07305,-0.120259 v -2.886244 c 0,-0.07216 0.02922,-0.12026 0.07305,-0.12026 h 2.980653 c 0.04383,0 0.07306,0.0481 0.07306,0.12026 v 2.886244 c 0,0.07216 -0.02922,0.120259 -0.07306,0.120259 z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.824946"
|
||||||
|
id="path1482"
|
||||||
|
d="m 55.468817,68.27645 h -9.774318 c -0.09678,0 -0.161292,-0.154416 -0.161292,-0.386041 0,-0.231624 0.06452,-0.386041 0.161292,-0.386041 h 9.774318 c 0.09678,0 0.161292,0.154417 0.161292,0.386041 0,0.231625 -0.06452,0.386041 -0.161292,0.386041 z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.383166"
|
||||||
|
id="path1484"
|
||||||
|
d="m 44.288171,74.007877 h -2.980653 c -0.04383,0 -0.07305,-0.0481 -0.07305,-0.120259 v -2.886244 c 0,-0.07216 0.02922,-0.12026 0.07305,-0.12026 h 2.980653 c 0.04383,0 0.07306,0.0481 0.07306,0.12026 v 2.886244 c 0,0.07216 -0.02922,0.120259 -0.07306,0.120259 z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.824946"
|
||||||
|
id="path1486"
|
||||||
|
d="M 57.84248,72.732652 H 45.733033 c -0.119896,0 -0.199826,-0.154416 -0.199826,-0.386041 0,-0.231624 0.07993,-0.386041 0.199826,-0.386041 H 57.84248 c 0.119896,0 0.199827,0.154417 0.199827,0.386041 0,0.231625 -0.07993,0.386041 -0.199827,0.386041 z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.383166"
|
||||||
|
id="path1488"
|
||||||
|
d="m 65.641332,69.551675 h -2.980653 c -0.04383,0 -0.07305,-0.0481 -0.07305,-0.120259 v -2.886244 c 0,-0.07216 0.02922,-0.12026 0.07305,-0.12026 h 2.980653 c 0.04383,0 0.07306,0.0481 0.07306,0.12026 v 2.886244 c 0,0.07216 -0.02922,0.120259 -0.07306,0.120259 z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.824946"
|
||||||
|
id="path1490"
|
||||||
|
d="M 79.01378,68.27645 H 67.083243 c -0.118129,0 -0.196873,-0.154416 -0.196873,-0.386041 0,-0.231624 0.07875,-0.386041 0.196873,-0.386041 H 79.01378 c 0.11813,0 0.196873,0.154417 0.196873,0.386041 0,0.231625 -0.07875,0.386041 -0.196873,0.386041 z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.383166"
|
||||||
|
id="path1492"
|
||||||
|
d="m 65.641332,74.007877 h -2.980653 c -0.04383,0 -0.07305,-0.0481 -0.07305,-0.120259 v -2.886244 c 0,-0.07216 0.02922,-0.12026 0.07305,-0.12026 h 2.980653 c 0.04383,0 0.07306,0.0481 0.07306,0.12026 v 2.886244 c 0,0.07216 -0.02922,0.120259 -0.07306,0.120259 z" />
|
||||||
|
<path
|
||||||
|
style="fill:#e6e7e8;fill-opacity:1;stroke-width:0.824946"
|
||||||
|
id="path1494"
|
||||||
|
d="M 77.508019,72.732652 H 67.058798 c -0.103458,0 -0.17243,-0.154416 -0.17243,-0.386041 0,-0.231624 0.06897,-0.386041 0.17243,-0.386041 h 10.449221 c 0.103458,0 0.17243,0.154417 0.17243,0.386041 0,0.231625 -0.06897,0.386041 -0.17243,0.386041 z" />
|
||||||
|
</svg>
|
After Width: | Height: | Size: 14 KiB |
|
@ -1,8 +1,10 @@
|
||||||
<?php
|
<?php
|
||||||
$prefix = blocksy_manager()->screen->get_prefix();
|
$prefix = blocksy_manager()->screen->get_prefix();
|
||||||
|
|
||||||
$section_label = get_theme_mod($prefix . '_section_items_related_to_this_label', __( 'Items related to this', 'tainacan-blocksy' ));
|
$section_label = get_theme_mod( $prefix . '_section_items_related_to_this_label', __( 'Items related to this', 'tainacan-blocksy' ) );
|
||||||
$max_items_per_screen = get_theme_mod($prefix . '_items_related_to_this_max_items_per_screen', 6);
|
$items_related_to_this_layout = get_theme_mod( $prefix . '_items_related_to_this_layout', 'carousel' );
|
||||||
|
$max_columns_count = get_theme_mod( $prefix . '_items_related_to_this_max_columns_count', 4 );
|
||||||
|
$max_items_per_screen = get_theme_mod( $prefix . '_items_related_to_this_max_items_per_screen', 6 );
|
||||||
|
|
||||||
if ( function_exists('tainacan_the_related_items_carousel') && (get_theme_mod( $prefix . '_display_items_related_to_this', 'no' ) === 'yes') && tainacan_has_related_items() ) : ?>
|
if ( function_exists('tainacan_the_related_items_carousel') && (get_theme_mod( $prefix . '_display_items_related_to_this', 'no' ) === 'yes') && tainacan_has_related_items() ) : ?>
|
||||||
|
|
||||||
|
@ -16,9 +18,11 @@
|
||||||
<div class="tainacan-item-section__items-related-to-this">
|
<div class="tainacan-item-section__items-related-to-this">
|
||||||
<?php
|
<?php
|
||||||
tainacan_the_related_items_carousel([
|
tainacan_the_related_items_carousel([
|
||||||
// 'class_name' => 'mt-2 tainacan-single-post',
|
'items_list_layout' => $items_related_to_this_layout,
|
||||||
// 'collection_heading_class_name' => 'title-content-items',
|
|
||||||
'collection_heading_tag' => 'h3',
|
'collection_heading_tag' => 'h3',
|
||||||
|
'dynamic_items_args' => [
|
||||||
|
'max_columns_count' => $max_columns_count
|
||||||
|
],
|
||||||
'carousel_args' => [
|
'carousel_args' => [
|
||||||
'max_items_per_screen' => $max_items_per_screen
|
'max_items_per_screen' => $max_items_per_screen
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue