Browse Source

Use favicons provided by jupyter_server

Eric Charles 4 years ago
parent
commit
dc44a1c3c4

+ 1 - 1
dev_mode/templates/error.html

@@ -10,7 +10,7 @@ Distributed under the terms of the Modified BSD License.
 
   <title>{% block title %}{{page_title | escape}}{% endblock %}</title>
 
-  {% block favicon %}<link rel="shortcut icon" type="image/x-icon" href="/static/base/images/favicon.ico">{% endblock %}
+  {% block favicon %}<link rel="shortcut icon" type="image/x-icon" href="/static/favicons/favicon.ico">{% endblock %}
 
 </head>
 

+ 2 - 2
dev_mode/templates/partial.html

@@ -9,6 +9,6 @@
   </script>
 
   {% block favicon %}
-  <link rel="icon" type="image/x-icon" href="{{ base_url | escape }}static/base/images/favicon.ico" class="idle favicon">
-  <link rel="" type="image/x-icon" href="{{ base_url | escape }}static/base/images/favicon-busy-1.ico" class="busy favicon">
+  <link rel="icon" type="image/x-icon" href="{{ base_url | escape }}static/favicons/favicon.ico" class="idle favicon">
+  <link rel="" type="image/x-icon" href="{{ base_url | escape }}static/favicons/favicon-busy-1.ico" class="busy favicon">
   {% endblock %}

+ 1 - 1
examples/app/templates/error.html

@@ -10,7 +10,7 @@ Distributed under the terms of the Modified BSD License.
 
   <title>{% block title %}{{page_title | e}}{% endblock %}</title>
 
-  {% block favicon %}<link rel="shortcut icon" type="image/x-icon" href="/static/base/images/favicon.ico">{% endblock %}
+  {% block favicon %}<link rel="shortcut icon" type="image/x-icon" href="/static/favicons/favicon.ico">{% endblock %}
 
 </head>
 

+ 1 - 1
examples/cell/templates/error.html

@@ -10,7 +10,7 @@ Distributed under the terms of the Modified BSD License.
 
   <title>{% block title %}{{page_title | e}}{% endblock %}</title>
 
-  {% block favicon %}<link rel="shortcut icon" type="image/x-icon" href="/static/base/images/favicon.ico">{% endblock %}
+  {% block favicon %}<link rel="shortcut icon" type="image/x-icon" href="/static/favicons/favicon.ico">{% endblock %}
 
 </head>
 

+ 1 - 1
examples/console/templates/error.html

@@ -10,7 +10,7 @@ Distributed under the terms of the Modified BSD License.
 
   <title>{% block title %}{{page_title | e}}{% endblock %}</title>
 
-  {% block favicon %}<link rel="shortcut icon" type="image/x-icon" href="/static/base/images/favicon.ico">{% endblock %}
+  {% block favicon %}<link rel="shortcut icon" type="image/x-icon" href="/static/favicons/favicon.ico">{% endblock %}
 
 </head>
 

+ 1 - 1
examples/federated/templates/error.html

@@ -10,7 +10,7 @@ Distributed under the terms of the Modified BSD License.
 
   <title>{% block title %}{{page_title | e}}{% endblock %}</title>
 
-  {% block favicon %}<link rel="shortcut icon" type="image/x-icon" href="/static/base/images/favicon.ico">{% endblock %}
+  {% block favicon %}<link rel="shortcut icon" type="image/x-icon" href="/static/favicons/favicon.ico">{% endblock %}
 
 </head>
 

+ 1 - 1
examples/filebrowser/templates/error.html

@@ -10,7 +10,7 @@ Distributed under the terms of the Modified BSD License.
 
   <title>{% block title %}{{page_title | e}}{% endblock %}</title>
 
-  {% block favicon %}<link rel="shortcut icon" type="image/x-icon" href="/static/base/images/favicon.ico">{% endblock %}
+  {% block favicon %}<link rel="shortcut icon" type="image/x-icon" href="/static/favicons/favicon.ico">{% endblock %}
 
 </head>
 

+ 1 - 1
examples/notebook/templates/error.html

@@ -10,7 +10,7 @@ Distributed under the terms of the Modified BSD License.
 
   <title>{% block title %}{{page_title | e}}{% endblock %}</title>
 
