jake2004 commited on
Commit
5cf0164
·
verified ·
1 Parent(s): ef09493

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +39 -17
index.html CHANGED
@@ -1,19 +1,41 @@
1
- <!doctype html>
2
  <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  </html>
 
1
+ <!DOCTYPE html>
2
  <html>
3
+ <head>
4
+ <title>Store Placement Analysis Tool</title>
5
+ <link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css"
6
+ integrity="sha256-p4NxAoJBhIIN+hmNHrzRCf9tD/miZyoHS5obscp+WJc="
7
+ crossorigin=""/>
8
+ <link rel="stylesheet" href="style.css">
9
+ <style>
10
+ #map {
11
+ height: 500px;
12
+ width: 100%;
13
+ }
14
+ #drop-area {
15
+ border: 2px dashed #ccc;
16
+ padding: 20px;
17
+ text-align: center;
18
+ cursor: pointer;
19
+ margin-bottom: 20px;
20
+ }
21
+ #drop-area.highlight {
22
+ border-color: green;
23
+ }
24
+ </style>
25
+ </head>
26
+ <body>
27
+ <h1>Store Placement Analysis Tool</h1>
28
+
29
+ <div id="drop-area">
30
+ <p>Drag and drop your CSV file here, or click to select</p>
31
+ <input type="file" id="csv-upload" style="display: none;" accept=".csv">
32
+ </div>
33
+
34
+ <div id="map"></div>
35
+
36
+ <script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js"
37
+ integrity="sha256-20nQCchB9co0qIjJZRGuk2/Zi9VM3yavCwpSEYOsMoeY="
38
+ crossorigin=""></script>
39
+ <script src="script.js"></script>
40
+ </body>
41
  </html>