1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-06-24 10:28:44 +02:00

Design "Équipe" et "Problème"

This commit is contained in:
Yohann
2019-09-25 23:20:05 +02:00
parent 6bb27034ce
commit 7a585e33e1
3 changed files with 98 additions and 59 deletions

View File

@ -10,6 +10,14 @@
<!-- Bootstrap -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<style>
ul .deroule {
display: none;
}
li:hover ul.deroule {display:block;}
</style>
</head>
<body>
@ -69,6 +77,15 @@
<?php } ?>
<?php } ?>
<?php if ($_SESSION["role"] == Role::ADMIN) { ?>
<li>
Liste des problèmes
<ul class="deroule">
<li><a href="/probleme/1">Problème 1</a></li>
<li><a href="/probleme/2">Problème 2</a></li>
<li><a href="/probleme/3">Problème 3</a></li>
<li><a href="/probleme/4">Problème 4</a></li>
</ul>
</li>
<li class="nav-item active"><a class="nav-link" href="/ajouter-admin">
Ajouter un administrateur</a>
</li>