This repository has been archived by the owner on Aug 18, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
102 lines (97 loc) · 3.66 KB
/
index.html
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<!DOCTYPE HTML>
<!--
abat ScrumUI5 local test index.html
Debugging is enabled, use 'index.html?responderOn=true' for mock data.
Copyright (c) 2015 abat AG, All Rights Reserved
-->
<html>
<head>
<!--
SAPUI5 Guide Defaults:
- Prevent Internet Explorer Compatibility Mode.
- Use UTF-8 in all App components.
-->
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta charset="UTF-8">
<!--
Cordova Defaults:
- Disables automatic detection of possible phone numbers in Safari on iOS.
- Disables touch tap link highlighting on
both IE11 on Windows 8.1 and Internet Explorer 10 on Windows Phone 8.
-->
<meta name="format-detection" content="telephone=no" />
<meta name="msapplication-tap-highlight" content="no" />
<!--
WARNING: for iOS 7, remove the width=device-width
and height=device-height attributes.
See https://issues.apache.org/jira/browse/CB-4323
ALSO: "target-densitydpi=device-dpi" is deprecated
-->
<meta name="viewport" content="user-scalable=no, initial-scale=1,
maximum-scale=1, minimum-scale=1, width=device-width,
height=device-height" />
<!-- Title only shown when accessed via Browser -->
<title>abat ScrumUI5</title>
<!-- Load Apache Cordova -->
<!--<script src="cordova.js"></script>-->
<!-- SAPUI5 Bootstrap
- Use local resources (disable preload) for faster app startup instead of
src="https://sapui5.netweaver.ondemand.com/resources/sap-ui-core.js"
- Running SAPUI5 Mobile Apps in Hybrid Web Containers:
https://sapui5.hana.ondemand.com/sdk/#docs/guide/
293eb945f0e945aaa776812481b4c533.html
-->
<script
id="sap-ui-bootstrap"
src="./bower_components/openui5-sap.ui.core/resources/sap-ui-core.js"
data-sap-ui-libs="sap.m"
data-sap-ui-theme="sap_bluecrystal"
data-sap-ui-preload=""
data-sap-ui-resourceroots='{
"sap.m": "./bower_components/openui5-sap.m/resources/sap/m",
"de.abat.scrumui5": "./app/",
"de.abat.scrumui5.service": "./test/service/"
}'
data-sap-ui-theme-roots='{
"sap_bluecrystal": "./bower_components/openui5-themelib_sap_bluecrystal/resources"
}'
data-sap-ui-debug="true">
</script>
<!--
- Start App in Shell for correct vertical margins on widescreens
- Instantiate Component for reuse in different environments like Fiori
-> see Component.js for details
- WARNING: Ajax calls do not work prior to Cordova's deviceready event
-> enable deviceready event listener in hybrid apps
-->
<script>
//document.addEventListener("deviceready", function() {
// TODO Add event listener to load model on deveiceready only, test startup performance
// https://sapui5.netweaver.ondemand.com/sdk/#docs/guide/293eb945f0e945aaa776812481b4c533.html
sap.ui.getCore().attachInit(function() {
// Set up mock server for local testing
if (jQuery.sap.getUriParameters().get("responderOn") === "true") {
jQuery.sap.require("de.abat.scrumui5.service.server");
de.abat.scrumui5.service.server.init();
}
// Initialize the UI component
new sap.m.Shell({
app: new sap.ui.core.ComponentContainer({
height : "100%",
name : "de.abat.scrumui5"
}),
homeIcon : {
'phone' : './app/img/57_iPhone_Desktop_Launch.png',
'phone@2' : './app/img/114_iPhone-Retina_Web_Clip.png',
'tablet' : './app/img/72_iPad_Desktop_Launch.png',
'tablet@2' : './app/img/144_iPad_Retina_Web_Clip.png',
'favicon' : './app/img/favicon.ico',
'precomposed': false
}
}).placeAt("content");
});
//}, false);
</script>
</head>
<body class="sapUiBody" id="content"></body>
</html>