Upgrade to ExtJS 4.0.7 - Released 10/19/2011
[extjs.git] / examples / desktop / desktop.html
index bcbc2fa..c0d7060 100644 (file)
@@ -1,3 +1,4 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 <html>
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
@@ -6,43 +7,28 @@
     <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
     <link rel="stylesheet" type="text/css" href="css/desktop.css" />
 
-    <!-- GC -->
-       <!-- LIBS -->
-       <script type="text/javascript" src="../../adapter/ext/ext-base.js"></script>
-       <!-- ENDLIBS -->
+    <script type="text/javascript" src="../../builds/ext-core.js"></script>
+    <script type="text/javascript" src="classes.js"></script>
 
-    <script type="text/javascript" src="../../ext-all-debug.js"></script>
+    <script type="text/javascript">
+        Ext.Loader.setPath({
+            'Ext.ux.desktop': 'js',
+            MyDesktop: ''
+        });
 
-    <!-- DESKTOP -->
-    <script type="text/javascript" src="js/StartMenu.js"></script>
-    <script type="text/javascript" src="js/TaskBar.js"></script>
-    <script type="text/javascript" src="js/Desktop.js"></script>
-    <script type="text/javascript" src="js/App.js"></script>
-    <script type="text/javascript" src="js/Module.js"></script>
-    <script type="text/javascript" src="sample.js"></script>
+        Ext.require('MyDesktop.App');
+
+        var myDesktopApp;
+        Ext.onReady(function () {
+            myDesktopApp = new MyDesktop.App();
+        });
+    </script>
 </head>
-<body scroll="no">
-
-<div id="x-desktop">
-    <a href="http://extjs.com" target="_blank" style="margin:5px; float:right;"><img src="images/powered.gif" /></a>
-
-    <dl id="x-shortcuts">
-        <dt id="grid-win-shortcut">
-            <a href="#"><img src="images/s.gif" />
-            <div>Grid Window</div></a>
-        </dt>
-        <dt id="acc-win-shortcut">
-            <a href="#"><img src="images/s.gif" />
-            <div>Accordion Window</div></a>
-        </dt>
-    </dl>
-</div>
-
-<div id="ux-taskbar">
-       <div id="ux-taskbar-start"></div>
-       <div id="ux-taskbuttons-panel"></div>
-       <div class="x-clear"></div>
-</div>
+
+<body>
+
+    <a href="http://www.sencha.com" target="_blank" alt="Powered by Ext JS"
+       id="poweredby"><div></div></a>
 
 </body>
-</html>
+</html>
\ No newline at end of file