-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
188 lines (168 loc) · 9.54 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
<!DOCTYPE html>
<html>
<head>
<!-- TODO: Include Font Awesome file here -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link rel="stylesheet" href="./style/index.css">
<link rel="stylesheet" href="./style/common.css">
<!-- TODO: Include Google Fonts file here -->
<link href="https://fonts.googleapis.com/css?family=Montez|Roboto|Ubuntu+Mono&display=swap" rel="stylesheet">
<!-- Bootstrap for modals-->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"
integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" 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.3/umd/popper.min.js"
integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"
integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy"
crossorigin="anonymous"></script>
</head>
<body>
<!-- TODO: Include all your code for the header and home page here -->
<div class="header">
<div class="bg-signin">
<button type="button" class="signinupbutton" data-toggle="modal" data-target="#exampleModal"
id="sign-in-button">
Sign In
</button>
<button type="button" class="signinupbutton" data-toggle="modal" data-target="#exampleModalSignUp"
id="sign-up-button">
Sign Up
</button>
</div>
<a id="pageTitle" class="logo-title">ScriBBler</a>
<p class="sub-heading">Explore, Imagine, Create</p>
<!-- Modal -->
<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"
aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title" id="exampleModalLabel"
style="color:grey;font-family: 'Roboto', sans-serif;font-size: larger;">Welcome Back!</h4>
<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" id="exampleInputUsername"
aria-describedby="usernameHelp" placeholder="Enter Username"
style="background-color :#DCDCDC ;" required>
</div>
<div class="form-group">
<label for="exampleInputPassword1">Password</label>
<input type="password" class="form-control" id="exampleInputPassword1"
placeholder="Enter Password" style="background-color :#DCDCDC ;" required>
</div>
<div class="modal-signin-container">
<button type="submit" class="btn btn-success btn-block">Sign In</button>
</div>
<div class="modal-footer border-top-0 d-flex justify-content-center">
Not a member ? <a data-target="#exampleModalSignUp" data-dismiss="modal"
data-toggle="modal" href="#signup-form"> Sign Up</a>
</div>
</form>
</div>
</div>
</div>
</div>
<!-- Modal -->
<div class="modal fade" id="exampleModalSignUp" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"
aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title" id="exampleModalLabel"
style="color:grey;font-family: 'Roboto', sans-serif;font-size: larger;">Get Started</h4>
<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="name">Full Name</label>
<input type="text" class="form-control" id="name" placeholder="Enter Full Name"
style="background-color : #DCDCDC ;" required>
</div>
<div class="form-group">
<label for="exampleInputUsername1">Username</label>
<input type="text" class="form-control" id="exampleInputUsername1"
aria-describedby="emailHelp" placeholder="Enter Username"
style="background-color :#DCDCDC ;" required>
</div>
<div class="form-group">
<label for="exampleInputPassword1">Password</label>
<input type="password" class="form-control" id="exampleInputPassword1"
placeholder="Enter Password" style="background-color :#DCDCDC ;" required>
</div>
<div class="form-group">
<label for="exampleInputPassword1">Confirm Password</label>
<input type="password" class="form-control" id="exampleInputPassword2"
placeholder="Confirm Password" style="background-color :#DCDCDC ;" required>
</div>
<div class="modal-signin-container">
<button type="submit" class="btn btn-success btn-block">Sign Up</button>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<div class="posts">
<div class="bg-post">
<button type="button" class="postbutton" onclick="window.location.href = './html/postslist.html';">
All Posts
</button>
<button type="button" class="postbutton" data-toggle="modal" data-target="#createPost"
id="create-post-button">
Create Post
</button>
</div>
<div class="post-buttons">
<div class="modal fade bd-example-modal-lg" tabindex="-1" role="dialog" id="createPost">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title"
style="color:grey;font-family: 'Roboto', sans-serif;font-size: larger;">
Pen
Your Post</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<form>
<div class="modal-body">
<div class="form-group">
<label for="title">Title</label>
<input type="text" class="form-control" id="title"
placeholder="Enter title of your post" style="background-color : #DCDCDC ;"
required>
</div>
<div class="form-group">
<label for="content">Contents</label>
<textarea rows="10" cols="50" class="form-control" id="content"
placeholder="Enter the contents of your post"
style="background-color : #DCDCDC;" required></textarea>
</div>
</div>
<div class="modal-footer border-top-0 d-flex justify-content-center">
<button type="submit" class="btn btn-success" style="width: 100px;">Create</button>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</body>
</html>