Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
66d88714
Unverified
Commit
66d88714
authored
Jan 17, 2020
by
Torkel Ödegaard
Committed by
GitHub
Jan 17, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor style changes on upgrade page (#21566)
parent
8bc4ef3e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
15 deletions
+20
-15
public/app/features/admin/LicenseChrome.tsx
+2
-10
public/app/features/admin/UpgradePage.tsx
+18
-5
No files found.
public/app/features/admin/LicenseChrome.tsx
View file @
66d88714
...
...
@@ -6,7 +6,6 @@ import { GrafanaTheme } from '@grafana/data';
const
title
=
{
fontWeight
:
500
,
fontSize
:
'26px'
,
lineHeight
:
'123%'
};
const
getStyles
=
stylesFactory
((
theme
:
GrafanaTheme
)
=>
{
const
background
=
theme
.
colors
.
panelBg
;
const
backgroundUrl
=
theme
.
isDark
?
'/public/img/licensing/header_dark.svg'
:
'/public/img/licensing/header_light.svg'
;
...
...
@@ -14,15 +13,8 @@ const getStyles = stylesFactory((theme: GrafanaTheme) => {
return
{
container
:
css
`
display: grid;
grid-template-columns: 100%;
column-gap: 20px;
row-gap: 40px;
padding: 42px 20px 0 77px;
background-color:
${
background
}
;
@media (min-width: 1050px) {
grid-template-columns: 50% 50%;
}
padding: 36px 79px;
background:
${
theme
.
colors
.
panelBg
}
;
`
,
footer
:
css
`
text-align: center;
...
...
public/app/features/admin/UpgradePage.tsx
View file @
66d88714
...
...
@@ -33,17 +33,30 @@ interface UpgradeInfoProps {
}
export
const
UpgradeInfo
:
React
.
FC
<
UpgradeInfoProps
>
=
({
editionNotice
})
=>
{
const
columnStyles
=
css
`
display: grid;
grid-template-columns: 100%;
column-gap: 20px;
row-gap: 40px;
@media (min-width: 1050px) {
grid-template-columns: 50% 50%;
}
`
;
return
(
<
LicenseChrome
header=
"Grafana Enterprise"
subheader=
"Get your free trial"
editionNotice=
{
editionNotice
}
>
<
FeatureInfo
/>
<
ServiceInfo
/>
<
div
className=
{
columnStyles
}
>
<
FeatureInfo
/>
<
ServiceInfo
/>
</
div
>
</
LicenseChrome
>
);
};
const
GetEnterprise
:
React
.
FC
=
()
=>
{
return
(
<
div
style=
{
{
marginTop
:
'
60px'
,
marginBottom
:
'6
0px'
}
}
>
<
div
style=
{
{
marginTop
:
'
40px'
,
marginBottom
:
'3
0px'
}
}
>
<
h2
style=
{
titleStyles
}
>
Get Grafana Enterprise
</
h2
>
<
CallToAction
/>
<
p
style=
{
{
paddingTop
:
'12px'
}
}
>
...
...
@@ -72,7 +85,7 @@ const ServiceInfo: React.FC = () => {
<
h4
>
At your service
</
h4
>
<
List
>
<
Item
title=
"
Premium
Plugins"
image=
"/public/img/licensing/plugin_enterprise.svg"
/>
<
Item
title=
"
Enterprise
Plugins"
image=
"/public/img/licensing/plugin_enterprise.svg"
/>
<
Item
title=
"Critical SLA: 2 hours"
image=
"/public/img/licensing/sla.svg"
/>
<
Item
title=
"Unlimited Expert Support"
image=
"/public/img/licensing/customer_support.svg"
>
24x7x365 support via
...
...
@@ -116,7 +129,7 @@ const FeatureListing: React.FC = () => {
<
Item
title=
"Enhanced LDAP Integration"
/>
<
Item
title=
"Team Sync"
>
LDAP, GitHub OAuth, Auth Proxy
</
Item
>
<
Item
title=
"White labeling"
/>
<
Item
title=
"
Premium
Plugins"
>
<
Item
title=
"
Enterprise
Plugins"
>
<
List
nested=
{
true
}
>
<
Item
title=
"Oracle"
/>
<
Item
title=
"Splunk"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment