-
Notifications
You must be signed in to change notification settings - Fork 0
/
search.html
105 lines (78 loc) · 4.27 KB
/
search.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
<!DOCTYPE html>
<html lang="en" dir="ltr" >
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./css.css">
<link rel="stylesheet" href="./search.css">
<script src="//code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
<script src="https://code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BmbxuPwQa2lc/FVzBcNJ7UAyJxM6wuqIj61tLrc4wSX0szH/Ev+nYRRuWlolflfl" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/js/bootstrap.bundle.min.js" integrity="sha384-b5kHyXgcpbZJO/tY9Ul7kGkf1S0CWuKcCD38l8YkeH8z8QjE0GmW1gYU5S9FOnJ0" crossorigin="anonymous"></script>
<!-- UIkit CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/uikit@3.6.17/dist/css/uikit.min.css" />
<!-- UIkit JS -->
<script src="https://cdn.jsdelivr.net/npm/uikit@3.6.17/dist/js/uikit.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/uikit@3.6.17/dist/js/uikit-icons.min.js"></script>
<link rel="shortcut icon" href="./favicon.png">
<title>WDM Scholar</title>
<meta property="og:title" content="WDM Scholar">
<meta property="og:description" content="">
<meta property="og:image" content="">
<meta property="og:url" content="">
<meta property="twitter:title" content="WDM Scholar">
<meta property="twitter:description" content="">
<meta property="twitter:image" content="">
<meta property="twitter:url" content="">
</head>
<body style="background-color: #d2dadd;" onload="loaded">
<script src="./search.js" charset="utf-8"></script>
<div name="search" class="uk-height-viewport uk-background-cover uk-light uk-flex" style="background-color: #6b868d;">
<a id="search"></a>
<div class="uk-width-1-2@m uk-text-center uk-margin-auto uk-margin-auto-vertical">
<!--<script async src="https://cse.google.com/cse.js?cx=80b1d1b48ea05a57b"></script>
<div class="gcse-search"></div>-->
<center>
<input type="text" id="myInput" onkeyup="myFunction()" placeholder="Search WDM Scholar">
<ul id="myUL">
<li><a target="_parent" href="../docs/TheEffectsofSpaceTravelonHumans.html"><div>
<p class="uk-text-large" name="title" content="Burnout"><strong>The Effects of Space Travel on Humans</trong></p>
<p class="uk-text-meta" name="publisher" content="WDM Courses">Paper type: ACADEMIC</p>
<p class="uk-text-meta" name="date" content="6/2/2020">6/2/2020</p>
<p hidden name="keywords" content="SCIENCE SPACE ASTRONAUT ACADEMIC">SCIENCE SPACE ASTRONAUT ACADEMIC</p>
</div></a></li>
<li><a target="_parent" href="../docs/burnoutbywdm.html"><div>
<p class="uk-text-large" name="title" content="Burnout"><strong>Burnout</trong></p>
<p class="uk-text-meta" name="publisher" content="WDM Courses">Paper type: ACADEMIC</p>
<p class="uk-text-meta" name="date" content="4/14/2020">4/14/2020</p>
<p hidden name="keywords" content="FAITH BIBLE CHRISTIAN MINISTRY">FAITH BIBLE CHRISTIAN MINISTRY</p>
</div></a></li>
</ul>
</center>
<p style="padding:2mm;"></p>
</div>
</div>
</body>
<footer>
<script>
function myFunction() {
// Declare variables
var input, filter, ul, li, a, i, txtValue;
input = document.getElementById('myInput');
filter = input.value.toUpperCase();
ul = document.getElementById("myUL");
li = ul.getElementsByTagName('li');
// Loop through all list items, and hide those who don't match the search query
for (i = 0; i < li.length; i++) {
a = li[i].getElementsByTagName("a")[0];
txtValue = a.textContent || a.innerText;
if (txtValue.toUpperCase().indexOf(filter) > -1) {
li[i].style.display = "";
} else {
li[i].style.display = "none";
}
}
}
</script>
</footer>
</html>