PageRenderTime 27ms CodeModel.GetById 16ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

/modal/Mensagem.php

https://bitbucket.org/denissilva/cgpdi_admin
PHP | 30 lines | 29 code | 1 blank | 0 comment | 0 complexity | d5012194359a1cb4d3129d6141772653 MD5 | raw file
 1<!DOCTYPE html>
 2<html lang="en">
 3    <head>
 4        <meta charset="UTF-8">
 5        <meta name="viewport" content="width=device-width, initial-scale=1.0">
 6        <meta http-equiv="X-UA-Compatible" content="ie=edge">
 7    </head>
 8    <body>
 9        <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
10            <div class="modal-dialog" role="document">
11                <div class="modal-content">
12                    <div class="modal-header">
13                        <h5 class="modal-title" id="exampleModalLabel">Atenção</h5>
14                        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
15                            <span aria-hidden="true">&times;</span>
16                        </button>
17                    </div>
18                    <div class="modal-body" id="mensagem"></div>
19                </div>
20            </div>
21        </div>      
22
23        <script>
24            function mostraMensagem(mensagem){
25                $("#mensagem").html(mensagem);
26                $('#myModal').modal('show');
27            }
28        </script>
29    </body>
30</html>