files tree made better.

This commit is contained in:
Paul Schneider 2019-01-01 16:28:47 +00:00
commit ccc91bbf19
1630 changed files with 18209 additions and 41860 deletions

View file

@ -0,0 +1,4 @@
@model Activity
<div class="activity">
<b title="@Model.Description" style="cursor:alias;">@Html.DisplayFor(m=>m.Name)</b>
</div>

View file

@ -0,0 +1,8 @@
@model ApplicationUser
<div class="userinfo">
<h3>@Component.Invoke("Avatar", Model.Id, ".s")</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>

View file

@ -0,0 +1,5 @@
@model ApplicationUser
@if (Model!=null) {
@Component.Invoke("Avatar", Model.Id, ".xs")
}

View file

@ -0,0 +1,15 @@
@model Availability
@if (Model==null || Model.Count <1) {
<text>Pas de disponibilité renseignée</text>
} else {
<table>
<th><td>@Html.DisplayNameFor(m=>m[0].Start)</td>
<td>@Html.DisplayNameFor(m=>m[0].End)</td></th>
@foreach (var dispo in Model)
{
<tr><td>@Html.DisplayFor(m=>dispo.Start)</td>
<td>@Html.DisplayFor(m=>dispo.End)</td></tr>
}
</table>
}

View file

@ -0,0 +1,45 @@
@model RdvQuery
<dl class="dl-horizontal">
<dt>
@SR["EventDate"]
</dt>
<dd>
@Html.DisplayFor(model => model.EventDate)
</dd>
<dt>
@SR["Client"]
</dt>
<dd>
@Html.DisplayFor(model => model.Client.UserName)
</dd>
<dt>
@SR["Address"]
</dt>
<dd>
@Html.DisplayFor(model => model.Location.Address)
</dd>
<dt>
@SR["Provider"]
</dt>
<dd>
@Html.DisplayFor(model => model.PerformerProfile.Performer.UserName)
</dd>
<dt>
@SR["ValidationDate"]
</dt>
<dd>
@if (Model.ValidationDate==null) {
@SR["NonValidee"]
}
else {
@Html.DisplayFor(model => model.ValidationDate)
}
</dd>
</dl>

View file

@ -0,0 +1,3 @@
@model Circle
<span class="circle"> @Model.Name </span>

View file

@ -0,0 +1,12 @@
@model CircleAuthorizationToBlogPost
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor(model => model.Post)
</dt>
<dd>
@Html.DisplayFor(model => model.Allowed)
</dd>
</dl>

View file

@ -0,0 +1,3 @@
@model Color
<div style="background-color:@Model.Color(); border:solid grey 1px; width:1em; height:1em; display: inline-block;"></div>
@Model.Name

View file

@ -0,0 +1,11 @@
@model Comment
<div data-type="blogcomment" data-id="@Model.Id" data-allow-edit="@(User.GetUserId()==Model.AuthorId?"true":"false")"
data-allow-moderate="@ViewData["moderatoFlag"]" data-date="@Html.Raw(Model.DateCreated)" data-username="@Model.Author.UserName" >
<markdown>@Model.Content</markdown>
<div class="subcomments">
@if (Model.Children!=null && Model.Children.Count>0) {
foreach (var comment in Model.Children) {
@Html.DisplayFor(model=>comment,"Comment","Comment")
} }
</div>
</div>

View file

@ -0,0 +1,31 @@
@model Estimate
<dl class="dl-horizontal">
<dt>
@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>
<label>Signature fournisseur :
<img src="/api/pdfbill/prosign/@Model.Id" alt="" style="height:100px; background-color: white;">
</label>
@await Component.InvokeAsync("Estimate",Model.Id)

View file

