{{:ModuleInclude('public/header')}}

<!-- right content start  -->
<div class="content-right">
    <!-- second nav start -->
    {{:ModuleInclude('appmini/nav')}}
    <!-- second nav end -->
    <div class="content">
        <!-- nav start -->
        {{:ModuleInclude('appmini/base_nav')}}
        <!-- nav end -->

        <!-- form start -->
        <form class="am-form form-validation am-margin-top-sm" action="{{:MyUrl('admin/appmini/themeupload')}}" method="POST" request-type="ajax-url" request-value="{{:MyUrl('admin/appmini/index', ['nav_type'=>$nav_type])}}" enctype="multipart/form-data">
            <div class="am-form-group am-form-group-refreshing am-margin-bottom-0">
                <div class="am-form-file">
                    <button type="button" class="am-btn am-btn-default am-btn-xs am-radius">
                    <i class="am-icon-cloud-upload"></i> {{:MyLang('form_choice_file_title')}}</button>
                    <input type="file" name="theme" class="file-event" data-tips-tag="#form-theme-tips" data-validation-message="{{:MyLang('form_upload_file_message')}}" accept=".zip" required />
                    <span class="tips am-text-xs">{{:MyLang('appmini.form_theme_upload_tips')}}</span>
                    <div id="form-theme-tips" class="am-margin-top-xs"></div>
                </div>
            </div>
            <div class="am-form-group am-form-group-refreshing">
                <input type="hidden" name="nav_type" value="{{$nav_type}}" />
                <button type="submit" class="am-btn am-btn-primary am-radius btn-loading-example am-btn-xs" data-am-loading="{loadingText:'{{:MyLang('upload_tips')}}'}">{{:MyLang('confirm_upload_title')}}</button>
            </div>
        </form>
        <!-- form end -->
    </div>
</div>
<!-- right content end  -->

<!-- footer start -->
{{:ModuleInclude('public/footer')}}