-
Notifications
You must be signed in to change notification settings - Fork 0
/
add blogs.html
137 lines (103 loc) · 3.95 KB
/
add 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
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<!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="./css/dashboard.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"/>
<!-- <script src="https://cdn.ckeditor.com/4.19.1/standard/ckeditor.js"></script> -->
<!-- <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/quill.snow.css" rel="stylesheet"> -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css"
integrity="sha512-9usAa10IRO0HhonpyAIVpjrylPvoDwiPUiKdWk5t3PyolY1cOd4DSE0Ga+ri4AuTroPR5aQvXU9xC6qOPnzFeg=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<link
href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"
rel="stylesheet"
/>
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/summernote.min.css"
rel="stylesheet"
/>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/summernote.min.js"></script>
<title>add</title>
</head>
<body>
<div class="sidebar">
<div class="logo"><h1>REMY</h1></div>
<ul class="menu">
<li class="active">
<button>
<a href="dashboard.html"><i class="fas fa-tachometer-alt"></i></a>
<span>Dashboard</span></button>
</li>
<li class="active">
<button>
<a href="article.html"><i class="fa-solid fa-newspaper"></i></a>
<span>Blog</span></button>
</li>
<li class="active">
<button>
<a href="index.html"><i class="fa-solid fa-house"></i></i></a>
<span>home</span></button>
</li>
<li class="active">
<button>
<a href="#"><i class="fa-solid fa-clipboard-question"></i></a>
<span>querries</span></button>
</li>
</ul>
</div>
<div class="main--contents">
<div class="header--wrapper">
<div class="header--title">
<span>primary</span>
<h2>ADD/EDIT YOUR BLOGS</h2>
</div>
<div class="user--info">
<div class="search--box">
<i class="fa-solid fa-search"></i>
<input type="text" placeholder="search"/>
</div>
<img src="./assets/phot.png" alt=""/>
</div>
</div>
<div class="container">
<form id="form">
<input type="text" id="title" placeholder=" Title" name="title">
<div class="messagestitle" id="messagetitle"></div>
<br>
<input type="file" id="files" name="image"/>
<div class="textarea ">
<textarea name="content" class="content content-ground" id="editor" > </textarea>
<!-- <div name="content" id="editor" class="content"></div> -->
<div class="messages" id="message"></div>
<div class="blogbtn">
<input type="submit" value="SEND" class="SAVE" id="send">
<span class="messages" id="savemessage"></span>
</div>
</div>
</div>
</div>
</form>
<!-- <footer>Made with ❤️ by M.Rwema Remy</footer> -->
</div>
<script src="./js/add.js" type="module"></script>
<!-- <script src="./ckeditor/ckeditor.js" ></script> -->
<!-- <script>
CKEDITOR.replace('content');
</script> -->
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
<!-- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/quill.js"></script> -->
<!-- <script>
const quill = new Quill('#editor', {
theme: 'snow'
});
</script> -->
<script> $(document).ready(function () {
$("#editor").summernote();
});
</script>
</body>
</html>