Add SuperCafe module inside EntreAulas based on TeleSec supercafe.js

Co-authored-by: naielv <109038805+naielv@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-02-21 19:12:26 +00:00
parent 322ab38fd1
commit 69d7e46dc8
6 changed files with 633 additions and 3 deletions

View File

@@ -55,6 +55,15 @@ function safe_aulario_config_path($centro_id, $aulario_id)
' . htmlspecialchars($aulario_name) . '
</a>';
} ?>
<?php if (in_array('supercafe:access', $_SESSION['auth_data']['permissions'] ?? [])): ?>
<a href="/entreaulas/supercafe.php" class="btn btn-warning grid-item">
<img src="/static/iconexperience/purchase_order_cart.png" height="125"
style="background: white; padding: 5px; border-radius: 10px;"
alt="Icono SuperCafe">
<br>
SuperCafe
</a>
<?php endif; ?>
</div>
<style>