mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-18 07:01:58 +08:00
6eae12efab
*Add permission check for assets editing * Add check for image format
30 lines
1 KiB
Text
30 lines
1 KiB
Text
<div id="filePreviewModal"
|
|
class="modal modal-file-preview"
|
|
role="dialog"
|
|
tabindex="-1"
|
|
aria-labelledby="filePreviewModal"
|
|
aria-hidden="true"
|
|
data-backdrop="static"
|
|
data-keyboard="false">
|
|
<div class="modal-dialog">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<button type="button" class="preview-close" data-dismiss="modal"><span class="fas fa-times"></span></button>
|
|
<span class="file-name"></span>
|
|
<span class="file-wopi-controls"></span>
|
|
<a class="file-download-link" href="#" data-turbolinks="false">
|
|
<p><span class="fas fa-download"></span> <%= t('Download')%></p>
|
|
</a>
|
|
<a class="file-edit-link" style="display:none" href='#'>
|
|
<p><span class="fas fa-pencil-alt"></span> <%= t('Edit')%></p>
|
|
</a>
|
|
</div>
|
|
<div class="modal-body">
|
|
<div class="file-preview-container">
|
|
</div>
|
|
</div>
|
|
<div class="modal-footer">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|