-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
190 lines (154 loc) · 7.69 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<title>Virtual Office - MLM Clients</title>
<meta id="extViewportMeta" name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
<!-- Le fav and touch icons -->
<link rel="shortcut icon" href="css/images/favicon.ico">
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="css/images/apple-touch-icon-144-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="css/images/apple-touch-icon-114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="css/images/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="css/images/apple-touch-icon-57-precomposed.png">
<!-- fonts -->
<link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600' rel='stylesheet' type='text/css'>
<!-- stylesheet library -->
<link rel="stylesheet" href="css/jquery.mobile.structure-1.4.2.css" />
<link rel="stylesheet" href="css/jquery.mobile.inline-svg-1.4.2.css" />
<link rel="stylesheet" href="css/jquery.mobile.inline-png-1.4.2.css" />
<link rel="stylesheet" href="css/jquery.mobile.icons-1.4.2.css" />
<link rel="stylesheet" href="css/jquery.mobile.external-png-1.4.2.css" />
<link rel="stylesheet" href="css/jquery.mobile-1.4.2.min.css" />
<link type="text/css" rel="stylesheet" href="css/jquery.mmenu.css" />
<link rel="stylesheet" href="css/owl.carousel.css">
<link rel="stylesheet" href="css/custom.css" />
<!--<script src="js/jquery.min.js"></script>-->
<script src="assets/js/jquery-1.8.3.min.js"></script>
<!-- javascript library -->
<script src="js/jquery.mobile-1.4.2.js"></script>
<!-- javascript plugin -->
<script type="text/javascript" src="js/jquery.mmenu.js"></script>
<script type='text/javascript' src="js/owl.carousel.min.js"></script>
<script type='text/javascript' src="js/script-lib.js"></script>
<script type="text/javascript">
$.mobile.ajaxEnabled = false;
$.mobile.linkBindingEnabled = false;
$.mobile.hashListeningEnabled = false;
$.mobile.pushStateEnabled = false;
$.mobile.changePage.defaults.changeHash = false;
</script>
<style type="text/css">
#loading_backbone{
position:fixed;
z-index:999;
top:0;
left:0;
width:100%;
height: 100%;
background:rgba(0,0,0,0.3);
}
</style>
</head>
<body>
<div id="loading_backbone">please wait...</div>
<div data-role="panel" id="mypanel">
<!-- navigation menu -->
<nav id="menu">
<ul>
</ul>
</nav>
<!-- end navigation menu -->
</div>
<div data-dom-cache="false" data-role="page" data-theme="b" id="demo-page" class="my-page">
<header data-role="header" class="ui-alt-icon">
<a href="#menu" class="ui-btn ui-icon-bars ui-btn-icon-left ui-corner-all" id="menu-button">Menu</a>
<h1>MLM Basic Apps</h1>
</header>
<div data-role="header" class="container brand-header">
<div class="branding">
<a href="#"><img src="images/logo-milagros.png"></a>
</div>
</div>
<!--<div role="main" class="ui-content">-->
<div data-role="content" data-theme="b" class="minus-shadow " id="backbone_content">
<div class="clear"></div>
</div><!-- /content -->
<footer data-role="footer" data-position="fixed" class="ui-fixed">
<nav data-role="navbar">
<ul class="ui-alt-icon">
<li><a href="index.html#" onclick="window.location.href='index.html#'" data-icon="home">Home</a></li>
<li><a href="index.html#statistik" data-icon="eye">Statistik</a></li>
<li id="dock_login"><a href="index.html#login" onclick="window.location.href='index.html#login'" data-icon="lock">Login</a></li>
<!--<li id="dock_logout"><a href="index.html#logout" onclick="return confirm('Are you sure want to logout?');" data-icon="lock">Logout</a></li>-->
</ul>
</nav>
</footer>
</div><!-- Page Photos -->
<script type="text/javascript">
var _BASE_URL='http://localhost/esoftdream/milagros_mobile_client/';
// var _API_SERVER_URL='http://localhost/esoftdream/milagros_api/';
var _API_SERVER_URL='http://192.168.1.101/mobile/milagros_api/';
var output_content=$("#backbone_body");
var _LINK_AFTER_LOGIN='profile_detail';
</script>
<script src="assets/js/underscore.js"></script>
<script src="assets/js/backbone.js"></script>
<script src="assets/js/backbone_localstorage.js"></script>
<script type="text/javascript">
/*
* Store a version of Backbone.sync to call from the
* modified version we create
*/
</script>
<!-- <script src="assets/js/views/test_dynamic_view.js"></script>
<script src="assets/js/views/profile_member_view.js"></script>
<script src="assets/js/models/profile_api.js"></script>
<script src="assets/js/views/profile_api_view.js"></script>-->
<script src="assets/js/views/before_loged_in.js"></script>
<script src="assets/js/models/before_loged_in_api.js"></script>
<script src="assets/js/views/after_loged_in_api_view.js"></script>
<script src="assets/js/models/after_loged_in_api.js"></script>
<script src="assets/js/views/about.js"></script>
<script src="assets/js/utils.js"></script>
<script src="assets/js/main.js"></script>
<script src="assets/js/spin.min.js"></script>
<script type="text/javascript">
//$(function(){
// $("#loading_backbone").spin({/* YOUR SPINNER OPTIONS */}).hide();
// $('#loading_backbone').ajaxStart(function(){ $(this).fadeIn(); });
// $('#loading_backbone').ajaxComplete(function(){ $(this).fadeOut(); });
//}); */
var opts = {
lines: 13, // The number of lines to draw
length: 20, // The length of each line
width: 10, // The line thickness
radius: 30, // The radius of the inner circle
corners: 1, // Corner roundness (0..1)
rotate: 0, // The rotation offset
direction: 1, // 1: clockwise, -1: counterclockwise
color: '#000', // #rgb or #rrggbb or array of colors
speed: 1, // Rounds per second
trail: 60, // Afterglow percentage
shadow: false, // Whether to render a shadow
hwaccel: false, // Whether to use hardware acceleration
className: 'spinner', // The CSS class to assign to the spinner
zIndex: 2e9, // The z-index (defaults to 2000000000)
top: 'auto', // Top position relative to parent in px
left: 'auto' // Left position relative to parent in px
};
var target = document.getElementById('loading_backbone');
var spinner = new Spinner(opts).spin(target);
//$('#loading_backbone').ajaxStart(function(){ $(this).fadeIn(); });
//$('#loading_backbone').ajaxComplete(function(){ $(this) .fadeOut(); });
$(function(){
$(document).ready(function() {
$('#loading_backbone').ajaxStart(function(){
$(this).fadeIn(); });
$('#loading_backbone').ajaxComplete(function(){ $(this).fadeOut(); });
});
});
//var spinner = new Spinner(opts).spin();
// $("#loading_backbone").appendChild(spinner.el);
</script>
</body>
</html>