2016-02-12 23:52:43 +08:00
|
|
|
<div class="well">
|
2017-06-07 19:29:39 +08:00
|
|
|
<div id="new-result-assets-select"
|
|
|
|
class="text-center new-asset-box">
|
|
|
|
<%=t 'assets.drag_n_drop.label_html' %> <label><span class="btn btn-primary"><%=t 'assets.drag_n_drop.browse_label' %></span>
|
|
|
|
<input type="file"
|
|
|
|
onchange="DragNDropResults.init(this.files, 'select')"
|
|
|
|
id="drag-n-drop-assets"
|
|
|
|
style="display: none" multiple>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
<br />
|
|
|
|
<button type="button"
|
|
|
|
class="btn btn-primary save-result"
|
2017-10-19 17:38:23 +08:00
|
|
|
disabled="true"
|
2017-06-07 19:29:39 +08:00
|
|
|
data-href="<%= my_module_result_assets_path(format: :json) %>"
|
2017-06-09 15:49:57 +08:00
|
|
|
onClick="DragNDropResults.processResult(this)"><%=t 'result_assets.new.create' %></button>
|
2017-06-07 19:29:39 +08:00
|
|
|
<button type="button"
|
|
|
|
class="btn btn-default cancel-new"
|
|
|
|
onClick="DragNDropResults.destroyAll()">
|
2016-02-12 23:52:43 +08:00
|
|
|
<%= t("general.cancel")%>
|
|
|
|
</button>
|
|
|
|
</div>
|