From 59055ee3569301f5c68f904491066017902d074b Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 6 May 2019 11:37:09 -0700 Subject: [PATCH] natel branding --- emails/templates/layouts/default.html | 4 +- .../components/OrgActionBar/OrgActionBar.tsx | 10 ++- .../app/features/plugins/PluginListPage.tsx | 7 +- public/img/grafana_icon.svg | 73 ++++++------------- public/sass/layout/_page.scss | 2 +- public/views/index-template.html | 24 +----- 6 files changed, 34 insertions(+), 86 deletions(-) diff --git a/emails/templates/layouts/default.html b/emails/templates/layouts/default.html index ca54acdd2060c..c6b433c6cbc75 100644 --- a/emails/templates/layouts/default.html +++ b/emails/templates/layouts/default.html @@ -107,7 +107,7 @@ @@ -143,7 +143,7 @@

Sent by Grafana v[[.BuildVersion]] -
© 2018 Grafana Labs +
© 2019 Natel Energy

diff --git a/public/app/core/components/OrgActionBar/OrgActionBar.tsx b/public/app/core/components/OrgActionBar/OrgActionBar.tsx index f83d5c957f746..9fc67e8fe6e8f 100644 --- a/public/app/core/components/OrgActionBar/OrgActionBar.tsx +++ b/public/app/core/components/OrgActionBar/OrgActionBar.tsx @@ -14,7 +14,7 @@ export interface Props { export default class OrgActionBar extends PureComponent { render() { const { searchQuery, layoutMode, onSetLayoutMode, linkButton, setSearchQuery, target } = this.props; - const linkProps = { href: linkButton.href, target: undefined }; + const linkProps = { href: linkButton ? linkButton.href : '#', target: undefined }; if (target) { linkProps.target = target; @@ -33,9 +33,11 @@ export default class OrgActionBar extends PureComponent { onSetLayoutMode(mode)} />
- - {linkButton.title} - + {linkButton && ( + + {linkButton.title} + + )}
); } diff --git a/public/app/features/plugins/PluginListPage.tsx b/public/app/features/plugins/PluginListPage.tsx index 03d383fdec0ca..911cde2ebdf6e 100644 --- a/public/app/features/plugins/PluginListPage.tsx +++ b/public/app/features/plugins/PluginListPage.tsx @@ -41,11 +41,6 @@ export class PluginListPage extends PureComponent { searchQuery, } = this.props; - const linkButton = { - href: 'https://grafana.com/plugins?utm_source=grafana_plugin_list', - title: 'Find more plugins on Grafana.com', - }; - return ( @@ -55,7 +50,7 @@ export class PluginListPage extends PureComponent { layoutMode={layoutMode} onSetLayoutMode={mode => setPluginsLayoutMode(mode)} setSearchQuery={query => setPluginsSearchQuery(query)} - linkButton={linkButton} + linkButton={null} /> {hasFetched && plugins && (plugins && )} diff --git a/public/img/grafana_icon.svg b/public/img/grafana_icon.svg index 72702223dc77b..f97c21937aa5b 100644 --- a/public/img/grafana_icon.svg +++ b/public/img/grafana_icon.svg @@ -1,57 +1,28 @@ - + + viewBox="0 0 351 365" style="enable-background:new 0 0 351 365;" xml:space="preserve"> - + + + + + + + + + - - - - - diff --git a/public/sass/layout/_page.scss b/public/sass/layout/_page.scss index 6b2fa95730e0a..edcefa44e82db 100644 --- a/public/sass/layout/_page.scss +++ b/public/sass/layout/_page.scss @@ -41,7 +41,7 @@ margin-right: auto; padding-left: $spacer * 2; padding-right: $spacer * 2; - max-width: 980px; + max-width: 100%; @include clearfix(); } diff --git a/public/views/index-template.html b/public/views/index-template.html index fa19ae599dd20..edfc13e6dad35 100644 --- a/public/views/index-template.html +++ b/public/views/index-template.html @@ -198,34 +198,14 @@
- +