2021-07-20 03:33:28 +08:00
|
|
|
<% if BioEddieService.enabled?(current_user) %>
|
2021-06-24 01:48:44 +08:00
|
|
|
<div id="bioEddieModal"
|
|
|
|
class="modal modal-bio-eddie"
|
|
|
|
role="dialog"
|
|
|
|
aria-labelledby="bioEddieModal"
|
|
|
|
aria-hidden="true"
|
|
|
|
data-create-url="<%= bio_eddie_assets_path %>"
|
|
|
|
data-backdrop="static"
|
|
|
|
data-keyboard="false">
|
|
|
|
<div class="modal-dialog">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
|
|
<span class="file-name">
|
|
|
|
<div class="sci-input-container ">
|
|
|
|
<%= text_field_tag :molecule_name, '', placeholder: t('bio_eddie.molecule_name_placeholder'), class: 'sci-input-field' %>
|
|
|
|
</div>
|
|
|
|
</span>
|
|
|
|
<button class="file-save-link btn btn-light">
|
|
|
|
<i class="fas fa-save"></i>
|
|
|
|
<%= t('SaveClose')%>
|
|
|
|
</button>
|
2021-07-15 18:37:04 +08:00
|
|
|
<button class="file-save-link btn btn-light" data-schedule-for-registration="true">
|
|
|
|
<%= image_tag 'chemaxon-logo.svg' %>
|
|
|
|
<%= t('bio_eddie.save_and_register')%>
|
|
|
|
</button>
|
2021-06-24 01:48:44 +08:00
|
|
|
<button class="preview-close btn btn-light icon-btn" data-dismiss="modal">
|
2023-06-08 14:33:37 +08:00
|
|
|
<i class="sn-icon sn-icon-close-remove"></i>
|
2021-06-24 01:48:44 +08:00
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
|
|
<iframe id="bioEddieIframe" data-src="<%= BioEddieService.url %>/index.html" frameBorder="0" ></iframe>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
|
|
|
|