Skip to content

Commit

Permalink
Use Voila logo for the spinner
Browse files Browse the repository at this point in the history
  • Loading branch information
martinRenou committed Oct 3, 2019
1 parent 9f51f17 commit f5e7df4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
Expand Up @@ -15,6 +15,18 @@
<link rel="stylesheet" type="text/css" href="{{resources.base_url}}voila/static/theme-light.css">
{% endif %}

<style>
.spinner {
animation: rotation 2s infinite linear;
transform-origin: 50% 50%;
}
@keyframes rotation {
from {transform: rotate(0deg);}
to {transform: rotate(359deg);}
}
</style>

{% for css in resources.inlining.css %}
<style>
{{ css }}
Expand Down Expand Up @@ -53,7 +65,7 @@ a.anchor-link {
<body class="jp-Notebook theme-light" data-base-url="{{resources.base_url}}voila/">
{% endif %}
<div id="loading">
<h2><i class="fa fa-spinner fa-spin" style="font-size:36px;"></i><span id="loading_text">Running {{nb_title}}...</span></h2>
<h2><img class="spinner" src="{{resources.base_url}}voila/static/spinner.svg"></img><span id="loading_text">Running {{nb_title}}...</span></h2>
</div>
<script>
var voila_process = function(cell_index, cell_count) {
Expand Down
1 change: 1 addition & 0 deletions share/jupyter/voila/templates/default/static/spinner.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f5e7df4

Please sign in to comment.