Mide en forms
This commit is contained in:
parent
92c7fa6bf3
commit
f84b91ed5f
4 changed files with 7 additions and 75 deletions
|
|
@ -9,49 +9,7 @@
|
||||||
<div>
|
<div>
|
||||||
<h4>Command</h4>
|
<h4>Command</h4>
|
||||||
<hr />
|
<hr />
|
||||||
<dl class="dl-horizontal">
|
@Html.DisplayFor(m=>m)
|
||||||
|
|
||||||
<dt>
|
|
||||||
@Html.DisplayNameFor(model => model.EventDate)
|
|
||||||
</dt>
|
|
||||||
<dd>
|
|
||||||
@Html.DisplayFor(model => model.EventDate)
|
|
||||||
</dd>
|
|
||||||
|
|
||||||
<dt>
|
|
||||||
@Html.DisplayNameFor(model => model.Client)
|
|
||||||
</dt>
|
|
||||||
<dd>
|
|
||||||
@Html.DisplayFor(model => model.Client.UserName)
|
|
||||||
</dd>
|
|
||||||
|
|
||||||
<dt>
|
|
||||||
@Html.DisplayNameFor(model => model.Location.Address)
|
|
||||||
</dt>
|
|
||||||
<dd>
|
|
||||||
@Html.DisplayFor(model => model.Location.Address)
|
|
||||||
</dd>
|
|
||||||
|
|
||||||
<dt>
|
|
||||||
@Html.DisplayNameFor(model => model.PerformerProfile)
|
|
||||||
</dt>
|
|
||||||
<dd>
|
|
||||||
@Html.DisplayFor(model => model.PerformerProfile.Performer.UserName)
|
|
||||||
</dd>
|
|
||||||
|
|
||||||
<dt>
|
|
||||||
@Html.DisplayNameFor(model => model.ValidationDate)
|
|
||||||
</dt>
|
|
||||||
<dd>
|
|
||||||
@if (Model.ValidationDate==null) {
|
|
||||||
@SR["NotValidated"]
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
@Html.DisplayFor(model => model.ValidationDate)
|
|
||||||
}
|
|
||||||
</dd>
|
|
||||||
|
|
||||||
</dl>
|
|
||||||
</div>
|
</div>
|
||||||
<p>
|
<p>
|
||||||
<a asp-action="Edit" asp-route-id="@Model.Id">Edit</a> |
|
<a asp-action="Edit" asp-route-id="@Model.Id">Edit</a> |
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,13 @@
|
||||||
@model Yavsc.Models.Workflow.UserActivity
|
@model Yavsc.Models.Workflow.UserActivity
|
||||||
|
|
||||||
@{
|
@{
|
||||||
ViewData["Title"] = "Details";
|
ViewData["Title"] = SR["Details"];
|
||||||
}
|
}
|
||||||
|
|
||||||
<h2>Details</h2>
|
<h2>@ViewData["Title"]</h2>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<h4>UserActivity</h4>
|
<h4>Détails de votre activité @Model.DoesCode</h4>
|
||||||
<hr />
|
<hr />
|
||||||
<dl class="dl-horizontal">
|
<dl class="dl-horizontal">
|
||||||
<dt>@SR["Activity"]</dt>
|
<dt>@SR["Activity"]</dt>
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@
|
||||||
<div class="col-md-10">
|
<div class="col-md-10">
|
||||||
<select name="CommandId" id="CommandId">
|
<select name="CommandId" id="CommandId">
|
||||||
@foreach (var query in ViewBag.Queries) {
|
@foreach (var query in ViewBag.Queries) {
|
||||||
<option value="@query.Id" data-clientid="@query.ClientId">@query.GetDescription()</option>
|
<option value="@query.Id" data-clientid="@query.ClientId">@Html.DisplayFor(m=> query)</option>
|
||||||
}
|
}
|
||||||
</select>
|
</select>
|
||||||
<span asp-validation-for="ClientId" class="text-danger" />
|
<span asp-validation-for="ClientId" class="text-danger" />
|
||||||
|
|
|
||||||
|
|
@ -9,35 +9,9 @@
|
||||||
<div>
|
<div>
|
||||||
<h4>Estimate</h4>
|
<h4>Estimate</h4>
|
||||||
<hr />
|
<hr />
|
||||||
<dl class="dl-horizontal">
|
|
||||||
<dt>
|
@Html.DisplayNameFor(model => model)
|
||||||
@Html.DisplayNameFor(model => model.Title)
|
|
||||||
</dt>
|
|
||||||
<dd>
|
|
||||||
@Html.DisplayFor(model => model.Title)
|
|
||||||
</dd>
|
|
||||||
|
|
||||||
<dt>
|
|
||||||
@Html.DisplayNameFor(model => model.Description)
|
|
||||||
</dt>
|
|
||||||
<dd>
|
|
||||||
@Html.DisplayFor(model => model.Description)
|
|
||||||
</dd>
|
|
||||||
|
|
||||||
<dt>
|
|
||||||
@Html.DisplayNameFor(model => model.Bill)
|
|
||||||
</dt>
|
|
||||||
<dd>
|
|
||||||
@foreach (var cl in Model.Bill) {
|
|
||||||
@await Html.PartialAsync("BillingLine", cl);
|
|
||||||
}
|
|
||||||
</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
<p>
|
<p>
|
||||||
<a asp-action="Edit" asp-route-id="@Model.Id">@SR["Edit"]</a> |
|
<a asp-action="Edit" asp-route-id="@Model.Id">@SR["Edit"]</a> |
|
||||||
<a asp-action="Index">@SR["Back to List"]</a>
|
<a asp-action="Index">@SR["Back to List"]</a>
|
||||||
</p>
|
</p>
|
||||||
<div>
|
|
||||||
@await Component.InvokeAsync("Estimate",Model.Id)
|
|
||||||
</div>
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue