You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@heron.apache.org by nw...@apache.org on 2019/03/12 16:15:11 UTC

[incubator-heron] branch master updated: Add favicon (#3206)

This is an automated email from the ASF dual-hosted git repository.

nwang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git


The following commit(s) were added to refs/heads/master by this push:
     new 5023515  Add favicon (#3206)
5023515 is described below

commit 50235156dece51be26b598486fd8713bd9ab2554
Author: se choi <th...@gmail.com>
AuthorDate: Wed Mar 13 01:15:05 2019 +0900

    Add favicon (#3206)
---
 heron/shell/assets/browse.html                 |   1 +
 heron/shell/assets/favicon.png                 | Bin 0 -> 5014 bytes
 heron/shell/assets/file.html                   |   3 +--
 heron/tools/ui/resources/templates/browse.html |   1 +
 heron/tools/ui/resources/templates/error.html  |   2 +-
 heron/tools/ui/resources/templates/file.html   |   2 +-
 6 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/heron/shell/assets/browse.html b/heron/shell/assets/browse.html
index 0e52d1a..6a5312d 100644
--- a/heron/shell/assets/browse.html
+++ b/heron/shell/assets/browse.html
@@ -14,6 +14,7 @@
 <html>
 
 <head>
+<link rel="shortcut icon" href="{{ static_url('img/logo54x54.png') }}" type="image/x-icon" >
 <style type="text/css">
 {{ css }}
 div.tight
diff --git a/heron/shell/assets/favicon.png b/heron/shell/assets/favicon.png
new file mode 100755
index 0000000..04bf8f5
Binary files /dev/null and b/heron/shell/assets/favicon.png differ
diff --git a/heron/shell/assets/file.html b/heron/shell/assets/file.html
index 6eaa64f..e4a982f 100644
--- a/heron/shell/assets/file.html
+++ b/heron/shell/assets/file.html
@@ -17,7 +17,7 @@
 <head>
   <meta charset="utf-8">
   <title></title>
-
+  <link rel="shortcut icon" href="/assets/favicon.png" type="image/x-icon" >
   <style type="text/css">
     {{ css }}
     .log {
@@ -32,7 +32,6 @@
       background: #000000;
     }
   </style>
-  <link rel="icon" href="/assets/favicon.ico">
 </head>
 
 <style type="text/css">
diff --git a/heron/tools/ui/resources/templates/browse.html b/heron/tools/ui/resources/templates/browse.html
index 62439ee..91b27e5 100644
--- a/heron/tools/ui/resources/templates/browse.html
+++ b/heron/tools/ui/resources/templates/browse.html
@@ -14,6 +14,7 @@
 <html>
 
 <head>
+<link rel="shortcut icon" href="{{ static_url('img/logo54x54.png') }}" type="image/x-icon" >
 <link href="{{ static_url('css/bootstrap.css') }}" rel="stylesheet">
 <style type="text/css">
 div.tight
diff --git a/heron/tools/ui/resources/templates/error.html b/heron/tools/ui/resources/templates/error.html
index 342b7d8..0b549f4 100644
--- a/heron/tools/ui/resources/templates/error.html
+++ b/heron/tools/ui/resources/templates/error.html
@@ -41,7 +41,7 @@ under the License.
     <meta charset="utf-8">
     <title>Heron Admin</title>
     <meta content="width=device-width, initial-scale=1.0, user-scalable=no" name="viewport">
-
+    <link rel="shortcut icon" href="{{ static_url('img/logo54x54.png') }}" type="image/x-icon" >
     <script src="{{ static_url('js/html5-trunk.js') }}"></script>
 
     <!-- bootstrap css -->
diff --git a/heron/tools/ui/resources/templates/file.html b/heron/tools/ui/resources/templates/file.html
index dc4d8df..75a48a4 100644
--- a/heron/tools/ui/resources/templates/file.html
+++ b/heron/tools/ui/resources/templates/file.html
@@ -17,7 +17,7 @@
 <head>
   <meta charset="utf-8">
   <title></title>
-
+  <link rel="shortcut icon" href="{{ static_url('img/logo54x54.png') }}" type="image/x-icon" >
   <link href="{{ static_url('css/bootstrap.css') }}" rel="stylesheet">
   <style type="text/css">
     .log {