index.html
1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<html>
<head>
<title>Ext JS Calendar Sample</title>
<link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
<link rel="stylesheet" type="text/css" href="resources/css/calendar.css" />
<link rel="stylesheet" type="text/css" href="resources/css/examples.css" />
<!-- GC -->
<script type="text/javascript" src="../../ext-all.js"></script>
<script type="text/javascript">
Ext.Loader.setConfig({
enabled: true,
paths: {
'Ext.calendar': 'src'
}
});
Ext.require([
//'Ext.diag.layout.Context',
//'Ext.diag.layout.ContextItem',
'Ext.calendar.App'
]);
Ext.onReady(function(){
// launch the app:
Ext.create('Ext.calendar.App');
// update the header logo date:
document.getElementById('logo-body').innerHTML = new Date().getDate();
});
</script>
</head>
<body>
<div style="display:none;">
<div id="app-header-content">
<div id="app-logo">
<div class="logo-top"> </div>
<div id="logo-body"> </div>
<div class="logo-bottom"> </div>
</div>
<h1>Ext JS Calendar</h1>
<span id="app-msg" class="x-hidden"></span>
</div>
</div>
</body>
</html>