-
Notifications
You must be signed in to change notification settings - Fork 0
/
addblog.html
55 lines (52 loc) · 2.25 KB
/
addblog.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Blog Form</title>
<link rel="stylesheet" href="addblog.css">
</head>
<body>
<div id="blog-form">
<div class="bottom-zone">
<div class="dropzone-box">
<header>
<h2>New Blog</h2>
</header>
<div class="cont">
<div class="">
<div class="input-wrapper">
<input type="text" name="title" id="blog_title" placeholder="Enter blog title" required>
<textarea name="content" id="blog_content" cols="30" rows="5" placeholder="Enter blog description" required></textarea>
</div>
</div>
<p>Attach Cover Of Blog</p>
<div class="dropzone-area">
<div class="file-upload-icon"></div>
<p>Click to upload or drag and drop</p>
<!-- <label for="upload-file" class="custom-file-upload">Choose File</label> -->
<label for="upload-file">Upload File:</label>
<input type="file" required id="upload-file" name="image">
<!-- <input type="file" required id="upload-file" name="image"> -->
<p class="message">No Files Selected</p>
</div>
<div class="dropzone-actions">
<button type="button" class="close-btn secondary" >Cancel</button>
<button id="submit-button" type="submit">Save</button>
<button id="submit-buttonn" class="loading" style="display: none;">
<div>
<div class="spin"></div>
<div>Save</div>
</div>
</button>
</div>
</div>
</div>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/axios/1.6.8/axios.min.js"
integrity="sha512-PJa3oQSLWRB7wHZ7GQ/g+qyv6r4mbuhmiDb8BjSFZ8NZ2a42oTtAq5n0ucWAwcQDlikAtkub+tPVCw4np27WCg=="
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="addblog.js"></script>
</body>
</html>