parent
32dfc656e3
commit
069c587cde
@ -1,5 +1,26 @@
|
|||||||
@page "/ValidQuote"
|
@page "/ValidQuote"
|
||||||
|
|
||||||
|
@if(quotes != null){
|
||||||
|
<h3>Citations non validées</h3>
|
||||||
|
<p>Citations en attente de validation:</p>
|
||||||
|
|
||||||
|
@foreach(var quote in quotes)
|
||||||
|
{
|
||||||
|
<div class="QuoteDiv">
|
||||||
|
<img class="imgQuote" src="@quote.ImgPath" />
|
||||||
|
<p class="idQuote"><strong>Identifiant de la citation :</strong>@quote.Id </p>
|
||||||
|
<p class="contentQuote"><strong>Citation:</strong>@quote.Content</p>
|
||||||
|
<p class="CaracterQuote"><strong>Personnage :</strong> @quote.Charac</p>
|
||||||
|
<p class="SourceQuote"><strong>Source :</strong> @quote.TitleSrc</p>
|
||||||
|
<p class="langueQuote"><strong>Langue :</strong> @quote.Langue</p>
|
||||||
|
<p class="UserPropositionQuote">@quote.UserProposition a proposé cette citation</p>
|
||||||
|
<button>Valider la citation</button>
|
||||||
|
<button>Rejetter la citation</button>
|
||||||
|
</div>
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h3>ValidQuote</h3>
|
|
||||||
|
|
||||||
|
@ -0,0 +1,31 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"Id": 1,
|
||||||
|
"Image": "https://tse4.mm.bing.net/th/id/OIP.fc5TQflh0cbxB1GUeOdk6gHaK8?w=123&h=180&c=7&r=0&o=5&pid=1.7",
|
||||||
|
"Name": "Demo",
|
||||||
|
"Email": "demo@gmail.com",
|
||||||
|
"DateCreation": "2024-12-12"
|
||||||
|
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Id": 2,
|
||||||
|
"Image": "https://tse2.mm.bing.net/th/id/OIP.MMpXBB5RDRYQm05FJmevGAHaKl?w=137&h=195&c=7&r=0&o=5&pid=1.7",
|
||||||
|
"Name": "exploit",
|
||||||
|
"Email": "exploit@gmail.com",
|
||||||
|
"DateCreation": "2024-11-12"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Id": 3,
|
||||||
|
"Image": "https://tse4.mm.bing.net/th/id/OIP.XNQPKwc1OUfvnSO9MsxDYgHaE7?w=202&h=180&c=7&r=0&o=5&pid=1.7",
|
||||||
|
"Name": "testeur",
|
||||||
|
"Email": "testeur@gmail.com",
|
||||||
|
"DateCreation": "2024-08-02"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Id": 4,
|
||||||
|
"Image": "https://tse2.mm.bing.net/th/id/OIP.3vXkEUJ9J8s-GsnBC6I3KAHaF0?w=185&h=180&c=7&r=0&o=5&pid=1.7",
|
||||||
|
"Name": "dev",
|
||||||
|
"Email": "dev@gmail.com",
|
||||||
|
"DateCreation": "2024-10-10"
|
||||||
|
}
|
||||||
|
]
|
Loading…
Reference in new issue