corrade-http-templates – Diff between revs 2 and 14

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 2 Rev 14
Line 1... Line 1...
1 <!doctype html> 1 <!doctype html>
Line 2... Line 2...
2   2  
-   3 <html lang="en">
3 <html lang="en"> 4  
4 <head> 5 <head>
Line 5... Line 6...
5 <meta charset="utf-8"> 6 <meta charset="utf-8">
6   7  
7 <title>[Wizardry and Steamworks]:Corrade - Mass Invites</title> 8 <title>[Wizardry and Steamworks]:Corrade - Mass Invites</title>
8 9  
9 <meta name="description" content="Mass Invites using Corrade"> 10 <meta name="description" content="Mass Invites using Corrade">
10 <meta name="author" content="Wizardry and Steamworks"> -  
11 -  
12 <link rel="stylesheet" href="css/fonts.css?v=1.0"> -  
13 <link rel="stylesheet" href="css/style.css?v=1.0"> 11 <meta name="author" content="Wizardry and Steamworks">
14 12  
15 <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> 13 <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
16 <script type="text/javascript"> 14 <script type="text/javascript">
17 $(document).ready(function () { 15 $(document).ready(function() {
-   16 $("#send").click(function(e) {
-   17 $("#controls").animate({
18 $("#send").click(function(e){ 18 opacity: 'hide'
19 $("#controls").animate({ opacity: 'hide' }, 'slow'); 19 }, 'slow');
20 $.ajax({ 20 $.ajax({
21 type: 'post', 21 type: 'post',
22 url: "sendMassInvites.php", 22 url: "sendMassInvites.php",
23 data: { 23 data: {
24 avatars: $("#avatars").val() 24 avatars: $("#avatars").val()
25 } 25 }
26 }).done(function(data) { 26 }).done(function(data) {
-   27 $('#avatars').val(data);
-   28 $("#controls").animate({
-   29 opacity: 'show'
27 $('#avatars').val(data); 30 }, 'slow');
28 $("#controls").animate({ opacity: 'show' }, 'slow'); 31 });
29 }); -  
30 }); 32 });
31 }); 33 });
Line 32... Line 34...
32 </script> 34 </script>
33 </head> 35 </head>
Line 43... Line 45...
43 <div id="controls"> 45 <div id="controls">
44 <button type="button" id="send">Send</button> 46 <button type="button" id="send">Send</button>
45 </div> 47 </div>
46 </div> 48 </div>
47 </body> 49 </body>
-   50  
48 </html> 51 </html>
49   52