-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
104 lines (88 loc) · 4.72 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
103
104
<!DOCTYPE html>
<html>
<head>
<title>Агроконсультант</title>
<meta charset="utf-8" />
<meta name="format-detection" content="telephone=no" />
<!-- WARNING: for iOS 7, remove the width=device-width and height=device-height attributes. See https://issues.apache.org/jira/browse/CB-4323 -->
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height" />
<link rel="shortcut icon" href="favicon.ico" />
<!-- jQuery Mobile -->
<link rel="stylesheet" href="jquery.mobile-1.4.5.min.css" />
<script type="text/javascript" src="jquery-1.11.1.min.js"></script>
<!--<script type="text/javascript" src="jquery.mobile-1.4.5.js"></script>-->
<script type="text/javascript" src="jquery.mobile-1.4.5.min.js"></script>
<!-- jDrupal -->
<!-- <script type="text/javascript" charset="utf-8" src="jdrupal-7.0.5.js"></script>-->
<script type="text/javascript" charset="utf-8" src="jdrupal-7.0.5.min.js"></script>
<!-- DrupalGap -->
<!-- stable release -->
<!--<script type="text/javascript" charset="utf-8" src="bin/drupalgap-7.0.2.min.js"></script>-->
<!-- dev release -->
<!-- drupalgap.min.js НЕ ИСПОЛЬЗОВАТЬ, так как drupalgap.js пропатчен и изменен -->
<script type="text/javascript" charset="utf-8" src="bin/drupalgap.js"></script>
<script type="text/javascript" charset="utf-8" src="app/settings.js"></script>
<link rel="stylesheet" href="css/drupalgap.css" />
<!-- PhoneGap -->
<script src="phonegap.js"></script>
<!-- Custom script -->
<!-- Theming -->
<script src="app/themes/agro/nativeDroid2/vendor/chartist/chartist.min.js"></script>
<script src="app/themes/agro/nativeDroid2/vendor/waves/waves.min.js"></script>
<script src="app/themes/agro/nativeDroid2/vendor/wow/wow.min.js"></script>
<script src="app/themes/agro/nativeDroid2/js/nativedroid2.js"></script>
<script src="app/themes/agro/nativeDroid2/nd2settings.js"></script>
<!-- библиотека для форматирования чисел -->
<script src="app/themes/agro/js/accounting.js"></script>
<!-- библиотека расширения виджета nd2.Tabs -->
<script src="app/themes/agro/js/nd2ext.js"></script>
<!-- Custom style -->
<!--todo включить иконки в приложение-->
<!--<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/css/font-awesome.min.css" />-->
<!-- Theming -->
<link rel="stylesheet" href="app/themes/agro/nativeDroid2/vendor/waves/waves.min.css" />
<link rel="stylesheet" href="app/themes/agro/nativeDroid2/vendor/wow/animate.css" />
<link rel="stylesheet" href="app/themes/agro/nativeDroid2/css/nativedroid2.css" />
<link rel="stylesheet" href="app/themes/agro/css/agro.css" />
<!-- Fancybox -->
<!--<script src="app/themes/agro/fancybox/jquery.fancybox.js"></script>-->
<script src="app/themes/agro/fancybox/jquery.fancybox.min.js"></script>
<!--<link rel="stylesheet" href="app/themes/agro/fancybox/jquery.fancybox.css" />-->
<link rel="stylesheet" href="app/themes/agro/fancybox/jquery.fancybox.min.css" />
</head>
<body>
<!-- Mobile Application Splash Screen -->
<div id="_drupalgap_splash" data-role="page">
<div class="drupalgap_splash_content"></div>
</div>
<!-- Load DrupalGap -->
<script type="text/javascript">
document.addEventListener('deviceready', function() {
// инициализация плагина AppMetrica
// https://tech.yandex.ru/appmetrica/doc/mobile-sdk-dg/concepts/cordova-plugin-docpage/
var configuration = {
// Mandatory
apiKey: '2f817cda-7695-4ad1-a988-ebe1402007bc',
// Optional
trackLocationEnabled: true,
reportCrashesEnabled: true,
loggingEnabled: true,
sessionTimeout: 15
};
window.appMetrica.activate(configuration);
if (typeof StatusBar !== 'undefined') {
// после перехода на cordova cli-7.1.0 параметр config.xml "overlaysWebView" при компиляции
// устанавливается всегда в true (https://forums.adobe.com/thread/2443968)
// пока меняем его динамически
StatusBar.overlaysWebView(false);
// StatusBar.backgroundColorByName("white");
StatusBar.backgroundColorByHexString("#00de00");
// StatusBar.styleDefault();
}
}, false);
drupalgap_onload();
</script>
<!--back to the top button-->
<div id="to-the-top"><span class="zmdi zmdi-chevron-up"></span></div>
</body>
</html>