ui
This commit is contained in:
parent
1c79605606
commit
724e0e17ef
11 changed files with 5831 additions and 4360 deletions
8
Yavsc/Views/Account/UserList.cshtml
Normal file
8
Yavsc/Views/Account/UserList.cshtml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
@model ApplicationUser[]
|
||||
@{
|
||||
ViewData["Title"] = "Liste des utilisateurs";
|
||||
}
|
||||
|
||||
<h2>@ViewData["Title"].</h2>
|
||||
|
||||
@Html.DisplayFor(m=>m)
|
||||
|
|
@ -20,6 +20,12 @@ Nombre </dt><dd> @Model.AdminCount</dd>
|
|||
<p>
|
||||
|
||||
</p>
|
||||
|
||||
<h3>Utilisateurs</h3>
|
||||
<span class="badge">
|
||||
<a asp-action="UserList" asp-controller="Account">
|
||||
@Model.UserCount</a></span>
|
||||
|
||||
<h3>Logiciel</h3>
|
||||
<dl>
|
||||
<dt>Cette librairie
|
||||
|
|
|
|||
|
|
@ -1,7 +1,11 @@
|
|||
@model ApplicationUser
|
||||
|
||||
@if (Model!=null) {
|
||||
<div class="userinfo">
|
||||
<h3>
|
||||
<img src="~/Avatars/@(Model.UserName).s.png" alt="" class="smalltofhol">
|
||||
@Model.UserName
|
||||
@if (Model.Posts!=null) { <a asp-controller="Blogspot" asp-action="UserPosts"
|
||||
asp-route-id="@Model.UserName" class="btn btn-link">@SR["index de ses articles"]</a>
|
||||
}} else { <text>néant</text> }
|
||||
@Model.UserName </h3>
|
||||
@if (Model.Posts!=null && Model.Posts.Count()>1) { <a asp-controller="Blogspot" asp-action="UserPosts"
|
||||
asp-route-id="@Model.UserName" class="btn btn-primary">@SR["index de ses articles"]</a>
|
||||
}
|
||||
</div>}
|
||||
|
|
|
|||
|
|
@ -3,12 +3,9 @@
|
|||
<div class="performer @(Model.Active?"active":"inactive")">
|
||||
@Html.DisplayFor(m=>m.Performer)
|
||||
|
||||
<ul>
|
||||
<li> @SR["Rating"]: @Model.Rate % </li>
|
||||
@if (Model.Rate > 80) { <p> @SR["Rating"]: @Model.Rate % </p> }
|
||||
@if (Model.WebSite!=null) {
|
||||
<li>@SR["WebSite"]: <a target="yaext" href="@Model.WebSite">@Model.WebSite</a></li>
|
||||
<a target="yaext" href="@Model.WebSite" class="btn btn-info">@SR["WebSite"]: @Model.WebSite</a>
|
||||
}
|
||||
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue