-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenglish.html
More file actions
83 lines (78 loc) · 2.26 KB
/
english.html
File metadata and controls
83 lines (78 loc) · 2.26 KB
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
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- Script that converts the query string into valid parameter -->
<script type="text/javascript">
function searchPrimo() {
document.getElementById("primoQuery").value = "any,contains," + document.getElementById("primoQueryTemp").value.replace(/[,]/g, " ");
}
</script>
<style>
* {
box-sizing: border-box;
padding: 0;
margin: 0;
}
body {
background-color: #C6002A;
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: center;
height: 80vh;
}
input {
font-size: 1.2em;
padding:15px;
border:0px;
}
input:focus {
outline: none;
}
form {
display: flex;
padding:15px;
align-items: stretch;
width: 100%;
max-width: 600px;
}
input.realquery {
flex:1;
}
/** input type submit **/
input[type=submit] {
display:block;
background-color: white;
font-weight: bold;
flex: 0 0 auto;
}
input[type=submit]:hover {
background-color: black;
color: white;
cursor: pointer;
}
/** Media query mobile **/
@media (max-width: 400px) {
* {
font-size: 90%;
}
}
</style>
</head>
<body>
<form id="simple" name="searchForm" method="get" target="_blank"
action="https://avans.primo.exlibrisgroup.com/discovery/search"
enctype="application/x-www-form-urlencoded; charset=utf-8" onsubmit="searchPrimo()">
<!-- Customizable Parameters -->
<input type="hidden" name="vid" value="31AVANS_INST:31AVANS_VU1">
<input type="hidden" name="tab" value="Everything">
<input type="hidden" name="search_scope" value="MyInst_and_CI">
<input type="hidden" name="lang" value="en">
<!-- Fixed parameters -->
<input type="hidden" name="query" id="primoQuery">
<input type="text" id="primoQueryTemp" value="" class="realquery" placeholder="Search in our collection..." >
<!-- Search Button -->
<input id="go" title="Search" type="submit" value="Search" alt="Search">
</form>
</body>
</html>