{$layout "layout_popup"}

<h3>批量上传证书</h3>

<form class="ui form" data-tea-success="successUpload" data-tea-action="$" data-tea-before="before" data-tea-done="done" data-tea-timeout="600">
    <csrf-token></csrf-token>
    <table class="ui table definition selectable">
        <tr>
            <td class="title">选择要上传的证书和私钥文件 *</td>
            <td>
                <input type="file" name="certFiles" accept="application/x-pem-file, application/pkcs10, application/x-pkcs12, application/x-x509-user-cert, application/x-x509-ca-cert, application/pkix-cert, application/pkcs8, .key, .pem" multiple="multiple"/>
                <p class="comment">点击后在弹出的文件选择框中支持多选；不用担心文件名和顺序问题，系统会自动匹配。</p>
            </td>
        </tr>
    </table>
    <submit-btn v-show="!isRequesting">上传</submit-btn>
    <button class="ui button disabled " type="button" v-if="isRequesting">上传中...</button>
</form>