-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadd_note.html
194 lines (172 loc) · 6.05 KB
/
add_note.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
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
<!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="create-post.html">
Create Post
</a>
</li>
<li>
<a href="notes.html">
My Notes
</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="create-post.html">
Create post
</a>
</li>
<li class="create">
<a href="notes.html">
My Notes
</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="">Add new note</h3>
<form class="create-post" action="" method="">
<div class="form-group">
<label for="action">Please choose an action</label>
<div class="radio" style="margin-left: 0px;padding-left: 15px;">
<label>
<input type="radio" name="action"value="option1">
Send a personal note for review <a href="#recipient" role="button" data-toggle="modal" data-target="#recipient" style="color: #555;">(Choose recipient)</a>
</label>
</div>
<div class="radio" style="margin-left: 0px;padding-left: 15px;">
<label>
<input type="radio" name="action"value="option1">
Save only
</label>
</div>
</div>
<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="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(optional)
<input name="image" id="image" onchange="img_upload()" type="file" class="form-cotrol" style="display: none;">
</label>
<p class="help-block" id="err_image">Picture</p>
</div>
<div class="form-group" style="margin-top: 50px;">
<button class="btn btn-worder">Done</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>
<!-- Modal -->
<div class="modal fade" id="recipient" tabindex="-1" role="dialog" aria-labelledby="recipient">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="myModalLabel">Choose Recepient</h4>
</div>
<div class="modal-body">
<form action="" method="">
<div class="form-group">
<input type="text" class="form-control" placeholder="@username or User Name">
</div>
<ul class="list-group">
<li class="list-group-item">Jane Iworder <span style="color: #777;">@janyworder</span></li>
<li class="list-group-item">Abiodun Praise <span style="color: #777;">@abiodun</span></li>
<li class="list-group-item">Donald Trump <span style="color: #777;">@donald_t</span></li>
</ul>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-worder">Save changes</button>
</form>
</div>
</div>
</div>
</div>
</body>
</html>