pitit refact

This commit is contained in:
Paul Schneider 2026-06-04 12:13:37 +01:00
commit 20713eef64
235 changed files with 5374 additions and 373 deletions

View file

@ -1,9 +1,9 @@
@model Yavsc.Models.Bank.BankIdentity
@{
ViewData["Title"] = "Fill in your Bank Info";
ViewBag.Title = "Fill in your Bank Info";
}
<h2>@ViewData["Title"].</h2>
<h2>@ViewBag.Title.</h2>
<form asp-controller="Manage" asp-action="AddBankInfo" method="post" class="form-horizontal" role="form">
<h4>Vous pouvez valider vos coordonnée bancaire ci après.</h4>

View file

@ -1,9 +1,9 @@
@model AddPhoneNumberViewModel
@{
ViewData["Title"] = "Add Phone Number";
ViewBag.Title = "Add Phone Number";
}
<h2>@ViewData["Title"].</h2>
<h2>@ViewBag.Title.</h2>
<form asp-controller="Manage" asp-action="AddPhoneNumber" method="post" class="form-horizontal" role="form">
<h4>Add a phone number.</h4>
<hr />

View file

@ -1,9 +1,9 @@
@model ChangePasswordViewModel
@{
ViewData["Title"] = "Change Password";
ViewBag.Title = "Change Password";
}
<h2>@ViewData["Title"].</h2>
<h2>@ViewBag.Title.</h2>
<form asp-controller="Manage" asp-action="ChangePassword" method="post" class="form-horizontal" role="form">
<h4>Change Password Form</h4>

View file

@ -1,7 +1,7 @@
@{
ViewData["Title"] = @"Créditer";
ViewBag.Title = @"Créditer";
}
<h1>@ViewData["Title"]</h1>
<h1>@ViewBag.Title</h1>
<environment names="Development">
<em>Gimmy da flooze</em>
</environment>

View file

@ -1,7 +1,7 @@
@{
ViewData["Title"] = "Credits";
ViewBag.Title = "Credits";
}
<h1>@ViewData["Title"]</h1>
<h1>@ViewBag.Title</h1>
<em>Your credits</em>
<img src="https://devtools-paypal.com/image/bdg_payments_by_pp_2line.png" alt="PAYMENTS BY PayPal" />

View file

@ -1,11 +1,11 @@
@model IndexViewModel
@using System.Security.Claims
@{
ViewData["Title"] = "Manage your account";
ViewBag.Title = "Manage your account";
}
<h2>@ViewData["Title"]</h2>
<p class="text-success">@ViewData["StatusMessage"]</p>
<h2>@ViewBag.Title</h2>
<p class="text-success">@ViewBag.StatusMessage</p>
<div>
<h4>Your account settings</h4>
<hr />

View file

