git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C36
This commit is contained in:
parent
3056181a6c
commit
2672b95a6b
20 changed files with 25 additions and 762 deletions
|
|
@ -7688,24 +7688,6 @@
|
||||||
<Content Include="Views\Home\About.cshtml" />
|
<Content Include="Views\Home\About.cshtml" />
|
||||||
<Content Include="Views\Home\Contact.cshtml" />
|
<Content Include="Views\Home\Contact.cshtml" />
|
||||||
<Content Include="Views\Home\Index.cshtml" />
|
<Content Include="Views\Home\Index.cshtml" />
|
||||||
<Content Include="Views\Account\_ExternalLoginsListPartial.cshtml" />
|
|
||||||
<Content Include="Views\Account\ConfirmEmail.cshtml" />
|
|
||||||
<Content Include="Views\Account\ExternalLoginConfirmation.cshtml" />
|
|
||||||
<Content Include="Views\Account\ExternalLoginFailure.cshtml" />
|
|
||||||
<Content Include="Views\Account\ForgotPassword.cshtml" />
|
|
||||||
<Content Include="Views\Account\ForgotPasswordConfirmation.cshtml" />
|
|
||||||
<Content Include="Views\Account\Login.cshtml" />
|
|
||||||
<Content Include="Views\Account\Register.cshtml" />
|
|
||||||
<Content Include="Views\Account\ResetPassword.cshtml" />
|
|
||||||
<Content Include="Views\Account\ResetPasswordConfirmation.cshtml" />
|
|
||||||
<Content Include="Views\Account\SendCode.cshtml" />
|
|
||||||
<Content Include="Views\Account\VerifyCode.cshtml" />
|
|
||||||
<Content Include="Views\Manage\AddPhoneNumber.cshtml" />
|
|
||||||
<Content Include="Views\Manage\ChangePassword.cshtml" />
|
|
||||||
<Content Include="Views\Manage\Index.cshtml" />
|
|
||||||
<Content Include="Views\Manage\ManageLogins.cshtml" />
|
|
||||||
<Content Include="Views\Manage\SetPassword.cshtml" />
|
|
||||||
<Content Include="Views\Manage\VerifyPhoneNumber.cshtml" />
|
|
||||||
<Content Include="Views\Shared\Lockout.cshtml" />
|
<Content Include="Views\Shared\Lockout.cshtml" />
|
||||||
<Content Include="Views\Shared\_LoginPartial.cshtml" />
|
<Content Include="Views\Shared\_LoginPartial.cshtml" />
|
||||||
<Content Include="Scripts\umd\popper-utils.min.js.map" />
|
<Content Include="Scripts\umd\popper-utils.min.js.map" />
|
||||||
|
|
@ -7725,10 +7707,6 @@
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Folder Include="App_Data\" />
|
<Folder Include="App_Data\" />
|
||||||
<Folder Include="Content\themes\base\minified\images\" />
|
<Folder Include="Content\themes\base\minified\images\" />
|
||||||
<Folder Include="Views\AplicacionAPI\" />
|
|
||||||
<Folder Include="Views\Base\" />
|
|
||||||
<Folder Include="Views\CatalogosController\" />
|
|
||||||
<Folder Include="Views\MantenimientoAPI\" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Content Include="packages.config" />
|
<Content Include="packages.config" />
|
||||||
|
|
|
||||||
|
|
@ -1,21 +1,14 @@
|
||||||
//$("#formCatalogo").EnableValidationToolTip();
|
var DataCatalogo;
|
||||||
var DataCatalogo;
|
|
||||||
var id_column = 1;
|
var id_column = 1;
|
||||||
var Item = {};
|
var Item = {};
|
||||||
|
|
||||||
|
|
||||||
//#region READY
|
|
||||||
|
|
||||||
jQuery(document).ready(function () {
|
jQuery(document).ready(function () {
|
||||||
|
|
||||||
|
|
||||||
getDataModel();
|
getDataModel();
|
||||||
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
//#endregion
|
|
||||||
|
|
||||||
this.getDataModel = function () {
|
this.getDataModel = function () {
|
||||||
|
|
||||||
$('#txtDescripcion').attr('size', 50);
|
$('#txtDescripcion').attr('size', 50);
|
||||||
|
|
@ -24,8 +17,8 @@ this.getDataModel = function () {
|
||||||
$('#btnInsertar').show();
|
$('#btnInsertar').show();
|
||||||
|
|
||||||
|
|
||||||
$('#btnLimpiar').click(function () {
|
$('#btnLimpiarControles').click(function () {
|
||||||
limpiar();
|
LimpiarControles();
|
||||||
|
|
||||||
$('#btnGuardar').hide();
|
$('#btnGuardar').hide();
|
||||||
$('#btnInsertar').show();
|
$('#btnInsertar').show();
|
||||||
|
|
@ -41,8 +34,7 @@ this.getDataModel = function () {
|
||||||
|
|
||||||
|
|
||||||
$('#TableItems').TableInit(0, false, true, true, false, null, null);
|
$('#TableItems').TableInit(0, false, true, true, false, null, null);
|
||||||
obtenerItems();
|
ObtenerEmisores();
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -86,7 +78,7 @@ this.CargarGridEmisores = function (data) {
|
||||||
ENDREQUEST();
|
ENDREQUEST();
|
||||||
}
|
}
|
||||||
|
|
||||||
this.obtenerItems = function () {
|
this.ObtenerEmisores = function () {
|
||||||
|
|
||||||
var uri = CatalogosWCF + '/api/ObtenerEmisor';
|
var uri = CatalogosWCF + '/api/ObtenerEmisor';
|
||||||
AjaxPostData(uri, null, false, false, CargarGridEmisores, null, null);
|
AjaxPostData(uri, null, false, false, CargarGridEmisores, null, null);
|
||||||
|
|
@ -96,7 +88,7 @@ this.obtenerItems = function () {
|
||||||
this.EditarItem = function (id) {
|
this.EditarItem = function (id) {
|
||||||
|
|
||||||
TableItems = $('#TableItems').DataTable();
|
TableItems = $('#TableItems').DataTable();
|
||||||
limpiar();
|
LimpiarControles();
|
||||||
var indexes = getRowIndex(TableItems, id_column, id);
|
var indexes = getRowIndex(TableItems, id_column, id);
|
||||||
|
|
||||||
if (indexes != null) {
|
if (indexes != null) {
|
||||||
|
|
@ -104,19 +96,14 @@ this.EditarItem = function (id) {
|
||||||
$('#hiddenId').val(id)
|
$('#hiddenId').val(id)
|
||||||
$('#txtDescripcion').val(TableItems.cell(indexes, 2).data());
|
$('#txtDescripcion').val(TableItems.cell(indexes, 2).data());
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$("#formCatalogo").validateElement("#txtDescripcion");
|
$("#formCatalogo").validateElement("#txtDescripcion");
|
||||||
|
|
||||||
|
|
||||||
$('#lbTituloAccion').empty();
|
$('#lbTituloAccion').empty();
|
||||||
$('#lbTituloAccion').append('Editar Valor de Campo ID: ' + id);
|
$('#lbTituloAccion').append('Editar Valor de Campo ID: ' + id);
|
||||||
|
|
||||||
$('#btnInsertar').hide();
|
$('#btnInsertar').hide();
|
||||||
$('#btnGuardar').show();
|
$('#btnGuardar').show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
this.toggleEnabledItem = function (id, value) {
|
this.toggleEnabledItem = function (id, value) {
|
||||||
|
|
@ -157,13 +144,13 @@ this.toggleEnabledItem = function (id, value) {
|
||||||
|
|
||||||
if (data.CodigoRespuesta == "EXITOSO") {
|
if (data.CodigoRespuesta == "EXITOSO") {
|
||||||
toastr.info('Información actualizada con éxito', 'Completado');
|
toastr.info('Información actualizada con éxito', 'Completado');
|
||||||
limpiar();
|
LimpiarControles();
|
||||||
|
|
||||||
$('#btnGuardar').hide();
|
$('#btnGuardar').hide();
|
||||||
$('#btnInsertar').show();
|
$('#btnInsertar').show();
|
||||||
|
|
||||||
TableItems.clear().draw();
|
TableItems.clear().draw();
|
||||||
obtenerItems();
|
ObtenerEmisores();
|
||||||
ENDREQUEST();
|
ENDREQUEST();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
@ -194,58 +181,16 @@ this.ActualizarItem = function () {
|
||||||
|
|
||||||
if (!confirm("Se guardarán los cambios.\n ¿Desea continuar?"))
|
if (!confirm("Se guardarán los cambios.\n ¿Desea continuar?"))
|
||||||
{ return; }
|
{ return; }
|
||||||
STARTREQUEST();
|
|
||||||
TableItems = $('#TableItems').DataTable();
|
|
||||||
|
|
||||||
Emisor = {
|
TableItems = $('#TableItems').DataTable();
|
||||||
|
EmisorPN = {
|
||||||
IdEmisor: $('#hiddenId').val(),
|
IdEmisor: $('#hiddenId').val(),
|
||||||
Descripcion: $('#txtDescripcion').val(),
|
Descripcion: $('#txtDescripcion').val(),
|
||||||
Estado : 1,
|
Estado : 1,
|
||||||
}
|
}
|
||||||
|
|
||||||
var uri = CatalogosWCF + '/api/InsertarActualizarEmisor'
|
var uri = CatalogosWCF + '/api/InsertarActualizarEmisor';
|
||||||
var DTO = JSON.stringify(Emisor);
|
AjaxPostData(uri, EmisorPN, true, true, CompletarAccion, null, null);
|
||||||
|
|
||||||
$.ajax({
|
|
||||||
type: 'POST',
|
|
||||||
url: uri,
|
|
||||||
cache: false,
|
|
||||||
data: DTO,
|
|
||||||
contentType: 'application/json; charset=utf-8',
|
|
||||||
dataType: 'json',
|
|
||||||
success: function (data) {
|
|
||||||
|
|
||||||
if (data.CodigoRespuesta == "EXITOSO") {
|
|
||||||
toastr.info('Información guardada con éxito', 'Completado');
|
|
||||||
limpiar();
|
|
||||||
|
|
||||||
$('#btnGuardar').hide();
|
|
||||||
$('#btnInsertar').show();
|
|
||||||
|
|
||||||
$('#lbTituloAccion').empty();
|
|
||||||
$('#lbTituloAccion').append('Ingresar Nuevo Emisor PN');
|
|
||||||
|
|
||||||
TableItems.clear().draw();
|
|
||||||
obtenerItems();
|
|
||||||
ENDREQUEST();
|
|
||||||
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
toastr.error("Ha ocurrido un error.");
|
|
||||||
ENDREQUEST();
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
}).fail(function (jqxhr, textStatus, error) {
|
|
||||||
|
|
||||||
toastr.error("Ha ocurrido un error inesperado. Vuela a intentarlo.");
|
|
||||||
ENDREQUEST();
|
|
||||||
|
|
||||||
}).then(function (value) {
|
|
||||||
|
|
||||||
ENDREQUEST();
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
this.InsertarItem = function () {
|
this.InsertarItem = function () {
|
||||||
|
|
@ -259,51 +204,28 @@ this.InsertarItem = function () {
|
||||||
if (!confirm("Va a ingresar un nuevo Emisor PN.\n ¿Desea continuar?"))
|
if (!confirm("Va a ingresar un nuevo Emisor PN.\n ¿Desea continuar?"))
|
||||||
{ return; }
|
{ return; }
|
||||||
|
|
||||||
STARTREQUEST();
|
|
||||||
TableItems = $('#TableItems').DataTable();
|
|
||||||
|
|
||||||
|
TableItems = $('#TableItems').DataTable();
|
||||||
EmisorPN = {
|
EmisorPN = {
|
||||||
Descripcion: $("#txtDescripcion").val(),
|
Descripcion: $("#txtDescripcion").val(),
|
||||||
}
|
}
|
||||||
|
|
||||||
var uri = CatalogosWCF + '/api/InsertarActualizarEmisor';
|
var uri = CatalogosWCF + '/api/InsertarActualizarEmisor';
|
||||||
var DTO = JSON.stringify(EmisorPN);
|
AjaxPostData(uri, EmisorPN, true, true, CompletarAccion, null, null);
|
||||||
|
|
||||||
$.ajax({
|
|
||||||
type: 'POST',
|
|
||||||
url: uri,
|
|
||||||
cache: false,
|
|
||||||
data: DTO,
|
|
||||||
contentType: 'application/json; charset=utf-8',
|
|
||||||
dataType: 'json',
|
|
||||||
success: function (data) {
|
|
||||||
|
|
||||||
if (data.CodigoRespuesta == "EXITOSO") {
|
|
||||||
toastr.info('Información guardada con exito', 'Completado');
|
|
||||||
limpiar();
|
|
||||||
$('#btnGuardar').hide();
|
|
||||||
$('#btnInsertar').show();
|
|
||||||
|
|
||||||
TableItems.clear().draw();
|
|
||||||
obtenerItems();
|
|
||||||
ENDREQUEST();
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
toastr.error("Ha ocurrido un error.");
|
|
||||||
ENDREQUEST();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}).fail(function (jqxhr, textStatus, error) {
|
|
||||||
|
|
||||||
toastr.error("Ha ocurrido un error inesperado. Vuela a intentarlo.");
|
|
||||||
ENDREQUEST();
|
|
||||||
|
|
||||||
}).then(function (value) {
|
|
||||||
ENDREQUEST();
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
this.limpiar = function () {
|
this.CompletarAccion = function () {
|
||||||
|
$('#btnGuardar').hide();
|
||||||
|
$('#btnInsertar').show();
|
||||||
|
|
||||||
|
TableItems.clear().draw();
|
||||||
|
ObtenerEmisores();
|
||||||
|
LimpiarControles();
|
||||||
|
ENDREQUEST();
|
||||||
|
}
|
||||||
|
|
||||||
|
this.LimpiarControles = function () {
|
||||||
|
|
||||||
$('#txtDescripcion').val('');
|
$('#txtDescripcion').val('');
|
||||||
$("#formCatalogo").validateElement("#txtDescripcion");
|
$("#formCatalogo").validateElement("#txtDescripcion");
|
||||||
|
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
||||||
@{
|
|
||||||
ViewBag.Title = "Confirmar correo electrónico";
|
|
||||||
}
|
|
||||||
|
|
||||||
<h2>@ViewBag.Title.</h2>
|
|
||||||
<div>
|
|
||||||
<p>
|
|
||||||
Gracias por confirmar su correo electrónico. @Html.ActionLink("Haga clic aquí para iniciar sesión", "Iniciar sesión", "Cuenta", routeValues: null, htmlAttributes: new { id = "loginLink" })
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
|
|
@ -1,36 +0,0 @@
|
||||||
@model AYA.SlnSinort.Models.ExternalLoginConfirmationViewModel
|
|
||||||
@{
|
|
||||||
ViewBag.Title = "Registrarse";
|
|
||||||
}
|
|
||||||
<h2>@ViewBag.Title.</h2>
|
|
||||||
<h3>Asocie su cuenta @ViewBag.LoginProvider.</h3>
|
|
||||||
|
|
||||||
@using (Html.BeginForm("ExternalLoginConfirmation", "Account", new { ReturnUrl = ViewBag.ReturnUrl }, FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
|
|
||||||
{
|
|
||||||
@Html.AntiForgeryToken()
|
|
||||||
|
|
||||||
<h4>Formulario de asociación</h4>
|
|
||||||
<hr />
|
|
||||||
@Html.ValidationSummary(true, "", new { @class = "text-danger" })
|
|
||||||
<p class="text-info">
|
|
||||||
Se autenticó correctamente con <strong>@ViewBag.LoginProvider</strong>.
|
|
||||||
Introduzca un nombre de usuario para este sitio y haga clic en el botón Registrar para finalizar
|
|
||||||
el inicio de sesión.
|
|
||||||
</p>
|
|
||||||
<div class="form-group">
|
|
||||||
@Html.LabelFor(m => m.Email, new { @class = "col-md-2 control-label" })
|
|
||||||
<div class="col-md-10">
|
|
||||||
@Html.TextBoxFor(m => m.Email, new { @class = "form-control" })
|
|
||||||
@Html.ValidationMessageFor(m => m.Email, "", new { @class = "text-danger" })
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<div class="col-md-offset-2 col-md-10">
|
|
||||||
<input type="submit" class="btn btn-default" value="Registrarse" />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
}
|
|
||||||
|
|
||||||
@section Scripts {
|
|
||||||
@Scripts.Render("~/bundles/jqueryval")
|
|
||||||
}
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
@{
|
|
||||||
ViewBag.Title = "Error de inicio de sesión";
|
|
||||||
}
|
|
||||||
|
|
||||||
<hgroup>
|
|
||||||
<h2>@ViewBag.Title.</h2>
|
|
||||||
<h3 class="text-danger">El inicio de sesión con el servicio no se ha llevado a cabo correctamente.</h3>
|
|
||||||
</hgroup>
|
|
||||||
|
|
@ -1,29 +0,0 @@
|
||||||
@model AYA.SlnSinort.Models.ForgotPasswordViewModel
|
|
||||||
@{
|
|
||||||
ViewBag.Title = "¿Olvidó la contraseña?";
|
|
||||||
}
|
|
||||||
|
|
||||||
<h2>@ViewBag.Title.</h2>
|
|
||||||
|
|
||||||
@using (Html.BeginForm("ForgotPassword", "Account", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
|
|
||||||
{
|
|
||||||
@Html.AntiForgeryToken()
|
|
||||||
<h4>Especifique su correo electrónico.</h4>
|
|
||||||
<hr />
|
|
||||||
@Html.ValidationSummary("", new { @class = "text-danger" })
|
|
||||||
<div class="form-group">
|
|
||||||
@Html.LabelFor(m => m.Email, new { @class = "col-md-2 control-label" })
|
|
||||||
<div class="col-md-10">
|
|
||||||
@Html.TextBoxFor(m => m.Email, new { @class = "form-control" })
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<div class="col-md-offset-2 col-md-10">
|
|
||||||
<input type="submit" class="btn btn-default" value="Vínculo de correo electrónico" />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
}
|
|
||||||
|
|
||||||
@section Scripts {
|
|
||||||
@Scripts.Render("~/bundles/jqueryval")
|
|
||||||
}
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
||||||
@{
|
|
||||||
ViewBag.Title = "Confirmación de contraseña olvidada";
|
|
||||||
}
|
|
||||||
|
|
||||||
<hgroup class="title">
|
|
||||||
<h1>@ViewBag.Title.</h1>
|
|
||||||
</hgroup>
|
|
||||||
<div>
|
|
||||||
<p>
|
|
||||||
Compruebe el correo electrónico para restablecer la contraseña.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
@ -1,63 +0,0 @@
|
||||||
@using AYA.SlnSinort.Models
|
|
||||||
@model LoginViewModel
|
|
||||||
@{
|
|
||||||
ViewBag.Title = "Iniciar sesión";
|
|
||||||
}
|
|
||||||
|
|
||||||
<h2>@ViewBag.Title.</h2>
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-md-8">
|
|
||||||
<section id="loginForm">
|
|
||||||
@using (Html.BeginForm("Login", "Account", new { ReturnUrl = ViewBag.ReturnUrl }, FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
|
|
||||||
{
|
|
||||||
@Html.AntiForgeryToken()
|
|
||||||
<h4>Use una cuenta local para iniciar sesión.</h4>
|
|
||||||
<hr />
|
|
||||||
@Html.ValidationSummary(true, "", new { @class = "text-danger" })
|
|
||||||
<div class="form-group">
|
|
||||||
@Html.LabelFor(m => m.Email, new { @class = "col-md-2 control-label" })
|
|
||||||
<div class="col-md-10">
|
|
||||||
@Html.TextBoxFor(m => m.Email, new { @class = "form-control" })
|
|
||||||
@Html.ValidationMessageFor(m => m.Email, "", new { @class = "text-danger" })
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
@Html.LabelFor(m => m.Password, new { @class = "col-md-2 control-label" })
|
|
||||||
<div class="col-md-10">
|
|
||||||
@Html.PasswordFor(m => m.Password, new { @class = "form-control" })
|
|
||||||
@Html.ValidationMessageFor(m => m.Password, "", new { @class = "text-danger" })
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<div class="col-md-offset-2 col-md-10">
|
|
||||||
<div class="checkbox">
|
|
||||||
@Html.CheckBoxFor(m => m.RememberMe)
|
|
||||||
@Html.LabelFor(m => m.RememberMe)
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<div class="col-md-offset-2 col-md-10">
|
|
||||||
<input type="submit" value="Iniciar sesión" class="btn btn-default" />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<p>
|
|
||||||
@Html.ActionLink("Registrar como nuevo usuario", "Register")
|
|
||||||
</p>
|
|
||||||
@* Habilite esta opción después de habilitar la confirmación de la cuenta para la función de restablecimiento de contraseña
|
|
||||||
<p>
|
|
||||||
@Html.ActionLink("¿Ha olvidado su contraseña?", "ForgotPassword")
|
|
||||||
</p>*@
|
|
||||||
}
|
|
||||||
</section>
|
|
||||||
</div>
|
|
||||||
<div class="col-md-4">
|
|
||||||
<section id="socialLoginForm">
|
|
||||||
@Html.Partial("_ExternalLoginsListPartial", new ExternalLoginListViewModel { ReturnUrl = ViewBag.ReturnUrl })
|
|
||||||
</section>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
@section Scripts {
|
|
||||||
@Scripts.Render("~/bundles/jqueryval")
|
|
||||||
}
|
|
||||||
|
|
@ -1,41 +0,0 @@
|
||||||
@model AYA.SlnSinort.Models.RegisterViewModel
|
|
||||||
@{
|
|
||||||
ViewBag.Title = "Registrarse";
|
|
||||||
}
|
|
||||||
|
|
||||||
<h2>@ViewBag.Title.</h2>
|
|
||||||
|
|
||||||
@using (Html.BeginForm("Register", "Account", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
|
|
||||||
{
|
|
||||||
@Html.AntiForgeryToken()
|
|
||||||
<h4>Cree una cuenta nueva.</h4>
|
|
||||||
<hr />
|
|
||||||
@Html.ValidationSummary("", new { @class = "text-danger" })
|
|
||||||
<div class="form-group">
|
|
||||||
@Html.LabelFor(m => m.Email, new { @class = "col-md-2 control-label" })
|
|
||||||
<div class="col-md-10">
|
|
||||||
@Html.TextBoxFor(m => m.Email, new { @class = "form-control" })
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
@Html.LabelFor(m => m.Password, new { @class = "col-md-2 control-label" })
|
|
||||||
<div class="col-md-10">
|
|
||||||
@Html.PasswordFor(m => m.Password, new { @class = "form-control" })
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
@Html.LabelFor(m => m.ConfirmPassword, new { @class = "col-md-2 control-label" })
|
|
||||||
<div class="col-md-10">
|
|
||||||
@Html.PasswordFor(m => m.ConfirmPassword, new { @class = "form-control" })
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<div class="col-md-offset-2 col-md-10">
|
|
||||||
<input type="submit" class="btn btn-default" value="Registrarse" />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
}
|
|
||||||
|
|
||||||
@section Scripts {
|
|
||||||
@Scripts.Render("~/bundles/jqueryval")
|
|
||||||
}
|
|
||||||
|
|
@ -1,42 +0,0 @@
|
||||||
@model AYA.SlnSinort.Models.ResetPasswordViewModel
|
|
||||||
@{
|
|
||||||
ViewBag.Title = "Restablecer contraseña";
|
|
||||||
}
|
|
||||||
|
|
||||||
<h2>@ViewBag.Title.</h2>
|
|
||||||
|
|
||||||
@using (Html.BeginForm("ResetPassword", "Account", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
|
|
||||||
{
|
|
||||||
@Html.AntiForgeryToken()
|
|
||||||
<h4>Restablezca la contraseña.</h4>
|
|
||||||
<hr />
|
|
||||||
@Html.ValidationSummary("", new { @class = "text-danger" })
|
|
||||||
@Html.HiddenFor(model => model.Code)
|
|
||||||
<div class="form-group">
|
|
||||||
@Html.LabelFor(m => m.Email, new { @class = "col-md-2 control-label" })
|
|
||||||
<div class="col-md-10">
|
|
||||||
@Html.TextBoxFor(m => m.Email, new { @class = "form-control" })
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
@Html.LabelFor(m => m.Password, new { @class = "col-md-2 control-label" })
|
|
||||||
<div class="col-md-10">
|
|
||||||
@Html.PasswordFor(m => m.Password, new { @class = "form-control" })
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
@Html.LabelFor(m => m.ConfirmPassword, new { @class = "col-md-2 control-label" })
|
|
||||||
<div class="col-md-10">
|
|
||||||
@Html.PasswordFor(m => m.ConfirmPassword, new { @class = "form-control" })
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<div class="col-md-offset-2 col-md-10">
|
|
||||||
<input type="submit" class="btn btn-default" value="Restablecer" />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
}
|
|
||||||
|
|
||||||
@section Scripts {
|
|
||||||
@Scripts.Render("~/bundles/jqueryval")
|
|
||||||
}
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
@{
|
|
||||||
ViewBag.Title = "Confirmación de restablecimiento de contraseña";
|
|
||||||
}
|
|
||||||
|
|
||||||
<hgroup class="title">
|
|
||||||
<h1>@ViewBag.Title.</h1>
|
|
||||||
</hgroup>
|
|
||||||
<div>
|
|
||||||
<p>
|
|
||||||
Se restableció la contraseña. @Html.ActionLink("Haga clic aquí para iniciar sesión", "Login", "Account", routeValues: null, htmlAttributes: new { id = "loginLink" })
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
|
|
@ -1,24 +0,0 @@
|
||||||
@model AYA.SlnSinort.Models.SendCodeViewModel
|
|
||||||
@{
|
|
||||||
ViewBag.Title = "Enviar";
|
|
||||||
}
|
|
||||||
|
|
||||||
<h2>@ViewBag.Title.</h2>
|
|
||||||
|
|
||||||
@using (Html.BeginForm("SendCode", "Account", new { ReturnUrl = Model.ReturnUrl }, FormMethod.Post, new { @class = "form-horizontal", role = "form" })) {
|
|
||||||
@Html.AntiForgeryToken()
|
|
||||||
@Html.Hidden("rememberMe", @Model.RememberMe)
|
|
||||||
<h4>Enviar código de verificación</h4>
|
|
||||||
<hr />
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-md-8">
|
|
||||||
Seleccione el proveedor de autenticación en dos fases:
|
|
||||||
@Html.DropDownListFor(model => model.SelectedProvider, Model.Providers)
|
|
||||||
<input type="submit" value="Enviar" class="btn btn-default" />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
}
|
|
||||||
|
|
||||||
@section Scripts {
|
|
||||||
@Scripts.Render("~/bundles/jqueryval")
|
|
||||||
}
|
|
||||||
|
|
@ -1,38 +0,0 @@
|
||||||
@model AYA.SlnSinort.Models.VerifyCodeViewModel
|
|
||||||
@{
|
|
||||||
ViewBag.Title = "Verificar";
|
|
||||||
}
|
|
||||||
|
|
||||||
<h2>@ViewBag.Title.</h2>
|
|
||||||
|
|
||||||
@using (Html.BeginForm("VerifyCode", "Account", new { ReturnUrl = Model.ReturnUrl }, FormMethod.Post, new { @class = "form-horizontal", role = "form" })) {
|
|
||||||
@Html.AntiForgeryToken()
|
|
||||||
@Html.Hidden("provider", @Model.Provider)
|
|
||||||
@Html.Hidden("rememberMe", @Model.RememberMe)
|
|
||||||
<h4>Introducir código de verificación</h4>
|
|
||||||
<hr />
|
|
||||||
@Html.ValidationSummary("", new { @class = "text-danger" })
|
|
||||||
<div class="form-group">
|
|
||||||
@Html.LabelFor(m => m.Code, new { @class = "col-md-2 control-label" })
|
|
||||||
<div class="col-md-10">
|
|
||||||
@Html.TextBoxFor(m => m.Code, new { @class = "form-control" })
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<div class="col-md-offset-2 col-md-10">
|
|
||||||
<div class="checkbox">
|
|
||||||
@Html.CheckBoxFor(m => m.RememberBrowser)
|
|
||||||
@Html.LabelFor(m => m.RememberBrowser)
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<div class="col-md-offset-2 col-md-10">
|
|
||||||
<input type="submit" class="btn btn-default" value="Enviar" />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
}
|
|
||||||
|
|
||||||
@section Scripts {
|
|
||||||
@Scripts.Render("~/bundles/jqueryval")
|
|
||||||
}
|
|
||||||
|
|
@ -1,28 +0,0 @@
|
||||||
@model AYA.SlnSinort.Models.ExternalLoginListViewModel
|
|
||||||
@using Microsoft.Owin.Security
|
|
||||||
|
|
||||||
<h4>Use otro servicio para iniciar sesión.</h4>
|
|
||||||
<hr />
|
|
||||||
@{
|
|
||||||
var loginProviders = Context.GetOwinContext().Authentication.GetExternalAuthenticationTypes();
|
|
||||||
if (loginProviders.Count() == 0) {
|
|
||||||
<div>
|
|
||||||
<p>
|
|
||||||
No hay servicios de autenticación externos configurados. Consulte <a href="http://go.microsoft.com/fwlink/?LinkId=403804">este artículo</a>
|
|
||||||
para obtener más información acerca de la configuración de esta aplicación ASP.NET para admitir el inicio de sesión mediante servicios externos.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
using (Html.BeginForm("ExternalLogin", "Account", new { ReturnUrl = Model.ReturnUrl })) {
|
|
||||||
@Html.AntiForgeryToken()
|
|
||||||
<div id="socialLoginList">
|
|
||||||
<p>
|
|
||||||
@foreach (AuthenticationDescription p in loginProviders) {
|
|
||||||
<button type="submit" class="btn btn-default" id="@p.AuthenticationType" name="provider" value="@p.AuthenticationType" title="Inicie sesión con su cuenta @p.Caption">@p.AuthenticationType</button>
|
|
||||||
}
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,29 +0,0 @@
|
||||||
@model AYA.SlnSinort.Models.AddPhoneNumberViewModel
|
|
||||||
@{
|
|
||||||
ViewBag.Title = "Número de teléfono";
|
|
||||||
}
|
|
||||||
|
|
||||||
<h2>@ViewBag.Title.</h2>
|
|
||||||
|
|
||||||
@using (Html.BeginForm("AddPhoneNumber", "Manage", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
|
|
||||||
{
|
|
||||||
@Html.AntiForgeryToken()
|
|
||||||
<h4>Agregar un número de teléfono</h4>
|
|
||||||
<hr />
|
|
||||||
@Html.ValidationSummary("", new { @class = "text-danger" })
|
|
||||||
<div class="form-group">
|
|
||||||
@Html.LabelFor(m => m.Number, new { @class = "col-md-2 control-label" })
|
|
||||||
<div class="col-md-10">
|
|
||||||
@Html.TextBoxFor(m => m.Number, new { @class = "form-control" })
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<div class="col-md-offset-2 col-md-10">
|
|
||||||
<input type="submit" class="btn btn-default" value="Enviar" />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
}
|
|
||||||
|
|
||||||
@section Scripts {
|
|
||||||
@Scripts.Render("~/bundles/jqueryval")
|
|
||||||
}
|
|
||||||
|
|
@ -1,40 +0,0 @@
|
||||||
@model AYA.SlnSinort.Models.ChangePasswordViewModel
|
|
||||||
@{
|
|
||||||
ViewBag.Title = "Cambiar contraseña";
|
|
||||||
}
|
|
||||||
|
|
||||||
<h2>@ViewBag.Title.</h2>
|
|
||||||
|
|
||||||
@using (Html.BeginForm("ChangePassword", "Manage", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
|
|
||||||
{
|
|
||||||
@Html.AntiForgeryToken()
|
|
||||||
<h4>Formulario para cambiar la contraseña</h4>
|
|
||||||
<hr />
|
|
||||||
@Html.ValidationSummary("", new { @class = "text-danger" })
|
|
||||||
<div class="form-group">
|
|
||||||
@Html.LabelFor(m => m.OldPassword, new { @class = "col-md-2 control-label" })
|
|
||||||
<div class="col-md-10">
|
|
||||||
@Html.PasswordFor(m => m.OldPassword, new { @class = "form-control" })
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
@Html.LabelFor(m => m.NewPassword, new { @class = "col-md-2 control-label" })
|
|
||||||
<div class="col-md-10">
|
|
||||||
@Html.PasswordFor(m => m.NewPassword, new { @class = "form-control" })
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
@Html.LabelFor(m => m.ConfirmPassword, new { @class = "col-md-2 control-label" })
|
|
||||||
<div class="col-md-10">
|
|
||||||
@Html.PasswordFor(m => m.ConfirmPassword, new { @class = "form-control" })
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<div class="col-md-offset-2 col-md-10">
|
|
||||||
<input type="submit" value="Cambiar contraseña" class="btn btn-default" />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
}
|
|
||||||
@section Scripts {
|
|
||||||
@Scripts.Render("~/bundles/jqueryval")
|
|
||||||
}
|
|
||||||
|
|
@ -1,84 +0,0 @@
|
||||||
@model AYA.SlnSinort.Models.IndexViewModel
|
|
||||||
@{
|
|
||||||
ViewBag.Title = "Gestionar";
|
|
||||||
}
|
|
||||||
|
|
||||||
<h2>@ViewBag.Title.</h2>
|
|
||||||
|
|
||||||
<p class="text-success">@ViewBag.StatusMessage</p>
|
|
||||||
<div>
|
|
||||||
<h4>Cambiar la configuración de la cuenta</h4>
|
|
||||||
<hr />
|
|
||||||
<dl class="dl-horizontal">
|
|
||||||
<dt>Contraseña:</dt>
|
|
||||||
<dd>
|
|
||||||
[
|
|
||||||
@if (Model.HasPassword)
|
|
||||||
{
|
|
||||||
@Html.ActionLink("Cambiar la contraseña", "ChangePassword")
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
@Html.ActionLink("Crear", "SetPassword")
|
|
||||||
}
|
|
||||||
]
|
|
||||||
</dd>
|
|
||||||
<dt>Inicios de sesión externos:</dt>
|
|
||||||
<dd>
|
|
||||||
@Model.Logins.Count [
|
|
||||||
@Html.ActionLink("Administrar", "ManageLogins") ]
|
|
||||||
</dd>
|
|
||||||
@*
|
|
||||||
Los números de teléfono se pueden usar como un segundo factor de comprobación en un sistema de autenticación en dos fases.
|
|
||||||
|
|
||||||
Consulte <a href="http://go.microsoft.com/fwlink/?LinkId=403804">este artículo</a>
|
|
||||||
para obtener más información acerca de la configuración de esta aplicación ASP.NET para admitir la autenticación en dos fases con SMS.
|
|
||||||
|
|
||||||
Quite la marca de comentario del siguiente bloque una vez haya configurado la autenticación en dos fases
|
|
||||||
*@
|
|
||||||
@*
|
|
||||||
<dt>Número de teléfono:</dt>
|
|
||||||
<dd>
|
|
||||||
@(Model.PhoneNumber ?? "Ninguno") [
|
|
||||||
@if (Model.PhoneNumber != null)
|
|
||||||
{
|
|
||||||
@Html.ActionLink("Cambiar", "AddPhoneNumber")
|
|
||||||
@: |
|
|
||||||
@Html.ActionLink("Quitar", "RemovePhoneNumber")
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
@Html.ActionLink("Agregar", "AddPhoneNumber")
|
|
||||||
}
|
|
||||||
]
|
|
||||||
</dd>
|
|
||||||
*@
|
|
||||||
<dt>Autenticación de dos factores:</dt>
|
|
||||||
<dd>
|
|
||||||
<p>
|
|
||||||
No hay ningún proveedor de autenticación en dos fases configurado. Consulte <a href="http://go.microsoft.com/fwlink/?LinkId=403804">este artículo</a>
|
|
||||||
para obtener más información acerca de la configuración de esta aplicación ASP.NET para admitir la autenticación en dos fases.
|
|
||||||
</p>
|
|
||||||
@*@if (Model.TwoFactor)
|
|
||||||
{
|
|
||||||
using (Html.BeginForm("DisableTwoFactorAuthentication", "Manage", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
|
|
||||||
{
|
|
||||||
@Html.AntiForgeryToken()
|
|
||||||
<text>Habilitado
|
|
||||||
<input type="submit" value="Deshabilitar" class="btn btn-link" />
|
|
||||||
</text>
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
using (Html.BeginForm("EnableTwoFactorAuthentication", "Manage", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
|
|
||||||
{
|
|
||||||
@Html.AntiForgeryToken()
|
|
||||||
<text>Deshabilitado
|
|
||||||
<input type="submit" value="Habilitar" class="btn btn-link" />
|
|
||||||
</text>
|
|
||||||
}
|
|
||||||
}*@
|
|
||||||
</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
@ -1,70 +0,0 @@
|
||||||
@model AYA.SlnSinort.Models.ManageLoginsViewModel
|
|
||||||
@using Microsoft.Owin.Security
|
|
||||||
@{
|
|
||||||
ViewBag.Title = "Administrar los inicios de sesión externos";
|
|
||||||
}
|
|
||||||
|
|
||||||
<h2>@ViewBag.Title.</h2>
|
|
||||||
|
|
||||||
<p class="text-success">@ViewBag.StatusMessage</p>
|
|
||||||
@{
|
|
||||||
var loginProviders = Context.GetOwinContext().Authentication.GetExternalAuthenticationTypes();
|
|
||||||
if (loginProviders.Count() == 0) {
|
|
||||||
<div>
|
|
||||||
<p>
|
|
||||||
No hay servicios de autenticación externos configurados. Consulte <a href="http://go.microsoft.com/fwlink/?LinkId=313242">este artículo</a>
|
|
||||||
para obtener más información acerca de la configuración de esta aplicación ASP.NET para admitir el inicio de sesión mediante servicios externos.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
if (Model.CurrentLogins.Count > 0)
|
|
||||||
{
|
|
||||||
<h4>Inicios de sesión registrados</h4>
|
|
||||||
<table class="table">
|
|
||||||
<tbody>
|
|
||||||
@foreach (var account in Model.CurrentLogins)
|
|
||||||
{
|
|
||||||
<tr>
|
|
||||||
<td>@account.LoginProvider</td>
|
|
||||||
<td>
|
|
||||||
@if (ViewBag.ShowRemoveButton)
|
|
||||||
{
|
|
||||||
using (Html.BeginForm("RemoveLogin", "Manage"))
|
|
||||||
{
|
|
||||||
@Html.AntiForgeryToken()
|
|
||||||
<div>
|
|
||||||
@Html.Hidden("loginProvider", account.LoginProvider)
|
|
||||||
@Html.Hidden("providerKey", account.ProviderKey)
|
|
||||||
<input type="submit" class="btn btn-default" value="Quitar" title="Quitar este inicio de sesión @account.LoginProvider de su cuenta" />
|
|
||||||
</div>
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
@:
|
|
||||||
}
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
}
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
}
|
|
||||||
if (Model.OtherLogins.Count > 0)
|
|
||||||
{
|
|
||||||
using (Html.BeginForm("LinkLogin", "Manage"))
|
|
||||||
{
|
|
||||||
@Html.AntiForgeryToken()
|
|
||||||
<div id="socialLoginList">
|
|
||||||
<p>
|
|
||||||
@foreach (AuthenticationDescription p in Model.OtherLogins)
|
|
||||||
{
|
|
||||||
<button type="submit" class="btn btn-default" id="@p.AuthenticationType" name="provider" value="@p.AuthenticationType" title="Iniciar sesión con la cuenta @p.Caption">@p.AuthenticationType</button>
|
|
||||||
}
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,39 +0,0 @@
|
||||||
@model AYA.SlnSinort.Models.SetPasswordViewModel
|
|
||||||
@{
|
|
||||||
ViewBag.Title = "Crear contraseña";
|
|
||||||
}
|
|
||||||
|
|
||||||
<h2>@ViewBag.Title.</h2>
|
|
||||||
<p class="text-info">
|
|
||||||
No tiene un nombre de usuario y contraseña local para este sitio. Agregue una cuenta
|
|
||||||
local para que pueda iniciar sesión sin un inicio de sesión externo.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
@using (Html.BeginForm("SetPassword", "Manage", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
|
|
||||||
{
|
|
||||||
@Html.AntiForgeryToken()
|
|
||||||
|
|
||||||
<h4>Crear inicio de sesión local</h4>
|
|
||||||
<hr />
|
|
||||||
@Html.ValidationSummary("", new { @class = "text-danger" })
|
|
||||||
<div class="form-group">
|
|
||||||
@Html.LabelFor(m => m.NewPassword, new { @class = "col-md-2 control-label" })
|
|
||||||
<div class="col-md-10">
|
|
||||||
@Html.PasswordFor(m => m.NewPassword, new { @class = "form-control" })
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
@Html.LabelFor(m => m.ConfirmPassword, new { @class = "col-md-2 control-label" })
|
|
||||||
<div class="col-md-10">
|
|
||||||
@Html.PasswordFor(m => m.ConfirmPassword, new { @class = "form-control" })
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<div class="col-md-offset-2 col-md-10">
|
|
||||||
<input type="submit" value="Establecer contraseña" class="btn btn-default" />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
}
|
|
||||||
@section Scripts {
|
|
||||||
@Scripts.Render("~/bundles/jqueryval")
|
|
||||||
}
|
|
||||||
|
|
@ -1,31 +0,0 @@
|
||||||
@model AYA.SlnSinort.Models.VerifyPhoneNumberViewModel
|
|
||||||
@{
|
|
||||||
ViewBag.Title = "Verificar número de teléfono";
|
|
||||||
}
|
|
||||||
|
|
||||||
<h2>@ViewBag.Title.</h2>
|
|
||||||
|
|
||||||
@using (Html.BeginForm("VerifyPhoneNumber", "Manage", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
|
|
||||||
{
|
|
||||||
@Html.AntiForgeryToken()
|
|
||||||
@Html.Hidden("phoneNumber", @Model.PhoneNumber)
|
|
||||||
<h4>Introduzca el código de verificación</h4>
|
|
||||||
<h5>@ViewBag.Status</h5>
|
|
||||||
<hr />
|
|
||||||
@Html.ValidationSummary("", new { @class = "text-danger" })
|
|
||||||
<div class="form-group">
|
|
||||||
@Html.LabelFor(m => m.Code, new { @class = "col-md-2 control-label" })
|
|
||||||
<div class="col-md-10">
|
|
||||||
@Html.TextBoxFor(m => m.Code, new { @class = "form-control" })
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<div class="col-md-offset-2 col-md-10">
|
|
||||||
<input type="submit" class="btn btn-default" value="Enviar" />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
}
|
|
||||||
|
|
||||||
@section Scripts {
|
|
||||||
@Scripts.Render("~/bundles/jqueryval")
|
|
||||||
}
|
|
||||||
Loading…
Add table
Reference in a new issue