scinote-web/app/views/result_assets/_new.html.erb

32 lines
1.2 KiB
Plaintext
Raw Normal View History

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">
<span class="popover_v2" data-popoverlink="<%= I18n.t('popover_test.link.protocol.step_add_files') %>"
data-popovercontent="<%= I18n.t('popover_test.text.protocol.step_add_files') %>">
2018-04-26 21:02:24 +08:00
<%=t 'assets.drag_n_drop.label_html' %>
<label>
<span class="btn btn-primary">
<span class="fas fa-plus"></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>
</span>
</div>
<br />
<div class="align-right">
<button type="button"
class="btn btn-default cancel-new"
onClick="DragNDropResults.destroyAll()">
2016-02-12 23:52:43 +08:00
<%= t("general.cancel")%>
</button>
<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>