mirror of
https://github.com/nikdoof/website-hugo.git
synced 2025-12-13 12:12:18 +00:00
Add spinner for the hackspace status load
This commit is contained in:
@@ -16,6 +16,7 @@ $(document).ready(function () {
|
||||
$('span#hackspace-status').html('<b>Closed</b>');
|
||||
}
|
||||
});
|
||||
console.log(atob('aHR0cHM6Ly93d3cueW91dHViZS5jb20vd2F0Y2g/dj1IcDdBSVh5UkpwdyAtIERhYm8uLi4u'));
|
||||
}
|
||||
|
||||
// 'printers' shortcode
|
||||
|
||||
@@ -7,7 +7,7 @@ hero_image: /images/rose_logo.svg
|
||||
|
||||
{{< rawhtml >}}
|
||||
<div class="notification has-text-centered" id="hackspace-open">
|
||||
Leigh Hackspace is currently <span id="hackspace-status">Closed</span>
|
||||
Leigh Hackspace is currently <span id="hackspace-status"><i class="fas fa-spinner fa-spin"></i></span>
|
||||
</div>
|
||||
{{</ rawhtml >}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user