-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
85 lines (71 loc) · 3.57 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MappedIT</title>
<!-- favicon -->
<link rel="shortcut icon" href="favicon.png" type="image/x-icon">
<!-- stylesheets -->
<link rel="stylesheet" href="assests/styles/index.css">
<!-- leaflet resources -->
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css" integrity="sha256-p4NxAoJBhIIN+hmNHrzRCf9tD/miZyoHS5obTRR9BMY=" crossorigin="" />
<script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js" integrity="sha256-20nQCchB9co0qIjJZRGuk2/Z9VM+kNiyxNV1lvTlZBo=" crossorigin=""></script>
<!-- scripts -->
<script defer src="assests/scripts/controller.js"></script>
<!-- ionIcons -->
<!-- <script src="https://unpkg.com/ionicons@latest/dist/ionicons.js"></script> -->
<script defer type="module" src="https://unpkg.com/ionicons@latest/dist/ionicons/ionicons.esm.js"></script>
<!-- google fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;900&display=swap" rel="stylesheet">
</head>
<body>
<main>
<!-- icon to open dashboard -->
<a href="dashboard.html"><ion-icon class="icon" id="icon-dashboard" name="grid-outline" ></ion-icon></a>
<!-- popup for marker image (enlarger) -->
<section class="marker-image-container">
<ion-icon name="close-circle-outline" id="close-image"></ion-icon>
<div class="marker-image-enlarged">
</div>
</section>
<!-- popup form for map to add place details -->
<div class="form-container hidden" >
<form class="popup--form ">
<ion-icon name="close-circle-outline" id="close-form"></ion-icon>
<img src="assests/images/icon.png" alt="logo" class="form-logo">
<div class="title-placeholder placeholder">
<label for="title">title :</label>
<input type="text" name="title" id="title" pattern=".{15,}" required>
</div>
<div class="date-placeholder placeholder">
<label for="date">date :</label>
<input type="date" name="date" id="date" required>
</div>
<div class="desc-placeholder placeholder">
<label for="description">description :</label>
<textarea name="description" id="description" cols="30" rows="10" pattern=".{350,}" required></textarea>
<span class="total-desc-length">total words: <span id="current-length">0</span>/300</span>
</div>
<div class="place-image placeholder">
<label for="select-image">Select Image :</label>
<div class="image" for="select-image" >
</div>
<!-- <img src="" alt=""> -->
<input type="file" accept="image/*" id="select-image"></input>
</div>
<button type="submit" id="btn-form-sub">submit</button>
</form>
</div>
<!-- container for map -->
<section id="map"></section>
<!-- container for buttons -->
<section class="icons">
<ion-icon class="icon" id="icon-location" name="locate-outline"></ion-icon>
<ion-icon class="icon" id="icon-map" name="map-outline"></ion-icon>
</section>
</main>
</body>
</html>