ajout d'un bouton à l'accueil permettant d'accéder au panel d'administration
This commit is contained in:
parent
73736fa36b
commit
368305252f
@ -44,6 +44,7 @@ $config = getSiteConfig();
|
|||||||
<link rel="stylesheet" href="styles.css">
|
<link rel="stylesheet" href="styles.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<a href="admin.php" class="admin-button" title="Administration">⚙️</a>
|
||||||
<div class="carousel">
|
<div class="carousel">
|
||||||
<?php foreach($carouselImages as $index => $image): ?>
|
<?php foreach($carouselImages as $index => $image): ?>
|
||||||
<div class="carousel-slide <?php echo $index === 0 ? 'active' : ''; ?>">
|
<div class="carousel-slide <?php echo $index === 0 ? 'active' : ''; ?>">
|
||||||
|
26
styles.css
26
styles.css
@ -15,6 +15,32 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Styles de la page d'accueil */
|
/* Styles de la page d'accueil */
|
||||||
|
.admin-button {
|
||||||
|
position: fixed;
|
||||||
|
top: 1rem;
|
||||||
|
right: 1rem;
|
||||||
|
width: 2.5rem;
|
||||||
|
height: 2.5rem;
|
||||||
|
background-color: rgba(0, 0, 0, 0.5);
|
||||||
|
border: none;
|
||||||
|
border-radius: 50%;
|
||||||
|
color: white;
|
||||||
|
font-size: 1.2rem;
|
||||||
|
cursor: pointer;
|
||||||
|
backdrop-filter: blur(4px);
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
text-decoration: none;
|
||||||
|
transition: all 0.3s ease;
|
||||||
|
z-index: 30;
|
||||||
|
}
|
||||||
|
|
||||||
|
.admin-button:hover {
|
||||||
|
background-color: rgba(0, 0, 0, 0.8);
|
||||||
|
transform: rotate(45deg);
|
||||||
|
}
|
||||||
|
|
||||||
.carousel {
|
.carousel {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
@ -1 +1 @@
|
|||||||
1.0.10
|
1.0.11
|
Loading…
x
Reference in New Issue
Block a user