-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
83 lines (66 loc) · 2.58 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Short Reddit</title>
<link rel="stylesheet" type="text/css" href="style/styles.css" />
<script src="./logic/app.js" type="module" defer></script>
</head>
<body>
<template id="post">
<div class="post-container">
<header class="post-title">
<h2>Question</h2>
</header>
<section class="media-section">
</section>
<div class="answers-btn-wrapper">
<button class="toggle-answers-btn">Top 5 answers</button>
</div>
<section class="answers-section">
</section>
</div>
</template>
<header id="header">
<section id="logo">
<h3>Short Reddit</h3>
</section>
<div id="button-wrapper">
<img id="menu-icon" src="assets/menu_icon.png">
</div>
</header>
<section id="sidebar" hide="true">
<p class="sidebar-title">Options</p>
<form id="subreddit-select-form">
<label class="form-label">Subreddit:
<input class="input" id="subreddit" type="text" value="pics" required>
</label>
<label class="form-label">Posts type:
<select class="input" id="select-posts-types">
<option value="Hot">Hot</option>
<option value="Top">Top</option>
<option value="New">New</option>
</select>
</label>
<label class="form-label">Posts limit:
<input class="input" id="posts-limit" value="50" type="number" max=900 required>
</label>
<label title="Check if you want to show media from links provided in posts (e.g. gifs or links to videos)." class="form-label">Display external source content:
<input class="input" id="external-source" type="checkbox">
</label>
<div class="center-content-wrapper">
<input class="input" id="submit-btn" type="submit" value="Search">
</div>
</form>
</section>
<section id="grid-container">
<section class="column-container" id="column1">
</section>
<section class="column-container" id="column2">
</section>
<section class="column-container" id="column3">
</section>
</section>
</body>
</html>