arreglado navbar

This commit is contained in:
2025-09-25 12:27:31 +02:00
parent 5f655b6f37
commit e1d6e4d7c3
2 changed files with 16 additions and 4 deletions

View File

@@ -32,13 +32,13 @@
<div class="page">
<main style="height: 100%;">
<header class="d-none d-md-block">
<header class="">
<div class="pa-header-t1">
<div class="pa-header-row1">
<nav class="navbar navbar-expand-lg navbar-light fixed-top bg-light navCACOA">
<div class="container-fluid">
<div>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#topMenu" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<button class="navbar-toggler" type="button" onclick="cambiar()">
<span class="navbar-toggler-icon"></span>
</button>
<a class="navbar-brand" href="https://www.cacoa.es/">
@@ -78,6 +78,7 @@
<label class="headNav" style="color: #078b98 !important; font-size: large; font-weight: bold;">Costes Asociados a los Servicios de Arquitectura - CASA</label>
</div>
}
</div>
<div class="ml-auto">
<ul class="navbar-nav mr-auto ulMenu">
@@ -96,6 +97,15 @@
</div>
</main>
</div>
<script>
const navbarCollapse = document.getElementById('topMenu');
const bsCollapse = new bootstrap.Collapse(navbarCollapse, {
toggle: false // No lo colapsa automáticamente al inicializar
});
function cambiar(){
bsCollapse.toggle()
}
</script>
@code {

View File

@@ -6,8 +6,10 @@
}
},
"ConnectionStrings": {
"WriteConnection": "Server=localhost;Port=22222;Database=herramientascacoa;User Id=cacoa;Password=cacoa2018-;",
"ReadOnlyConnection": "Server=localhost;Port=22222;Database=herramientascacoa;User Id=cacoa;Password=cacoa2018-;"
//"WriteConnection": "Server=localhost;Port=22222;Database=herramientascacoa;User Id=cacoa;Password=cacoa2018-;",
//"ReadOnlyConnection": "Server=localhost;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-;"
},
"AllowedHosts": "*"
}