Skip to content

Commit

Permalink
Inline svg logo
Browse files Browse the repository at this point in the history
  • Loading branch information
martinRenou committed Oct 3, 2019
1 parent f5e7df4 commit 7877550
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,14 @@ a.anchor-link {
color: var(--jp-content-font-color1);
font-family: sans-serif;
}
.color1{
fill:#268380;
}
.color2{
fill:#f8e14b;
}
</style>
{%- endblock html_head_css -%}
Expand All @@ -65,7 +73,10 @@ a.anchor-link {
<body class="jp-Notebook theme-light" data-base-url="{{resources.base_url}}voila/">
{% endif %}
<div id="loading">
<h2><img class="spinner" src="{{resources.base_url}}voila/static/spinner.svg"></img><span id="loading_text">Running {{nb_title}}...</span></h2>
<h2>
<svg class="spinner" data-name="c1" version="1.1" viewBox="0 0 500 500" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><metadata><rdf:RDF><cc:Work rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/><dc:title>voila</dc:title></cc:Work></rdf:RDF></metadata><title>spin</title><path class="color1" d="m250 405c-85.47 0-155-69.53-155-155s69.53-155 155-155 155 69.53 155 155-69.53 155-155 155zm0-275.5a120.5 120.5 0 1 0 120.5 120.5 120.6 120.6 0 0 0-120.5-120.5z"/><path class="color2" d="m250 405c-85.47 0-155-69.53-155-155a17.26 17.26 0 1 1 34.51 0 120.6 120.6 0 0 0 120.5 120.5 17.26 17.26 0 1 1 0 34.51z"/></svg>
<span id="loading_text">Running {{nb_title}}...</span>
</h2>
</div>
<script>
var voila_process = function(cell_index, cell_count) {
Expand Down
1 change: 0 additions & 1 deletion share/jupyter/voila/templates/default/static/spinner.svg

This file was deleted.

0 comments on commit 7877550

Please sign in to comment.