Commit cc7d56f2 authored by Sini's avatar Sini
Browse files

Merge branch 'master' of https://transfer.hft-stuttgart.de/gitlab/ugl/website into master

parents cb3b2f78 58e57e01
Pipeline #3288 passed with stage
in 24 seconds
ugl.hft-stuttgart.de§https://transfer.hft-stuttgart.de/pages/ugl/website/
\ No newline at end of file
......@@ -166,3 +166,29 @@ main[role=main]{
padding-bottom: 1rem!important;
}
a {
text-decoration: none;
display: inline-block;
padding: 8px 16px;
}
a:hover {
background-color: #ddd;
color: black;
}
.previous {
background-color: #f1f1f1;
color: black;
margin-left:42%;
}
.next {
background-color: #04AA6D;
color: white;
}
.round {
border-radius: 50%;
}
\ No newline at end of file
......@@ -263,8 +263,11 @@
</div>
</div>
</div>
</div>
<div class="container" style="margin-top:1em;"><a href="#" class="previous">&laquo; Previous</a>
<a href="#" class="next">Next &raquo;</a></div>
<hr>
<div class="container">
<h2 id="rgc_ourteam"><i class="fas fa-user-friends"></i> Our amazing team</h2>
......
......@@ -10,8 +10,7 @@ const options = {
const options_paper = {
includeScore: true,
// Search in `author` and in `tags` array
keys: ["item.title", "item.keywords",
"item.author.firstName", "item.author.lastName"
keys: ["item.title", "item.keywords", "item.authors.lastName", "item.authors.firstName"
]
}
......@@ -35,7 +34,7 @@ function search() {
}
function search_paper() {
const fuse = new Fuse(stuff_paper, options);
const fuse = new Fuse(stuff_paper, options_paper);
searchanswer_paper = fuse.search(document.getElementById("search-input_paper").value)
var new_row = document.getElementById("cont_paper")
......@@ -197,8 +196,8 @@ input.addEventListener("keyup", function (event) {
}
});
var input = document.getElementById("search-input_paper");
input.addEventListener("keyup", function (event) {
var input2 = document.getElementById("search-input_paper");
input2.addEventListener("keyup", function (event) {
if (event.keyCode === 13) {
event.preventDefault();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment