forked from soumitha18/Masai_sprint_5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
addPost.html
68 lines (63 loc) · 3.48 KB
/
addPost.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="style/style.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
</head>
<body>
<nav class="bg-light p-2 sticky-top">
<div class="container">
<div class="row">
<div class="col-sm-12 col-md-6 col-lg-3" id="index">
<h3 class="text-secondary font-weight-bolder">MASAIGRAM</h3>
</div>
<div class="col-sm-12 offset-sm-0 offset-md-0 offset-lg-7 col-md-6 col-lg-2 offset-1 mt-1">
<div class="row">
<div class="col-4 text-center" id="home">
<img src="https://image.flaticon.com/icons/svg/1946/1946488.svg" class="imgWidth">
</div>
<div class="col-4 text-center" id="random">
<img src="https://image.flaticon.com/icons/svg/860/860806.svg" class="imgWidth">
</div>
<div class="col-4 text-center" id="profile">
<img id="userProfile" class="rounded-circle picture">
</div>
</div>
</div>
</div>
</div>
</nav>
<div class="container">
<div class="row">
<div class="offset-md-2 mt-2 mt-md-4 col-md-8">
<h4 class="text-center">Add Your Post</h4>
<div>
<div class="form-group">
<label for="InputTitle">Title</label>
<input type="text" class="form-control" id="title">
</div>
<div class="form-group">
<label for="inputPhoto">Picture (Optional!)</label>
<input type="text" class="form-control" id="picture">
</div>
<div class="form-group">
<label for="content">Content</label>
<textarea type="text" class="form-control" id="content"></textarea>
</div>
<button id="add" class="btn btn-primary">Add Post</button>
</div>
</div>
</div>
</div>
<script src="js/app.js"></script>
<script src="js/addPost.js"></script>
<script src="js/navLocation.js"></script>
</body>
</html>
<!--Post.create({title:"The Cam", author:"Yanxi", content:"The Photograpy" , picture: "https://images.unsplash.com/photo-1480365501497-199581be0e66?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1350&q=80"})-->