-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
135 lines (113 loc) · 9.53 KB
/
Copy pathindex.html
File metadata and controls
135 lines (113 loc) · 9.53 KB
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
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no" />
<title>Access traffic using OAuth2</title>
<link rel="stylesheet" href="https://js.arcgis.com/4.3/esri/css/main.css">
<link rel="stylesheet" href="./dist/css/calcite-web.min.css">
<link href="https://fonts.googleapis.com/css?family=Khula:300" rel="stylesheet">
<script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
<script src="dojoConfig.js"></script>
<script src="https://js.arcgis.com/4.3/"></script>
<style>
html,
body,
#viewDiv {
position: relative;
font-family: Lucida Sans, Lucida Grande, Arial !important;
font-size: 14px;
width: 100%;
height: 100%;
margin: 0px;
padding: 0px;
}
#mainMap {
position: absolute;
height: 100%;
width: 100%;
top: 0;
left: 0;
}
.top-nav {
background-color: #afbf07;
}
.top-nav-link {
color: #fefefe;
}
.esri-footer-brand-image {
fill: #fefefe;
}
.esri-ui-corner .esri-widget {
background-color: #afbf07;
}
.esri-widget-button {
border-style: 1px solid white;
color: #fefefe;
}
.esri-widget {
color: #fefefe;
}
#coord {
font-family: 'Khula', sans-serif;
font-size: 20px;
padding-top: 10px;
color: #fefefe;
padding-bottom: 0;
margin: 0;
}
#coordMsg {
font-family: 'Khula', sans-serif;
font-size: 15px;
color: #fefefe;
padding: 0;
margin: 0;
}
</style>
<script type="text/javascript" src="./app/auth.js"></script>
</head>
<body>
<div class="wrapper">
<!-- header -->
<header class="top-nav fade-in">
<div class="grid-container">
<div class="column-2">
<svg class="esri-footer-brand-image" width="50" height="50" viewBox="0 0 114 90" role="presentation"><path d="M2.229.1l-.56 4.146h5.266l-2.13 14.678H9.4l2.129-14.678h5.154L17.243.1zm29.02 0l-.896 6.835h-7.284L23.966.1h-4.594l-2.577 18.824h4.594l1.12-7.843h7.283l-1.12 7.843h4.594L35.843.1zm20.392 4.258L52.201.1H39.205l-2.577 18.824h13.446l.56-4.258H41.78l.448-3.137h7.956l.56-4.258H42.79l.448-2.913zM13.658 33.042c-.337-.337-.785-.673-1.345-1.009-.448-.224-1.008-.448-1.457-.672-.448-.224-1.008-.336-1.456-.448-.448-.112-.897-.336-1.233-.448s-.56-.337-.784-.56c-.112-.225-.224-.449-.224-.785s.112-.56.336-.784c.112-.224.336-.336.672-.449.224-.112.56-.224.897-.336.784-.224 1.568-.112 2.353.224.448.225.784.449 1.12.785l.224.224 3.586-3.474-.224-.224a7.121 7.121 0 0 0-2.465-1.568c-1.793-.56-3.81-.673-5.715-.112-.896.224-1.792.672-2.465 1.12-.784.56-1.344 1.12-1.905 1.905s-.896 1.68-1.008 2.689c-.112 1.12 0 1.905.336 2.577a3.957 3.957 0 0 0 1.457 1.569c.56.336 1.232.672 2.017.896.672.224 1.344.448 1.904.672.56.224 1.009.449 1.457.785.336.224.448.56.336 1.008 0 .224-.112.56-.336.672-.336.673-.56.785-.784.897s-.56.224-.897.336c-1.008.224-1.904.112-2.689-.336a2.22 2.22 0 0 1-1.232-1.233l-.224-.336L.1 40.325l.224.224c.784.896 1.68 1.456 2.69 1.792s2.128.56 3.36.56a11.3 11.3 0 0 0 2.802-.335c.896-.225 1.792-.673 2.465-1.12.784-.561 1.344-1.233 1.905-2.018.56-.784.896-1.68 1.008-2.8.112-.785.112-1.57-.112-2.13-.224-.56-.448-1.008-.784-1.456zm15.574 3.809c-.448.56-1.008 1.009-1.68 1.345s-1.345.448-2.13.448c-.672 0-1.344-.112-1.904-.448-.56-.224-1.009-.673-1.345-1.12-.336-.449-.672-1.121-.784-1.793-.112-.673-.224-1.457-.112-2.241.112-.785.336-1.569.672-2.241.336-.673.784-1.345 1.345-1.793s1.12-.896 1.792-1.12c.673-.225 1.345-.449 2.017-.449.672 0 1.345.112 1.793.336s.896.56 1.232 1.009l.112.224 3.922-2.801-.112-.224a4.776 4.776 0 0 0-1.232-1.345 7.144 7.144 0 0 0-1.57-.896c-.56-.224-1.12-.336-1.68-.448-.56-.112-1.12-.112-1.68-.112-1.457 0-2.802.224-4.146.672s-2.465 1.12-3.474 2.017c-1.008.896-1.904 1.904-2.577 3.137a12.24 12.24 0 0 0-1.344 4.034 10.149 10.149 0 0 0 .224 4.145c.336 1.233.896 2.241 1.68 3.138s1.793 1.568 2.914 2.016c1.12.449 2.465.673 3.921.673a10.18 10.18 0 0 0 3.922-.785c1.345-.56 2.465-1.344 3.361-2.465l.224-.224-3.473-2.913.112.224zm7.843-13.221l-2.577 18.824h4.594L41.67 23.63zm20.729 4.257l.672-4.257H45.48l-2.69 18.824h13.446l.672-4.258h-8.963l.448-3.138h7.955l.56-4.257h-7.843l.336-2.914zm17.367-4.257l-1.68 12.1-5.715-12.1h-5.938l-2.69 18.824h4.594l1.793-12.438 5.826 12.438h5.715l2.689-18.824zm18.152 13.221a4.961 4.961 0 0 1-1.681 1.345c-.672.336-1.345.448-2.129.448-.672 0-1.345-.112-1.905-.448-.56-.224-1.008-.673-1.344-1.12-.337-.449-.673-1.121-.785-1.793s-.224-1.457-.112-2.241c.112-.785.336-1.569.673-2.241.336-.673.784-1.345 1.344-1.793.56-.448 1.12-.896 1.793-1.12.672-.225 1.344-.449 2.017-.449s1.344.112 1.792.336.897.56 1.233 1.009l.112.224 3.922-2.801-.112-.224a4.776 4.776 0 0 0-1.233-1.345 7.144 7.144 0 0 0-1.569-.896c-.56-.224-1.12-.336-1.68-.448-.56-.112-1.12-.112-1.681-.112-1.457 0-2.801.224-4.146.672s-2.465 1.12-3.473 2.017c-1.009.896-1.905 1.904-2.577 3.137a12.239 12.239 0 0 0-1.345 4.034 10.149 10.149 0 0 0 .224 4.145 7.726 7.726 0 0 0 1.681 3.138c.784.896 1.793 1.568 2.913 2.016 1.12.449 2.465.673 3.922.673 1.232 0 2.577-.224 3.921-.785s2.465-1.344 3.362-2.465l.224-.224-3.474-2.913.113.224zm19.944-8.964l.672-4.257h-12.997l-2.69 18.824h13.446l.56-4.258h-8.851l.448-3.138h7.955l.56-4.257h-7.843l.336-2.914zM21.725 52.538c-.336-1.233-.896-2.241-1.68-3.138s-1.793-1.568-2.914-2.016c-1.12-.449-2.465-.673-3.922-.673s-2.8.224-4.145.673c-1.345.448-2.465 1.12-3.474 2.016s-1.905 1.905-2.577 3.138c-.672 1.232-1.12 2.577-1.344 4.033s-.112 2.914.224 4.146a7.726 7.726 0 0 0 1.68 3.137c.785.897 1.793 1.569 2.914 2.017 1.12.448 2.465.672 3.921.672s2.801-.224 4.146-.672a9.768 9.768 0 0 0 3.473-2.017c1.009-.896 1.905-1.904 2.577-3.137a12.24 12.24 0 0 0 1.345-4.034c.224-1.568.112-2.913-.224-4.145zM17.13 56.57c-.112.785-.336 1.569-.672 2.241-.336.673-.785 1.233-1.345 1.793-.56.448-1.12.896-1.905 1.12-.672.225-1.456.449-2.353.449-.784 0-1.568-.112-2.128-.449a3.64 3.64 0 0 1-1.457-1.12c-.448-.448-.672-1.12-.784-1.793-.112-.672-.224-1.456-.112-2.24s.336-1.57.672-2.242a4.96 4.96 0 0 1 1.344-1.68c.56-.448 1.12-.897 1.905-1.12.672-.225 1.457-.449 2.353-.449.785 0 1.569.112 2.13.448.56.224 1.12.673 1.568 1.12.448.449.672 1.121.784 1.793.112.56.224 1.345 0 2.13zm20.73-5.04l.672-4.37H25.647l-2.578 18.935h4.594l.897-7.17h7.619l.672-4.258h-7.619l.448-3.138zM23.966 70.801l-4.482 11.317L17.467 70.8h-4.146L8.055 81.894 6.935 70.8H1.893l3.025 18.824h3.81l5.602-12.101 2.129 12.101h4.033l8.18-18.824zm18.151 0l-.896 6.835h-7.283l.896-6.835H30.24l-2.577 18.824h4.594l1.12-7.955h7.284l-1.12 7.955h4.593l2.577-18.824zm20.393 4.258l.56-4.258H50.073l-2.577 18.824H60.94l.56-4.258h-8.85l.448-3.137h7.955l.56-4.37h-7.955l.448-2.801zm17.479 1.569c.112-1.12.112-2.017-.224-2.802-.336-.784-.784-1.344-1.345-1.792-.56-.448-1.344-.785-2.129-1.009-.784-.224-1.68-.224-2.689-.224H66.32l-2.69 18.824h4.594l1.009-7.283H70.8l2.801 7.283h5.49l-3.585-7.843c1.233-.336 2.241-.897 3.025-1.793.785-.896 1.345-2.017 1.457-3.361zm-9.636-1.905h2.353c.336 0 .672 0 1.008.112.337 0 .673.112.897.224.224.112.448.336.56.56s.112.56.112.897c-.112.448-.224.784-.448 1.008-.224.224-.448.448-.784.56-.337.112-.673.224-1.009.224h-3.137l.448-3.585zm25.547.336l.672-4.258H83.575l-2.69 18.824h13.446l.672-4.258H86.04l.448-3.137h7.955l.56-4.37H87.16l.336-2.801z"></path></svg>
</div>
<div class="column-14">
<p class="avenir-light text-light font-size-2" id="coord" style="display: none;">Coordonate: x - y</p>
<p class="avenir-light text-light font-size-1" id="coordMsg" style="display: none;">Click pentru obtinere coordonate</p>
</div>
<div class="column">
<nav class="class-top-nav-list right" role="navigation" aria-labelledby="usernav">
<a class="top-nav-link icon-ui-user margin-left-1" id="btnSignIn" href="#">
<span id="sign-in" class="action">Sign In</span> to see live traffic.
</a>
<a class="top-nav-link icon-ui-sign-out margin-left-1" id="btnSignOut" href="#" style="display: none;">
<span id="sign-out" class="action">Sign Out</span>
</a>
<!-- <div id="personalizedPanel" style="display: block; padding: 5px; text-align: center;">
Welcome <span id="userId" style="font-weight: bold;"></span> -
<span id="sign-out" class="action">Sign Out</span>
</div> -->
</nav>
</div>
</div>
</div>
</header>
<div class="column-24 center-column">
<div data-ripple id="mainMap">
<span id="info" style="position:absolute; left:15px; bottom:5px; color:#000; z-index:50;"></span>
</div>
</div>
</div>
<!-- <div class="grid-container">
<div class="column-28">
<div id="mainMap">
</div>
</div>
</div> -->
<!-- for the map -->
<div id="viewDiv" style="display: none;"></div>
</body>
</html>