Point Forgejo link to forgejo repos
This commit is contained in:
parent
2c1146d7c7
commit
86a29322b9
|
|
@ -28,8 +28,8 @@
|
|||
>
|
||||
</form>
|
||||
<div id="nav_right_holder" class="nav_right_holder">
|
||||
<a href="https://git.booser.tech" id="button1" class="nav_right_item">
|
||||
<img src="../img/gitlab.svg" alt="Checkout my Gitlab!">
|
||||
<a href="https://git.booser.tech/explore/repos" id="button1" class="nav_right_item">
|
||||
<img src="../img/gitlab.svg" alt="Checkout my Forgejo!">
|
||||
</a>
|
||||
|
||||
<button id="button2"class="nav_right_item">
|
||||
|
|
@ -67,7 +67,7 @@
|
|||
|
||||
<script>
|
||||
|
||||
// Grabs data from json
|
||||
//Load Card DB
|
||||
async function fetchData() {
|
||||
try {
|
||||
const response = await fetch("../scripts/cards.json");
|
||||
|
|
@ -79,6 +79,7 @@ async function fetchData() {
|
|||
}
|
||||
}
|
||||
|
||||
// Class that Searches DB
|
||||
class Looper {
|
||||
constructor() {
|
||||
this.sentinal = false;
|
||||
|
|
@ -109,7 +110,7 @@ class Looper {
|
|||
const resultsDiv = document.getElementById("card_container");
|
||||
resultsDiv.innerHTML = "";
|
||||
|
||||
// Loop through the data and show matching items
|
||||
//Search List of Cards
|
||||
let matchesFound = false;
|
||||
for (let card of this.data.cards) {
|
||||
let matches = false;
|
||||
|
|
@ -164,5 +165,16 @@ document.getElementById("search_field").addEventListener("keydown", function (ev
|
|||
}
|
||||
});
|
||||
|
||||
function displayCard(card){
|
||||
const templateCard = document.getElementByID("card_template");
|
||||
const outputCard = templateCard.content.cloneNode(true);
|
||||
const outputDiv = document.getElementByID("card_container");
|
||||
}
|
||||
|
||||
function clearCards(){
|
||||
const resultsDiv = document.getElementById("card_container");
|
||||
resultsDiv.innerHTML = "";
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue