This commit is contained in:
Paul Schneider 2026-07-04 20:03:56 +01:00
commit bce6280750
55 changed files with 235 additions and 45 deletions

View file

@ -1,4 +1,8 @@

@{
ViewBag.Title = Localizer["Account"];
}
<div class="container">
<div class="lead">
<h1>Access Denied</h1>

View file

@ -1,4 +1,7 @@
@model ForgotPasswordViewModel
@{
ViewBag.Title = Localizer["Account"];
}
<form asp-controller="Account" asp-action="ForgotPassword">
<div class="form-group">
@ -6,4 +9,4 @@
<input class="form-control" placeholder="LoginOrEmail" asp-for="LoginOrEmail" autofocus>
</div>
<button class="btn btn-primary" name="button" value="send">Send me a recovery link</button>
</form>
</form>

View file

@ -1,5 +1,7 @@
@model string
@{
ViewBag.Title = Localizer["Account"];
}
<h1>Check your mail box!</h1>

View file

@ -1,4 +1,8 @@
@model LoggedOutViewModel
@{
ViewBag.Title = Localizer["Account"];
}
@model LoggedOutViewModel
@{
// set this so the layout rendering sees an anonymous user

View file

@ -1,4 +1,7 @@
@model LoginViewModel
@{
ViewBag.Title = Localizer["Account"];
}
<div class="login-page">
<div class="lead">
@ -84,4 +87,4 @@
</div>
}
</div>
</div>
</div>

View file

@ -1,4 +1,8 @@
@model LogoutViewModel
@{
ViewBag.Title = Localizer["Account"];
}
@model LogoutViewModel
<div class="logout-page">
<div class="lead">

View file

@ -1,8 +1,11 @@
@model RegisterModel
@{
ViewBag.Title = Localizer["Account"];
}
<partial name="_ValidationSummary" />
<form method="post">
@Html.EditorForModel()
<button class="btn btn-primary" name="button"
value="Register">Register</button>
</form>
</form>

View file

@ -1,4 +1,7 @@
@model ResetPasswordViewModel
@{
ViewBag.Title = Localizer["Account"];
}
<form asp-route-id="@Model.Id" asp-route-code="@Model.Code">
<p>Your email : <code>@Model.Email</code></p>
@ -15,4 +18,4 @@
<button class="btn btn-primary" name="button" value="Reset">Reset Password</button>
</form>
</form>

View file

@ -1,4 +1,7 @@
@model SignInModel
@{
ViewBag.Title = Localizer["Account"];
}
<div class="login-page">
<div class="lead">
@ -84,4 +87,4 @@
</div>
}
</div>
</div>
</div>

View file

@ -1,4 +1,7 @@
@model HaircutAdminViewModel
@{
ViewBag.Title = Localizer["Administration"];
}
<a asp-controller="HairTaints" class="btn btn-primary">
Gestion des couleurs

View file

