-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadd-post.html
More file actions
36 lines (31 loc) · 1.34 KB
/
add-post.html
File metadata and controls
36 lines (31 loc) · 1.34 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Add Post - UMT Lost & Found</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/admin-lte@3.2/dist/css/adminlte.min.css" />
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
<script src="https://www.gstatic.com/firebasejs/9.23.0/firebase-app-compat.js"></script>
<script src="https://www.gstatic.com/firebasejs/9.23.0/firebase-auth-compat.js"></script>
<script src="https://www.gstatic.com/firebasejs/9.23.0/firebase-firestore-compat.js"></script>
</head>
<body class="hold-transition sidebar-mini p-4">
<h2>Add New Lost/Found Item</h2>
<form id="addPostForm">
<div class="form-group">
<label for="itemName">Item Name</label>
<input id="itemName" type="text" class="form-control" required />
</div>
<div class="form-group">
<label for="description">Description</label>
<textarea id="description" class="form-control" required></textarea>
</div>
<div class="form-group">
<label for="imageFile">Upload Image</label>
<input id="imageFile" type="file" accept="image/*" class="form-control" required />
</div>
<button type="submit" class="btn btn-primary">Submit Post</button>
</form>
<script src="static/Js/add-post.js"></script>
</body>
</html>