-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
228 lines (190 loc) · 11 KB
/
index.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
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
<!DOCTYPE html>
<html>
<head>
<!-- TODO: Include Font Awesome file here -->
<link rel="stylesheet" href="path/to/font-awesome/css/font-awesome.min.css" />
<!-- TODO: Include Google Fonts file here -->
<link href="https://fonts.googleapis.com/css?family=Satisfy" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet" />
<link href="https://fonts.google.com/specimen/Josefin+Sans" rel="stylesheet" />
<!-- Include Css File -->
<link rel="stylesheet" href="css/index.css" />
<link rel="stylesheet" href="css/header.css" />
<!-- Script File -->
<script src="/scripts/index.js"></script>
<!-- bootstrap script -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
</head>
<body>
<!-- TODO: Include all your code for the header and home page here -->
<div class="bg">
<!-- Header Part -->
<div>
<nav class="navbar navbar-expand-lg">
<div class="container-fluid">
<div class="logo-title">
<span class="navbar-brand">ScriBBler</span>
<br />
<span class="logo-tag">Explore Imagine Create</span>
</div>
<div class="justify-content-end" id="navbarNav">
<button type="button" class="btn" style="color: white; background-color: blue"
data-toggle="modal" data-target="#signinModal" data-backdrop='static' data-keyboard='false'>
Sign In
</button>
<button type="button" class="btn" style="color: white; background-color: blue"
data-toggle="modal" data-target="#signupModal" data-backdrop='static' data-keyboard='false'>
Sign Up
</button>
</div>
</div>
</nav>
<!-- Signin modal -->
<!-- modal on Sigin In Button click -->
<!-- Modal -->
<div class="modal fade" id="signinModal" role="dialog">
<div class="modal-dialog modal-dialog-centered">
<!-- Modal content-->
<div class="modal-content modal-font">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">
×
</button>
<h2 class="modal-title text-center modal-font">Welcome Back!</h2>
<hr>
<div class="modal-body">
<form style="margin: 15px;">
<div class="form-group " style="font-family: Josefin Sans">
<label for="exampleInputEmail1 ">Username</label>
<input type="text" class="form-control" id="exampleInputloginEmail1"
required="true" style="background-color: rgb(223, 215, 215);"
aria-describedby="emailHelp" placeholder="Enter Username">
</div>
<div class="form-group " style="font-family: Josefin Sans">
<label for="exampleInputPassword1">Password</label>
<input type="password" class="form-control" id="exampleInputloginPassword"
required="true"
style="background-color: rgb(223, 215, 215);font-family: Josefin Sans"
placeholder="Enter Password">
</div>
<button type="submit" class="btn btn-default btn-block"
style="background-color: #0ec038; color: white;">
Sign In
</button>
<div>
<h4 class="text-center" style="padding: 5px;font-family: Josefin Sans">Not a
member?
<span style="color: blue;" data-toggle="modal" data-target="#signupModal"
data-backdrop='static' data-keyboard='false'>Sign Up</span>
</h4>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<!-- Signup modal -->
<!-- modal on Sign Up Button click -->
<!-- Modal -->
<div class="modal fade" id="signupModal" role="dialog">
<div class="modal-dialog modal-dialog-centered">
<!-- Modal content-->
<div class="modal-content modal-font">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">
×
</button>
<h2 class="modal-title text-center">Get Started</h2>
<hr>
<div class="modal-body">
<form style="margin: 15px;">
<div class="form-group">
<label for="exampleInputEmail1">Full Name</label>
<input type="text" class="form-control" id="exampleInputName" required="true"
style="background-color: rgb(223, 215, 215);" aria-describedby="emailHelp"
placeholder="Enter Full Name">
</div>
<div class="form-group">
<label for="exampleInputEmail1">Username</label>
<input type="text" class="form-control" id="exampleInputEmail" required="true"
style="background-color: rgb(223, 215, 215);" aria-describedby="emailHelp"
placeholder="Enter Username">
</div>
<div class="form-group">
<label for="exampleInputPassword1">Password</label>
<input type="password" class="form-control" id="exampleInputPassword"
required="true" style="background-color: rgb(223, 215, 215);"
placeholder="Enter Password">
</div>
<div class="form-group">
<label for="exampleInputPassword1">Confirm Password</label>
<input type="password" class="form-control" id="exampleInputcPassword"
required="true" style="background-color: rgb(223, 215, 215);"
placeholder="Confirm Password">
</div>
<button type="submit" class="btn btn-default btn-block" required="true"
style="background-color: #0ec038; color: white;">
Sign Up
</button>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Header End Part -->
<!-- Create Post and All Post Button -->
<div class="centre-button">
<button type="button" class="btn btn-warning" style="
margin: 5px;
color: black;
background-color: #f0ad4e;
border-color: #f0ad4e;" onclick=AllPost()>
All Posts
</button>
<button type="button" class="btn btn-warning" style="margin: 5px; color: black; background-color: #f0ad4e"
data-toggle="modal" data-target="#createModal" data-backdrop='static' data-keyboard='false'>
Create Post
</button>
</div>
<!-- modal on create post click -->
<!-- Modal -->
<div class="modal fade" id="createModal" role="dialog">
<div class="modal-dialog modal-dialog-centered">
<!-- Modal content-->
<div class="modal-content modal-font">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">
×
</button>
<h2 class="modal-title text-center">Pen Your Post</h2>
<div class="input-group input-group-sm mb-3">
<span class="input-group-text" id="inputGroup-sizing-sm">Title:</span>
<input type="text" class="form-control" aria-label="Sizing example input" id="titlePost"
style="background-color: rgb(223, 215, 215);" aria-describedby="inputGroup-sizing-sm" />
</div>
<div style="margin-top: 10px; margin-bottom: 5px" class="input-group input-group-sm mb-3">
<span class="input-group-text" id="inputGroup-sizing-sm">Content:</span>
<div>
<textarea class="form-control" id="contentPost" aria-label="Sizing example input"
style="background-color: rgb(223, 215, 215);"
aria-describedby="inputGroup-sizing-lg" rows="20" cols="100" name="comment"
form="userform"></textarea>
</div>
</div>
<div class="col-md-12 text-center">
<button type="button" class="btn btn-default " data-dismiss="modal"
style="background-color: #0ec038; color: white;">
Create
</button>
</div>
</div>
</div>
</div>
</div>
</body>
</html>