html – ¿Porqué se deforman imágenes en modal hecho con Bootstrap 4 en el navegador de safari con IOS?

Hola a toda la comunidad!

Les informo el error:
Desarrollé una pagina web para un negocio usando Bootstrap4 para darle un estilo responsivo a la pagina. Al cargar la pagina de inicio del sitio se muestra un modal centrado hecho con Bootstrap el cual incluye todas las imágenes promocionales. El modal funciona en Chrome, Mozilla Firefox, Opera, etc. Y en todos los celulares se presenta bien la funcionalidad. El problema es que exclusivamente en IPHONE con el navegador de Safari las imágenes me las deforma mucho. Me mantiene el width de las imágenes pero el height de la imagen me lo deforma bastante!! Solo el modal es el único componente que se deforma en el safari!! Todos los demás elementos puedo visualizarlos sin problema.

El sitio es: www.grupotindustrial.com

Al no contar con un IPHONE desconozco si el error es particular solo para el dispositivo donde vi la falla o es un error general para el navegador safari de IOS. Ayer vi que puede ser la configuracion CSS por default que tiene cada navegador web al interpretar codigo HTML por lo que vi una tecnologia llamada Normalize.css y no se si con ella pueda corregir el problema.

Si alguno tiene IPHONE y abre el sitio con safari y me puedan comentar si pueden visualizar ese error e incluso adjuntar una captura de pantalla para apoyarme a mostrar este error a los demás se los agradeceré muchísimo.

[Captura de pantalla del modal en Iphone][1]

Captura de pantalla del modal en Android

bootstrap – Datepicker iniciar con fecha de hoy

mi datapicker al cargar la pagina me sale en blanco, no logro visualizar la fecha de hoy, trate con algunos metodos pero nada

<div class="form-group col-sm">
    <label for="inputPassword4">Fecha:</label>
    <input id="datepicker" size="19">
    <script>
        $('#datepicker').datepicker({
            uiLibrary: 'bootstrap4',
            format: 'ddd dd/mmmm/yyyy',
            locale: 'es-es'
        });
        //$("#datepicker").datepicker('setDate', "0"));
    </script>
</div>

html – Eu especifico o ícone que eu desejo aplicar no meu botão com bootstrap, mas ele só aparece vazio na página… O que está havendo?

<div>
    <span>TROCO</span>
    <button type="button" class="btn btn-outline-dark" data-toggle="collapse" data-target="#collapse" aria-expanded="true" aria-controls="collapseExample">
        <span class="glyphicon glyphicon-ok" aria-hidden="true"></span>
    </button>

    <div class="collapse" id="collapse">
        <div class="card card-body">
            texto
        </div>
    </div>
</div>

Esse aí é o trecho que tem o botão. O ícone simplesmente não aparece…

8 – How to change background header and color of links in Bootstrap subtheme?

I created a subtheme based on the Bootstrap theme.

In bootstrap_subtheme.libraries.yml writing such code:

framework:
  css:
    theme:
      css/style.css: {}

In bootstrap_subtheme.info.yml writing such code:

libraries-extend:
  bootstrap/framework:
    - bootstrap_subtheme/framework

And along the path my_projectthemescustombootstrap_subthemecss I created a style.css file. But when I wanted to change the background color of my header and the color of the link – nothing has changed. I think Drupal uses default header styles that don’t allow me to use my own styles. I even looked at which styles file Drupal uses by default for my subtheme header – navbar.less

How can I change the background of my header and the color of the link? Is it even possible? Or do I need to delete the region with the header and create new region and create my own header in the twig template to be able to style the header?

functions – How to reference different css (bootstrap) stylesheets for the header and body of a page?

Thanks in advance for the help, and apologies if I’m being dumb, I’m rather new. I have tried various different answers on this site, but they did not work, as they were meant for different pages. I am trying to have the header and main body have a different bootstrap version.

For the website, I created a navbar (in a file called header-topnav.php) with bootstrap 4.1.3 (https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.min.css)
and the body / rest of the website was created with bootstrap 3.3.7, and when I enqueue both in functions.php, it seems that there are major conflicts with the styling of the body but the navbar is fine.

If I only link the bootstrap 4 to the header-topnav.php file, it still conflicts with the body. Trying the following after registering bootstrap4 in functions.php did not work:

<?  function topnav_enqueue_style() {

  wp_enqueue_style( 'bootstrap4-css');
}
add_action( 'wp_enqueue_scripts', 'topnav_enqueue_style' ); ?>

Trying a conditional in functions.php didn’t work (as expected) because my custom header is not a page, persay. Just a header.

    if( is_page( 'header-topnav' ) ) {   // Only add this style onto the Blog page.
        wp_enqueue_style( 'bootstrap4-css' );
    }

How can I have bootstrap 4 applied to the header and ONLY the header? I would like this to be applied to the header of all pages, but only have the header utilize bootstrap 4 as of now. Is there some if statement I could use in the functions.php to do this? Thank you so much.

css – Dieseño HTML, bootstrap

introducir la descripción de la imagen aquí

Buenas.
Estoy intentando realizar algo similar a la imagen pero en HTML utilizando Bootstrap como ayuda, lo intento con tabs y tal vez con un menú lateral pero no concreto la idea al 100, se supone que el menú de la izquierda desplace información del lado derecho, y una vez que se tenga la información, con los filtros que están abajo se pueda hacer una búsqueda rápida.
Alguien que me pueda indicar más o menos como podría hacerle.
Saludos.

How to bootstrap trust in an on-premise environment?

As part of moving from few on-premise monoliths to multiple on-premise microservices, I’m trying to improve the situation where database passwords and other credentials are stored in configuration files in /etc.

Regardless of the the technology used, the consumer of the secrets needs to authenticate with a secret store somehow. How is this initial secret-consumer-authenication trust established?

