-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add bootstrap icon to the vendor folder
Since the CSP style-src is enforced, need to serve the bootstrap icon locally as well. Add the CSS/font files to vendor/bootstrap. Also update the CSP header to include the proper `img-src` directive. Signed-off-by: Yihong Wang <[email protected]>
- Loading branch information
Showing
14 changed files
with
17 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
|
||
<link rel="icon" href="../assets/favicon.ico"> | ||
<!-- Link for btn checkmark--> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap[email protected]/font/bootstrap-icons.min.css"> | ||
<link rel="stylesheet" href="../vendor/bootstrap/css/bootstrap-icons.min.css"> | ||
|
||
<!-- Bootstrap core --> | ||
<link href="../vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet"> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ | |
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet"> | ||
|
||
<!-- Link for icons checkmark--> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap[email protected]/font/bootstrap-icons.min.css"> | ||
<link rel="stylesheet" href="vendor/bootstrap/css/bootstrap-icons.min.css"> | ||
|
||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> | ||
<!--[if lt IE 9]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
|
||
<link rel="icon" href="assets/favicon.ico"> | ||
<!-- Link for btn checkmark--> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap[email protected]/font/bootstrap-icons.min.css"> | ||
<link rel="stylesheet" href="vendor/bootstrap/css/bootstrap-icons.min.css"> | ||
|
||
<!-- Bootstrap core --> | ||
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet"> | ||
|
@@ -27,14 +27,6 @@ | |
<!-- Bootstrap JS --> | ||
<script type="text/javascript" src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script> | ||
|
||
|
||
|
||
<script type="text/javascript" > | ||
jQuery.htmlPrefilter = function( html ) { | ||
return html; | ||
}; | ||
</script> | ||
|
||
<!-- CSS loader --> | ||
<link href="vendor/css-loaders/loader.css" rel="stylesheet"> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ | |
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet"> | ||
|
||
<!-- Link for icons checkmark--> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap[email protected]/font/bootstrap-icons.min.css"> | ||
<link rel="stylesheet" href="vendor/bootstrap/css/bootstrap-icons.min.css"> | ||
|
||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> | ||
<!--[if lt IE 9]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ | |
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet"> | ||
|
||
<!-- Link for icons checkmark--> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap[email protected]/font/bootstrap-icons.min.css"> | ||
<link rel="stylesheet" href="vendor/bootstrap/css/bootstrap-icons.min.css"> | ||
|
||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> | ||
<!--[if lt IE 9]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ | |
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet"> | ||
|
||
<!-- Link for icons checkmark--> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap[email protected]/font/bootstrap-icons.min.css"> | ||
<link rel="stylesheet" href="vendor/bootstrap/css/bootstrap-icons.min.css"> | ||
|
||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> | ||
<!--[if lt IE 9]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ | |
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet"> | ||
|
||
<!-- Link for icons checkmark--> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap[email protected]/font/bootstrap-icons.min.css"> | ||
<link rel="stylesheet" href="vendor/bootstrap/css/bootstrap-icons.min.css"> | ||
|
||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> | ||
<!--[if lt IE 9]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ | |
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet"> | ||
|
||
<!-- Link for icons checkmark--> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap[email protected]/font/bootstrap-icons.min.css"> | ||
<link rel="stylesheet" href="vendor/bootstrap/css/bootstrap-icons.min.css"> | ||
|
||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> | ||
<!--[if lt IE 9]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ | |
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet"> | ||
|
||
<!-- Link for icons checkmark--> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap[email protected]/font/bootstrap-icons.min.css"> | ||
<link rel="stylesheet" href="vendor/bootstrap/css/bootstrap-icons.min.css"> | ||
|
||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> | ||
<!--[if lt IE 9]> | ||
|
5 changes: 5 additions & 0 deletions
5
presto-ui/src/static/vendor/bootstrap/css/bootstrap-icons.min.css
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ | |
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet"> | ||
|
||
<!-- Link for icons checkmark--> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap[email protected]/font/bootstrap-icons.min.css"> | ||
<link rel="stylesheet" href="vendor/bootstrap/css/bootstrap-icons.min.css"> | ||
|
||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> | ||
<!--[if lt IE 9]> | ||
|