Subversion Repository Public Repository

gpstest

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
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<%  
    String user_email=session.getAttribute("email").toString();  
    String user_password=session.getAttribute("password").toString();  
%>
<title>Nrusingh GPS</title>
<link href="css/main.css" rel="stylesheet" />
<link href="css/topmenu.css" rel="stylesheet" />
<script src="js/jquery.min.js"></script>
<script type="text/javascript">
	$(function(){
		var username = '<%= user_email%>';
		var password = '<%= user_password%>';
		$('#loader_left').show();
		$.ajax({
			async:false,
			cache:false,
			dataType:"json",
			type: "POST",  
			url: "multitrackingmap.jsp",
			success: function (response) {
				$('#loader_map').hide();
				console.log('Success: ');
				$('#div_map').html("");
				$('#div_map').html(response.responseText);
			},
			error: function (response) {
				$('#loader_map').hide();
				console.log('Error: ');
				$('#div_map').html("");
				$('#div_map').html(response.responseText);
			}
		});
	});
	
	
</script>

</head>
<body>
	<div class="container">
		<!-- top panel -->
		<header>
		<div><img src="images/logo1.png" style="width: 100px;"></div>
		<div style="margin-top: -95px; margin-left: 180px;"><h1><a href="login" style="text-decoration: none;color: white;">NRUSiNGH GPS TRACKER</a></h1></div>
		
		<div style="float: right; margin-top: -40px;">
			<span style="font-weight: 900; text-transform: uppercase; vertical-align: 7px;"><%=session.getAttribute("email")%></span>
			<a href="logout"><img src="images/logout.png" alt="logout" style="width: 22px; margin-right: 15px;"/></a>
		</div>
		<jsp:include page="menu.jsp" />
		</header>
		<!-- top panel ends -->

		<!-- right panel -->
		<article style="margin-left: 0px;"> <!-- <p><a href="map.jsp">Map</a></p> -->
			<div id="div_map" style="border: 1px solid grey">
				<div id="loader_map" style="disply: none;">
					<img id="loader_img_map" alt="Loding ..." src="images/loader.gif" />
				</div>
			</div>
		</article>
		<!-- right panel ends -->

		<!-- buttom panel -->
		<footer><div style="text-align: center"> Copyright &copy; Nrusingha nath Nayak</div></footer>
		<!-- buttom panel ends -->
	</div>
</body>
</html>

Commits for gpstest/WebContent/_multitracking.jsp

Diff revisions: vs.
Revision Author Commited Message
1 lingaraj picture lingaraj Sat 24 Nov, 2018 13:04:59 +0000