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