diff --git a/config.conf b/config.conf new file mode 100644 index 0000000000000000000000000000000000000000..004830c1b9efd019b7f7d5ce2dd9ca4a7a272f4f --- /dev/null +++ b/config.conf @@ -0,0 +1 @@ +ugl.hft-stuttgart.de§https://transfer.hft-stuttgart.de/pages/ugl/website/ \ No newline at end of file diff --git a/public/css/main.css b/public/css/main.css index 4bbc663837a17f93d1c39b603d05de1b54b2b411..435fcd38af209871ac8ed6cb56b89f3aee043467 100644 --- a/public/css/main.css +++ b/public/css/main.css @@ -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 diff --git a/public/index.html b/public/index.html index b4a4da6c1427078145a6c50b14c1d0f7c61c3ae5..8c5abed0c23f409e0c3c236deb4a4b5ceb3a155b 100644 --- a/public/index.html +++ b/public/index.html @@ -263,8 +263,11 @@ </div> </div> </div> + </div> - + <div class="container" style="margin-top:1em;"><a href="#" class="previous">« Previous</a> + <a href="#" class="next">Next »</a></div> + <hr> <div class="container"> <h2 id="rgc_ourteam"><i class="fas fa-user-friends"></i> Our amazing team</h2> diff --git a/public/js/search.js b/public/js/search.js index d3d7670e7ce311d31407aad4b3a7ea3312988a4f..1d99093c05db0631983df21c73eb0185d48c6102 100644 --- a/public/js/search.js +++ b/public/js/search.js @@ -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();