ATLAS-1707 : fix to remove external css reference for font file Signed-off-by: apoorvnaik <an...@hortonworks.com>
Project: http://git-wip-us.apache.org/repos/asf/incubator-atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-atlas/commit/0fc1c116 Tree: http://git-wip-us.apache.org/repos/asf/incubator-atlas/tree/0fc1c116 Diff: http://git-wip-us.apache.org/repos/asf/incubator-atlas/diff/0fc1c116 Branch: refs/heads/master Commit: 0fc1c116127fbfb2416f619b9ade55a22d0594d5 Parents: 29524aa Author: nixonrodrigues <ni...@apache.org> Authored: Thu Apr 13 20:38:35 2017 +0530 Committer: apoorvnaik <an...@hortonworks.com> Committed: Wed Apr 19 07:35:42 2017 -0700 ---------------------------------------------------------------------- dashboardv2/public/css/googlefonts.css | 40 +++++++++++++++++++ dashboardv2/public/index.html | 2 +- ...1aHBYDBqgeIAH2zlNV_2ngZ8dMf8fLgjYEouxg.woff2 | Bin 0 -> 14308 bytes ...cfmlt9b38dHJxOBGCOFnW3Jk0f09zW_Yln67Ac.woff2 | Bin 0 -> 13992 bytes 4 files changed, 41 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/0fc1c116/dashboardv2/public/css/googlefonts.css ---------------------------------------------------------------------- diff --git a/dashboardv2/public/css/googlefonts.css b/dashboardv2/public/css/googlefonts.css new file mode 100644 index 0000000..4b200ef --- /dev/null +++ b/dashboardv2/public/css/googlefonts.css @@ -0,0 +1,40 @@ +/* + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + */ + +/* latin */ +@font-face { + font-family: 'Source Sans Pro'; + font-style: normal; + font-weight: 400; + src: local('Source Sans Pro'), local('SourceSansPro-Regular'), url(../js/external_lib/fonts/ODelI1aHBYDBqgeIAH2zlNV_2ngZ8dMf8fLgjYEouxg.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215; +} +/* latin */ +@font-face { + font-family: 'Source Sans Pro'; + font-style: normal; + font-weight: 600; + src: local('Source Sans Pro Semibold'), local('SourceSansPro-Semibold'), url(../js/external_lib/fonts/toadOcfmlt9b38dHJxOBGCOFnW3Jk0f09zW_Yln67Ac.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215; +} +@font-face { + font-family: 'Source Sans Pro'; + font-style: normal; + font-weight: 700; + src: local('Source Sans Pro Bold'), local('SourceSansPro-Bold'), url(../js/external_lib/fonts/toadOcfmlt9b38dHJxOBGEo0As1BFRXtCDhS66znb_k.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215; +} http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/0fc1c116/dashboardv2/public/index.html ---------------------------------------------------------------------- diff --git a/dashboardv2/public/index.html b/dashboardv2/public/index.html index 9f1d941..72e11fb 100644 --- a/dashboardv2/public/index.html +++ b/dashboardv2/public/index.html @@ -46,7 +46,7 @@ <link rel="stylesheet" href="js/libs/bootstrap/css/bootstrap.min.css"> <link rel="stylesheet" href="js/libs/jquery-asBreadcrumbs/css/asBreadcrumbs.min.css"> <link rel="stylesheet" href="js/external_lib/datetimepicker/bootstrap-datetimepicker.min.css"> - <link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + <link rel="stylesheet" href="css/googlefonts.css" type='text/css'> <link rel="stylesheet" type="text/css" href="js/external_lib/jquery-ui/jquery-ui.min.css"> <link href="css/bootstrap-sidebar.css" rel="stylesheet"> <link href="js/libs/font-awesome/css/font-awesome.min.css" rel="stylesheet"> http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/0fc1c116/dashboardv2/public/js/external_lib/fonts/ODelI1aHBYDBqgeIAH2zlNV_2ngZ8dMf8fLgjYEouxg.woff2 ---------------------------------------------------------------------- diff --git a/dashboardv2/public/js/external_lib/fonts/ODelI1aHBYDBqgeIAH2zlNV_2ngZ8dMf8fLgjYEouxg.woff2 b/dashboardv2/public/js/external_lib/fonts/ODelI1aHBYDBqgeIAH2zlNV_2ngZ8dMf8fLgjYEouxg.woff2 new file mode 100644 index 0000000..6dda30c Binary files /dev/null and b/dashboardv2/public/js/external_lib/fonts/ODelI1aHBYDBqgeIAH2zlNV_2ngZ8dMf8fLgjYEouxg.woff2 differ http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/0fc1c116/dashboardv2/public/js/external_lib/fonts/toadOcfmlt9b38dHJxOBGCOFnW3Jk0f09zW_Yln67Ac.woff2 ---------------------------------------------------------------------- diff --git a/dashboardv2/public/js/external_lib/fonts/toadOcfmlt9b38dHJxOBGCOFnW3Jk0f09zW_Yln67Ac.woff2 b/dashboardv2/public/js/external_lib/fonts/toadOcfmlt9b38dHJxOBGCOFnW3Jk0f09zW_Yln67Ac.woff2 new file mode 100644 index 0000000..62a147a Binary files /dev/null and b/dashboardv2/public/js/external_lib/fonts/toadOcfmlt9b38dHJxOBGCOFnW3Jk0f09zW_Yln67Ac.woff2 differ