Changed default html to use the CDN version of extjs, which makes it easier to get started with developing on the UI

This commit is contained in:
Kenneth Skovhede
2013-04-15 22:21:16 +02:00
parent d839ebf791
commit 4e7a3fbb3a
3 changed files with 5 additions and 4 deletions
+2 -1
View File
@@ -12,4 +12,5 @@ Duplicati/Localization/*.diff.csv
Duplicati/Localization/*.new.csv
Duplicati/Localization/*.updated.csv
Duplicati/Localization/report.*.xml
Installer/incLocFiles.*.wxs
Installer/incLocFiles.*.wxs
Duplicati/Server/webroot/extjs-*
+1 -1
View File
@@ -2,7 +2,7 @@
// This helps in a debug setup
var extdefined = false;
try { extdefined = Ext !== undefined; } catch (e) {}
if (!extdefined) { alert('ExtJS failed to load!\n If this is a debug build,\nplease download and extract:\n\nExtJS 4.1.1\n\ninto the folder:\nDuplicati/Server/webroot'); }
if (!extdefined) { alert('ExtJS failed to load!\n If this is a debug build,\nplease download and extract:\n\nExtJS 4.2.0\n\ninto the folder:\nDuplicati/Server/webroot/extjs-4.2.0'); }
delete extdefined;
}
+2 -2
View File
@@ -5,12 +5,12 @@
<meta http-equiv="X-UA-Compatible" content="IE=9" />
<title>Duplicati Backup</title>
<link rel="stylesheet" type="text/css" href="extjs-4.1.1/resources/css/ext-all.css" />
<link rel="stylesheet" type="text/css" href="http://cdn.sencha.io/ext-4.2.0-gpl/resources/css/ext-all.css" />
<link rel="stylesheet" type="text/css" href="stylesheets/common.css" />
<link rel="stylesheet" type="text/css" href="stylesheets/status-window.css" />
<link rel="stylesheet" type="text/css" href="stylesheets/customized.css" />
<script type="text/javascript" src="extjs-4.1.1/ext-debug.js"></script>
<script type="text/javascript" src="http://cdn.sencha.io/ext-4.2.0-gpl/ext-all.js"></script>
<script type="text/javascript" src="app.js"></script>
<script type="text/javascript" src="scripts/customized.js"></script>