@ -1,11 +1,11 @@
@model ManageLoginsViewModel
@{
ViewData["Title"] = "Manage your external logins";
ViewBag.Title = "Manage your external logins";
}
<h2>@ViewData["Title"].</h2>
<h2>@ViewBag.Title.</h2>
<p class="text-success">@ViewData["StatusMessage"]</p>
<p class="text-success">@ViewBag.StatusMessage</p>
@if (Model.CurrentLogins.Count > 0)
{
<h4>Registered Logins</h4>
@ -17,7 +17,7 @@
<td>@account.LoginProvider</td>
<td>
@account.ProviderDisplayName
@if ((bool)ViewData["ShowRemoveButton"])
@if ((bool)ViewBag.ShowRemoveButton)
{
<form asp-controller="Manage" asp-action="RemoveLogin" method="post" class="form-horizontal" role="form">
<div>

View file

@ -1,8 +1,8 @@
@{
ViewData["Title"] = "Le paiment "+ViewData["id"]+" a échoué";
ViewBag.Title = "Le paiment "+ViewBag.id+" a échoué";
}
<h2>@ViewData["Title"].</h2>
<h2>@ViewBag.Title.</h2>
<p>
@ViewData["error"]
@ViewBag.error
</p>

View file

@ -1,9 +1,9 @@
@model Yavsc.ViewModels.PayPal.PaymentInfo
@{
ViewData["Title"] = "Informations sur le paiment "+ViewData["id"];
ViewBag.Title = "Informations sur le paiment "+ViewBag.id;
}
<h2>@ViewData["Title"].</h2>
<h2>@ViewBag.Title.</h2>
<p>
@if (Model.DbContent.Executor.Id == User.GetUserId()) {
<text>

View file

@ -1,5 +1,5 @@
@model PerformerProfile
@{ ViewData["Title"] = "Your performer profile"; }
@{ ViewBag.Title = "Your performer profile"; }
@section header {
<style>
#map {
@ -9,7 +9,7 @@
</style>
}
<h2>@ViewData["Title"]</h2>
<h2>@ViewBag.Title</h2>
@Html.DisplayFor(model => model)

View file

@ -1,5 +1,5 @@
@model PerformerProfile
@{ ViewData["Title"] = "Edit your avatar"; }
@{ ViewBag.Title = "Edit your avatar"; }
@section header{
<script src="https://unpkg.com/dropzone@5/dist/min/dropzone.min.js"></script>
<link rel="stylesheet" href="https://unpkg.com/dropzone@5/dist/min/dropzone.min.css" type="text/css" />

View file

@ -1,8 +1,8 @@
@model SetFullNameViewModel
@{ ViewData["Title"] = "Your full name"; }
@{ ViewBag.Title = "Your full name"; }
<h2>@ViewData["Title"]</h2>
<h2>@ViewBag.Title</h2>
<form asp-controller="Manage" asp-action="SetFullName" method="post" class="form-horizontal" role="form">
<h4>Indicate below your full name:</h4>

View file

@ -1,7 +1,7 @@
@model SetGoogleCalendarViewModel
@{
ViewData["Title"] = "Setup Google calendar access";
ViewBag.Title = "Setup Google calendar access";
}
<form asp-action="SetGoogleCalendar">
@{ var entryNum=0; }

View file

@ -1,6 +1,6 @@
@model SetPasswordViewModel
@{
ViewData["Title"] = "Set Password";
ViewBag.Title = "Set Password";
}
<p class="text-info">
@ -8,7 +8,7 @@
account so you can log in without an external login.
</p>
<form asp-controller="Manage" asp-action="SetPassword" asp-route-returnurl="@ViewData["ReturnUrl"]" method="post" class="form-horizontal" role="form">
<form asp-controller="Manage" asp-action="SetPassword" asp-route-returnurl="@ViewBag.ReturnUrl" method="post" class="form-horizontal" role="form">
<h4>Set your password</h4>
<hr />
<div asp-validation-summary="All" class="text-danger"></div>

View file

@ -1,9 +1,9 @@
@model SetUserNameViewModel
@{
ViewData["Title"] = "Changer de nom d'utilisateur";
ViewBag.Title = "Changer de nom d'utilisateur";
}
<h2>@ViewData["Title"].</h2>
<h2>@ViewBag.Title.</h2>
<form asp-controller="Manage" asp-action="SetUserName" method="post" class="form-horizontal" role="form">
<h4>Change user name form</h4>

View file

@ -1,14 +1,14 @@
@model VerifyPhoneNumberViewModel
@{
ViewData["Title"] = "Verify Phone Number";
ViewBag.Title = "Verify Phone Number";
}
<h2>@ViewData["Title"].</h2>
<h2>@ViewBag.Title.</h2>
<form asp-controller="Manage" asp-action="VerifyPhoneNumber" asp-route-returnurl="@ViewData["ReturnUrl"]" method="post" class="form-horizontal" role="form">
<form asp-controller="Manage" asp-action="VerifyPhoneNumber" asp-route-returnurl="@ViewBag.ReturnUrl" method="post" class="form-horizontal" role="form">
<input asp-for="PhoneNumber" type="hidden" />
<h4>Add a phone number.</h4>
<h5>@ViewData["Status"]</h5>
<h5>@ViewBag.Status</h5>
<hr />
<div asp-validation-summary="All" class="text-danger"></div>
<div class="form-group">