@ -1,4 +1,7 @@
@model IdentityServer8.EntityFramework.Entities.ApiScope
@{
ViewBag.Title = Localizer["ApiScope"];
}
@{
Layout = null;
@ -66,4 +69,4 @@
</div>
</body>
</html>
</html>

View file

@ -1,4 +1,7 @@
@model Yavsc.Models.YavscApiScope
@{
ViewBag.Title = Localizer["ApiScope"];
}
@{
Layout = null;
@ -69,4 +72,4 @@
</form>
</div>
</body>
</html>
</html>

View file

@ -1,4 +1,7 @@
@model Yavsc.Models.YavscApiScope
@{
ViewBag.Title = Localizer["ApiScope"];
}
@{
Layout = null;
@ -66,4 +69,4 @@
<a asp-action="Index">Back to List</a>
</div>
</body>
</html>
</html>

View file

@ -1,4 +1,7 @@
@model Yavsc.Models.YavscApiScope
@{
ViewBag.Title = Localizer["ApiScope"];
}
@{
Layout = null;
@ -67,4 +70,4 @@
</div>
</body>
</html>
</html>

View file

@ -1,4 +1,7 @@
@model Client
@{
ViewBag.Title = Localizer["Client"];
}
<h2>@Localizer["Create"]</h2>
@ -77,4 +80,3 @@
<div>
<a asp-action="Index">@Localizer["Back to List"]</a>
</div>

View file

@ -1,4 +1,7 @@
@model Client
@{
ViewBag.Title = Localizer["Client"];
}
<h2>@Localizer["Delete"]</h2>
@ -63,4 +66,4 @@
<a asp-action="Index">@Localizer["Back to List"]</a>
</div>
</form>
</div>
</div>

View file

@ -2,7 +2,12 @@
@using Microsoft.AspNetCore.Html
@using System.Text
@{
ViewBag.Title = Localizer["Client"];
}
@functions {
// Lifetimes in IdentityServer are stored as seconds (int). Render them
// in a human-friendly way: "5 min", "2 h", "30 d", "—" for 0/negative.
// Zero typically means "use the global default" — show it as such so

View file

@ -1,4 +1,7 @@
@model Client
@{
ViewBag.Title = Localizer["Client"];
}
<h2>@Localizer["Edit"]</h2>
@ -303,4 +306,4 @@
<div>
<a asp-action="Index">@Localizer["Back to List"]</a>
</div>
</div>

View file

@ -1,4 +1,8 @@
@model IEnumerable<IdentityServer8.EntityFramework.Entities.ClientClaim>
@{
ViewBag.Title = Localizer["Client"];
}
@{
ViewData["Title"] = "Edit Client Claims";
var clientId = Model.FirstOrDefault()?.ClientId ?? 0;
@ -61,4 +65,4 @@
<p>
<a asp-action="Edit" asp-route-id="@clientId">Back to client</a>
</p>
</p>

View file

@ -1,4 +1,8 @@
@model IEnumerable<IdentityServer8.EntityFramework.Entities.ClientCorsOrigin>
@{
ViewBag.Title = Localizer["Client"];
}
@{
ViewData["Title"] = "Edit Allowed CORS Origins";
ViewData["addAction"] = "AddCorsOrigin";
@ -23,4 +27,4 @@
<p>
<a asp-action="Edit" asp-route-id="@ViewData["clientId"]">Back to client</a>
</p>
</p>

View file

@ -1,4 +1,8 @@
@model IEnumerable<IdentityServer8.EntityFramework.Entities.ClientGrantType>
@{
ViewBag.Title = Localizer["Client"];
}
@{
ViewData["Title"] = "Edit Allowed Grant Types";
ViewData["addAction"] = "AddGrantType";
@ -24,4 +28,4 @@
<p>
<a asp-action="Edit" asp-route-id="@ViewData["clientId"]">Back to client</a>
</p>
</p>

View file

@ -1,4 +1,8 @@
@model IEnumerable<IdentityServer8.EntityFramework.Entities.ClientIdPRestriction>
@{
ViewBag.Title = Localizer["Client"];
}
@{
ViewData["Title"] = "Edit Identity Provider Restrictions";
ViewData["addAction"] = "AddIdPRestriction";
@ -21,4 +25,4 @@
<p>
<a asp-action="Edit" asp-route-id="@ViewData["clientId"]">Back to client</a>
</p>
</p>

View file

@ -1,4 +1,8 @@
@model IEnumerable<IdentityServer8.EntityFramework.Entities.ClientPostLogoutRedirectUri>
@{
ViewBag.Title = Localizer["Client"];
}
@{
ViewData["Title"] = "Edit Post-logout Redirect URIs";
ViewData["addAction"] = "AddPostLogoutRedirectUri";
@ -22,4 +26,4 @@
<p>
<a asp-action="Edit" asp-route-id="@ViewData["clientId"]">Back to client</a>
</p>
</p>

View file

@ -1,4 +1,8 @@
@model IEnumerable<IdentityServer8.EntityFramework.Entities.ClientProperty>
@{
ViewBag.Title = Localizer["Client"];
}
@{
ViewData["Title"] = "Edit Client Properties";
var clientId = Model.FirstOrDefault()?.ClientId ?? 0;
@ -62,4 +66,4 @@
<p>
<a asp-action="Edit" asp-route-id="@clientId">Back to client</a>
</p>
</p>

View file

@ -1,4 +1,8 @@
@model IEnumerable<IdentityServer8.EntityFramework.Entities.ClientRedirectUri>
@{
ViewBag.Title = Localizer["Client"];
}
@{
ViewData["Title"] = "Edit Redirect URIs";
ViewData["addAction"] = "AddRedirectUri";
@ -22,4 +26,4 @@
<p>
<a asp-action="Edit" asp-route-id="@ViewData["clientId"]">Back to client</a>
</p>
</p>

View file

@ -1,4 +1,8 @@
@model IEnumerable<IdentityServer8.EntityFramework.Entities.ClientScope>
@{
ViewBag.Title = Localizer["Client"];
}
@{
ViewData["Title"] = "Edit Allowed Scopes";
ViewData["addAction"] = "AddScope";
@ -22,4 +26,4 @@
<p>
<a asp-action="Edit" asp-route-id="@ViewData["clientId"]">Back to client</a>
</p>
</p>

View file

@ -1,4 +1,8 @@
@model IEnumerable<IdentityServer8.EntityFramework.Entities.ClientSecret>
@{
ViewBag.Title = Localizer["Client"];
}
@{
ViewData["Title"] = "Edit Client Secrets";
var clientId = Model.FirstOrDefault()?.ClientId ?? 0;
@ -80,4 +84,4 @@
<p>
<a asp-action="Edit" asp-route-id="@clientId">Back to client</a>
<a asp-action="RegenerateSecret" asp-route-id="@clientId" class="ml-3">Regenerate a single secret</a>
</p>
</p>

View file

@ -1,4 +1,7 @@
@model Client
@{
ViewBag.Title = Localizer["Client"];
}
<h2>@Localizer["Regenerate client secret"]</h2>
@ -36,4 +39,4 @@
@Html.AntiForgeryToken()
<button type="submit" class="btn btn-danger">@Localizer["Regenerate now"]</button>
<a asp-action="Details" asp-route-id="@Model.Id" class="btn btn-default">@Localizer["Cancel"]</a>
</form>
</form>

View file

@ -1,3 +1,7 @@
@{
ViewBag.Title = Localizer["Client"];
}
@{
var secret = ViewBag.NewClientSecret as string;
var expiresAt = ViewBag.NewClientSecretExpiresAt as string;

View file

@ -1,7 +1,10 @@
@{
ViewBag.Title = Localizer["Device"];
}
<div class="page-device-success">
<div class="lead">
<h1>Success</h1>
<p>You have successfully authorized the device</p>
</div>
</div>
</div>

View file

@ -1,4 +1,7 @@
@model string
@{
ViewBag.Title = Localizer["Device"];
}
<div class="page-device-code">
<div class="lead">
@ -20,4 +23,4 @@
</form>
</div>
</div>
</div>
</div>

View file

@ -1,4 +1,7 @@
@model DeviceAuthorizationViewModel
@{
ViewBag.Title = Localizer["Device"];
}
<div class="page-device-confirmation">
<div class="lead">
@ -105,4 +108,4 @@
</div>
</div>
</form>
</div>
</div>

View file

@ -1,4 +1,7 @@
@model Instrumentation
@{
ViewBag.Title = Localizer["Do"];
}
<h2>@Model.Tool.Name</h2>
@ -6,4 +9,4 @@
Remove Instrument</a>
<form asp-action="AddInstrument" asp-controller="Instrumentation" asp-action-id="Model.UserId" >
<select name="Name" value="" placeholder="Séléctionnez votre instrument" ></select>
</form>
</form>

View file

@ -0,0 +1,4 @@
@{
ViewBag.Title = Localizer["FrontOffice"];
}

View file

@ -0,0 +1,4 @@
@{
ViewBag.Title = Localizer["FrontOffice"];
}

View file

@ -0,0 +1,4 @@
@{
ViewBag.Title = Localizer["FrontOffice"];
}

View file

@ -0,0 +1,4 @@
@{
ViewBag.Title = Localizer["FrontOffice"];
}

View file

@ -1,4 +1,7 @@
@model Yavsc.Models.Haircut.BrusherProfile
@{
ViewBag.Title = Localizer["FrontOffice"];
}
<fieldset>
<legend>Disponibilités</legend>

View file

@ -1,5 +1,8 @@
@model Yavsc.Models.Musical.Profiles.Instrumentation
@{
ViewBag.Title = Localizer["FrontOffice"];
}
@if (Model == null) {
<p>NoInstrument</p>
@ -17,4 +20,4 @@
</dd>
</dl>
</fieldset>
}
}

View file

@ -1,4 +1,8 @@
@model Yavsc.Models.Workflow.Profiles.FormationSettings
@{
ViewBag.Title = Localizer["FrontOffice"];
}
@if (Model != null && Model.CoWorking != null) {
<dl class="dl-horizontal">
<dt>Partenariat</dt>
@ -10,4 +14,4 @@
}
</ul></dd>
</dl>
}
}

View file

@ -1,4 +1,7 @@
@model BrusherProfile
@{
ViewBag.Title = Localizer["HairCutCommand"];
}
<script>
var tarifs =
@ -26,4 +29,4 @@ var tarifs =
care: @Model.CarePrice }
];
</script>
</script>

View file

@ -1,4 +1,7 @@
@using System.Diagnostics
@{
ViewBag.Title = Localizer["Home"];
}
<h1>@SiteSettings.Value.Title - À Propos</h1>
@ -67,4 +70,4 @@ Il a accès à la connaissance des journées connues comme libres des artistes p
De plus, le droit de retrait est permanent et sa mise en oeuvre immédiate.
Les artistes comme les clients peuvent demander leur désinscription, qui désactive immédiatement les publications associées à leurs informations, et programme la suppression complète de ces dites informations dans les quinze jours à compter de la demande, sauf demande contradictoire.
L'opération est annulable, jusqu'à deux semaines après sa programmation.
</asciidoc>
</asciidoc>

View file

@ -1,3 +1,7 @@
@{
ViewBag.Title = Localizer["Home"];
}
<h1>@SiteSettings.Value.Title - objetivo</h1>
<environment names="freefield,Development">

View file

@ -1,4 +1,7 @@
@using System.Diagnostics
@{
ViewBag.Title = Localizer["Home"];
}
@{
var version = FileVersionInfo.GetVersionInfo(typeof(IdentityServer8.Hosting.IdentityServerMiddleware).Assembly.Location).ProductVersion.Split('+').First();
@ -29,4 +32,4 @@
and <a href="https://github.com/IdentityServer/IdentityServer8/tree/main/samples">ready to use samples</a>.
</li>
</ul>
</div>
</div>

View file

@ -1,3 +1,7 @@
@{
ViewBag.Title = Localizer["Home"];
}
@Model BasketView
<ul>

View file

@ -1,5 +1,9 @@
@using Microsoft.IdentityModel.Protocols.Configuration
@model SiteSettings
@{
ViewBag.Title = Localizer["Home"];
}
<h2>Contact</h2>
<p>@Model.Owner.Name </p>
@ -9,4 +13,4 @@
<address>
<strong>Support:</strong> <a href="mailto:@Model.Admin.EMail">@(Model.Admin.Name)&lt;@(Model.Admin.EMail)&gt;</a><br />
<strong>Marketing:</strong> <a href="mailto:@Model.Owner.EMail">@(Model.Owner.Name)&lt;@(Model.Owner.EMail)&gt;</a>
</address>
</address>

View file

@ -1,3 +1,6 @@
@{
ViewBag.Title = Localizer["Home"];
}
<asciidoc>
= La confidentialité
@ -10,4 +13,4 @@ ne sont transmis à personne. Seul le système et son link:Contact[possesseur] o
De plus, le droit de retrait est permanent et sa mise en oeuvre link:/Account/Delete[immédiate].
</asciidoc>
</asciidoc>

View file

@ -1,5 +1,9 @@
@model DoDirectCreditViewModel
@{
ViewBag.Title = Localizer["Manage"];
}
<form asp-action="DoDirectCredit">
<div asp-validation-summary="All" class="text-danger" id="ValidationSummary"></div>
@ -124,4 +128,4 @@
</div>
</div>
</div><input asp-for="IpnNotificationUrl" type="hidden" />
</form>
</form>

View file

@ -1,4 +1,7 @@
@model Yavsc.ViewModels.Manage.ProfileEMailUsageViewModel
@{
ViewBag.Title = Localizer["Manage"];
}
<form asp-action="ProfileEMailUsage" >
@ -17,4 +20,4 @@
</div>
</div>
</div>
</form>
</form>

View file

@ -1,4 +1,8 @@
@model Location
@{
ViewBag.Title = Localizer["Manage"];
}
@section header {
<style>
#amap {
@ -45,4 +49,4 @@
locComboId: 'LocationCombo'})
})
</script>
}
}

View file

@ -1,4 +1,8 @@
@using System
@{
ViewBag.Title = Localizer["OAuth"];
}
@using System
@using System.Security.Claims
@{
var error = Context.Items["oauth.Error"];

View file

@ -1,4 +1,8 @@

@{
ViewBag.Title = Localizer["OAuth"];
}
@using System
@using System.Security.Claims
@{

View file

@ -1,5 +1,8 @@
@model Yavsc.Models.Billing.ExceptionSIREN
@{
ViewBag.Title = Localizer["SIRENExceptions"];
}
<form asp-action="Create" method="post">
<div class="form-horizontal">
@ -19,4 +22,4 @@
<div>
<a asp-action="Index">Back to List</a>
</div>
</div>

View file

@ -1,4 +1,7 @@
@model Yavsc.Models.Billing.ExceptionSIREN
@{
ViewBag.Title = Localizer["SIRENExceptions"];
}
@{
Layout = "null";
@ -28,4 +31,4 @@
</form>
</div>
</body>
</html>
</html>

View file

@ -1,4 +1,7 @@
@model Yavsc.Models.Billing.ExceptionSIREN
@{
ViewBag.Title = Localizer["SIRENExceptions"];
}
@{
Layout = "null";
@ -24,4 +27,4 @@
<a asp-action="Index">Back to List</a>
</p>
</body>
</html>
</html>