@ -0,0 +1,24 @@
@model GetExpressCheckoutDetailsResponseDetailsType
@Html.DisplayFor(m=>m.PayerInfo)
@Html.DisplayFor(m=>m.InvoiceID)
@Html.DisplayFor(m=>m.BillingAgreementAcceptedStatus)
@Html.DisplayFor(m=>m.BillingAddress)
@Html.DisplayFor(m=>m.ContactPhone)
@Html.DisplayFor(m=>m.Note)
@Html.DisplayFor(m=>m.CheckoutStatus)
@Html.DisplayFor(m=>m.PayPalAdjustment)
@Html.DisplayFor(m=>m.PaymentDetails)
@Html.DisplayFor(m=>m.UserSelectedOptions)
@Html.DisplayFor(m=>m.IncentiveDetails)
@if (Model.GiftReceiptEnable)
@Html.DispayFor(m=>m.GiftMessage)
@Html.DispayFor(m=>m.GiftWrapName)
@Html.DispayFor(m=>m.GiftWrapAmount)
@Html.DispayFor(m=>m.BuyerMarketingEmail)
@Html.DispayFor(m=>m.SurveyQuestion)
@Html.DispayFor(m=>m.SurveyChoiceSelected)
@Html.DispayFor(m=>m.CartChangeTolerance)
@Html.DispayFor(m=>m.InstrumentDetails)

View file

@ -0,0 +1,34 @@
@model HairCutQuery
<dl class="dl-horizontal">
<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>
<dt>@Html.DisplayNameFor(m=>m.AdditionalInfo)
</dt>
<dd>@Html.DisplayFor(m=>m.AdditionalInfo)
</dd>
<dt>@SR["La facture"]
</dt>
<dd>@await Component.InvokeAsync("Bill", "Brush", Model, OutputFormat.Html, true)
</dd>
<dt>@Html.DisplayNameFor(m=>m.Regularisation)</dt>
<dd>
@Component.Invoke("PayPalButton", Model, "haircut", "HairCutCommand" )
</dd>
</dl>

View file

@ -0,0 +1,51 @@
@model HairPrestation
@{
string[] HairLen = new string[] {SR["HalfLong"],SR["Long"],SR["Short"]};
}
<div class="prestation">
<dl class="dl-horizontal">
<dd>
</dd>
<dt>
@Html.DisplayNameFor(model => model.Gender)
</dt>
<dd>@SR[Model.Gender.ToString()]</dd>
@if ((int)Model.Gender<1) {
<dt>
@Html.DisplayNameFor(model => model.Length)
</dt>
<dd>
@HairLen[(int)Model.Length]
</dd>}
<dt>
@Html.DisplayNameFor(model => model.Shampoo)
</dt>
<dd>
@Html.DisplayFor(model => model.Shampoo)
</dd>
<dt>
@Html.DisplayNameFor(model => model.Cut)
</dt>
<dd>
@Html.DisplayFor(model => model.Cut)
</dd>
<dt>
@Html.DisplayNameFor(model => model.Tech)
</dt>
<dd>
@SR[Model.Tech.ToString()]
</dd>
<dt>
@Html.DisplayNameFor(model => model.Dressing)
</dt>
<dd>
@Html.DisplayFor(model => model.Dressing)
</dd>
<dt>
@Html.DisplayNameFor(model => model.Cares)
</dt>
<dd>
@Html.DisplayFor(model => model.Cares)
</dd>
</dl>
</div>

View file

@ -0,0 +1,9 @@
@model PerformerProfile
<div class="performer @(Model.Active?"active":"inactive")">
@if (Model.Performer!=null) { Html.DisplayFor(m=>m.Performer); }
@if (Model.WebSite!=null) {
<a target="yaext" href="@Model.WebSite" class="btn btn-info">@SR["WebSite"]: @Model.WebSite</a>
}
</div>

View file

@ -0,0 +1,11 @@
@model Yavsc.ViewModels.FrontOffice.PerformerProfileViewModel
<div class="performer @(Model.Active?"active":"inactive")">
@Html.DisplayFor(m=>m.UserName)
@if (Model.SettingsClassName!=null)
{ await Html.RenderPartialAsync( Model.SettingsClassName,Model.Settings); }
@if (Model.WebSite!=null) {
<a target="yaext" href="@Model.WebSite" class="btn btn-info">@SR["WebSite"]: @Model.WebSite</a>
}
</div>

View file

@ -0,0 +1,3 @@
<a href="https://twitter.com/intent/tweet?screen_name=TwitterDev"
class="twitter-mention-button" data-show-count="false">Tweet to @TwitterDev</a>
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>