-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
186 lines (151 loc) · 7.52 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
<!DOCTYPE html>
<html>
<head>
<!-- Place all CSS for header in this file -->
<link href='css\header.css' rel='stylesheet' type='text/css'>
<!-- Place all CSS for the rest of the elements in this file -->
<link href='css\index.css' rel='stylesheet' type='text/css'>
<!-- Place all CSS for fonts in this file -->
<link href='css\font.css' rel='stylesheet' type='text/css'>
<!--bootstrap library -->
<link rel="stylesheet" href="css\bootstrap.min.css">
<script src="js\jquery.min.js"></script>
<script src="js\popper.min.js"></script>
<script src="js\bootstrap.min.js"></script>
</head>
<body>
<div class="container-fluid" id="main-container-div mt-0">
<!-- Insert code for Sign Up, Sign In button here. Add code for "ScriBBler" heading and the sub-heading -->
<div class=" navbar header m-0">
<div class="navbar-brand d-flex flex-column">
<span class="mb-0 h1" id="pageTitle">ScriBBler </span>
<span id="subheading">Explore, Imagine, Create</span>
</div>
<div class=" nav-item">
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#signInModel" >
Sign In
</button>
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#signUpModel" >
Sign Up
</button>
</div>
</div>
<!-- Insert code for All Posts & Create Post button here -->
<div class="postButtons">
<button type="button" class="btn post-btn"id="post-btn" onclick="showAllPost()">All Posts</button>
<button type="button" class="btn post-btn" data-toggle="modal" data-target=".bd-postModel-model-lg" id="create-button">
Create Post
</button>
</div>
<div>
<!-- Insert code for Sign In modal here -->
<div class="modal fade" id="signInModel" tabindex="-1" role="dialog" aria-labelledby="signInModelLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header text-center">
<h5 class="modal-title w-100" id="signInModelLabel"><strong>Welcome Back!</strong></h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<form>
<div class="form-group">
<label for="exampleInputuserName">Username</label>
<input type="text" class="form-control input-group1" id="exampleInputuserName" placeholder="Enter Username" required>
</div>
<div class="form-group">
<label for="signPassword">Password</label>
<input type="password" class="form-control input-group1" id="signPassword" placeholder="Password" required>
</div>
<div class="form-group">
<button type="submit" class="form-control btn btn-success">Sign IN</button>
</div>
<div id="signUpDiv">
<span><strong>Not a member?</strong></span> <a href="" data-dismiss="modal" data-toggle="modal" data-target="#signUpModel">Sign Up</a>
</div>
</form>
</div>
</div>
</div>
</div>
<!-- Modal finished-->
</div>
<div>
<!-- Insert code for Sign Up modal here -->
<!-- Modal -->
<div class="modal fade " id="signUpModel" tabindex="-1" role="dialog" aria-labelledby="signUpModelLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header text-center">
<h5 class="modal-title w-100" id="signUpModelLabel" ><strong>Get Started</strong></h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<form>
<div class="form-group">
<label for="fullName">Full Name</label>
<input type="text" class="form-control input-group1" id="fullName" placeholder="Enter Full Name" required>
</div>
<div class="form-group">
<label for="username">Username</label>
<input type="text" class="form-control input-group1" id="username" placeholder="Enter Username" required>
</div>
<div class="form-group">
<label for="userPassword">Password</label>
<input type="password" class="form-control input-group1" id="userPassword" placeholder="Password" required>
</div>
<div class="form-group">
<label for="confirmPassword">Confirm Password</label>
<input type="text" class="form-control input-group1" id="confirmPassword" placeholder="Confirm Password" required>
</div>
<div class="form-group">
<button type="submit" class="form-control btn btn-success">Sign Up</button>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<div>
<!-- Insert code for Create Post modal here -->
<!-- Modal -->
<div class="modal fade bd-postModel-model-lg" tabindex="-1" role="dialog" aria-labelledby="postModelLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header text-center">
<h5 class="modal-title w-100" id="postModelLabel" ><strong>Pen Your Post</strong></h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<form>
<div class="form-group">
<label for="title">Title:</label>
<input type="text" class="form-control input-group1" id="title" required>
</div>
<div class="form-group">
<label for="content">Content:</label>
<textarea class="form-control input-group1" id="content" rows="10" required></textarea>
</div>
<div class="form-group text-center" >
<button type="submit" class="btn btn-success ">Create</button>
</div>
</form>
</div>
</div>
</div>
</div>
<!-- Modal finished-->
</div>
</div>
<!-- Place all Javascript for header in this file -->
<script src="js\header.js"></script>
<!-- Place all Javascript for rest of the elements in this file -->
<script src="js\index.js"></script>
</body>
</html>