| 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"> |
| 6 | <title>jQuery UI Dialog - Modal message</title> |
| 7 | <link rel="stylesheet" href="../../themes/base/all.css"> |
| 8 | <link rel="stylesheet" href="../demos.css"> |
| 9 | <script src="../../external/requirejs/require.js"></script> |
| 10 | <script src="../bootstrap.js" data-modules="effect"> |
| 11 | $( "#dialog-message" ).dialog({ |
| 12 | modal: true, |
| 13 | buttons: { |
| 14 | Ok: function() { |
| 15 | $( this ).dialog( "close" ); |
| 16 | } |
| 17 | } |
| 18 | }); |
| 19 | </script> |
| 20 | </head> |
| 21 | <body> |
| 22 | |
| 23 | <div id="dialog-message" title="Download complete"> |
| 24 | <p> |
| 25 | <span class="ui-icon ui-icon-circle-check" style="float:left; margin:0 7px 50px 0;"></span> |
| 26 | Your files have downloaded successfully into the My Downloads folder. |
| 27 | </p> |
| 28 | <p> |
| 29 | Currently using <b>36% of your storage space</b>. |
| 30 | </p> |
| 31 | </div> |
| 32 | |
| 33 | <p>Sed vel diam id libero <a href="https://example.com">rutrum convallis</a>. Donec aliquet leo vel magna. Phasellus rhoncus faucibus ante. Etiam bibendum, enim faucibus aliquet rhoncus, arcu felis ultricies neque, sit amet auctor elit eros a lectus.</p> |
| 34 | |
| 35 | <div class="demo-description"> |
| 36 | <p>Use a modal dialog to explicitly acknowledge information or an action before continuing their work. Set the <code>modal</code> option to true, and specify a primary action (Ok) with the <code>buttons</code> option.</p> |
| 37 | </div> |
| 38 | </body> |
| 39 | </html> |