-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
283 lines (273 loc) · 16.1 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
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Your Website</title>
<!-- init bootstrap cdn styles -->
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
crossorigin="anonymous">
<!-- main css file -->
<link rel="stylesheet" href="./main.css">
</head>
<body>
<header>
<!-- header navigation -->
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<!-- button for showing mobile navigation -->
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarTogglerDemo01" aria-controls="navbarTogglerDemo01" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarTogglerDemo01">
<!-- navigation -->
<ul class="navbar-nav mr-auto mt-2 mt-lg-0">
<li class="nav-item active">
<a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Link</a>
</li>
<li class="nav-item">
<a class="nav-link disabled" href="#">Disabled</a>
</li>
</ul>
<!-- search form -->
<form class="form-inline my-2 my-lg-0">
<input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search">
<button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
</form>
</div>
</nav>
<!-- subheader registration login form -->
<button type="submit" class="btn btn-primary" id="chnglogIn">LogIn</button>
<button type="submit" class="btn btn-primary" id="chnglogUp">LogUp</button>
<button type="submit" class="btn btn-primary" id="chnglogOut">LogOut</button>
<button type="button" class="btn btn-light" id="hideAll">Hide</button>
<div id="userLog"></div>
<form id="formLogIn" class="none">
<div class="container">
<div class="row">
<div class="col-sm-12">
<!-- email input -->
<div class="form-group">
<label for="exampleInputEmail1">Email address</label>
<input type="email" name="email" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp" placeholder="Enter email">
<small id="emailHelp" class="form-text text-muted">We'll never share your email with anyone else.</small>
</div>
</div>
<div class="col-sm-12">
<!-- password input -->
<div class="form-group">
<label for="exampleInputPassword1">Password</label>
<input type="password" name="password" class="form-control" id="exampleInputPassword1" placeholder="Password">
</div>
</div>
<div class="col-sm-12">
<!-- submit button and "Check me out" checkbox -->
<div class="form-check">
<input type="checkbox" class="form-check-input">
<label class="form-check-label" for="exampleCheck1">Check me out</label>
</div>
<button type="button" class="btn btn-primary" id="logIn">Submit</button>
</div>
</div>
</div>
</form>
<form id="formLogUp" class="none">
<div class="container">
<div class="row">
<div class="col-sm-12">
<!-- email input -->
<div class="form-group">
<label for="exampleInputEmail1">Email address</label>
<input type="email" name="emailLogUp" class="form-control" id="email" aria-describedby="emailHelp" placeholder="Enter email">
<small id="emailHelp" class="form-text text-muted">We'll never share your email with anyone else.</small>
</div>
</div>
<div class="col-sm-12">
<!-- password input -->
<div class="form-group">
<label for="exampleInputPassword1">Password</label>
<input type="password" name="password" class="form-control" id="password1" placeholder="Password">
</div>
</div>
<div class="col-sm-12">
<!-- password input -->
<div class="form-group">
<label for="exampleInputPassword1">Password</label>
<input type="password" name="password" class="form-control" id="password2" placeholder="Password">
</div>
</div>
<div class="col-sm-12">
<!-- submit button and "Check me out" checkbox -->
<div class="form-check">
<input type="checkbox" class="form-check-input">
<label class="form-check-label" for="exampleCheck1">Check me out</label>
</div>
<button type="button" class="btn btn-primary" id="logUp">Submit</button>
</div>
</div>
</div>
</form>
</header>
<main>
<!-- main container -->
<div class="container">
<div class="row">
<!-- sidebar -->
<div class="col-sm-1" id="col-sidebar">
<!-- Button : show sidebar -->
<button type="button" class="btn btn-primary" id="burgerShow" onclick="sidebarShow()">Menu</button>
<button type="button" class="none btn btn-primary" id="burgerHide" onclick="sidebarHide()">Menu</button>
<aside>
<!-- sidebar navigation -->
<nav class="none navbar navbar-expand-lg navbar-light bg-light" id="sidebar">
<div class="collapse navbar-collapse" id="navbarText">
<ul class="nav flex-column">
<li class="nav-item">
<a class="nav-link active" href="#">Active</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Link</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Link</a>
</li>
<li class="nav-item">
<input type="namber" id="p-size" value="8">
<button type="button" class="btn btn-primary" onclick="fontSize()">OK</button>
</li>
<li class="nav-item">
<input type="color" id="color-input" onchange="colorCard()">
</li>
<div class="form-check">
<input class="form-check-input" type="radio" name="exampleRadios" id="exampleRadios1" value="option1" checked onchange="fontDefault()">
<label class="form-check-label" for="exampleRadios1">
Default
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="exampleRadios" id="font-comic" value="option2" onchange="fontComic()">
<label class="form-check-label" for="exampleRadios2">
Comic Sans
</label>
</div>
<div class="form-check disabled">
<input class="form-check-input" type="radio" name="exampleRadios" id="font-impact" value="option3" onchange="fontImpact()">
<label class="form-check-label" for="exampleRadios3">
Impact
</label>
</div>
<li class="nav-item">
<button type="button" class="btn btn-primary" id="" onclick="deleteCard()">Delete Card</button>
</li>
</ul>
</div>
</nav>
</aside>
</div>
<!-- articles container -->
<div class="col-sm-11" id="col-content">
<section>
<h1>Some text</h1>
<!-- articles -->
<div class="row" id="dinamicContent">
<!-- article -->
<div class="col-sm-6 mb-3">
<article class="card">
<div class="card-body">
<h5 class="card-title">Special title treatment</h5>
<p class="card-text">
With supporting text below as a natural lead-in to additional content.
With supporting text below as a natural lead-in to additional content.
With supporting text below as a natural lead-in to additional content.
With supporting text below as a natural lead-in to additional content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</article>
</div>
<!-- article -->
<div class="col-sm-6 mb-3">
<article class="card">
<div class="card-body">
<h5 class="card-title">Special title treatment</h5>
<p class="card-text">
With supporting text below as a natural lead-in to additional content.
With supporting text below as a natural lead-in to additional content.
With supporting text below as a natural lead-in to additional content.
With supporting text below as a natural lead-in to additional content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</article>
</div>
<!-- article -->
<div class="col-sm-6 mb-3">
<article class="card">
<div class="card-body">
<h5 class="card-title">Special title treatment</h5>
<p class="card-text">
With supporting text below as a natural lead-in to additional content.
With supporting text below as a natural lead-in to additional content.
With supporting text below as a natural lead-in to additional content.
With supporting text below as a natural lead-in to additional content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</article>
</div>
<!-- article -->
<div class="col-sm-6 mb-3">
<article class="card">
<div class="card-body">
<h5 class="card-title">Special title treatment</h5>
<p class="card-text">
With supporting text below as a natural lead-in to additional content.
With supporting text below as a natural lead-in to additional content.
With supporting text below as a natural lead-in to additional content.
With supporting text below as a natural lead-in to additional content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</article>
</div>
<!-- article -->
<div class="col-sm-6 mb-3">
<article class="card">
<div class="card-body">
<h5 class="card-title">Special title treatment</h5>
<p class="card-text">
With supporting text below as a natural lead-in to additional content.
With supporting text below as a natural lead-in to additional content.
With supporting text below as a natural lead-in to additional content.
With supporting text below as a natural lead-in to additional content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</article>
</div>
</div>
</section>
</div>
</div>
</div>
</main>
<footer class="bg-dark">
<div class="container">
<!-- copyright -->
<p class="text-white">Copyright 2018 Sergey Timoshchenko</p>
</div>
</footer>
<script src="https://www.gstatic.com/firebasejs/4.10.0/firebase.js"></script>
<script>
// Initialize Firebase
var config = {
apiKey: "AIzaSyDxzKTEgFVC91QNCyfJkYshN0Z18c_9Jpk",
authDomain: "test-25178.firebaseapp.com",
databaseURL: "https://test-25178.firebaseio.com",
projectId: "test-25178",
storageBucket: "test-25178.appspot.com",
messagingSenderId: "499415542507"
};
firebase.initializeApp(config);
</script>
<script src="script.js"></script>
</body>
</html>