arreglar logo en algunas paginas
This commit is contained in:
@@ -12,8 +12,8 @@
|
|||||||
<div class="back">
|
<div class="back">
|
||||||
<div class="div-center">
|
<div class="div-center">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<img src="Content/Imagenes/CACOA-6.png" height="49" />
|
<img src="data:image;base64, @System.Convert.ToBase64String(logoColegioArray)" height="49" />
|
||||||
<h4 class="mt-5">Clave Generada correctamente</h4>
|
<h4 class="mt-5">Clave Generada correctamente</h4>
|
||||||
<hr />
|
<hr />
|
||||||
<p>Se ha generado su clave para utilizar la herramienta.Guarde su clave y contraseña en un lugar seguro. NO PUEDE RECUPERARSE</p>
|
<p>Se ha generado su clave para utilizar la herramienta.Guarde su clave y contraseña en un lugar seguro. NO PUEDE RECUPERARSE</p>
|
||||||
<form id="formLogin">
|
<form id="formLogin">
|
||||||
@@ -27,10 +27,12 @@
|
|||||||
@code {
|
@code {
|
||||||
private int? claveUsuario = 0;
|
private int? claveUsuario = 0;
|
||||||
public tsHerramientasCACOA bd;
|
public tsHerramientasCACOA bd;
|
||||||
|
private byte[] logoColegioArray = [];
|
||||||
|
|
||||||
protected override async Task OnInitializedAsync()
|
protected override async Task OnInitializedAsync()
|
||||||
{
|
{
|
||||||
bd = tsHerramientasCACOA.NuevoContexto(SoloLectura: false);
|
bd = tsHerramientasCACOA.NuevoContexto(SoloLectura: false);
|
||||||
|
logoColegioArray = bd.ficheros.Where(x => x.NombreFichero == "LogoColegio").Select(x => x.Fichero).First();
|
||||||
|
|
||||||
var obtenerId = await ProtectedLocalStore.GetAsync<int>("idUsuario");
|
var obtenerId = await ProtectedLocalStore.GetAsync<int>("idUsuario");
|
||||||
claveUsuario = obtenerId.Value;
|
claveUsuario = obtenerId.Value;
|
||||||
|
|||||||
@@ -59,6 +59,8 @@
|
|||||||
private LoginVM login = new LoginVM();
|
private LoginVM login = new LoginVM();
|
||||||
private string mensajeError = "";
|
private string mensajeError = "";
|
||||||
private bool recuerda = false;
|
private bool recuerda = false;
|
||||||
|
string? urlAnterior = "";
|
||||||
|
string rutaActual = "";
|
||||||
|
|
||||||
private byte[] logoColegioArray = [];
|
private byte[] logoColegioArray = [];
|
||||||
|
|
||||||
@@ -90,10 +92,6 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private async void logoColegio()
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
private async void checkCambiado(bool e)
|
private async void checkCambiado(bool e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -10,12 +10,12 @@
|
|||||||
//"ReadOnlyConnection": "Server=localhost;Port=22222;Database=herramientascacoa;User Id=cacoa;Password=cacoa2018-;"
|
//"ReadOnlyConnection": "Server=localhost;Port=22222;Database=herramientascacoa;User Id=cacoa;Password=cacoa2018-;"
|
||||||
|
|
||||||
// CONEXIÓN CACOA
|
// CONEXIÓN CACOA
|
||||||
"WriteConnection": "Server=77.229.174.85;Port=22222;Database=herramientascacoa;User Id=cacoa;Password=cacoa2018-;",
|
//"WriteConnection": "Server=77.229.174.85;Port=22222;Database=herramientascacoa;User Id=cacoa;Password=cacoa2018-;",
|
||||||
"ReadOnlyConnection": "Server=77.229.174.85;Port=22222;Database=herramientascacoa;User Id=cacoa;Password=cacoa2018-;"
|
//"ReadOnlyConnection": "Server=77.229.174.85;Port=22222;Database=herramientascacoa;User Id=cacoa;Password=cacoa2018-;"
|
||||||
|
|
||||||
// CONEXIÓN COACYLE
|
// CONEXIÓN COACYLE
|
||||||
//"WriteConnection": "Server=77.229.174.85;Port=22222;Database=herramientascoacyle;User Id=cacoa;Password=cacoa2018-;",
|
"WriteConnection": "Server=77.229.174.85;Port=22222;Database=herramientascoacyle;User Id=cacoa;Password=cacoa2018-;",
|
||||||
//"ReadOnlyConnection": "Server=77.229.174.85;Port=22222;Database=herramientascoacyle;User Id=cacoa;Password=cacoa2018-;"
|
"ReadOnlyConnection": "Server=77.229.174.85;Port=22222;Database=herramientascoacyle;User Id=cacoa;Password=cacoa2018-;"
|
||||||
},
|
},
|
||||||
"AllowedHosts": "*"
|
"AllowedHosts": "*"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user