Ajuste TopRow en UI v2
All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Successful in 5m35s

This commit is contained in:
Leandro Hernan Rojas 2025-02-03 16:12:07 -03:00
parent 604cab26ae
commit 6d9e49c252
5 changed files with 47 additions and 38 deletions

2
.vscode/launch.json vendored
View File

@ -13,7 +13,7 @@
"stopAtEntry": false,
"serverReadyAction": {
"action": "openExternally",
"pattern": "\\bNow listening on:\\s+(https?://\\S+)",
"pattern": "\\bNow listening on:\\s+(http://\\S+)",
"uriFormat": "%s/swagger/index.html"
},
"env": {

View File

@ -120,13 +120,22 @@ builder.Services.AddSwaggerGen(option =>
// }));
builder.Services.AddCors(options =>
{
options.AddPolicy("CORS", policy =>
{
policy
.WithOrigins("http://dev.biodec.saludlab.com.ar", "http://phroncareUI:80", "http://192.168.10.110:9002")
.AllowAnyMethod()
.AllowAnyHeader()
.AllowCredentials();
/*
Version para despliegue
*/
// policy
// .WithOrigins("http://dev.biodec.saludlab.com.ar", "http://phroncareUI:80", "http://192.168.10.110:9002")
// .AllowAnyMethod()
// .AllowAnyHeader()
// .AllowCredentials();
/*
Version para desarrollo
*/
policy.WithOrigins("*").AllowAnyHeader().AllowAnyMethod();
});
});
#endregion

View File

@ -13,6 +13,6 @@
color: white;
padding: 8px 8px 8px 8px;
border: 2px solid rgba(255, 255, 255, 0.2); /* Borde sutil */
border-radius: 5px;
border-radius: 0.5em;
cursor: pointer;
}

View File

@ -16,12 +16,12 @@
<div class="container-fluid" style="background-color: rgba(39, 54, 97, 0.5);">
<div class="row">
<div class="top-row px-1">
<div class="col-md-8" style="zoom:50%">
<PhToggle Caption=" " ToggleStateChanged="OnChangeToggleSwitchState" ToggleState=@state >
<div class="col-md-4" style="zoom:50%">
<PhToggle ToggleStateChanged="OnChangeToggleSwitchState" ToggleState=@state >
<i class="fas fa-moon fa-2xl"/>
</PhToggle>
</div>
<div class="col-md-4">
<div class="col-md-8" style="text-align: right;">
<LoginView />
</div>
</div>

View File

@ -7,6 +7,6 @@
}
},
"AllowedHosts": "*",
// "Basead": "http://localhost:5243"
"Basead": "http://localhost:9000"
"Basead": "http://localhost:5243"
// "Basead": "http://localhost:9000"
}