-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblogs.html
57 lines (57 loc) · 2.14 KB
/
blogs.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Blogs management</title>
<link rel="stylesheet" href="src/dashboard.css">
<link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body>
<p class="adminTitle">Blogs management</p>
<div class="navbar">
<a href="dashboard.html" ><div class="log">
<h2>LA</h2>
</div></a>
<a href="blogs.html" class="btn1"> <i class="fa fa-newspaper-o" aria-hidden="true"></i> Manage blogs </a><br/>
<a href="messages.html" class="btn2"> <i class="fa fa-envelope" aria-hidden="true"></i> Messages </a><br/>
<a href="index.html" class="btn3"><i class="fa fa-home" aria-hidden="true"></i> Home </a><br/>
<a href="login.html" class="btn4"><i class="fa fa-sign-out" aria-hidden="true"></i> Log out </a></div>
<div class="notifications">
<div class="blogs-section">
<form class="bform">
<label>Title</label>
<input type="text" placeholder="enter title" name="title" id="title" class="Btitle"/><br/>
<label>Description</label>
<input type="text-area" placeholder="enter description" name="description" id="description" class="Bdescription"/><br/>
<label>Photo</label>
<!--<label for="photo" class="photo">upload image </label>-->
<!--<input type="file" id="fileInput">
<img id="previewImage" src="#" alt="Preview Image" style="display: none;">
<!--<input type="file" id="photo" class="phot" /><br/>-->
<input type="text" placeholder="enter image URL" name="photo" id="photo" class="photo"/><br/>
<button onclick="Add()" id="Submit">Add new Blog</button>
<button onclick="update()" id="update">Update Blog</button>
</form>
<div class="blogs-written">
<table id="blogstable">
<thead>
<tr>
<th>Title</th>
<th>Description</th>
<th>Photo</th>
<th colspan="2"> Actions</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
</div>
</div>
<script src="script.js"></script>
</script>
</body>
</html>