-
Notifications
You must be signed in to change notification settings - Fork 0
/
create-post.html
executable file
·171 lines (154 loc) · 5.43 KB
/
create-post.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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
<!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">
<title>Create new Article | IWORDER</title>
<link rel="stylesheet" type="text/css" href="css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="font-awesome/css/fontawesome-all.min.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
<!-- TinyMCE -->
<script type="text/javascript" src="js/tinymce/tinymce.min.js"></script>
<!-- <script>tinymce.init({ selector:'textarea' });</script> -->
<script>
tinymce.init({
selector:'textarea',
branding: false,
height: 150,
plugins: "wordcount",
// statusbar: false,
menubar: false
});
</script>
</head>
<body>
<!-- The top Nav Bar -->
<nav class="main-nav visible-xs visible-sm" style="box-shadow: 0px 0px 10px #ccc;">
<div class="container">
<div class="row">
<div class="col-md-4 col-sm-4 col-xs-3"">
<a href="home.html" class="logo">
<img src="img/logob.jpg" alt="iWorder logo">
</a>
</div>
<div class="col-md-8 col-sm-8 col-xs-9 login">
<ul>
<li>
<a href="add_note.html">
Add Note
</a>
</li>
<li>
<a href="posts.html">
My Posts
</a>
</li>
</ul>
</div>
</div>
</div>
</nav>
<nav class="navbar navbar-default visible-sm visible-md visible-lg navbar-fixed-top">
<div class="container">
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav icon-link">
<li>
<a href="home.html" class="active">
<img src="svg/home.svg" alt="" style="">
</a>
</li>
<li>
<a href="hub.html">
<i class="fas fa-users" style="font-size: 28px;"></i>
</a>
</li>
<li>
<a href="nursery.html">
<img src="svg/nursery.svg" alt="">
</a>
</li>
<li>
<a href="conversations.html">
<img src="svg/envelope.svg" alt="">
</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li class="create">
<a href="add_note.html">
Add Note
</a>
</li>
<li class="create">
<a href="posts.html">
My Posts
</a>
</li>
</ul>
</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>
<section id="create-post">
<div class="container">
<div class="row">
<div class="col-md-6 col-md-offset-3 col-sm-8 col-sm-offset-2 col-xs-12 col-xs-offset-0">
<h3 class="">Create a new article</h3>
<form class="create-post" action="" method="">
<div class="form-group">
<label for="title">Title:</label>
<input name="title" id="name" type="text" class="form-control" placeholder="Title">
</div>
<div class="form-group">
<label for="category">Categories:</label>
<!-- <input name="category" type="text" class="form-control" placeholder=""> -->
<!-- <p class="help-block">Not more than 3 categories. Seperate with commas</p> -->
<select name="category" id="category" class="form-control" style="border-radius: 30px;">
<option value="">-- select a category --</option>
<option value="poetry">Poetry</option>
<option value="">Memoir</option>
<option value="">Fiction</option>
<option value="">Essay/ Article</option>
<option value="">Short Story</option>
<option value="">Flash</option>
<option value="">Non-Fiction></option>
<option value="">Speculative</option>
<option value="">Series</option>
<option value="">Book Review</option>
<option value="">Uncategorized</option>
</select>
</div>
<div class="form-group">
<label for="tag">Tags:</label>
<input name="tag" id="tag" type="text" class="form-control" placeholder="tag1, tag2">
<p class="help-block">seperate with commas</p>
</div>
<div class="form-group">
<label for="short_dec">Decription:</label>
<input type="text" id="short_dec" maxlength="75" class="form-control" name="short_dec" placeholder="Add a short description">
<p class="help-block">maximum of 75 characters</p>
</div>
<div class="form-group">
<label for="body">Content:</label>
<textarea name="body" id="body" rows="10" class="form-control"></textarea>
</div>
<div class="form-group">
<label for="image" class="btn btn-worder" style="border-radius: 0px;">
<i class="fas fa-camera"></i> Add cover image(recommended)
<input name="image" id="image" onchange="img_upload()" type="file" class="form-cotrol" style="display: none;">
</label>
<p class="help-block" id="err_image">Image size less than</p>
</div>
<div class="form-group" style="margin-top: 50px;">
<button class="btn btn-worder">Create</button>
</div>
</form>
</div>
</div>
</div>
</section>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/script.js"></script>
</body>
</html>