You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tubemq.apache.org by yu...@apache.org on 2021/03/01 09:07:30 UTC

[incubator-tubemq] 16/29: [TUBEMQ-548] Handle the LICENSE authorization of font files in the resources

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

yuanbo pushed a commit to branch TUBEMQ-469
in repository https://gitbox.apache.org/repos/asf/incubator-tubemq.git

commit 35c0b45448d2f28ee64bcdf23ac3e82983b4299c
Author: gosonzhang <go...@tencent.com>
AuthorDate: Fri Jan 29 16:24:31 2021 +0800

    [TUBEMQ-548] Handle the LICENSE authorization of font files in the resources
    
    Co-authored-by: zakwu <za...@apache.org>
---
 resources/assets/public/css/fonts/icon.eot  | Bin 2340 -> 0 bytes
 resources/assets/public/css/fonts/icon.svg  |  16 ++++++++++++++++
 resources/assets/public/css/fonts/icon.ttf  | Bin 2188 -> 0 bytes
 resources/assets/public/css/fonts/icon.woff | Bin 2264 -> 0 bytes
 resources/assets/public/css/style.css       |   3 +--
 5 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/resources/assets/public/css/fonts/icon.eot b/resources/assets/public/css/fonts/icon.eot
deleted file mode 100644
index 0ae1d23..0000000
Binary files a/resources/assets/public/css/fonts/icon.eot and /dev/null differ
diff --git a/resources/assets/public/css/fonts/icon.svg b/resources/assets/public/css/fonts/icon.svg
index 953921f..5b050b8 100644
--- a/resources/assets/public/css/fonts/icon.svg
+++ b/resources/assets/public/css/fonts/icon.svg
@@ -1,4 +1,20 @@
 <?xml version="1.0" standalone="no"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+  <p>
+  http://www.apache.org/licenses/LICENSE-2.0
+  <p>
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
 <svg xmlns="http://www.w3.org/2000/svg">
     <metadata>Generated by IcoMoon</metadata>
diff --git a/resources/assets/public/css/fonts/icon.ttf b/resources/assets/public/css/fonts/icon.ttf
deleted file mode 100644
index c74e16b..0000000
Binary files a/resources/assets/public/css/fonts/icon.ttf and /dev/null differ
diff --git a/resources/assets/public/css/fonts/icon.woff b/resources/assets/public/css/fonts/icon.woff
deleted file mode 100644
index 2f388d2..0000000
Binary files a/resources/assets/public/css/fonts/icon.woff and /dev/null differ
diff --git a/resources/assets/public/css/style.css b/resources/assets/public/css/style.css
index 8b4d292..27540a0 100644
--- a/resources/assets/public/css/style.css
+++ b/resources/assets/public/css/style.css
@@ -1344,8 +1344,7 @@ input[type="text"].expand {
 
 @font-face {
     font-family: 'icon';
-    src: url("fonts/icon.eot");
-    src: url("fonts/icon.eot#iefix") format("embedded-opentype"), url("fonts/icon.ttf") format("truetype"), url("fonts/icon.woff") format("woff"), url("fonts/icon.svg#icon") format("svg");
+    src: url("fonts/icon.svg#icon") format("svg");
     font-weight: normal;
     font-style: normal;
 }