popup dashboard
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
$popupEnabled = (($_ENV['POPUP_ENABLED'] ?? getenv('POPUP_ENABLED')) === 'true');
|
||||
|
||||
if ($popupEnabled):
|
||||
?>
|
||||
<div id="app-popup-overlay" style="position:fixed;inset:0;background:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;z-index:99999;">
|
||||
<div style="background:#fff;max-width:520px;width:90%;padding:28px;border-radius:10px;position:relative;box-shadow:0 10px 40px rgba(0,0,0,.3);">
|
||||
<button onclick="document.getElementById('app-popup-overlay').remove()"
|
||||
style="position:absolute;top:10px;right:14px;border:none;background:none;font-size:22px;cursor:pointer;line-height:1;color:#888;">×</button>
|
||||
|
||||
<h2 style="margin-top:0;">Nuovo sito in produzione</h2>
|
||||
<p>Il nuovo portale è disponibile all'indirizzo:</p>
|
||||
<p style="text-align:center;font-weight:bold;">https://trfsmart-bv.cesoft.io/</p>
|
||||
<p style="text-align:center;">
|
||||
<a href="https://trfsmart-bv.cesoft.io/"
|
||||
style="display:inline-block;padding:12px 24px;background:#2563eb;color:#fff;text-decoration:none;border-radius:6px;">
|
||||
Clicca qui per accedere
|
||||
</a>
|
||||
</p>
|
||||
<p style="font-size:13px;color:#666;margin-top:24px;">
|
||||
Se invece hai problemi con il nuovo sito, puoi chiudere questo messaggio e continuare su questo portale:
|
||||
</p>
|
||||
<p style="text-align:center;">
|
||||
<button onclick="document.getElementById('app-popup-overlay').remove()"
|
||||
style="padding:10px 20px;background:#e5e7eb;color:#111;border:none;border-radius:6px;cursor:pointer;">
|
||||
Chiudi e procedi su questo sito
|
||||
</button>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
Reference in New Issue
Block a user