-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
71 lines (63 loc) · 1.92 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>InstaDictionary</title>
<script src="https://code.jquery.com/jquery-3.1.1.min.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/semantic.min.css"/>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/semantic.min.js"></script>
<style>
.padded{
padding:1em;
}
.no-display{
display:none;
}
</style>
</head>
<body>
<div class="ui grid padded">
<div class="row" style="position:fixed;z-index:2;background-color:rgb(255,255,255);">
<div class="column">
<h1>InstaDictionary</h1>
<div class="ui fluid input left icon" id="searchLoader">
<input id="searchBar" type="text" placeholder="Search..." value="apple">
<i class="search icon"></i>
</div>
</div>
</div>
<div class="row" style="margin-top:10em;">
<div class="column">
<div class="ui cards" id="cardInsertion">
</div>
</div>
</div>
<div class="row">
<!-- When this element enters the viewport, it will trigger a network request-->
<div id="endDetector" style="background-color:rgba(255,0,0,0.5);height:50vh;width:100%;position:absolute;bottom:0;"
class="no-display">
</div>
</div>
</div>
<template id="phCard">
<div class="ui card">
<div class="image">
<div class="ui placeholder lazy">
<div class="square image"></div>
</div>
</div>
<div class="content">
<div class="ui placeholder caption">
<div class="paragraph">
<div class="full line"></div>
<div class="line"></div>
<div class="line"></div>
</div>
</div>
</div>
</div>
</template>
<script src="script.js">
</script>
</body>
</html>