-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
44 lines (43 loc) · 1.8 KB
/
index.html
File metadata and controls
44 lines (43 loc) · 1.8 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
37
38
39
40
41
42
43
44
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@tabler/icons-webfont@latest/tabler-icons.min.css">
<link href="https://fonts.googleapis.com/css2?family=Josefin+Sans&family=Tenor+Sans&display=swap" rel="stylesheet">
<title>Content Management Tool</title>
</head>
<body>
<header>
<h1>Content Management Tool</h1>
</header>
<div class="right">
<p class="new">New Post</p>
<button id="toggle-form" alt="create-post"><i class="ti ti-plus"></i></button>
</div>
<main>
<section id="post-form">
<div class="post-form">
<center><h2>Create a Post</h2></center>
<form id="create-post-form">
<label for="title">Title:</label>
<input type="text" id="title" required>
<label for="content">Content:</label>
<textarea id="content" required></textarea>
<label for="image">Upload Image:</label>
<input type="file" id="image" accept="image/*">
<label for="video">Upload Video:</label>
<input type="file" id="video" accept="video/*">
<button type="submit">Create Post</button>
</form>
</div>
</section>
<section id="post-list">
<h2>Posts</h2>
<ul id="posts"></ul>
</section>
</main>
<script src="script.js"></script>
</body>
</html>