-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
58 lines (47 loc) · 2.33 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
<!DOCTYPE html>
<html ng-app="mediSenseApp">
<head>
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width">
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/index.css">
<script type="text/javascript" src="cordova.js"></script>
<script type="text/javascript" src="js/index.js"></script>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/popper.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/angular.min.js"></script>
<script type="text/javascript" src="js/angular-route.min.js"></script>
<script type="text/javascript" src="js/angular-resource.min.js"></script>
<script type="text/javascript" src="js/angular-animate.min.js"></script>
<script type="text/javascript" src="js/cordovaGeolocationModule.min.js"></script>
<script type="text/javascript" src="core/data/dataService.module.js"></script>
<script type="text/javascript" src="core/data/dataService.service.js"></script>
<script type="text/javascript" src="home/home.controller.js"></script>
<script type="text/javascript" src="allMeds/all-meds.module.js"></script>
<script type="text/javascript" src="body/body.controller.js"></script>
<script type="text/javascript" src="mediSense.module.js"></script>
<script type="text/javascript" src="mediSense.config.js"></script>
<script type="text/javascript" src="searchSymptom/symptom.controller.js"></script>
<script type="text/javascript">
function onLoad() {
document.addEventListener("deviceready", onDeviceReady, false);
}
function onDeviceReady() {
console.log("Device ready");
}
document.addEventListener('backbutton', function (evt) {
if(window.location.href === "file:///android_asset/www/index.html#/home") {
navigator.app.exitApp();
} else {
window.history.back();
}
}, false);
</script>
<title>Consult Me</title>
</head>
<body ng-controller="mediSenseController" onload="onLoad()">
<div style="overflow: hidden">
<div ng-view></div>
</div>
</body>
</html>