<!-- 操作栏 -->
{{if AdminIsPower('design', 'detail')}}
    <button type="button" class="am-btn am-btn-default am-btn-xs am-radius am-btn-block submit-popup" data-url="{{:MyUrl('admin/design/detail', ['id'=>$module_data['id']])}}" data-title="{{:MyLang('detail_title')}}">
        <i class="am-icon-eye"></i>
        <span>{{:MyLang('detail_title')}}</span>
    </button>
{{/if}}
<a class="am-btn am-btn-default am-btn-xs am-radius am-btn-block" href="{{:MyUrl('index/design/index', ['id'=>$module_data['id']])}}" target="_blank">
    <i class="am-icon-eye"></i>
    <span>{{:MyLang('view_title')}}</span>
</a>
{{if AdminIsPower('design', 'sync')}}
    <button type="button" class="am-btn am-btn-warning am-btn-xs am-radius am-btn-block submit-ajax" data-url="{{:MyUrl('admin/design/sync')}}" data-id="{{$module_data.id}}" data-msg="{{:MyLang('design.operate_sync_tips')}}">
        <i class="am-icon-refresh"></i>
        <span>{{:MyLang('sync_title')}}</span>
    </button>
{{/if}}
{{if AdminIsPower('design', 'download')}}
    <a class="am-btn am-btn-success am-btn-xs am-radius am-btn-block" href="{{:MyUrl('admin/design/download', array_merge($form_back_params, ['id'=>$module_data['id']]))}}" target="_blank">
        <i class="am-icon-download"></i>
        <span>{{:MyLang('download_title')}}</span>
    </a>
{{/if}}
{{if AdminIsPower('design', 'saveinfo')}}
    <a class="am-btn am-btn-secondary am-btn-xs am-radius am-btn-block" href="{{:MyUrl('admin/design/saveinfo', array_merge($form_back_params, ['id'=>$module_data['id']]))}}" target="_blank">
        <i class="am-icon-edit"></i>
        <span>{{:MyLang('edit_title')}}</span>
    </a>
{{/if}}
{{if AdminIsPower('design', 'delete')}}
    <button type="button" class="am-btn am-btn-danger am-btn-xs am-radius am-btn-block submit-delete" data-url="{{:MyUrl('admin/design/delete')}}" data-id="{{$module_data.id}}" data-key="ids">
        <i class="iconfont icon-delete"></i>
        <span>{{:MyLang('delete_title')}}</span>
    </button>
{{/if}}