-
Notifications
You must be signed in to change notification settings - Fork 0
/
attributes-ui-inverted.html
118 lines (94 loc) · 3.52 KB
/
attributes-ui-inverted.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
<!--
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>Attributes UI</title>
<link href="attributes-ui-inverted.css" rel="stylesheet">
<script src="https://unpkg.com/[email protected]/lodash.js"></script>
<!-- <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/[email protected]/dist/calcite/calcite.esm.js"
></script>
<script
nomodule=""
src="https://unpkg.com/@esri/[email protected]/dist/calcite/calcite.js"
></script>
<link
rel="stylesheet"
type="text/css"
href="https://unpkg.com/@esri/[email protected]/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/[email protected]/lodash.js"></script>
<script src="https://cdn.jsdelivr.net/autocomplete.js/0/autocomplete.min.js"></script>
<script type="module" src="attributes-ui-cramped.mjs"></script>
</head>
<body>
<div id="sidebar">
<div id="sidebarItems">
<select id="datasetList"></select>
<!-- <select id="themeList"></select> -->
<div id="datasetName"></div>
<div>
<span id="orgName"></span>
<span id="recordCount"></span>
</div>
<div>
<span class="sectionHead">Attributes:</span>
<span id="attributesCount"></span>
<calcite-input type="search" scale="s" id="attributeSearch" placeholder="Search Attributes by Name" aria-label="Search stories"></calcite-input>
<div id="attributeList">
</div>
</div>
<div class="section">
<span class="sectionHead">Filters:</span>
<span id="filtersCount"></span>
<div id="filtersList">
<span id="firstfilter">None, all features shown</span>
</div>
<div id="filterResults"></div>
</div>
<div class="section">
<span class="sectionHead">Styling:</span>
<span id="attributesCount"></span>
</div>
<!-- <calcite-label>Change Display:
<calcite-dropdown type="hover" width="l" id="displayList">
<calcite-button id="attributeListButton" slot="dropdown-trigger">Choose Attribute:</calcite-button>
<calcite-dropdown-group id="displayListItems">
</calcite-dropdown-group>
</calcite-dropdown>
</calcite-label>
<calcite-label>Style by Attribute:
<calcite-dropdown type="hover" width="l" id="styleList">
<calcite-button id="styleListButton" slot="dropdown-trigger">Choose Attribute:</calcite-button>
<calcite-dropdown-group id="styleListItems">
</calcite-dropdown-group>
</calcite-dropdown>
</calcite-label> -->
<div id="widgetsDiv">
</div>
</div>
</div>
<div id="viewDiv"></div>
<div id="zoomToData" class="esri-widget">
<label>
<calcite-checkbox checked="true"></calcite-checkbox>Zoom to data
</label>
</div>
</body>
</html>