vr-shopxo-source/application/admin/view/default/theme/index.html

54 lines
2.0 KiB
HTML
Raw Normal View History

2018-12-28 10:58:37 +00:00
{{include file="public/header" /}}
<!-- right content start -->
<div class="content-right">
<div class="content">
<!-- nav start -->
{{include file="theme/nav" /}}
<!-- nav end -->
<!-- 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}}">
2020-08-15 03:25:48 +00:00
<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}}">
2020-11-21 08:42:35 +00:00
<img src="{{$v.preview}}" alt="{{$v.name}}" class="am-block" />
2018-12-28 10:58:37 +00:00
</a>
2020-11-21 08:42:35 +00:00
<div class="am-gallery-item-bottom am-padding-sm">
2020-08-15 03:25:48 +00:00
<h3 class="am-gallery-title am-margin-top-0">
2018-12-28 10:58:37 +00:00
{{$v.name}}
2019-06-16 08:22:43 +00:00
<div class="am-fr am-text-right">
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true}}
2020-11-21 08:42:35 +00:00
<a href="{{:MyUrl('admin/theme/download', ['id'=>$v['theme']])}}" class="am-icon-trash-o am-icon-download" title="打包"></a>
2019-06-16 08:22:43 +00:00
{{/if}}
{{if $v.is_delete eq 1}}
<a href="javascript:;" class="am-icon-trash-o submit-delete am-margin-left-sm" title="删除" data-url="{{:MyUrl('admin/theme/delete')}}" data-id="{{$v.theme}}"></a>
{{/if}}
</div>
2018-12-28 10:58:37 +00:00
</h3>
<div class="am-gallery-desc">作者:
{{if empty($v['home'])}}
{{$v.author}}
{{else /}}
<a href="{{$v.home}}" target="_blank">{{$v.author}}</a>
{{/if}}
</div>
<div class="am-gallery-desc">适用版本:{{$v.ver}}</div>
</div>
</div>
</li>
{{/foreach}}
<ul>
{{else /}}
2020-09-12 11:48:26 +00:00
{{include file="public/not_data" /}}
2018-12-28 10:58:37 +00:00
{{/if}}
<!-- lis end -->
</div>
</div>
<!-- right content end -->
<!-- footer start -->
{{include file="public/footer" /}}
<!-- footer end -->