2018-12-28 10:58:37 +00:00
{{include file="public/header" /}}
<!-- right content start -->
< div class = "content-right" >
2021-04-23 08:43:23 +00:00
< div class = "content" >
<!-- nav start -->
{{include file="theme/nav" /}}
<!-- nav end -->
2018-12-28 10:58:37 +00:00
2021-04-23 08:43:23 +00:00
<!-- list start -->
{{if !empty($data_list)}}
< ul data-am-widget = "gallery" class = "am-gallery am-avg-sm-2 am-avg-md-3 am-avg-lg-4 am-gallery-bordered data-list" data-am-gallery = "{}" data-select-url = "{{:MyUrl('admin/theme/save')}}" >
{{foreach $data_list as $v}}
< li id = "data-list-{{$v.theme}}" >
< div class = "am-gallery-item am-radius am-padding-0 {{if $v['theme'] eq $theme}}theme-active{{/if}}" >
< 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" >
{{$v.name}}
< div class = "am-fr am-text-right" >
2023-08-27 08:59:15 +00:00
{{if !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}}
2023-02-01 14:41:26 +00:00
< a href = "{{:MyUrl('admin/theme/download', ['id'=>$v['theme']])}}" class = "am-icon-trash-o am-icon-download am-margin-left-sm" title = "{{:MyLang('download_title')}}" > < / a >
2021-04-23 08:43:23 +00:00
{{/if}}
{{if $v.is_delete eq 1}}
2023-02-01 14:41:26 +00:00
< a href = "javascript:;" class = "am-icon-trash-o submit-delete am-margin-left-sm am-text-warning" title = "{{:MyLang('delete_title')}}" data-url = "{{:MyUrl('admin/theme/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 >
2023-02-13 09:55:04 +00:00
< div class = "am-gallery-desc" > {{:MyLang('theme.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 >
2023-02-13 09:55:04 +00:00
< div class = "am-gallery-desc" > {{:MyLang('theme.list_version_title')}}: {{$v.ver}}< / div >
2021-04-23 08:43:23 +00:00
< / div >
< / div >
< / li >
{{/foreach}}
< ul >
{{else /}}
{{include file="public/not_data" /}}
{{/if}}
<!-- lis end -->
< / div >
2018-12-28 10:58:37 +00:00
< / div >
<!-- right content end -->
<!-- footer start -->
{{include file="public/footer" /}}
<!-- footer end -->