-  {% block favicon %}<link rel="shortcut icon" type="image/x-icon" href="/static/base/images/favicon.ico">{% endblock %}
+  {% block favicon %}<link rel="shortcut icon" type="image/x-icon" href="/static/favicons/favicon.ico">{% endblock %}
 
 </head>
 

+ 1 - 1
examples/terminal/templates/error.html

@@ -10,7 +10,7 @@ Distributed under the terms of the Modified BSD License.
 
   <title>{% block title %}{{page_title | e}}{% endblock %}</title>
 
-  {% block favicon %}<link rel="shortcut icon" type="image/x-icon" href="/static/base/images/favicon.ico">{% endblock %}
+  {% block favicon %}<link rel="shortcut icon" type="image/x-icon" href="/static/favicons/favicon.ico">{% endblock %}
 
 </head>
 

+ 1 - 1
jupyterlab/staging/templates/error.html

@@ -10,7 +10,7 @@ Distributed under the terms of the Modified BSD License.
 
   <title>{% block title %}{{page_title | escape}}{% endblock %}</title>
 
-  {% block favicon %}<link rel="shortcut icon" type="image/x-icon" href="/static/base/images/favicon.ico">{% endblock %}
+  {% block favicon %}<link rel="shortcut icon" type="image/x-icon" href="/static/favicons/favicon.ico">{% endblock %}
 
 </head>
 

+ 2 - 2
jupyterlab/staging/templates/partial.html

@@ -9,6 +9,6 @@
   </script>
 
   {% block favicon %}
-  <link rel="icon" type="image/x-icon" href="{{ base_url | escape }}static/base/images/favicon.ico" class="idle favicon">
-  <link rel="" type="image/x-icon" href="{{ base_url | escape }}static/base/images/favicon-busy-1.ico" class="busy favicon">
+  <link rel="icon" type="image/x-icon" href="{{ base_url | escape }}static/favicons/favicon.ico" class="idle favicon">
+  <link rel="" type="image/x-icon" href="{{ base_url | escape }}static/favicons/favicon-busy-1.ico" class="busy favicon">
   {% endblock %}

+ 1 - 1
packages/extensionmanager-extension/examples/listings/templates/error.html

@@ -10,7 +10,7 @@ Distributed under the terms of the Modified BSD License.
 
   <title>{% block title %}{{page_title | e}}{% endblock %}</title>
 
-  {% block favicon %}<link rel="shortcut icon" type="image/x-icon" href="/static/base/images/favicon.ico">{% endblock %}
+  {% block favicon %}<link rel="shortcut icon" type="image/x-icon" href="/static/favicons/favicon.ico">{% endblock %}
 
 </head>
 

+ 1 - 1
packages/services/examples/browser/templates/error.html

@@ -10,7 +10,7 @@ Distributed under the terms of the Modified BSD License.
 
   <title>{% block title %}{{page_title | e}}{% endblock %}</title>
 
-  {% block favicon %}<link rel="shortcut icon" type="image/x-icon" href="/static/base/images/favicon.ico">{% endblock %}
+  {% block favicon %}<link rel="shortcut icon" type="image/x-icon" href="/static/favicons/favicon.ico">{% endblock %}
 
 </head>
 

+ 1 - 1
packages/services/examples/node/templates/error.html

@@ -10,7 +10,7 @@ Distributed under the terms of the Modified BSD License.
 
   <title>{% block title %}{{page_title | e}}{% endblock %}</title>
 
-  {% block favicon %}<link rel="shortcut icon" type="image/x-icon" href="/static/base/images/favicon.ico">{% endblock %}
+  {% block favicon %}<link rel="shortcut icon" type="image/x-icon" href="/static/favicons/favicon.ico">{% endblock %}
 
 </head>
 

+ 1 - 1
packages/services/examples/typescript-browser-with-output/templates/error.html

@@ -10,7 +10,7 @@ Distributed under the terms of the Modified BSD License.
 
   <title>{% block title %}{{page_title | e}}{% endblock %}</title>
 
-  {% block favicon %}<link rel="shortcut icon" type="image/x-icon" href="/static/base/images/favicon.ico">{% endblock %}
+  {% block favicon %}<link rel="shortcut icon" type="image/x-icon" href="/static/favicons/favicon.ico">{% endblock %}
 
 </head>