Commit fb3b82da by shuangcheng

File Upload xiu gai

parent d783de2c
......@@ -8,11 +8,14 @@
<div class="form-fields">
<div class="field field-file is-required">
<label class="field-label sr" for="file-upload-form-file"><%- inputLabel %></label>
<input id="file-upload-form-file" class="input input-file" name="uploaded-file" type="file"
<div class="orhonmgl">
<input id="file-upload-form-file" class="input input-file input-file-1" name="uploaded-file" type="file" data-multiple-caption="{count} ᠹᠠᠢᠢᠯ ᠰᠣᠩᠭᠣᠪᠠ" multiple
<% if (extensions) { %>
accept="<%- extensions %>"
<% } %>
/>
/><label for="file-upload-form-file"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="17" viewBox="0 0 20 17"><path d="M10 0l-5.2 4.9h3.3v5.1h3.8v-5.1h3.3l-5.2-4.9zm9.3 11.5l-3.2-2.1h-2l3.4 2.6h-3.5c-.1 0-.2.1-.2.1l-.8 2.3h-6l-.8-2.2c-.1-.1-.1-.2-.2-.2h-3.6l3.4-2.6h-2l-3.2 2.1c-.4.3-.7 1-.6 1.5l.6 3.1c.1.5.7.9 1.2.9h16.3c.6 0 1.1-.4 1.3-.9l.6-3.1c.1-.5-.2-1.2-.7-1.5z"/></svg> <span>ᠹᠠᠢᠢᠯ ᠰᠤᠩᠭᠠᠷᠢ&hellip;</span></label>
</div>
<span class="tip tip-stacked"><%- inputTip %></span>
</div>
</div>
......@@ -22,3 +25,8 @@
</div>
</form>
</div>
<script>
$(document).ready(function(){
file_upload_init(document, window,0)
});
</script>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment