Modal não abre no HTML

Boa madrugada!!

Tenho um modal criado em minha pagina, mas quando clico no link que o referenciei ele não funciona, simplesmente acontece nada. Tenho ele em uma outra pagina e ele funciona normal, mas nesta pagina que coloquei o código ele não funfa. Alguém sabe o que pode ser?

Fatec SIS

    <link href="../../app/node_modules/bootstrap/compiler/bootstrap.css" rel="stylesheet">     <link href="css/recuperar_senha.css" rel="stylesheet">     <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css" integrity="sha384-oS3vJWv+0UjzBfQzYUhtDYW+Pj2yciDJxpsK1OYPAYjqT085Qq/1cq5FLXAZQ7Ay" crossorigin="anonymous"> </head> <body id="RecuperaForm">      <div class="container">              <div class="main-div">             <div class="panel">                 <h1><img src="https://img.icons8.com/cool-color/64/000000/forgot-password.png"></i></h1>                 <p class="espacamento-paragrafo">Redefinir sua senha</p>             </div>              <div class="box-form">                 <form id="Recupera" action="../src/model/recupera_senha.php" method="POST">                     <p class="msg"> Digite seu endereço de e-mail e nós lhe enviaremos um link para redefinir sua senha. </p>                     <div class="form-group">                         <input name="email" id="txtEmail" type="email" class="form-control" aria-label="Small" aria-describedby="inputGroup-sizing-sm" placeholder="Digite seu endereço de email">                     </div>                      <button type="submit" class="btn btn-success">Enviar email de redefinição de senha</button>                 </form>             </div>         </div>          <div class="modal" id="termos" tabindex="-1" role="dialog">             <div class="modal-dialog" role="document">                 <div class="modal-content">                     <div class="modal-header">                         <h4 class="modal-title"> Title </h4>                         <button type="button" class="close" data-dismiss="modal">                             <span>&times;</span>                         </button>                     </div>                      <div class="modal-body">                         <p>TESTE</p>                     </div>                      <div class="modal-footer">                         <button type="button" class="btn btn-danger" data-dismiss="modal">Fechar</button>                     </div>                 </div>             </div>         </div>          <div class="menu">             <ul class="nav">                 <li class="nav-item">                     <a class="nav-link" href="#" data-toggle="modal" data-target="#termos">Termos</a>                 </li>                 <li class="nav-item">                     <a class="nav-link" href="#">Privacidade</a>                 </li>                 <li class="nav-item">                     <a class="nav-link" href="#">Segurança</a>                 </li>                 <li class="nav-item">                     <a class="nav-link disabled" href="painel.php">Entre no sistema FatecSis</a>                 </li>             </ul>         </div>     </div>      <script src="js/index.js" type="text/javascript"></script> </body> 

propositional Modal logic filtration definition

Hello I have a slightly unusual question which relates to a definition of filtration structure. The following is my current state of the definition:

$ \mathcal{M} = (W, R, L) $ , W is a set of worlds, $ R$ is a binary relation on the worlds, $ R \subseteq W \times W$ , and $ L$ is a labelling function $ L : W \rightarrow\ \mathcal{P} (PropAtoms) $ , here $ PropAtoms$ is the set of atomic formulas.

Let $ \mathcal{M} = (W, R, L) $ be a Kripke model and let $ \Gamma$ be a set of formulas that is closed under subformulas. Now, for each world $ w \in W$ we define the following: $ \Gamma_{w} = \{ \psi \in \Gamma : (\mathcal{M},w) \vDash \psi \}$ ,

that is, $ \Gamma_{w} $ contains formulas from $ \Gamma $ that are true at $ w$ and consequently in model $ \mathcal{M}$ . Next we define an equivalence relation $ \sim_{\Gamma} $ on worlds $ w, w’ \in W$ , $ \sim_{\Gamma} w w’ $ if and only if $ \Gamma_{w} \sqsubset \Gamma_{w’}$ , that is, worlds $ w$ and $ w’$ are equivalent if and only if they satisfy the same formulas in $ \Gamma$ . We also have equivalence classes $ [w]$ of worlds $ w$ with respect to $ \sim_{\Gamma}$ .

Lets now present the following quotient structure $ \mathcal{M}_{\Gamma} = (W_{\Gamma}, R_{\Gamma}, L_{\Gamma})$ which is in fact filtration of $ \mathcal{M}$ with respect to $ \Gamma$ . $ \mathcal{M}_{\Gamma}$ is defined as follows: ………

Here is the bit I need help with, I am struggling to define my filtration model. This is mainly because the definitions online don’t use the same labelling function but rather use a valuation function which is of the form $ v(p)$ . And such function takes an atomic formula whearas my labelling function takes in a specific world written $ L(x)$ . Could someone please help me our here and try providing correct definition which will match my model $ M$ definition?

