1
0
mirror of synced 2025-12-27 23:23:24 +00:00

LogoTeamNBA + LogoSIte

This commit is contained in:
Mathieu Bersin
2023-11-18 14:07:24 +01:00
parent cead651080
commit 4e3df085e2
37 changed files with 17 additions and 10 deletions

View File

@@ -20,7 +20,7 @@
align-items: center;
}
.logo {
width: 150px;
width: 250px;
height: auto;
}
.header-links {
@@ -37,8 +37,7 @@
color: #ffffff;
}
.container {
background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), /* White faded background */
linear-gradient(to right, #0C2340, #1D428A, #006BB6); /* Background for the content */
background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), grey; /* Background for the content */
padding: 20px;
border-radius: 10px;
margin-top: 20px;
@@ -47,7 +46,7 @@
display: flex;
justify-content: space-between;
align-items: center;
background-color: #1D428A;
background-color: #343434;
color: #ffffff;
border: none;
margin-bottom: 5px;
@@ -56,15 +55,20 @@
margin-right: 5px;
}
.team-logo {
width: 75px;
height: auto;
margin-right: 10px;
}
.list-group-item.d-none {
display: none !important;
}
</style>
</head>
<body>
<div class="header">
<img src="static/logo/nba.png" alt="Logo NBA" class="logo">
<img src="static/logo/logo.png" alt="Logo SC" class="logo">
<div class="header-links">
<a href="">Accueil</a>
<a href="/logout">Déconnexion</a>
@@ -75,18 +79,18 @@
<h1 class="text-center mb-4">Liste d'Équipes</h1>
<input type="text" id="searchInput" class="form-control mb-4" placeholder="Rechercher une équipe..." oninput="filterTeams()">
<ul id="teamList" class="list-group">
{% for team in userTeams %}
<li class="list-group-item">
<img src="{{ getTeamLogo(team.idTeam) }}" alt="Logo de l'équipe" class="team-logo">
{{ getTeamName(team.idTeam) }}
<div class="button-group">
<a class="btn btn-danger" href="/del/{{ team.idTeam }}">Retirer</a>
</div>
</li>
{% endfor %}
{% for team in otherTeams %}
<li class="list-group-item">
<img src="{{ getTeamLogo(team) }}" alt="Logo de l'équipe" class="team-logo">
{{ getTeamName(team) }}
<div class="button-group">
<a class="btn btn-success" href="/add/{{ team }}">Ajouter</a>