2016-02-12 23:52:43 +08:00
|
|
|
<div class="well">
|
2018-04-26 21:02:24 +08:00
|
|
|
<div id="new-result-assets-select" class="text-center new-asset-box">
|
2018-09-14 19:07:09 +08:00
|
|
|
<span class="help_tooltips"
|
|
|
|
data-tooltiplink="<%= I18n.t('tooltips.link.protocol.step_add_files') %>"
|
|
|
|
data-tooltipcontent="<%= I18n.t('tooltips.text.protocol.step_add_files') %>">
|
2018-04-26 21:02:24 +08:00
|
|
|
<%=t 'assets.drag_n_drop.label_html' %>
|
|
|
|
<label>
|
2019-04-05 00:15:30 +08:00
|
|
|
<span class="btn btn-default new-asset-upload-button">
|
|
|
|
<span class="fas fa-file-upload new-asset-upload-icon"></span>
|
2018-04-26 21:02:24 +08:00
|
|
|
<%=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>
|
2018-08-21 17:11:25 +08:00
|
|
|
</span>
|
2017-06-07 19:29:39 +08:00
|
|
|
</div>
|
|
|
|
<br />
|
2018-04-25 19:57:12 +08:00
|
|
|
<div class="align-right">
|
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>
|
2018-04-25 19:57:12 +08:00
|
|
|
<button type="button"
|
|
|
|
class="btn btn-success save-result"
|
|
|
|
disabled="true"
|
|
|
|
data-href="<%= my_module_result_assets_path(format: :json) %>"
|
|
|
|
onClick="DragNDropResults.processResult(this)"><%=t 'result_assets.new.create' %></button>
|
|
|
|
</div>
|
2016-02-12 23:52:43 +08:00
|
|
|
</div>
|