It seems we have a chicken-and-egg problem. In order to get credentials from a server, we need to have a /etc/secretCredentials.yaml file with a cert, token or password. Then I (almost) might as well stick to the configuration files as today.

If I wanted to use something like HashiCorp Vault (which seems to be the market leader) for this, there is a Secure Introduction of Vault Clients article. It outlines three methods:

  • Platform Integration: Great if you’re on AliCloud, AWS, Azure, GCP. We’re not
  • Trusted Orchestrator: Great if you’re using Terraform, Puppet, Chef. We’re not
  • Vault Agent: The remaining candidate

When looking at the various Vault Auth Methods available to the Vault Agent, they all look like they boil down to having a cert, token or password stored locally. Vault’s AppRole Pull Authentication article describes the challenge perfectly, but then doesn’t describe how the app gets the SecretID 🙁

The only thing I can think of is IP address. But our servers are all running in the same virtualization environment, and so today, they all have random IP addresses from the same DHCP pool, making it hard to create ACLs based on IP address. We could change that. But even then, is request IP address/subnet sufficiently safe to use as a valid credential?

We can’t be the first in the universe to hit this.
Are there alternatives to having a /etc/secretCredentials.yaml file or ACLs based on IP address, or is that the best we can do?
What is the relevant terminology and what are the best-practices, so we don’t invent our own (insecure) solution?

Bootstrap Navbar behaving differently in different browsers

In my application bootstrap is not behaving as expected in chrome but showing proper display as expected in firefox. Please help me to fix this.

Link : https://getbootstrap.com/docs/4.0/components/navbar/

Code:

<!DOCTYPE html>

<html xmlns:th="http://www.thymeleaf.org">

<head>

<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport"
    content="width=device-width, initial-scale=1, shrink-to-fit=no">

<!-- Bootstrap CSS -->
<link rel="stylesheet"
    href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css"
    integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk"
    crossorigin="anonymous">

</head>


<body>

    <nav class="navbar navbar-expand-lg navbar-light bg-light">
        <a class="navbar-brand" href="https://stackoverflow.com/#">Navbar</a>
        <button class="navbar-toggler" type="button" data-toggle="collapse"
            data-target="#navbarTogglerDemo02"
            aria-controls="navbarTogglerDemo02" aria-expanded="false"
            aria-label="Toggle navigation">
            <span class="navbar-toggler-icon"></span>
        </button>

        <div class="collapse navbar-collapse" id="navbarTogglerDemo02">
            <ul class="navbar-nav mr-auto mt-2 mt-lg-0">
                <li class="nav-item active"><a class="nav-link" href="https://stackoverflow.com/#">Home
                        <span class="sr-only">(current)</span>
                </a></li>
                <li class="nav-item"><a class="nav-link" href="https://stackoverflow.com/#">Projects</a></li>
                <li class="nav-item"><a class="nav-link" href="https://stackoverflow.com/#">Employees</a></li>
            </ul>
            <form class="form-inline my-2 my-lg-0">
                <input class="form-control mr-sm-2" type="search"
                    placeholder="Search">
                <button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
            </form>
        </div>
    </nav>

    <div>
        <h4 class='text-center'>Current Projects</h4>
        <table>

            <thead>
                <tr>
                    <th>Project Name</th>
                    <th>Project Stage</th>
                    <th>Description</th>

                </tr>

            </thead>
            <tbody>
                <tr th:each="aProject : ${projectsList}">

                    <td th:text="${aProject.name}"></td>
                    <td th:text="${aProject.stage}"></td>
                    <td th:text="${aProject.description}"></td>

                </tr>

            </tbody>

        </table>

        <h4 class='text-center'>Employee Details</h4>

        <table>

            <thead>
                <tr>
                    <th scope="col">Employee Name</th>
                    <th scope="col">Employee Email Address</th>
                </tr>

            </thead>
            <tbody>
                <tr th:each="anEmployee : ${employeesList}">

                    <td th:text="${anEmployee.firstName} + ${anEmployee.lastName}"></td>
                    <td th:text="${anEmployee.email}"></td>
                </tr>

            </tbody>

        </table>

    </div>

</body>

Screen shots:

In Chrome Browser

https://i.stack.imgur.com/zlq48.png

(In Firefox)(2)

https://i.stack.imgur.com/QSwD2.png

html – Div in navbar Bootstrap break the center

I have a navbar which is centered perfectly with this code :

        <nav class="navbar navbar-light bg-light text-primary navbar-personalized w-100 justify-content-center navbar-personalized">
        <div class="row">
            <a class="navbar-brand">
                My WebSite
            </a>
        </div>
    </nav>

Now I want to add a div inside which is clickable :

   <nav class="navbar navbar-light bg-light text-primary w-100 justify-content-center navbar-personalized">
      <div class="row">
        <a class="navbar-brand">
          My Web Site
        </a>

          <div id="messageAdministrateur" onclick="alert('This is an alert')" style="color:red;text-align: center;width: 100%;">
          <b>WARNING, NEW MESSAGE<br>CLICK</b>
          </div>
            </div>
    </nav>

I would like to center the both but only WARNING, NEW MESSAGE CLICK is centered and not My Web Site. How to center the both ? This is a working example :
https://jsfiddle.net/g2ea36rn/

¿Como usar bootstrap en laravel 7?

Acabo de crear un nuevo proyecto laravel e introduje el comando npm i para instalar bootstrap.
Ahora, al crear una nueva plantilla blade, ¿como llamo al css y js de boostrap desde home.blade.php? Intenté con app.js y app.css que están en la carpeta public, pero no me funcionan las utilidades como las Navs a menos que incluya directamente el cnd que da la plantilla de inicio de aquí.