-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
49 lines (45 loc) · 1.29 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>Create Empty Feature Service</title>
<script src="https://cdn.tailwindcss.com"></script>
<!-- Load Calcite -->
<script
type="module"
src="https://js.arcgis.com/calcite-components/3.0.3/calcite.esm.js"
></script>
<script type="importmap">
{
"imports": {
"@arcgis/core/": "https://js.arcgis.com/4.32/@arcgis/core/"
}
}
</script>
<link
rel="stylesheet"
href="https://js.arcgis.com/4.32/esri/themes/light/main.css"
/>
</head>
<body>
<div id="loginButtonWrapper">
<calcite-button id="loginButton">Login</calcite-button>
</div>
<div id="createFeatureServiceWrapper" class="hidden">
<form>
<calcite-input
placeholder="Name your Feature Service"
id="featureServiceNameInput"
></calcite-input>
<calcite-button id="createFeatureServiceButton"
>Create Feature Service</calcite-button
>
<calcite-button id="logoutButton">Logout</calcite-button>
</form>
<!-- Area to show the results: -->
<div id="results"></div>
</div>
<script src="main.js" type="module"></script>
</body>
</html>