You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

19 lines
836 B

<script src="/lib/pwa/app.js"></script>
<script>
window.pagespwa = {$pagespwa};
(function () {
setTimeout(function () {
$.loadCache(window.pagespwa);
}, 500)
})();
</script>
<div class="pwa-queue"
style="position: fixed;bottom: 20px;right: 20px;display: flex;flex-direction: column;align-items: flex-end;">
<div style="display: inline-flex; justify-items: right; align-items: baseline;">
<p style="padding: 10px"><span id="pwa-n-requests"></span> requests</p>
<button onclick="" id="sync-pwa" class="btn btn-info" href="#">Sync</button>
</div>
<div class="alert alert-warning" style="display: none;" id="pwa-offline-alert" role="alert">
<strong>Warning!</strong> You are offline. Tiki will try to handle your requests to send them later.
</div>
</div>