This commit is contained in:
Paul Schneider 2026-07-04 18:46:24 +01:00
commit 17838bc78e
4 changed files with 87 additions and 38 deletions

View file

@ -0,0 +1,65 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<!--
route name for the api controller used to tag the 'BlogPost' entity
-->
<data name="AcceptPublicContact"><value>Accepte les demandes de prise de contact d'utilisateurs authentifié, sans plus de procès</value></data>
</root>

View file

@ -1,5 +1,5 @@
@model PerformerProfile
@{ ViewBag.Title = "Your performer profile"; }
@model PerformerProfile
@{ ViewBag.Title = "Your performer profile"; }
@section header {
<style>
#map {
@ -17,32 +17,33 @@
<h4>Setup below your activity parameters:</h4>
<hr />
<div asp-validation-summary="All" class="text-danger" id="valsum"></div>
<div class="form-group">
<label asp-for="AcceptNotifications" class="col-md-2 control-label">
AcceptNotifications"]
<label asp-for="AcceptNotifications" class="control-label">
@Localizer["AcceptNotifications"]
</label>
<div class="col-md-10">
<input asp-for="AcceptNotifications" class="form-control" />
<div>
<input class="form-check-input" type="checkbox" asp-for="AcceptNotifications" />
<span asp-validation-for="AcceptNotifications" class="text-danger"></span>
</div>
</div>
<div class="form-group">
<label asp-for="AcceptPublicContact" class="col-md-2 control-label">AcceptPublicContact</label>
<div class="col-md-10">
<input asp-for="AcceptPublicContact" class="form-control" />
<label asp-for="AcceptPublicContact" class="control-label">
@Localizer["AcceptPublicContact"]</label>
<div >
<input class="form-check-input" type="checkbox" asp-for="AcceptPublicContact" id="AcceptPublicContact">
<span asp-validation-for="AcceptPublicContact" class="text-danger"></span>
</div>
</div>
<div class="form-group">
<label asp-for="UseGeoLocalizationToReduceDistanceWithClients" class="col-md-2 control-label">
UseGeoLocalizationToReduceDistanceWithClients"]
<label asp-for="UseGeoLocalizationToReduceDistanceWithClients" class="control-label">
@Localizer["UseGeoLocalizationToReduceDistanceWithClients"]
</label>
<div class="col-md-10">
<input asp-for="UseGeoLocalizationToReduceDistanceWithClients" class="form-control" />
<div>
<input class="form-check-input" type="checkbox" asp-for="UseGeoLocalizationToReduceDistanceWithClients" />
<span asp-validation-for="UseGeoLocalizationToReduceDistanceWithClients" class="text-danger"></span>
</div>
@ -56,28 +57,11 @@
<span asp-validation-for="WebSite" class="text-danger"></span>
</div>
</div>
<div class="form-group">
<label asp-for="MinDailyCost" class="col-md-2 control-label">MinDailyCost</label>
<div class="col-md-10">
<input asp-for="MinDailyCost" class="form-control" />
<span asp-validation-for="MinDailyCost" class="text-danger"></span>
</div>
</div>
<div class="form-group">
<label asp-for="MaxDailyCost" class="col-md-2 control-label">MaxDailyCost</label>
<div class="col-md-10">
<input asp-for="MaxDailyCost" class="form-control" />
<span asp-validation-for="MaxDailyCost" class="text-danger"></span>
</div>
</div>
<div class="form-group">
<label asp-for="Active" class="col-md-2 control-label">ActivateMyProSettings</label>
<div class="col-md-10">
<div>
<input asp-for="Active" class="form-control" />
<span asp-validation-for="Active" class="text-danger"></span>
@ -95,7 +79,7 @@
<div class="form-group">
<label asp-for="OrganizationAddress.Address" class="col-md-2 control-label">Address</label>
<div class="col-md-10">
<div>
<input asp-for="OrganizationAddress.Address" class="form-control" type="text" />
<span id="AddressError" asp-validation-for="OrganizationAddress.Address" class="text-danger"></span>
@ -105,8 +89,8 @@
</div>
</div>
@Html.Hidden("OrganizationAddress.Latitude")
@Html.Hidden("OrganizationAddress.Longitude")
@Html.Hidden("OrganizationAddress.Latitude")
@Html.Hidden("OrganizationAddress.Longitude")
@Html.Hidden("PerformerId")
<button type="submit" class="btn btn-primary">Save these settings</button>
@ -118,7 +102,7 @@
@Html.Hidden("PerfomerId")
<button type="submit" class="btn btn-primary">UnsetActivity</button>
</form>
@section scripts {
@section scripts {
@{ await Html.RenderPartialAsync("_ValidationScriptsPartial"); }
@{ await Html.RenderPartialAsync("_MapScriptsPartial"); }
<script>

View file

@ -1,13 +1,13 @@
@model Yavsc.Models.Billing.ExceptionSIREN
<form asp-action="Create">
<form asp-action="Create" method="post">
<div class="form-horizontal">
<h4>Exception SIREN</h4>
<hr />
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
<div class="form-group">
@Html.TextBox("SIREN")
@Html.TextBox("SIREN")
<div class="col-md-offset-1 col-md-10">
<div class="col-md-offset-2 col-md-10">
<input type="submit" value="Create" class="btn btn-primary" />