2024-04-15 02:25:01 +00:00
{{:ModuleInclude('public/header')}}
2018-12-28 10:58:37 +00:00
<!-- right content start -->
< div class = "content-right" >
2021-04-23 08:43:23 +00:00
< div class = "content" >
<!-- nav start -->
2024-04-15 02:25:01 +00:00
{{if AdminIsPower('themedata', 'upload')}}
< div class = "am-g am-padding-bottom am-border-bottom-f8 am-margin-bottom" >
< div class = "am-flex am-flex-justify-between am-flex-items-center am-flex-warp am-gap-12" >
2024-10-21 02:51:14 +00:00
{{if AdminIsPower('themeadmin', 'upload')}}
< button type = "button" class = "am-btn am-btn-default-plain am-btn-xs am-radius submit-popup" data-url = "{{:MyUrl('admin/themeadmin/index', ['view_type'=>'upload'])}}" data-title = "{{:MyLang('themeadmin.base_upload_theme_name')}}" data-full-max = "1" data-full-max-size = "xl" >
< i class = "iconfont icon-upload" > < / i >
< span > {{:MyLang('themeadmin.base_upload_theme_name')}}< / span >
< / button >
{{/if}}
{{if $is_system_show_base eq 1 and AdminIsPower('packageinstall', 'index') and !empty($store_theme_url)}}
2024-04-15 02:25:01 +00:00
< a class = "am-text-sm am-flex nwarp" href = "{{$store_theme_url}}" target = "_blank" >
2025-09-23 13:22:38 +00:00
< i class = "iconfont icon-download-b-line" > < / i >
2024-04-15 02:25:01 +00:00
< span class = "am-hide-sm-only am-margin-left-xs" > {{:MyLang('themeadmin.base_nav_store_theme_name')}}< / span >
< / a >
{{/if}}
< / div >
2024-01-19 06:49:32 +00:00
< / div >
2024-04-15 02:25:01 +00:00
{{/if}}
2021-04-23 08:43:23 +00:00
<!-- nav end -->
2018-12-28 10:58:37 +00:00
2021-04-23 08:43:23 +00:00
<!-- list start -->
{{if !empty($data_list)}}
2024-04-15 02:25:01 +00:00
< ul data-am-widget = "gallery" class = "am-gallery am-avg-sm-2 am-avg-md-4 am-avg-lg-6 am-gallery-bordered data-list" data-am-gallery = "{}" data-select-url = "{{:MyUrl('admin/themeadmin/save')}}" >
2021-04-23 08:43:23 +00:00
{{foreach $data_list as $v}}
< li id = "data-list-{{$v.theme}}" >
2024-04-15 02:25:01 +00:00
< div class = "am-gallery-item am-radius am-nbfc am-padding-0 {{if $v['theme'] eq $theme}}theme-active{{else/}}theme-no-active{{/if}}" >
< i class = "iconfont icon-check theme-active-check {{if $v['theme'] neq $theme}}am-hide{{/if}}" > < / i >
2021-04-23 08:43:23 +00:00
< a href = "javascript:;" class = "select-theme am-block" data-theme = "{{$v.theme}}" >
< img src = "{{$v.preview}}" alt = "{{$v.name}}" class = "am-block" / >
< / a >
< div class = "am-gallery-item-bottom am-padding-sm" >
< h3 class = "am-gallery-title am-margin-top-0" >
2024-04-15 02:25:01 +00:00
< span > {{$v.name}}< / span >
2021-04-23 08:43:23 +00:00
< div class = "am-fr am-text-right" >
2026-03-04 02:21:47 +00:00
{{if AdminIsPower('packageupgrade', 'upgrade') and !empty($upgrade_info) and isset($upgrade_info[$v['theme']]) and version_compare($upgrade_info[$v['theme']]['version_new'], $v['ver'], '>')}}
2023-02-01 14:41:26 +00:00
< a href = "javascript:;" class = "am-icon-refresh am-text-danger package-upgrade-event" title = "{{:MyLang('update_title')}}" data-type = "webtheme" data-name = "{{$v.name}}" data-value = "{{$v.theme}}" data-json = "{{:urlencode(json_encode($upgrade_info[$v['theme']]))}}" > < / a >
2021-04-23 08:43:23 +00:00
{{/if}}
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true}}
2026-03-04 02:21:47 +00:00
{{if AdminIsPower('themeadmin', 'storeuploadinfo')}}
< a href = "javascript:;" class = "am-icon-upload am-margin-left-sm am-text-success {{if $v['theme'] eq $theme}}am-color-ccc{{/if}} theme-upload-submit submit-popup" data-url = "{{:MyUrl('admin/themeadmin/storeuploadinfo', ['id'=>$v['theme']])}}" data-title = "{{:MyLang('upload_title')}}" title = "{{:MyLang('upload_title')}}" > < / a >
{{/if}}
{{if AdminIsPower('themeadmin', 'download')}}
< a href = "{{:MyUrl('admin/themeadmin/download', ['id'=>$v['theme']])}}" class = "iconfont am-icon-download am-margin-left-sm theme-download-submit {{if $v['theme'] eq $theme}}am-color-ccc{{/if}}" title = "{{:MyLang('download_title')}}" > < / a >
{{/if}}
2024-04-15 02:25:01 +00:00
{{/if}}
{{if isset($v['is_theme_data_admin']) and $v['is_theme_data_admin'] eq 1}}
< a href = "{{:MyUrl('index/index/index', ['default_theme'=>$v['theme'], 'is_theme_data_admin'=>1, 'admin_url_data'=>urlencode(base64_encode(json_encode($admin_url_data)))])}}" target = "_blank" class = "am-icon-cog am-margin-left-sm am-color-ccc theme-data-admin-submit {{if $v['theme'] neq $theme}}am-hide{{/if}}" title = "{{:MyLang('admin_title')}}" > < / a >
2021-04-23 08:43:23 +00:00
{{/if}}
2026-03-04 02:21:47 +00:00
{{if AdminIsPower('themeadmin', 'delete') and $v.is_delete eq 1}}
2024-07-03 14:46:04 +00:00
< a href = "javascript:;" class = "iconfont icon-delete submit-delete am-margin-left-sm am-text-warning {{if $v['theme'] eq $theme}}am-hide{{/if}}" title = "{{:MyLang('delete_title')}}" data-url = "{{:MyUrl('admin/themeadmin/delete')}}" data-id = "{{$v.theme}}" > < / a >
2021-04-23 08:43:23 +00:00
{{/if}}
2023-08-27 08:59:15 +00:00
{{if !empty($upgrade_info) and isset($upgrade_info[$v['theme']]) and !empty($upgrade_info[$v['theme']]['version_main']) and $upgrade_info[$v['theme']]['version_main'] neq $v['ver']}}
< span class = "am-fr am-text-danger am-margin-left-sm" > v{{$upgrade_info[$v['theme']]['version_main']}}< / span >
{{/if}}
2021-04-23 08:43:23 +00:00
< / div >
< / h3 >
2024-04-15 02:25:01 +00:00
< div class = "am-gallery-desc" > {{:MyLang('themeadmin.list_author_title')}}:
2021-04-23 08:43:23 +00:00
{{if empty($v['home'])}}
{{$v.author}}
{{else /}}
< a href = "{{$v.home}}" target = "_blank" > {{$v.author}}< / a >
{{/if}}
< / div >
2024-04-15 02:25:01 +00:00
< div class = "am-gallery-desc" > {{:MyLang('themeadmin.list_version_title')}}: {{$v.ver}}< / div >
2021-04-23 08:43:23 +00:00
< / div >
< / div >
< / li >
{{/foreach}}
< ul >
{{else /}}
2024-04-15 02:25:01 +00:00
{{:ModuleInclude('public/not_data')}}
2021-04-23 08:43:23 +00:00
{{/if}}
2024-01-19 06:49:32 +00:00
<!-- list end -->
2021-04-23 08:43:23 +00:00
< / div >
2018-12-28 10:58:37 +00:00
< / div >
<!-- right content end -->
<!-- footer start -->
2024-04-15 02:25:01 +00:00
{{:ModuleInclude('public/footer')}}