corrade-http-templates – Blame information for rev 62
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
62 | office | 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 confirmation</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"> |
||
11 | $( "#dialog-confirm" ).dialog({ |
||
12 | resizable: false, |
||
13 | height: "auto", |
||
14 | width: 400, |
||
15 | modal: true, |
||
16 | buttons: { |
||
17 | "Delete all items": function() { |
||
18 | $( this ).dialog( "close" ); |
||
19 | }, |
||
20 | Cancel: function() { |
||
21 | $( this ).dialog( "close" ); |
||
22 | } |
||
23 | } |
||
24 | }); |
||
25 | </script> |
||
26 | </head> |
||
27 | <body> |
||
28 | |||
29 | <div id="dialog-confirm" title="Empty the recycle bin?"> |
||
30 | <p><span class="ui-icon ui-icon-alert" style="float:left; margin:12px 12px 20px 0;"></span>These items will be permanently deleted and cannot be recovered. Are you sure?</p> |
||
31 | </div> |
||
32 | |||
33 | <p>Sed vel diam id libero <a href="http://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>Confirm an action that may be destructive or important. Set the <code>modal</code> option to true, and specify primary and secondary user actions with the <code>buttons</code> option.</p> |
||
37 | </div> |
||
38 | </body> |
||
39 | </html> |