Last active
December 14, 2023 20:51
-
-
Save Sentinel-7/243bf9eecd29ae40af6b622477409435 to your computer and use it in GitHub Desktop.
migx в migx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"formtabs":[ | |
{ | |
"MIGX_id":2, | |
"caption":"\u0412\u043a\u043b\u0430\u0434\u043a\u0430", | |
"print_before_tabs":"0", | |
"fields":[ | |
{ | |
"MIGX_id":4, | |
"field":"tab_name", | |
"caption":"\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0432\u043a\u043b\u0430\u0434\u043a\u0438", | |
"description":"", | |
"description_is_code":"0", | |
"inputTV":"", | |
"inputTVtype":"", | |
"validation":"", | |
"configs":"", | |
"restrictive_condition":"", | |
"display":"", | |
"sourceFrom":"config", | |
"sources":"", | |
"inputOptionValues":"", | |
"default":"", | |
"useDefaultIfEmpty":"0", | |
"pos":1 | |
}, | |
{ | |
"MIGX_id":5, | |
"field":"video", | |
"caption":"Video", | |
"description":"", | |
"description_is_code":"0", | |
"inputTV":"video_in", | |
"inputTVtype":"", | |
"validation":"", | |
"configs":"", | |
"restrictive_condition":"", | |
"display":"", | |
"sourceFrom":"config", | |
"sources":"", | |
"inputOptionValues":"", | |
"default":"", | |
"useDefaultIfEmpty":"0", | |
"pos":2 | |
} | |
], | |
"pos":1 | |
} | |
], | |
"contextmenus":"", | |
"actionbuttons":"", | |
"columnbuttons":"edit_migx||duplicate_migx||remove_migx", | |
"filters":"", | |
"extended":{ | |
"migx_add":"", | |
"disable_add_item":"", | |
"add_items_directly":"", | |
"formcaption":"", | |
"update_win_title":"", | |
"win_id":"", | |
"maxRecords":"", | |
"addNewItemAt":"bottom", | |
"media_source_id":"", | |
"multiple_formtabs":"", | |
"multiple_formtabs_label":"", | |
"multiple_formtabs_field":"", | |
"multiple_formtabs_optionstext":"", | |
"multiple_formtabs_optionsvalue":"", | |
"actionbuttonsperrow":4, | |
"winbuttonslist":"", | |
"extrahandlers":"", | |
"filtersperrow":4, | |
"packageName":"", | |
"classname":"", | |
"task":"", | |
"getlistsort":"", | |
"getlistsortdir":"", | |
"sortconfig":"", | |
"gridpagesize":"", | |
"use_custom_prefix":"0", | |
"prefix":"", | |
"grid":"", | |
"gridload_mode":1, | |
"check_resid":1, | |
"check_resid_TV":"", | |
"join_alias":"", | |
"has_jointable":"yes", | |
"getlistwhere":"", | |
"joins":"", | |
"hooksnippets":"", | |
"cmpmaincaption":"", | |
"cmptabcaption":"", | |
"cmptabdescription":"", | |
"cmptabcontroller":"", | |
"winbuttons":"", | |
"onsubmitsuccess":"", | |
"submitparams":"" | |
}, | |
"columns":[ | |
{ | |
"MIGX_id":1, | |
"header":"\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0432\u043a\u043b\u0430\u0434\u043a\u0438", | |
"dataIndex":"tab_name", | |
"width":200, | |
"sortable":"false", | |
"show_in_grid":1, | |
"customrenderer":"", | |
"renderer":"", | |
"clickaction":"", | |
"selectorconfig":"", | |
"renderchunktpl":"", | |
"renderoptions":"", | |
"editor":"" | |
}, | |
{ | |
"MIGX_id":2, | |
"header":"\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u044f", | |
"dataIndex":"actions", | |
"width":"", | |
"sortable":"false", | |
"show_in_grid":1, | |
"customrenderer":"", | |
"renderer":"this.renderRowActions", | |
"clickaction":"", | |
"selectorconfig":"", | |
"renderchunktpl":"", | |
"renderoptions":"", | |
"editor":"" | |
} | |
], | |
"category":"" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"formtabs":[ | |
{ | |
"MIGX_id":3, | |
"caption":"\u0412\u043a\u043b\u0430\u0434\u043a\u0430", | |
"print_before_tabs":"0", | |
"fields":[ | |
{ | |
"MIGX_id":10, | |
"field":"file", | |
"caption":"Video", | |
"description":"", | |
"description_is_code":"0", | |
"inputTV":"", | |
"inputTVtype":"file", | |
"validation":"", | |
"configs":"", | |
"restrictive_condition":"", | |
"display":"", | |
"sourceFrom":"config", | |
"sources":"", | |
"inputOptionValues":"", | |
"default":"", | |
"useDefaultIfEmpty":"0", | |
"pos":1 | |
}, | |
{ | |
"MIGX_id":11, | |
"field":"img", | |
"caption":"Image", | |
"description":"", | |
"description_is_code":"0", | |
"inputTV":"", | |
"inputTVtype":"image", | |
"validation":"", | |
"configs":"", | |
"restrictive_condition":"", | |
"display":"", | |
"sourceFrom":"config", | |
"sources":"", | |
"inputOptionValues":"", | |
"default":"", | |
"useDefaultIfEmpty":"0", | |
"pos":2 | |
}, | |
{ | |
"MIGX_id":12, | |
"field":"title", | |
"caption":"Pagetitle", | |
"description":"", | |
"description_is_code":"0", | |
"inputTV":"", | |
"inputTVtype":"", | |
"validation":"", | |
"configs":"", | |
"restrictive_condition":"", | |
"display":"", | |
"sourceFrom":"config", | |
"sources":"", | |
"inputOptionValues":"", | |
"default":"", | |
"useDefaultIfEmpty":"0", | |
"pos":3 | |
}, | |
{ | |
"MIGX_id":13, | |
"field":"intro", | |
"caption":"Introtext", | |
"description":"", | |
"description_is_code":"0", | |
"inputTV":"", | |
"inputTVtype":"textarea", | |
"validation":"", | |
"configs":"", | |
"restrictive_condition":"", | |
"display":"", | |
"sourceFrom":"config", | |
"sources":"", | |
"inputOptionValues":"", | |
"default":"", | |
"useDefaultIfEmpty":"0", | |
"pos":4 | |
} | |
], | |
"pos":1 | |
} | |
], | |
"contextmenus":"", | |
"actionbuttons":"", | |
"columnbuttons":"", | |
"filters":"", | |
"extended":{ | |
"migx_add":"", | |
"disable_add_item":"", | |
"add_items_directly":"", | |
"formcaption":"", | |
"update_win_title":"", | |
"win_id":"", | |
"maxRecords":"", | |
"addNewItemAt":"bottom", | |
"media_source_id":"", | |
"multiple_formtabs":"", | |
"multiple_formtabs_label":"", | |
"multiple_formtabs_field":"", | |
"multiple_formtabs_optionstext":"", | |
"multiple_formtabs_optionsvalue":"", | |
"actionbuttonsperrow":4, | |
"winbuttonslist":"", | |
"extrahandlers":"", | |
"filtersperrow":4, | |
"packageName":"", | |
"classname":"", | |
"task":"", | |
"getlistsort":"", | |
"getlistsortdir":"", | |
"sortconfig":"", | |
"gridpagesize":"", | |
"use_custom_prefix":"0", | |
"prefix":"", | |
"grid":"", | |
"gridload_mode":1, | |
"check_resid":1, | |
"check_resid_TV":"", | |
"join_alias":"", | |
"has_jointable":"yes", | |
"getlistwhere":"", | |
"joins":"", | |
"hooksnippets":"", | |
"cmpmaincaption":"", | |
"cmptabcaption":"", | |
"cmptabdescription":"", | |
"cmptabcontroller":"", | |
"winbuttons":"", | |
"onsubmitsuccess":"", | |
"submitparams":"" | |
}, | |
"columns":[ | |
{ | |
"MIGX_id":1, | |
"header":"Video", | |
"dataIndex":"file", | |
"width":"", | |
"sortable":"false", | |
"show_in_grid":1, | |
"customrenderer":"", | |
"renderer":"", | |
"clickaction":"", | |
"selectorconfig":"", | |
"renderchunktpl":"", | |
"renderoptions":"", | |
"editor":"" | |
}, | |
{ | |
"MIGX_id":2, | |
"header":"Image", | |
"dataIndex":"img", | |
"width":"", | |
"sortable":"false", | |
"show_in_grid":1, | |
"customrenderer":"", | |
"renderer":"this.renderImage", | |
"clickaction":"", | |
"selectorconfig":"", | |
"renderchunktpl":"", | |
"renderoptions":"", | |
"editor":"" | |
}, | |
{ | |
"MIGX_id":3, | |
"header":"Pagetitle", | |
"dataIndex":"title", | |
"width":"", | |
"sortable":"false", | |
"show_in_grid":1, | |
"customrenderer":"", | |
"renderer":"", | |
"clickaction":"", | |
"selectorconfig":"", | |
"renderchunktpl":"", | |
"renderoptions":"", | |
"editor":"" | |
}, | |
{ | |
"MIGX_id":4, | |
"header":"Introtext", | |
"dataIndex":"intro", | |
"width":"", | |
"sortable":"false", | |
"show_in_grid":1, | |
"customrenderer":"", | |
"renderer":"", | |
"clickaction":"", | |
"selectorconfig":"", | |
"renderchunktpl":"", | |
"renderoptions":"", | |
"editor":"" | |
} | |
], | |
"category":"" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{if $_modx->resource.pr?} | |
{foreach $_modx->resource.pr | fromJSON as $item} | |
<section class="pt-12 pb-lg-13 pb-13"> | |
<div class="container container-xxl"> | |
<div class="text-center py-13"> | |
<div class="container"> | |
<h2 class="mb-0">{$item.title}</h2> | |
<p class="fs-18px mw-xl-50 mw-lg-75 ms-auto me-auto mt-7 mb-3 pb-2">{$item.txt}</p> | |
</div> | |
</div> | |
<div class="row"> | |
{$item|print} | |
{foreach $item.inner | fromJSON as $row index=$idx} | |
<div class="col-xl-3 col-md-6" data-animate="fadeInUp"> | |
<div class="icon-box icon-box-style-1 card border-0 text-center"> | |
<div class="icon-box-icon card-img fs-70px text-primary"> | |
<img src="{($assets~$item.img) | pthumb : 'w=70&zc=0&q=75&f=webp&bg=ffffff'}" alt="{$row.title_in}"> | |
</div> | |
<div class="icon-box-content card-body pt-4"> | |
<h3 class="icon-box-title card-title fs-5 mb-4 pb-2">{$row.title_in}</h3> | |
<p class="icon-box-desc card-text fs-18px mb-0">{$row.txt2}</p> | |
</div> | |
</div> | |
</div> | |
{/foreach} | |
</div> | |
</div> | |
</section> | |
{/foreach} | |
{/if} | |
{if $_modx->resource.video?} | |
<div class="mxp-container-container-3VGkW container"> | |
<h2 class="text-center">Lernen Sie Ihr neues Traumfahrzeug besser kennen</h2> | |
<div class="row mxp-main-tabs-panels-3UsaE"> | |
<ul class="nav nav-tabs"> | |
{foreach $_modx->resource.video | fromJSON as $item} | |
<li class="nav-item"> | |
<a class="nav-link {if $steps@index == 0}active{/if}" data-toggle="tab" href="#tab{$steps@index}">{$item.tab_name}</a> | |
</li> | |
{/foreach} | |
</ul> | |
<div class="tab-content mxp-main-carouselWrapper-14G8G"> | |
{foreach $_modx->resource.video | fromJSON as $item} | |
<div class="tab-pane fade show {if $steps@index == 0}active{/if}" id="tab{$steps@index}"> | |
<div class="row row--flex slider-video"> | |
{foreach $item.video | fromJSON as $row index=$idx} | |
<div class="col-lg-4 col-md-4 col-sm-12" data-module="card"> | |
<a class="mxp-card-container-1VuQ9 video" data-toggle="modal" | |
data-src="{$row.file}" data-target="#videoModal"> | |
<div class="mxp-card-thumb-wrapper-VW87S"> | |
<div class="mxp-card-thumb-2CVUC" | |
style="background-image: url("{$row.img}");"> | |
</div> | |
<div class="mxp-card-icon-overlay-container-1kOnw"> | |
<div class="mxp-card-thumb-icon-39Oiw"><i | |
class="mxp-styles-no-stroke-1kgHv mxp-card-icon-3ME0J"><svg version="1.1" | |
id="Layer_1" xmlns="http://www.w3.org/2000/svg" | |
xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" | |
viewBox="0 0 20 20" enable-background="new 0 0 20 20" | |
xml:space="preserve"> | |
<g> | |
<path | |
d="M1.7,18.4c-0.1-0.1-0.2-0.2-0.2-0.3V1.9c0-0.1,0.1-0.2,0.2-0.3c0.1-0.1,0.2-0.1,0.4,0l16.3,8.1c0.1,0.1,0.2,0.2,0.2,0.3 c0,0.1-0.1,0.3-0.2,0.3L2,18.5c-0.1,0-0.1,0-0.2,0C1.8,18.5,1.7,18.5,1.7,18.4z"> | |
</path> | |
</g> | |
</svg></i></div> | |
</div> | |
</div> | |
<div class="mxp-card-content-2tYwK aligncenter"> | |
<div class="mxp-card-content__desc-wrapper-19A2O aligncenter"> | |
<div class="mxp-card-card-title-90Ong title--h4 title--spacer-s">{$row.title}</div> | |
<div class="mxp-card-card-description-2x-Qi"> | |
<div class="LinesEllipsis LinesEllipsis--clamped "> | |
<div>{$row.intro}<span | |
class="LinesEllipsis-unit">.</span><span><wbr><span | |
class="LinesEllipsis-ellipsis">…</span></span></div> | |
</div> | |
</div> | |
</div> | |
<div class="mxp-card-content__cta-wrapper--LDxb aligncenter"></div> | |
</div> | |
</a> | |
</div> | |
{/foreach} | |
</div> | |
</div> | |
{/foreach} | |
</div> | |
</div> | |
</div> | |
<div class="modal fade" id="videoModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"> | |
<div class="modal-dialog modal-lg modal-dialog-centered" role="document"> | |
<div class="modal-content"> | |
<div class="modal-body"> | |
<button type="button" class="close" data-dismiss="modal" aria-label="Close"> | |
<span aria-hidden="true">×</span> | |
</button> | |
<!-- 16:9 aspect ratio --> | |
<div class="embed-responsive embed-responsive-16by9"> | |
<iframe class="embed-responsive-item" src="" id="video" allowscriptaccess="always" allow="autoplay" allowfullscreen></iframe> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
{/if} | |
1 ======================================= | |
{ | |
"formtabs":[ | |
{ | |
"MIGX_id":2, | |
"caption":"\u0411\u043b\u043e\u043a", | |
"print_before_tabs":"0", | |
"fields":[ | |
{ | |
"MIGX_id":9, | |
"field":"title", | |
"caption":"\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438", | |
"description":"", | |
"description_is_code":"0", | |
"inputTV":"", | |
"inputTVtype":"", | |
"validation":"", | |
"configs":"", | |
"restrictive_condition":"", | |
"display":"", | |
"sourceFrom":"config", | |
"sources":"", | |
"inputOptionValues":"", | |
"default":"", | |
"useDefaultIfEmpty":"0", | |
"pos":1 | |
}, | |
{ | |
"MIGX_id":12, | |
"field":"inner", | |
"caption":"\u0417\u0430\u0435\u0437\u0434\u044b", | |
"description":"", | |
"description_is_code":"0", | |
"inputTV":"category_inner", | |
"inputTVtype":"", | |
"validation":"", | |
"configs":"", | |
"restrictive_condition":"", | |
"display":"", | |
"sourceFrom":"config", | |
"sources":"", | |
"inputOptionValues":"", | |
"default":"", | |
"useDefaultIfEmpty":"0", | |
"pos":2 | |
} | |
], | |
"pos":1 | |
} | |
], | |
"contextmenus":"", | |
"actionbuttons":"", | |
"columnbuttons":"", | |
"filters":"", | |
"extended":{ | |
"migx_add":"", | |
"disable_add_item":"", | |
"add_items_directly":"", | |
"formcaption":"", | |
"update_win_title":"", | |
"win_id":38, | |
"maxRecords":"", | |
"addNewItemAt":"bottom", | |
"media_source_id":"", | |
"multiple_formtabs":"", | |
"multiple_formtabs_label":"", | |
"multiple_formtabs_field":"", | |
"multiple_formtabs_optionstext":"", | |
"multiple_formtabs_optionsvalue":"", | |
"actionbuttonsperrow":4, | |
"winbuttonslist":"", | |
"extrahandlers":"", | |
"filtersperrow":4, | |
"packageName":"", | |
"classname":"", | |
"task":"", | |
"getlistsort":"", | |
"getlistsortdir":"", | |
"sortconfig":"", | |
"gridpagesize":"", | |
"use_custom_prefix":"0", | |
"prefix":"", | |
"grid":"", | |
"gridload_mode":1, | |
"check_resid":1, | |
"check_resid_TV":"", | |
"join_alias":"", | |
"has_jointable":"yes", | |
"getlistwhere":"", | |
"joins":"", | |
"hooksnippets":"", | |
"cmpmaincaption":"", | |
"cmptabcaption":"", | |
"cmptabdescription":"", | |
"cmptabcontroller":"", | |
"winbuttons":"", | |
"onsubmitsuccess":"", | |
"submitparams":"" | |
}, | |
"permissions":"", | |
"fieldpermissions":"", | |
"columns":[ | |
{ | |
"MIGX_id":1, | |
"header":"\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438", | |
"dataIndex":"title", | |
"width":"", | |
"sortable":"false", | |
"show_in_grid":1, | |
"customrenderer":"", | |
"renderer":"", | |
"clickaction":"", | |
"selectorconfig":"", | |
"renderchunktpl":"", | |
"renderoptions":"", | |
"editor":"" | |
} | |
], | |
"category":"" | |
} | |
2 ======================================================= | |
{ | |
"formtabs":[ | |
{ | |
"MIGX_id":5, | |
"caption":"\u0411\u043b\u043e\u043a", | |
"print_before_tabs":"0", | |
"fields":[ | |
{ | |
"MIGX_id":14, | |
"field":"title_in", | |
"caption":"\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a", | |
"description":"", | |
"description_is_code":"0", | |
"inputTV":"", | |
"inputTVtype":"", | |
"validation":"", | |
"configs":"", | |
"restrictive_condition":"", | |
"display":"", | |
"sourceFrom":"config", | |
"sources":"", | |
"inputOptionValues":"", | |
"default":"", | |
"useDefaultIfEmpty":"0", | |
"pos":1 | |
}, | |
{ | |
"MIGX_id":15, | |
"field":"file", | |
"caption":"\u0424\u0430\u0439\u043b", | |
"description":"", | |
"description_is_code":"0", | |
"inputTV":"file", | |
"inputTVtype":"file", | |
"validation":"", | |
"configs":"", | |
"restrictive_condition":"", | |
"display":"", | |
"sourceFrom":"config", | |
"sources":"", | |
"inputOptionValues":"", | |
"default":"", | |
"useDefaultIfEmpty":"0", | |
"pos":2 | |
} | |
], | |
"pos":1 | |
} | |
], | |
"contextmenus":"", | |
"actionbuttons":"", | |
"columnbuttons":"", | |
"filters":"", | |
"extended":{ | |
"migx_add":"", | |
"disable_add_item":"", | |
"add_items_directly":"", | |
"formcaption":"", | |
"update_win_title":"", | |
"win_id":"", | |
"maxRecords":"", | |
"addNewItemAt":"bottom", | |
"media_source_id":"", | |
"multiple_formtabs":"", | |
"multiple_formtabs_label":"", | |
"multiple_formtabs_field":"", | |
"multiple_formtabs_optionstext":"", | |
"multiple_formtabs_optionsvalue":"", | |
"actionbuttonsperrow":4, | |
"winbuttonslist":"", | |
"extrahandlers":"", | |
"filtersperrow":4, | |
"packageName":"", | |
"classname":"", | |
"task":"", | |
"getlistsort":"", | |
"getlistsortdir":"", | |
"sortconfig":"", | |
"gridpagesize":"", | |
"use_custom_prefix":"0", | |
"prefix":"", | |
"grid":"", | |
"gridload_mode":1, | |
"check_resid":1, | |
"check_resid_TV":"", | |
"join_alias":"", | |
"has_jointable":"yes", | |
"getlistwhere":"", | |
"joins":"", | |
"hooksnippets":"", | |
"cmpmaincaption":"", | |
"cmptabcaption":"", | |
"cmptabdescription":"", | |
"cmptabcontroller":"", | |
"winbuttons":"", | |
"onsubmitsuccess":"", | |
"submitparams":"" | |
}, | |
"permissions":"", | |
"fieldpermissions":"", | |
"columns":[ | |
{ | |
"MIGX_id":1, | |
"header":"\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a", | |
"dataIndex":"title_in", | |
"width":"", | |
"sortable":"false", | |
"show_in_grid":1, | |
"customrenderer":"", | |
"renderer":"", | |
"clickaction":"", | |
"selectorconfig":"", | |
"renderchunktpl":"", | |
"renderoptions":"", | |
"editor":"" | |
}, | |
{ | |
"MIGX_id":3, | |
"header":"\u0424\u0430\u0439\u043b", | |
"dataIndex":"file", | |
"width":"", | |
"sortable":"false", | |
"show_in_grid":1, | |
"customrenderer":"", | |
"renderer":"", | |
"clickaction":"", | |
"selectorconfig":"", | |
"renderchunktpl":"", | |
"renderoptions":"", | |
"editor":"" | |
} | |
], | |
"category":"" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment