-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
111 lines (97 loc) · 3.59 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Send message</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<!-- Le styles -->
<link href="bootstrap/css/bootstrap.css" rel="stylesheet">
<style type="text/css">
body {
padding-top: 40px;
padding-bottom: 40px;
background-color: #f5f5f5;
}
.form-signin {
max-width: 300px;
padding: 19px 29px 29px;
margin: 0 auto 20px;
background-color: #fff;
border: 1px solid #e5e5e5;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
-moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);
box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
margin-bottom: 10px;
}
.form-signin input[type="text"],
.form-signin input[type="password"] {
font-size: 16px;
height: auto;
margin-bottom: 15px;
padding: 7px 9px;
}
.our-row {
display: flex;
margin: 100px;
}
.our-column {
flex: 100%;
padding: 10px;
}
.nigel {
width: 100px;
height: 140px;
}
#over_map {
position: absolute;
top: 250px;
left: 300px;
z-index: 99;
}
</style>
<link href="bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
<script src="bootstrap/js/jquery-3.3.1.min.js" type="text/javascript"></script>
<script src="js/navigation.js" type="text/javascript"></script>
<script src="js/messageLogic.js" type="text/javascript"></script>
<script src="js/login.js" type="text/javascript"></script>
<script src="js/map.js" type="text/javascript"></script>
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="bootstrap/js/html5shiv.js"></script>
<![endif]-->
</head>
<body onload="initializeSendMessageForm(document.forms[0]);">
<div id="navigationBar"></div>
<div class="our-row">
<form class="form-sendMessage" class="our-column">
<label for="sender">From:</label>
<input type="text" id="from" name="from" placeholder="User's email">
<label for="receiver">To:</label>
<input type="text" id="to" name="to" placeholder="Person's email">
<label for="address">Street address:</label>
<input type="text" id="address" name="address"
placeholder="11500 N Mopac Expy, Austin, TX 78759"
onfocusout="drawMap()" autocomplete="off">
<label for="message">Subject:</label>
<textarea id="subject" name="subject" placeholder="Type message body." style="height:200px"></textarea>
<button class="btn btn-large btn-primary" type="button" onclick="return sendMessage();" id="send">Send message</button>
</form>
<div class="our-column">
<img class="nigel" id="over_map" z-index="2" src="nigel.jpg" hidden="true" />
<div id="map" style="width:100%;height:400px;" />
</div>
</div> <!-- /container -->
<!-- Le javascript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBaqh2b3Z9zUNQ9GACBJgd2zoDIh5vQTII&libraries=geometry,places&language=en&callback=myMap"></script>
</body>
</html>