-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
91 lines (82 loc) · 3 KB
/
popup.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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="./code/bootstrap.css" />
<link href="https://fonts.googleapis.com/css?family=Nunito+Sans:400,700" rel="stylesheet">
<script src="jquery-3.1.1.min.js"></script>
<script src="Chart.min.js"></script>
<style>
html * {
font-family: 'Nunito Sans', sans-serif;
}
body {
min-width: 420px;
overflow-x: hidden;
font-size: 12px;
}
input,
textarea {
width: 420px;
}
input#save {
font-weight: bold;
width: auto;
}
ul {
text-align: center;
}
ul li {
display: block;
}
#loadMore {
position: absolute;
margin-top : 5px;
width: 40%;
left: 0;
right: 0;
margin: auto;
text-align: center;
}
</style>
</head>
<body style="height: 500px">
<div id="container" style="height: 100%">
<div id="header" style="height: 50px; padding: 10px; ">
<img src="./assets/upliftrname.png" style="height: 45px;object-fit: contain; display:block; margin:auto;" />
</div>
<div style="height: 400px; padding: 20px">
<div id="mainView" style="height: 400px; display: flex; align-items: center;justify-content: center;overflow: scroll;">
<ul style="height: 400px" id='contentList'></ul>
</div>
<div id="userView" style="display: flex; height: 350px; align-items: center;
justify-content: center;">
<div style="height: 350px; overflow: scroll">
<h1 style="font-weight: bold; font-size: 24px">
<br>You've been uplifted
<span id="clicks" style="color: #a4defb"></span>
<span>times today!</span>
</h1>
<div style="height: 225px">
<canvas id="myChart"></canvas>
</div>
<div style="text-align:center">
<h1 style="font-weight: bold; font-size: 24px">
Content Options
</h1>
<p>Your GIF settings are currently searching for: </p>
<input id="keyword" type="text" style="width: 60%;">
<input id="btnSubmit" type="submit" value="Change" style="width: 60%;" />
</div>
</div>
</div>
</div>
<div id="header" style="height: 50px; padding-bottom: 10px">
<input id="mainButton" type="image" src="./assets/logo.png" style="position: absolute; left: 10px; height: 40px; width: auto" />
<input id='loadMore' type="submit" value="Load More" />
<input id="userButton" type="image" src="./assets/profile_grey.png" style="position: absolute; right: 10px; height: 40px; width: auto" />
</div>
</div>
<!-- Scripts -->
<script src="./main.js"></script>
</body>
</html>