Repository navigation
Expand file tree
/
Copy pathtabnav-min.html
More file actions
135 lines (116 loc) · 3.97 KB
/
Copy pathtabnav-min.html
File metadata and controls
135 lines (116 loc) · 3.97 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
<!--
This is an experiment in auto-styling dataset visualizations based on auto-detected datatypes.
Example dataset:
http://192.168.1.108:8080/auto-styling.html?dataset=8581a7460e144ae09ad25d47f8e82af8_0
-->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="initial-scale=1,maximum-scale=1,user-scalable=no"
/>
<title>Tab Navigation Demo</title>
<link href="tabnav-min.css" rel="stylesheet">
<!-- <link rel="stylesheet" href="https://s3-us-west-1.amazonaws.com/patterns.esri.com/files/calcite-web/1.2.5/css/calcite-web.min.css"> -->
<!-- <script src="https://s3-us-west-1.amazonaws.com/patterns.esri.com/files/calcite-web/1.2.5/js/calcite-web.min.js"></script> -->
<!-- calcite components -->
<script
type="module"
src="https://unpkg.com/@esri/calcite-components@1.0.0-beta.33/dist/calcite/calcite.esm.js"
></script>
<script
nomodule=""
src="https://unpkg.com/@esri/calcite-components@1.0.0-beta.33/dist/calcite/calcite.js"
></script>
<link
rel="stylesheet"
type="text/css"
href="https://unpkg.com/@esri/calcite-components@1.0.0-beta.33/dist/calcite/calcite.css"
/>
<!-- 3rd party libraries -->
<script src="https://d3js.org/d3.v4.js"></script>
<script src="https://cdn.jsdelivr.net/npm/jstat@latest/dist/jstat.min.js"></script>
<script src="https://unpkg.com/lodash@4.17.15/lodash.js"></script>
<script src="https://cdn.jsdelivr.net/autocomplete.js/0/autocomplete.min.js"></script>
<script type="module" src="tabnav-min.mjs"></script>
</head>
<body>
<!-- <div id="sidebar" tabindex="1">
<div id="sidebarItems">
<select id="datasetList"></select>
<div id="datasetName" ></div>
<div>
<span id="orgName"></span>
<span id="recordCount"></span>
</div>
<div class="section">
<span class="sectionHead">Filters:</span>
<span id="filtersCount"></span>
<div id="filtersList">
</div>
<span id="label">Filter <span id="featuresCount"></span> features:</span>
<calcite-input type="search" scale="s" id="filterAttributeSearch" placeholder="Search Attributes by Name" aria-label="Search attributes"></calcite-input>
<div id="filterAttributeList">
</div>
</div>
<div class="section">
<span id="label">Style by Attribute:</span>
<calcite-input type="search" scale="s" id="styleAttributeSearch" placeholder="Search Attributes by Name" aria-label="Search stories"></calcite-input>
<div id="styleAttributeList">
</div>
</div>
</div>
</div> -->
<div id="viewDiv" tabindex="0" aria-label="Map"></div>
<div id="zoomToData" class="esri-widget">
<label>
<calcite-checkbox checked="true"></calcite-checkbox>Zoom to data
</label>
</div>
<!-- <div id="darkMode" class="esri-widget">
<label>
<calcite-checkbox checked="false"></calcite-checkbox>Dark mode
</label>
</div>
<div id="labels" class="esri-widget">
<label>
<calcite-checkbox checked="false"></calcite-checkbox>Force labels
</label>
</div> -->
<div id="keyboardMode" class="esri-widget, hidden">
<calcite-checkbox tabindex="0" aria-labelledby="keyboardModeLabel"></calcite-checkbox>
<label id="keyboardModeLabel">Keyboard mode</label>
</div>
<div id="status">
<div>
Focus:
<div id="focusStatus">focusStatus</div>
</div>
<div>
Key:
<div id="keyStatus">keyStatus</div>
</div>
<div>
Mode:
<div id="modeStatus">modeStatus</div>
</div>
</div>
<div id="keyboardModeAlert" role="alert">
Top level.
</div>
<!-- popup content template -->
<div style="position: absolute; visibility: hidden" id="popup-content-template">
<h3 id="placeLabel"></h3>
<table id="popupTable" aria-label='Feature Attributes'>
<thead>
<tr>
<th role='columnheader'>Attribute Name</th>
<th role='columnheader'>Attribute Value</th>
</tr>
</thead>
</table>
</div>
</body>
</html>