databank-extension/scripts/modales/modalCompartir.js

26 lines
1000 B
JavaScript
Raw Normal View History

2023-06-18 19:12:32 +00:00
export function modalCompartir(){
//<option value="1">One</option>
var html= `<!-- Modal compartir-->
<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Compartir</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body modal-compartir">
<select id="multiSelect" multiple="multiple">
</select>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button id= "compartirDatos" type="button" class="btn btn-primary">Compartir Datos</button>
</div>
</div>
</div>
</div>
`;
return html;
}