-
Notifications
You must be signed in to change notification settings - Fork 917
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* [Rename] missing elastic and kibana references (#37) Signed-off-by: Bishoy Boktor <[email protected]> * Address PR comments Signed-off-by: Bishoy Boktor <[email protected]> * Address PR comments Signed-off-by: Bishoy Boktor <[email protected]>
- Loading branch information
Showing
41 changed files
with
364 additions
and
370 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
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
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 |
---|---|---|
|
@@ -4,56 +4,67 @@ | |
We use this one instead because we want to add the @osd/ui-shared-deps tags here. | ||
--> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<title><%= options.title || 'Storybook'%></title> | ||
|
||
<% if (files.favicon) { %> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<title> | ||
<%= options.title || 'Storybook' %> | ||
</title> | ||
|
||
<% if (files.favicon) { %> | ||
<link rel="shortcut icon" href="<%= files.favicon%>" /> | ||
<% } %> | ||
|
||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
|
||
<!-- Added for Kibana shared dependencies --> | ||
<script> | ||
window.__osdPublicPath__ = { 'osd-ui-shared-deps': '/' }; | ||
</script> | ||
<script src="/[email protected]"></script> | ||
<script src="/osd-ui-shared-deps.js"></script> | ||
<link href="/osd-ui-shared-deps.css" rel="stylesheet" /> | ||
<link href="/osd-ui-shared-deps.v7.light.css" rel="stylesheet" /> | ||
<!-- --> | ||
|
||
<% if (typeof headHtmlSnippet !== 'undefined') { %> <%= headHtmlSnippet %> <% } %> <% | ||
files.css.forEach(file => { %> | ||
<link href="<%= file %>" rel="stylesheet" /> | ||
<% }); %> | ||
|
||
<style> | ||
#root[hidden], | ||
#docs-root[hidden] { | ||
display: none !important; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<% if (typeof bodyHtmlSnippet !== 'undefined') { %> <%= bodyHtmlSnippet %> <% } %> | ||
|
||
<div id="root"></div> | ||
<div id="docs-root"></div> | ||
|
||
<% if (typeof globals !== 'undefined' && Object.keys(globals).length) { %> | ||
<script> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
|
||
<!-- Added for OpenSearch Dashboards shared dependencies --> | ||
<script> | ||
window.__osdPublicPath__ = { 'osd-ui-shared-deps': '/' }; | ||
</script> | ||
<script src="/[email protected]"></script> | ||
<script src="/osd-ui-shared-deps.js"></script> | ||
<link href="/osd-ui-shared-deps.css" rel="stylesheet" /> | ||
<link href="/osd-ui-shared-deps.v7.light.css" rel="stylesheet" /> | ||
<!-- --> | ||
|
||
<% if (typeof headHtmlSnippet !=='undefined' ) { %> | ||
<%= headHtmlSnippet %> | ||
<% } %> | ||
<% files.css.forEach(file=> { %> | ||
<link href="<%= file %>" rel="stylesheet" /> | ||
<% }); %> | ||
|
||
<style> | ||
#root[hidden], | ||
#docs-root[hidden] { | ||
display: none !important; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<% if (typeof bodyHtmlSnippet !=='undefined' ) { %> | ||
<%= bodyHtmlSnippet %> | ||
<% } %> | ||
|
||
<div id="root"></div> | ||
<div id="docs-root"></div> | ||
|
||
<% if (typeof globals !=='undefined' && Object.keys(globals).length) { %> | ||
<script> | ||
<% for (var varName in globals) { %> | ||
<% if (globals[varName] != undefined) { %> | ||
window['<%=varName%>'] = <%= JSON.stringify(globals[varName]) %>; | ||
window['<%=varName%>'] = <%= JSON.stringify(globals[varName]) %>; | ||
<% } %> | ||
<% } %> | ||
</script> | ||
<% } %> <% dlls.forEach(file => { %> | ||
<script src="<%= file %>"></script> | ||
<% }); %> <% files.js.forEach(file => { %> | ||
<script src="<%= file %>"></script> | ||
<% }); %> | ||
</body> | ||
</html> | ||
</script> | ||
<% } %> | ||
<% dlls.forEach(file=> { %> | ||
<script src="<%= file %>"></script> | ||
<% }); %> | ||
<% files.js.forEach(file=> { %> | ||
<script src="<%= file %>"></script> | ||
<% }); %> | ||
</body> | ||
|
||
</html> |
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
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
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
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
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
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
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
Oops, something went wrong.