Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
alerte
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
lib
unicaen
alerte
Commits
82e311d4
You need to sign in or sign up before continuing.
Commit
82e311d4
authored
2 years ago
by
Bertrand Gauthier
Browse files
Options
Downloads
Patches
Plain Diff
COrrections mineures
parent
58bd84f2
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Module.php
+9
-2
9 additions, 2 deletions
Module.php
README.md
+3
-3
3 additions, 3 deletions
README.md
with
12 additions
and
5 deletions
Module.php
+
9
−
2
View file @
82e311d4
...
...
@@ -3,13 +3,20 @@
namespace
UnicaenAlerte
;
use
Laminas\Config\Factory
as
ConfigFactory
;
use
Laminas\EventManager\EventInterface
;
use
Laminas\ModuleManager\Feature\AutoloaderProviderInterface
;
use
Laminas\ModuleManager\Feature\BootstrapListenerInterface
;
use
Laminas\ModuleManager\Feature\ConfigProviderInterface
;
use
Laminas\Mvc\ModuleRouteListener
;
use
Laminas\Mvc\MvcEvent
;
use
Laminas\Stdlib\Glob
;
class
Module
class
Module
implements
AutoloaderProviderInterface
,
BootstrapListenerInterface
,
ConfigProviderInterface
{
public
function
onBootstrap
(
MvcEvent
$e
)
/**
* @param MvcEvent $e
*/
public
function
onBootstrap
(
EventInterface
$e
)
{
$eventManager
=
$e
->
getApplication
()
->
getEventManager
();
$moduleRouteListener
=
new
ModuleRouteListener
();
...
...
This diff is collapsed.
Click to expand it.
README.md
+
3
−
3
View file @
82e311d4
...
...
@@ -2,14 +2,14 @@ Module UnicaenAlerte
====================
Ce module permet d'afficher des alertes sur une page de votre application, sous la forme de :
-
Toasts Bootstrap :
-
Toasts Bootstrap
5
:
-
Recommandé.
-
Positionnement fixe par défaut : en haut à droite ; empilés.
-
Cf. https://getbootstrap.com/docs/5.2/components/toasts/
-
Alerts Bootstrap :
-
Alerts Bootstrap
5
:
-
Affichage en place.
-
Cf. https://getbootstrap.com/docs/5.2/components/alerts/
-
Modals Bootstrap :
-
Modals Bootstrap
5
:
-
En cas d'alertes multiples, un bouton permet de naviguer d'une alerte à l'autre.
-
Cf. https://getbootstrap.com/docs/5.2/components/modal/#toggle-between-modals
-
Alertes Javascript :
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment