FIXME Razor page errors
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
|
||||
@{ ViewData["Title"] = "Proposition de rendez-vous "+
|
||||
@SR["to"]+" " ["+SR[ViewBag.Activity.Code]+"]"; }
|
||||
to"]+" " ["+SR[ViewBag.Activity.Code]+"]"; }
|
||||
|
||||
<script src="https://maps.googleapis.com/maps/api/js?key=@ViewBag.GoogleSettings.BrowserApiKey"></script>
|
||||
<script type="text/javascript" src="~/lib/moment/moment-with-locales.min.js"></script>
|
||||
@ -116,14 +116,14 @@
|
||||
<h2>@ViewData["Title"]</h2>
|
||||
<form asp-action="Create" id="FrmComCre" role="form">
|
||||
<div class="form-horizontal">
|
||||
<h4>@SR["Fill in your book query"]</h4>
|
||||
<h4>Fill in your book query</h4>
|
||||
<hr />
|
||||
<div asp-validation-summary="ValidationSummary.All" class="text-danger" id="valsum"></div>
|
||||
<div asp-validation-summary="All" class="text-danger" id="valsum"></div>
|
||||
<div class="form-group" has-feedback>
|
||||
<fieldset>
|
||||
<legend>Votre évennement</legend>
|
||||
<label for="EventDate" class="col-md-2 control-label">
|
||||
@SR["Event date"]
|
||||
Event date"]
|
||||
</label>
|
||||
<div class="col-md-10">
|
||||
<div class="container">
|
||||
@ -150,7 +150,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<label for="Location_Address" class="col-md-2 control-label">
|
||||
@SR["Location"]
|
||||
Location"]
|
||||
</label>
|
||||
<div class="col-md-10">
|
||||
<div class="container">
|
||||
@ -158,7 +158,7 @@
|
||||
<div class='col-sm-6'>
|
||||
<div >
|
||||
<input asp-for="Location.Address" type="text" name="Location.Address" id="Location_Address" class="form-control" data-val-required=@SR[
|
||||
"SpecifyPlace"] data-val-remote=@SR[ "GoogleDidntGeoLocalized"]>
|
||||
"SpecifyPlace"] data-val-remote= "GoogleDidntGeoLocalized">
|
||||
<span asp-validation-for="Location.Address" class="text-danger" id="valloc"></span>
|
||||
<ul id="loccomb">
|
||||
</ul>
|
||||
@ -192,7 +192,7 @@
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-md-offset-2 col-md-10">
|
||||
<input type="submit" value="@SR[" Create "]" class="btn btn-default" />
|
||||
<input type="submit" value=" Create "]" class="btn btn-default" />
|
||||
</div>
|
||||
</div>
|
||||
@Html.HiddenFor(model=>model.ClientId)
|
||||
|
@ -5,23 +5,23 @@
|
||||
}
|
||||
<h2>@ViewData["Title"]</h2>
|
||||
<div class="form-horizontal">
|
||||
<h4>@SR["Your book query"]</h4>
|
||||
<h4>Your book query</h4>
|
||||
<hr />
|
||||
<label for="EventDate">@SR["Event date"]</label>: @Html.DisplayFor(m => m.EventDate)
|
||||
<label for="EventDate">Event date</label>: @Html.DisplayFor(m => m.EventDate)
|
||||
<br/>
|
||||
|
||||
<label for="Location">@SR["Location"]</label>: @Html.DisplayFor(m => m.Location)
|
||||
<label for="Location">Location</label>: @Html.DisplayFor(m => m.Location)
|
||||
<br/>
|
||||
|
||||
@if (ViewBag.GooglePayload !=null)
|
||||
{
|
||||
@if (ViewBag.GooglePayload.success>0) {
|
||||
<h4>@SR["GCM Notifications sent"]</h4>
|
||||
<h4>GCM Notifications sent</h4>
|
||||
}
|
||||
else {
|
||||
if (ViewBag.GooglePayload.failure>0)
|
||||
{
|
||||
<h4>@SR["GCM Notification sending failed"]</h4>
|
||||
<h4>GCM Notification sending failed</h4>
|
||||
<pre><code>@Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.GooglePayload)</code></pre>
|
||||
}
|
||||
}
|
||||
|
@ -18,7 +18,7 @@
|
||||
<div class="form-horizontal">
|
||||
<h4>Saisissez votre demande de rendez-vous</h4>
|
||||
<hr />
|
||||
<div asp-validation-summary="ValidationSummary.All" class="text-danger"></div>
|
||||
<div asp-validation-summary="All" class="text-danger"></div>
|
||||
<div class="form-group" has-feedback>
|
||||
<fieldset>
|
||||
<legend>La date de votre évennement</legend>
|
||||
@ -47,7 +47,7 @@
|
||||
|
||||
<div class="form-group">
|
||||
<fieldset>
|
||||
<label asp-for="Location.Address" class="col-md-2 control-label">@SR["Address"]</label>
|
||||
<label asp-for="Location.Address" class="col-md-2 control-label">Address</label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="Location.Address" class="form-control" type="text" data-val-required="Spécifier un lieu" />
|
||||
|
||||
@ -111,4 +111,4 @@
|
||||
});
|
||||
})
|
||||
</script>
|
||||
}
|
||||
}
|
||||
|
@ -1,12 +1,12 @@
|
||||
@model RdvQuery
|
||||
|
||||
@{
|
||||
ViewData["Title"] = @SR["Delete"];
|
||||
ViewData["Title"] = "Delete";
|
||||
}
|
||||
|
||||
<h2>@SR["Delete"]</h2>
|
||||
<h2>Delete</h2>
|
||||
|
||||
<h3>@SR["AreYourSureYouWantToDeleteThis"]</h3>
|
||||
<h3>AreYourSureYouWantToDeleteThis</h3>
|
||||
<div>
|
||||
<h4>Command</h4>
|
||||
<hr />
|
||||
@ -22,7 +22,7 @@
|
||||
<form asp-action="Delete">
|
||||
<div class="form-actions no-color">
|
||||
<input type="submit" value="Delete" class="btn btn-default" /> |
|
||||
<a asp-action="Index">@SR["Back to List"]</a>
|
||||
<a asp-action="Index">Back to List</a>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
@ -1,17 +1,17 @@
|
||||
@model RdvQuery
|
||||
|
||||
@{
|
||||
ViewData["Title"] = @SR["Details"];
|
||||
ViewData["Title"] = "Details";
|
||||
}
|
||||
|
||||
<h2>@ViewData["Title"]</h2>
|
||||
|
||||
<div>
|
||||
<h4>@SR["Command"]</h4>
|
||||
<h4>Command</h4>
|
||||
<hr />
|
||||
@Html.DisplayFor(m=>m)
|
||||
</div>
|
||||
<p>
|
||||
<a asp-action="Edit" asp-route-id="@Model.Id">@SR["Edit"]</a> |
|
||||
<a asp-action="Index">@SR["Back to List"]</a>
|
||||
<a asp-action="Edit" asp-route-id="@Model.Id">Edit</a> |
|
||||
<a asp-action="Index">Back to List</a>
|
||||
</p>
|
||||
|
@ -4,13 +4,13 @@
|
||||
ViewData["Title"] = "Edit";
|
||||
}
|
||||
|
||||
<h2>@SR["Edit"]</h2>
|
||||
<h2>Edit</h2>
|
||||
|
||||
<form asp-action="Edit">
|
||||
<div class="form-horizontal">
|
||||
<h4>Command</h4>
|
||||
<hr />
|
||||
<div asp-validation-summary="ValidationSummary.ModelOnly" class="text-danger"></div>
|
||||
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
|
||||
<input type="hidden" asp-for="Id" />
|
||||
<div class="form-group">
|
||||
<label asp-for="ValidationDate" class="col-md-2 control-label"></label>
|
||||
@ -28,6 +28,6 @@
|
||||
</form>
|
||||
|
||||
<div>
|
||||
<a asp-action="Index">@SR["Back to List"]</a>
|
||||
<a asp-action="Index">Back to List</a>
|
||||
</div>
|
||||
|
||||
|
@ -1,30 +1,30 @@
|
||||
@model IEnumerable<RdvQuery>
|
||||
|
||||
@{
|
||||
ViewData["Title"] = @SR["Index"];
|
||||
ViewData["Title"] = "Index";
|
||||
}
|
||||
|
||||
<h2>@SR["Index"]</h2>
|
||||
<h2>Index</h2>
|
||||
|
||||
<table class="table">
|
||||
<tr>
|
||||
<th>
|
||||
@SR["DateCreated"]
|
||||
DateCreated"]
|
||||
</th>
|
||||
<th>
|
||||
@SR["EventDate"]
|
||||
EventDate"]
|
||||
</th>
|
||||
<th>
|
||||
@SR["Location"]
|
||||
Location"]
|
||||
</th>
|
||||
<th>
|
||||
@SR["Client"]
|
||||
Client"]
|
||||
</th>
|
||||
<th>
|
||||
@SR["Performer"]
|
||||
Performer"]
|
||||
</th>
|
||||
<th>
|
||||
@SR["ValidationDate"]
|
||||
ValidationDate"]
|
||||
</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
|
Reference in New Issue
Block a user