Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
moved imgeefield template to a separate file
- Loading branch information
Showing
3 changed files
with
26 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{%- from "baseframe/mui/components.html.jinja2" import faicon -%} | ||
|
||
{{ field_html|escape }} | ||
<span class="loading imgee__loader mui--hide" id="imgee-loader-{{field.id}}"> </span> | ||
<a href="#imgee-{{field.id}}" rel="modal:open" class="mui-btn mui-btn--raised imgee__button">{% trans %}Select or Upload Image{% endtrans %}</a> | ||
<div class="modal modal--fullscreen" id="imgee-{{field.id}}"> | ||
<div class="modal__header"> | ||
<a class="modal__close mui--text-dark" href="javascript:void(0);" data-target="close cancel register modal" aria-label="{% trans %}Close{% endtrans %}" rel="modal:close">{{ faicon(icon='times', icon_size='title') }}</a> | ||
</div> | ||
<div class="modal__body"> | ||
{{ iframe_html|escape }} | ||
</div> | ||
</div> |