Como aumentar o tamanho do modal?

Tenho um modal que é alimentado dinamicamente pela BD e gostava de conseguir aumentar a largura dele no entanto o máximo que consigo encontrar é adicionar a class modal-lg mas eu preciso de uma largura maior, o que posso fazer para resolver este problema?

Este é o código que está a definir a largura do modal:

<div class='modal-dialog modal-lg modal-dialog-centered' role='document'> 

is this possible to call a bootstrap popup modal from client side?

I was working on a Django project where the user has few roles. Role one user can post some information. By checking his role in frontend if a user is role one user then the system will show him this type of bootstrap popup model.

enter image description here

And if he is not a role one user he will view this type of popup by clicking on the post button

enter image description here

Now my question Is this possible to call a bootstrap popup modal from a client-side browser or other because I’m not checking info backend. if this is possible to call a bootstrap popup modal from client side my full system will compromise because anyone can post anything.

Embed a form inside a modal

I have a modal in my form.

$  form['myid_print_preview_modal'] = array(   '#type' => 'item',                 '#markup' =>                 '<div id="myid_print_preview_modal" title="ID Preview">                                                                </div>',                                     ); 

I want to embed a set of form controls in my modal like textfield, buttons and etc. Is it possible? A simple example would be good for my comprehension. I don’t want to use any existing module. I want to go hard code.

Problema enviar datos a Modal PopUp

mi problema es que tengo una dataTable con un boton editar en cada fila, al momento de presionarlo quisiera que los datos de esa fila se transporten al modal popUp, pero actualmente no lo realiza, le envio el codigo:

HTML BOTON PARA ABRIR EL MODAL

<button type="button" class="btn btn-block btn-primary btn-sm" data-mytitle="{{$  listado->rut_alumno}}" data-toggle="modal" data-target="#modal-editar-alumno"> 	                				<i class="fa fa-edit"></i> 	                			</button>

MODAL EDITAR

        <div class="modal fade" id="modal-editar-alumno">           <div class="modal-dialog">             <div class="modal-content">               <div class="modal-header">                 <button type="button" class="close" data-dismiss="modal" aria-label="Close">                   <span aria-hidden="true">&times;</span></button>                 <h4 class="modal-title">Crear Alumno</h4>               </div>               <div class="modal-body">                 <!-- cuerpo pop-up -->                 	<form action="/editarAlumno" method="post">       			<!-- sistema de seguridad analiza los hacks head, get, options para evitar injection -->       				{{ csrf_field() }}       			<!-- fin --> <!-- cuerpo del popup-->                        <!-- ./ cuerpo pop-up-->                </div>               <div class="modal-footer">                 <button type="button" class="btn btn-default pull-left" data-dismiss="modal">Cerrar</button>                 <button type="submit" class="btn btn-primary">Guardar</button>               </div>             </div>                        </div>                    </div>

<!--scripts de modal pop Up--> <script>   $  ('#modal-editar-alumno').on('show.bs.modal', function (event) {    var button = $  (event.relatedTarget)    var id = button.data('mytitle')    var modal = $  (this)     modal.find('.modal-body #id').val(id); }) </script>

Espero que alguien pueda ayudarme por favor. Como mencione anteriormente, los datos que estan en mi tablas no aparecen en el modal. Desde ya muchas gracias.

PD.: No coloque el cuerpo del popUp por que lo encontre irelevante, pero son en total 6 inputs

Evitar duplicar mi vista previa en modal javascript

al manda mis datos a la vista previa esta bien, así como al inserta los datos pero al dar al boton “no” este cierra la vista previa lo cual esta bien pero al querer guardar de nuevo en el modal se duplica la información y así sucesivamente ¿como puedo evitar eso ?

introducir la descripción de la imagen aquí

en esta imagen muestro mi vista previa correcta al dar al boton “no” para regresar al formulario a corregir informacion y volver a guardar me duplica la informacion, solo en el modal ya que al guardar asi solo se guarda una vez no duplica en la base de dato

foto donde duplica la info: introducir la descripción de la imagen aquí

como puedo evitar esto les uestro mi codigo en HTML:

  <button type="submit" class="tab-btn-sumbit" id="guardar">Si</button>    <button type="reset" class="tab-btn-cancel" id="cancelar">No</button> 

Y MI CODIGO EN JAVASCRIPT :

     $  (document).on("click","#cancelar",function(e){      closeModal();     });    $  (document).on("click","#guardar",function(e){       $  ('.cotizador_box').hide();      $  ('.loader').show();      $  .ajax({           type:"POST",        url:"<?=URL?>velada/Guardar",               data:$  ('#form-velada').serialize(),       dataType:"json",          success:function(data){         closeModal();        $  ('#messages').html(data.message);        $  ('#resumen').html('');     }      });   }); 

AYuDA ;V