Fix the build.
[castle.git] / Samples / MonoRail / JSGenExample / Views / layouts / default.vm
blobb9ee2ebc5a2bd4a8d4260d82c23c9ea17e2010b3
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">\r
2 <html>\r
3         <head>\r
4                 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />\r
5                 <title>Layout</title>\r
6                 <style type="text/css" media="screen">\r
7 body\r
8 {\r
9         background-color: white;\r
10         font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;\r
11         font-size: small;\r
12 }               \r
13                 </style>\r
14                 \r
15                 $Ajax.InstallScripts()\r
16                 $Scriptaculous.InstallScripts()\r
17                 $Form.InstallScripts()\r
18                 \r
19                 <script type="text/javascript">\r
21                         var globalHandlers = \r
22                         {\r
23                                 onCreate: function()\r
24                                 {\r
25                                         Element.show('systemWorking');\r
26                                 },\r
28                                 onComplete: function() \r
29                                 {\r
30                                         if (Ajax.activeRequestCount == 0)\r
31                                         {\r
32                                                 Element.hide('systemWorking');\r
33                                         }\r
34                                 }\r
35                         };\r
37                         Ajax.Responders.register(globalHandlers);\r
38                 \r
39                 </script>\r
40                 \r
41         </head>\r
42         <body>\r
44 <div id="systemWorking" style="display: none; position: absolute; width: 100px; padding: 5px; height: 20px; background: #ffffcf; right: 300px; text-align: center;">\r
45 <img src="$siteRoot/Content/images/spinner.gif" /> Hang on!\r
46 </div>\r
48 $childContent   \r
49         \r
50         </body>\r
51 </html>\r