a basket
This commit is contained in:
parent
45641cee35
commit
a96faa6f6c
35 changed files with 2787 additions and 62 deletions
24
Yavsc/Views/Shared/DisplayTemplates/HairCutQuery.cshtml
Normal file
24
Yavsc/Views/Shared/DisplayTemplates/HairCutQuery.cshtml
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
@model HairCutQuery
|
||||
|
||||
<dl>
|
||||
<dt>@Html.DisplayNameFor(m=>m.Prestation)
|
||||
</dt>
|
||||
<dd>@Html.DisplayFor(m=>m.Prestation)
|
||||
</dd>
|
||||
<dt>@Html.DisplayNameFor(m=>m.PerformerProfile)
|
||||
</dt>
|
||||
<dd>@Html.DisplayFor(m=>m.PerformerProfile)
|
||||
</dd>
|
||||
<dt>@Html.DisplayNameFor(m=>m.EventDate)
|
||||
</dt>
|
||||
<dd>@Html.DisplayFor(m=>m.EventDate)
|
||||
</dd>
|
||||
<dt>@Html.DisplayNameFor(m=>m.Location)
|
||||
</dt>
|
||||
<dd>@Html.DisplayFor(m=>m.Location)
|
||||
</dd>
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
46
Yavsc/Views/Shared/DisplayTemplates/HairPrestation.cshtml
Normal file
46
Yavsc/Views/Shared/DisplayTemplates/HairPrestation.cshtml
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
@model HairPrestation
|
||||
|
||||
<dl class="dl-horizontal">
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.Cares)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.Cares)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.Cut)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.Cut)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.Dressing)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.Dressing)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.Gender)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.Gender)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.Length)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.Length)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.Shampoo)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.Shampoo)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.Tech)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.Tech)
|
||||
</dd>
|
||||
</dl>
|
||||
|
|
@ -60,27 +60,14 @@
|
|||
</div>
|
||||
<div class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
@RenderSection("ctxmenu", required: false)
|
||||
<li><a asp-controller="Blogspot" asp-action="Index" class="navbar-link">@SR["Blogs"]</a></li>
|
||||
<li><a asp-controller="Home" asp-action="Chat" class="navbar-link">@SR["Chat"]</a></li>
|
||||
<li><a asp-controller="Home" asp-action="Contact" class="navbar-link">@SR["Contact"]</a></li>
|
||||
<li><a asp-controller="Home" asp-action="About" class="navbar-link">@SR["About"] @SiteSettings.Value.Title</a> </li>
|
||||
@if (User.IsInRole(Constants.AdminGroupName)) {
|
||||
<li class="dropdown">
|
||||
<a class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Administration <span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a asp-controller="Administration" asp-action="Index">Index</a></li>
|
||||
<li><a asp-controller="Activity" asp-action="Index">Activités</a></li>
|
||||
<li><a asp-controller="CommandForms" asp-action="Index">Formulaires</a></li>
|
||||
<li><a asp-controller="Notifications" asp-action="Index">Notifications</a></li>
|
||||
<li><a asp-controller="SIRENExceptions" asp-action="Index">Excéptions au numéro de SIREN</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
}
|
||||
</ul>
|
||||
@RenderSection("ctxmenu", required: false)
|
||||
|
||||
|
||||
@await Html.PartialAsync("_LoginPartial")
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -2,19 +2,35 @@
|
|||
|
||||
@if (User.IsSignedIn())
|
||||
{
|
||||
<form asp-controller="Account" asp-action="LogOff" method="post" id="logoutForm" class="navbar-right">
|
||||
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li>
|
||||
<a asp-controller="Manage" class="navbar-link" asp-action="Index" title="Manage">
|
||||
@Component.Invoke("Avatar", User.GetUserId(), ".xs")
|
||||
@SR["Hello"] @User.GetUserName()!</a>
|
||||
</li>
|
||||
@if (User.IsInRole(Constants.AdminGroupName)) {
|
||||
<li class="dropdown">
|
||||
<a class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Administration <span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a asp-controller="Administration" asp-action="Index">Index</a></li>
|
||||
<li><a asp-controller="Activity" asp-action="Index">Activités</a></li>
|
||||
<li><a asp-controller="CommandForms" asp-action="Index">Formulaires</a></li>
|
||||
<li><a asp-controller="Notifications" asp-action="Index">Notifications</a></li>
|
||||
<li><a asp-controller="SIRENExceptions" asp-action="Index">Excéptions au numéro de SIREN</a></li>
|
||||
</ul>
|
||||
</li>}
|
||||
|
||||
<li>
|
||||
<button type="submit" class="btn navbar-btn" >@SR["Logout"]</button>
|
||||
<form asp-controller="Account" asp-action="LogOff"
|
||||
method="post" id="logoutForm">
|
||||
<button type="submit" class="btn navbar-btn" >@SR["Logout"]</button>
|
||||
<input type="hidden" name="ReturnUrl" value="@Url.Action()" />
|
||||
</form>
|
||||
</li>
|
||||
</ul>
|
||||
</form>
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue