feat(icons): load Bootstrap Icons and Font Awesome from the shared platform-tools packs

Register the icons packs in platform_connect, add fit_icon_assets() with local
fallback, and add a sysadmin 'Pacotes de icones' link to platform?tool=icons.
This commit is contained in:
andre committed 2026-10-13 18:55:12 +01:00
1 parent 781a3a324e
commit 18676ad6d0
8 files changed
+46 -7

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ $app_name = defined('APP_NAME') ? APP_NAME : 'FitMe 3070';
</script>
<link href="<?= base_url('assets/vendor/bootstrap5/css/bootstrap.min.css') ?>" rel="stylesheet">
<link href="<?= htmlspecialchars(_asset_versioned('assets/css/bs-brand.css'), ENT_QUOTES) ?>" rel="stylesheet">
<link href="<?= base_url('assets/vendor/bootstrap-icons/bootstrap-icons.css') ?>" rel="stylesheet">
<?= fit_icon_assets(['bootstrap-icons'], ['assets/vendor/bootstrap-icons/bootstrap-icons.css']) ?>
<style>
:root {
--bo-accent: #C2D500;