-
Notifications
You must be signed in to change notification settings - Fork 93
/
index.html
132 lines (116 loc) · 5.38 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
<html>
<head>
<title>MapChat</title>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no">
<meta charset="utf-8">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.96.1/css/materialize.min.css">
<link href="stylesheets/main.css" rel="stylesheet"/>
<link rel="apple-touch-icon" sizes="57x57" href="favicons/apple-touch-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="favicons/apple-touch-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="favicons/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="favicons/apple-touch-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="favicons/apple-touch-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="favicons/apple-touch-icon-120x120.png">
<link rel="icon" type="image/png" href="favicons/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="favicons/favicon-96x96.png" sizes="96x96">
<link rel="icon" type="image/png" href="favicons/favicon-16x16.png" sizes="16x16">
<link rel="manifest" href="favicons/manifest.json">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
</head>
<body>
<!-- Google translate -->
<div class="translation-wrapper hide-on-small-and-down">
Translation
<div id="google_translate_element" style="float: right; padding-left: 10px"></div>
</div>
<script type="text/javascript">
function googleTranslateElementInit() {
new google.translate.TranslateElement({pageLanguage: 'auto', layout: google.translate.TranslateElement.InlineLayout.SIMPLE}, 'google_translate_element');
}
</script>
<script type="text/javascript" src="http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
<div class="navbar">
<nav>
<div class="nav-wrapper blue">
<a class="brand-logo center" href="http://idoco.github.io/map-chat/">MapChat</a>
<a id="side-nav-button" href="#" data-activates="side-nav"><i class="mdi-navigation-menu"></i></a>
<ul class="side-nav" id="side-nav">
<li>
<div class="switch">
<label style="color: black">
Notifications
<input id="notification_lever" type="checkbox">
<span class="lever"></span>
</label>
</div>
</li>
<li>
<div class="switch">
<label style="color: black">
Share Accurate Location
<input id="accurate_location_lever" type="checkbox">
<span class="lever"></span>
</label>
</div>
</li>
</ul>
</div>
</nav>
</div>
<!--fork me link-->
<a href="https://github.com/idoco/map-chat/" class="hide-on-med-and-down">
<img src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png"
class="fork-me-link" alt="Fork me on GitHub">
</a>
<div class="fixed-action-btn zoom-buttons">
<div>
<a id="zoom-in-button" class="waves-effect waves-light btn grey"
onclick="changeZoom(+1)">
<i class="mdi-content-add"></i>
</a>
</div>
<div>
<a id="zoom-out-button" class="waves-effect waves-light btn grey"
onclick="changeZoom(-1)">
<i class="mdi-content-remove"></i>
</a>
</div>
</div>
<div id="map-canvas"></div>
<div class="center input-wrapper">
<div class="input-field">
<input placeholder="Type a message" id="input" type="text" maxlength="101">
</div>
</div>
<div class="fixed-action-btn btn-send">
<a id="send-button" class="btn-floating btn-large waves-effect waves-light blue">
<i class="large mdi-content-send"></i>
</a>
</div>
<div class="fixed-action-btn btn-clear">
<a id="clear-button" class="btn-floating btn-large waves-effect waves-light red"
onclick="clearMessageFromMap()">
<i class="large mdi-content-clear"></i>
</a>
</div>
<!--Import jQuery before materialize.js-->
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.96.1/js/materialize.min.js"></script>
<script src="https://cdn.jsdelivr.net/sockjs/1.0.0/sockjs.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vertx/2.0.0/vertxbus.js"></script>
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&language=en"></script>
<script type="text/javascript" src="javascript/modernizr.custom.js"></script>
<script type="text/javascript" src="javascript/html-sanitizer-minified.js"></script>
<script src="javascript/main.js"></script>
<script src="javascript/map.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-63921484-1', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>