#88 Modifications simples: mauvaises balises HTML, fautes d'orthographes, DashBoard attributs à traduire en français.
This commit is contained in:
@@ -30,12 +30,12 @@
|
||||
<td class="text-center p-2">
|
||||
|
||||
<a asp-action="Edit" asp-route-id="@artiste.IdArtiste"
|
||||
class="text-primary">
|
||||
>
|
||||
<i class="fa fa-edit"></i>
|
||||
</a>
|
||||
|
||||
<a asp-action="Delete" asp-route-id="@artiste.IdArtiste"
|
||||
class="text-primary">
|
||||
>
|
||||
<i class="fa fa-trash"></i>
|
||||
</a>
|
||||
|
||||
|
||||
@@ -16,11 +16,11 @@
|
||||
<div class="mb-4">
|
||||
<h4>@Model.Contenu</h4>
|
||||
|
||||
<div class="text-muted"> // TODO y a des balises pour les citations, <blockquote></blockquote>
|
||||
<blockquote>
|
||||
— <strong>@Model.Auteur</strong>
|
||||
le @Model.DateCreation.ToString("dd/MM/yyyy HH:mm:ss") // TODO à virer, c'est pas très lisible, trouver un format de date plus sympa, ou même afficher "il y a X minutes/heures/jours" comme sur les réseaux sociaux
|
||||
le @Model.DateCreation.ToString("dd/MM/yyyy HH:mm:ss")
|
||||
sur <em>@Model.TitreLibelle</em>
|
||||
</div>
|
||||
</blockquote>
|
||||
</div>
|
||||
|
||||
<form asp-action="Delete" method="post">
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
<h1 class="mb-4">Tableau de bord</h1>
|
||||
|
||||
<hr />
|
||||
<hr/>
|
||||
|
||||
<div class="container">
|
||||
|
||||
@@ -11,17 +11,16 @@
|
||||
<!-- ARTISTS -->
|
||||
<div class="col-md-4">
|
||||
<a asp-area="Administration"
|
||||
asp-controller="Artiste"
|
||||
class="text-decoration-none">
|
||||
asp-controller="Artiste">
|
||||
|
||||
<div class="card shadow-sm p-4 bg-light h-100 dashboard-card">
|
||||
<i class="fa fa-users fa-3x text-primary mb-3"></i>
|
||||
|
||||
<h3 class="text-primary">
|
||||
@Model.ArtistCount
|
||||
<h3>
|
||||
@Model.NombreArtistes
|
||||
</h3>
|
||||
|
||||
<p class="text-primary">
|
||||
<p>
|
||||
artistes
|
||||
</p>
|
||||
</div>
|
||||
@@ -29,24 +28,20 @@
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Test remote -->
|
||||
<!-- L'ARTIST LE PLUS CHRONICLED --> // TODO faute de frappe, à virer
|
||||
<!-- L'ARTIST LE PLUS CHRONIQUE -->
|
||||
<div class="col-md-4">
|
||||
<a asp-area=""
|
||||
asp-controller="Artiste"
|
||||
asp-route-nom="@Model.MostChronicledArtistName" // TODO enlever texte décorationnel, pas maintenable
|
||||
class="text-decoration-none">
|
||||
asp-route-nom="@Model.ArtisteLePlusChronique">
|
||||
|
||||
<div class="card shadow-sm p-4 bg-light h-100 dashboard-card">
|
||||
<i class="fa fa-user fa-3x text-primary mb-3"></i>
|
||||
|
||||
<h3 class="text-primary"> // TODO c'est déjà par défaut en couleur primaire, pas besoin de le redéfinir
|
||||
@Model.MostChronicledArtistName
|
||||
<h3>
|
||||
@Model.ArtisteLePlusChronique
|
||||
</h3>
|
||||
|
||||
<p class="text-primary">
|
||||
artiste le plus chroniqué
|
||||
</p>
|
||||
<p>artiste le plus chroniqué</p>
|
||||
</div>
|
||||
|
||||
</a>
|
||||
@@ -56,17 +51,16 @@
|
||||
<div class="col-md-4">
|
||||
<a asp-area=""
|
||||
asp-controller="Artiste"
|
||||
asp-route-nom="@Model.TopArtistAlbumsName"
|
||||
class="text-decoration-none">
|
||||
asp-route-nom="@Model.AlbumLePlusChronique">
|
||||
|
||||
<div class="card shadow-sm p-4 bg-light h-100 dashboard-card">
|
||||
<i class="fa fa-trophy fa-3x text-primary mb-3"></i>
|
||||
|
||||
<h3 class="text-primary">
|
||||
@Model.TopArtistAlbumsName
|
||||
<h3>
|
||||
@Model.AlbumLePlusChronique
|
||||
</h3>
|
||||
|
||||
<p class="text-primary">
|
||||
<p>
|
||||
artiste avec le plus d'albums distincts
|
||||
</p>
|
||||
</div>
|
||||
@@ -77,17 +71,16 @@
|
||||
<!-- BIOGRAPHIES -->
|
||||
<div class="col-md-4">
|
||||
<a asp-area="Administration"
|
||||
asp-controller="Titre"
|
||||
class="text-decoration-none">
|
||||
asp-controller="Titre">
|
||||
|
||||
<div class="card shadow-sm p-4 bg-light h-100 dashboard-card">
|
||||
<i class="fa fa-book fa-3x text-primary mb-3"></i>
|
||||
|
||||
<h3 class="text-primary">
|
||||
@Model.BiographyCount
|
||||
<h3>
|
||||
@Model.NombreBiographies
|
||||
</h3>
|
||||
|
||||
<p class="text-primary">
|
||||
<p>
|
||||
biographies d'artistes
|
||||
</p>
|
||||
</div>
|
||||
@@ -100,17 +93,16 @@
|
||||
<a asp-area=""
|
||||
asp-controller="Titre"
|
||||
asp-action="Details"
|
||||
asp-route-id="@Model.MostPlayedTrackId"
|
||||
class="text-decoration-none">
|
||||
asp-route-id="@Model.IdMusiqueLaPlusJouee">
|
||||
|
||||
<div class="card shadow-sm p-4 bg-light h-100 dashboard-card">
|
||||
<i class="fa fa-compact-disc fa-3x text-primary mb-3"></i>
|
||||
|
||||
<h4 class="text-primary">
|
||||
@Model.MostPlayedTrack
|
||||
<h4>
|
||||
@Model.MusiqueLaPlusJouee
|
||||
</h4>
|
||||
|
||||
<p class="text-primary">
|
||||
<p>
|
||||
titre le plus lu
|
||||
</p>
|
||||
</div>
|
||||
@@ -121,17 +113,16 @@
|
||||
<!-- TITRE NOMBRE -->
|
||||
<div class="col-md-4">
|
||||
<a asp-area="Administration"
|
||||
asp-controller="Titre"
|
||||
class="text-decoration-none">
|
||||
asp-controller="Titre">
|
||||
|
||||
<div class="card shadow-sm p-4 bg-light h-100 dashboard-card">
|
||||
<i class="fa fa-music fa-3x text-primary mb-3"></i>
|
||||
|
||||
<h3 class="text-primary">
|
||||
@Model.TrackCount
|
||||
<h3>
|
||||
@Model.NombreTitres
|
||||
</h3>
|
||||
|
||||
<p class="text-primary">
|
||||
<p>
|
||||
titres
|
||||
</p>
|
||||
</div>
|
||||
@@ -142,17 +133,16 @@
|
||||
<!-- GENRES -->
|
||||
<div class="col-md-4">
|
||||
<a asp-area="Administration"
|
||||
asp-controller="Styles"
|
||||
class="text-decoration-none">
|
||||
asp-controller="Styles">
|
||||
|
||||
<div class="card shadow-sm p-4 bg-light h-100 dashboard-card">
|
||||
<i class="fa fa-tags fa-3x text-primary mb-3"></i>
|
||||
|
||||
<h3 class="text-primary">
|
||||
@Model.GenreCount
|
||||
<h3>
|
||||
@Model.NombreGenres
|
||||
</h3>
|
||||
|
||||
<p class="text-primary">
|
||||
<p>
|
||||
styles de musique
|
||||
</p>
|
||||
</div>
|
||||
@@ -166,7 +156,7 @@
|
||||
<i class="fa fa-eye fa-3x text-dark mb-3"></i>
|
||||
|
||||
<h3>
|
||||
@Model.TotalPlays
|
||||
@Model.NombreLectures
|
||||
</h3>
|
||||
|
||||
<p>
|
||||
@@ -181,7 +171,7 @@
|
||||
<i class="fa fa-thumbs-up fa-3x text-dark mb-3"></i>
|
||||
|
||||
<h3>
|
||||
@Model.TotalLikes
|
||||
@Model.NombreLikes
|
||||
</h3>
|
||||
|
||||
<p>
|
||||
|
||||
@@ -14,13 +14,9 @@
|
||||
</p>
|
||||
|
||||
<div class="mb-4">
|
||||
@* On affiche le Libellé en gros *@ // TODO c'est quoi ces commentaires Baptiste
|
||||
@* On affiche le Libellé en gros *@
|
||||
<h4>@Model.Libelle</h4>
|
||||
|
||||
@* On affiche l'ID discrètement en dessous *@
|
||||
<div class="text-muted">
|
||||
Identifiant technique : @Model.IdStyle
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<form asp-action="Delete" method="post">
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
<a asp-action="Edit" asp-route-id="@style.IdStyle" class="text-primary me-2" title="Éditer">
|
||||
<i class="fas fa-edit"></i>
|
||||
</a>
|
||||
<a asp-action="Delete" asp-route-id="@style.IdStyle" class="text-primary" title="Supprimer">
|
||||
<a asp-action="Delete" asp-route-id="@style.IdStyle" title="Supprimer">
|
||||
<i class="fas fa-trash"></i>
|
||||
</a>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user