diff --git a/apps/frontend/modules/d_widget/templates/_view.php b/apps/frontend/modules/d_widget/templates/_view.php index b7e76e8..d0f665d 100644 --- a/apps/frontend/modules/d_widget/templates/_view.php +++ b/apps/frontend/modules/d_widget/templates/_view.php @@ -8,8 +8,11 @@
HTML-Code: <script type="text/javascript"
- src=" $id), true) ?>"></script>
HTML-Code: <div id="policat_"><div class="policat-loading"></div></div>
+ <script type="text/javascript">window.policat_target_id_ = "policat_";</script>
+ <script type="text/javascript" src=" $id), true) ?>" async="true"></script>
+ <style>.policat-loading{position:relative;height:1em;text-align:center}@keyframes policatspin{to{transform:rotate(360deg)}}
+ .policat-loading::after{content:'';box-sizing:border-box;position:absolute;top:0.33em;width:1em;height:1em;margin-left:1em;border-radius:50%;border-top:2px solid #333;border-right:2px solid transparent;animation:policatspin 0.8s linear infinite}</style>
Shareable widget page for testing or standalone use (without embedding): $id], true) ?>
Attention: The action is following the action @@ -47,4 +50,4 @@