mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-11 10:06:53 +08:00
22 lines
905 B
Text
22 lines
905 B
Text
<div class="well">
|
|
<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"
|
|
disabled="true"
|
|
data-href="<%= my_module_result_assets_path(format: :json) %>"
|
|
onClick="DragNDropResults.processResult(this)"><%=t 'result_assets.new.create' %></button>
|
|
<button type="button"
|
|
class="btn btn-default cancel-new"
|
|
onClick="DragNDropResults.destroyAll()">
|
|
<%= t("general.cancel")%>
|
|
</button>
|
|
</div>
|