-
Notifications
You must be signed in to change notification settings - Fork 0
/
updatePost.html
83 lines (68 loc) · 3.8 KB
/
updatePost.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Lucie Niyomutoni | Dashboard</title>
<link rel="stylesheet" href="./CSS/adminPanel.css">
<link rel="stylesheet" href="./CSS/createPost.css">
<link rel="icon" href="./Assets/1655709966433.jpeg" type="image/x-icon">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css" rel="stylesheet">
</head>
<body>
<ul class="menu">
<div class="text">
<li class="item"><a href="index.html"><i class="far fa-arrow-alt-circle-left"></i>Back to Portfolio</a></li>
<li class="item"><a href="adminPanel.html"><i class="fas fa-home"></i>Home</a></li>
<li class="item"><a href="createPost.html"><i class="fas fa-edit"></i>Create a Post</a></li>
<li class="item"><a href="managePost.html"><i class="fa fa-archive"></i>Manage Posts</a></li>
<li class="item"><a><i class="fa fa-address-card"></i>Registered Users</a></li>
<li class="item"><a><i class="fa fa-envelope"></i>Client Messages</a></li>
<li class="item"><a><i class="fa fa-users"></i>Subscriptions</a></li>
</div>
</ul>
<br>
<div class="adminProfile">
<h1 style="text-transform: uppercase;" class="h">Welcome admin 👋</h1>
<div><a href="login.html" class="loginSignUpButton" id="loginSignUpButton">Login / SignUp</a></div>
<div class="profilePicture" id="profilePicture"></div>
</div>
<br>
<h2 style="color: #eb279d; text-align: center; font-size: 2rem;">Edit a Post</h2>
<fieldset class="createPost">
<div class="wrapper">
<div class="col-lg-12 page-main">
<div class="new-post">
<form action="" id="blogForm" name="blogForm">
<label for="" style="color: #eb279d; padding-top: 15px;">Post Title:</label>
<input type="text" class="title-input" placeholder="Post title" id="blogTitle" name="title" />
<div id="blogTitleErrorMessage" style="padding-bottom: 15px;">
</div>
<label for="" style="color: #eb279d; padding-top: 15px;">Post Picture:</label>
<img src="" alt="" width="20%" style="display: block;" id="singleBlogPicture">
<input type="file" style="padding-top: 20px; " class="title-input" id="blogPicture" name="picture"/>
<div id="blogPictureErrorMessage" style="padding-bottom: 15px;">
</div>
<label for="" style="color: #eb279d; padding-top: 15px;">Post Description:</label>
<textarea id="blogDescription" class="post-area" name="description" style="height: 100px;">
</textarea>
<div id="blogDescriptionErrorMessage" style="padding-bottom: 15px;">
</div>
<label for="" style="color: #eb279d; padding-top: 15px;">Post Body:</label>
<textarea id="blogBody" class="post-area" name="body">
</textarea>
<div id="blogBodyErrorMessage" style="padding-bottom: 15px;">
</div>
<div id="updatePostMessage" style="padding-top: 30px; margin-bottom: -30px;">
</div>
<button id="blogSubmitData" class="add-btn" style="margin-top: 40px;"><i class="fa fa-plus"></i> Edit Post</button>
</form>
</div>
</div>
</div>
</fieldset>
<script src="./Js/adminPanel.js"></script>
<script src="./Js/updatePost.js"></script>
</body>
</html>