-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
96 lines (83 loc) · 2.48 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
92
93
94
95
96
<!doctype html>
<html>
<head>
<script src="popup.js"></script>
<style>
.loader {
text-align: center;
border: 16px solid #f3f3f3;
border-radius: 50%;
border-top: 16px solid #3498db;
width: 120px;
height: 120px;
-webkit-animation: spin 2s linear infinite; /* Safari */
animation: spin 2s linear infinite;
}
/* Safari */
@-webkit-keyframes spin {
0% { -webkit-transform: rotate(0deg); }
100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
/* button styles for the hover */
.button {
display: inline-block;
border-radius: 4px;
background-color: #f4511e;
border: none;
color: #FFFFFF;
text-align: center;
font-size: 13px;
padding: 20px;
width: 200px;
transition: all 0.5s;
cursor: pointer;
margin: 5px;
}
.button span {
cursor: pointer;
display: inline-block;
position: relative;
transition: 0.5s;
}
.button span:after {
content: '\00bb';
position: absolute;
opacity: 0;
top: 0;
right: -20px;
transition: 0.5s;
}
.button:hover span {
padding-right: 25px;
}
.button:hover span:after {
opacity: 1;
right: 0;
}
</style>
</head>
<body align="center">
<!-- header -->
<img src="badges.png" alt="Italian Trulli" width="300">
<h1 align="center" style = "font-family:Copperplate,garamond,Fantasy;font-size:18px;">Curbing Misinformation <br> Covid-19 Classifier</h1>
<img id="detective" width="300" src="detective.png" alt="Italian Trulli">
<!-- results from google api -->
<p id="result" align="center"> </p>
<!-- check page -->
<button class="button" onclick="add()" id="checkPage" style="vertical-align:middle"><span>Analyze this page now </span></button>
<!-- lern more about the project -->
<form align="center" action="https://lamfo.unb.br/portfolio/university-of-essex-microsoft-ai-for-health-nlp-para-covid-19/" method="get" target="_blank">
<button type="submit" onclick="myFunction()" >Learn more about the project</button>
</form>
<!-- final diclaimer -->
<p style="color:gray;font-size:9px;">
<i>
Please make sure to run it only on Covid-19 News on the English language. Results should not be taken as a reflex from reality.
</i>
</p>
</body>
</html>